{"type": "func", "start": 10418556, "end": 10418976, "name": "CONF_parse_list", "pseudocode": "// \n// CONF_parse_list from 0x9ef97c to 0x9efb20 (420 bytes)\n// \n// 12 xrefs:\n// > tls1_set_curves_list @ 0x9c3444\n// > tls1_set_sigalgs_list @ 0x9c8c94\n// > <???> @ 0x9d022c\n// > <???> @ 0x9d028c\n// > sub_9D02A8 @ 0x9d02e4\n// > CTLOG_STORE_load_file @ 0x9efeb0\n// > ENGINE_set_default_string @ 0xa0bba0\n// > a2i_ipadd @ 0xa72d50\n// > sub_A79B7C @ 0xa79bcc\n// > sub_A79B7C @ 0xa7a13c\n// > ASN1_str2mask @ 0xa7adac\n// > <???> @ 0x772bc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:07:29 +0000\n// \n\nint __fastcall CONF_parse_list(const char *a1, int a2, int a3, int (__fastcall *a4)(const char *, int, int), int a5)\n{\n  const char *v5; // r4\n  int v9; // t1\n  int v10; // r12\n  char *v11; // r9\n  int result; // r0\n  char *v13; // r1\n  int v14; // t1\n\n  v5 = a1;\n  if ( !a1 )\n  {\n    ERR_put_error(14, 119, 115, \"crypto/conf/conf_mod.c\", 519);\n    return 0;\n  }\n  if ( !a3 )\n    goto LABEL_12;\nLABEL_3:\n  if ( !*v5 )\n    goto LABEL_8;\n  if ( (*(_BYTE *)(ctype_ + *(unsigned __int8 *)v5 + 1) & 8) != 0 )\n  {\n    while ( 1 )\n    {\n      v9 = *(unsigned __int8 *)++v5;\n      v10 = ctype_ + v9;\n      if ( !v9 )\n        break;\n      if ( (*(_BYTE *)(v10 + 1) & 8) == 0 )\n        goto LABEL_24;\n    }\nLABEL_8:\n    v11 = strchr(v5, a2);\n    goto LABEL_9;\n  }\nLABEL_24:\n  v11 = strchr(v5, a2);\n  if ( v11 == v5 )\n  {\n    v11 = (char *)v5;\nLABEL_9:\n    result = a4(nullptr, 0, a5);\n    if ( result > 0 )\n      goto LABEL_10;\n    return result;\n  }\n  while ( 1 )\n  {\n    v13 = v11 ? v11 - 1 : (char *)&v5[strlen(v5) - 1];\n    if ( a3 && (*(_BYTE *)(ctype_ + (unsigned __int8)*v13 + 1) & 8) != 0 )\n    {\n      do\n        v14 = (unsigned __int8)*--v13;\n      while ( (*(_BYTE *)(ctype_ + v14 + 1) & 8) != 0 );\n    }\n    result = a4(v5, v13 - v5 + 1, a5);\n    if ( result <= 0 )\n      return result;\nLABEL_10:\n    if ( !v11 )\n      return 1;\n    v5 = v11 + 1;\n    if ( a3 )\n      goto LABEL_3;\nLABEL_12:\n    v11 = strchr(v5, a2);\n    if ( v5 == v11 || !*v5 )\n      goto LABEL_9;\n  }\n}", "assembly": "; \n; CONF_parse_list from 0x9ef97c to 0x9efb20 (420 bytes)\n; \n; 12 xrefs:\n; > tls1_set_curves_list @ 0x9c3444\n; > tls1_set_sigalgs_list @ 0x9c8c94\n; > <???> @ 0x9d022c\n; > <???> @ 0x9d028c\n; > sub_9D02A8 @ 0x9d02e4\n; > CTLOG_STORE_load_file @ 0x9efeb0\n; > ENGINE_set_default_string @ 0xa0bba0\n; > a2i_ipadd @ 0xa72d50\n; > sub_A79B7C @ 0xa79bcc\n; > sub_A79B7C @ 0xa7a13c\n; > ASN1_str2mask @ 0xa7adac\n; > <???> @ 0x772bc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:07:29 +0000\n; \nPUSH            {R4-R9,LR}                                             ; +0x0, 0x9ef97c\nSUBS            R4, R0, #0                                             ; +0x4, 0x9ef980\nSUB             SP, SP, #0xC                                           ; +0x8, 0x9ef984\nMOV             R6, R1                                                 ; +0xc, 0x9ef988\nMOV             R5, R2                                                 ; +0x10, 0x9ef98c\nMOV             R8, R3                                                 ; +0x14, 0x9ef990\nLDR             R7, [SP,#0xC+arg_0]                                    ; +0x18, 0x9ef994\nBEQ             loc_9EFAD8                                             ; +0x1c, 0x9ef998\nCMP             R5, #0                                                 ; +0x20, 0x9ef99c\nBEQ             loc_9EFA28                                             ; +0x24, 0x9ef9a0\nLDRB            R3, [R4]                                               ; +0x28, 0x9ef9a4\nCMP             R3, #0                                                 ; +0x2c, 0x9ef9a8\nBEQ             loc_9EF9EC                                             ; +0x30, 0x9ef9ac\nLDR             R2, =(_ctype__ptr - 0x9EF9BC)                          ; +0x34, 0x9ef9b0\nLDR             R2, [PC,R2]; _ctype_                                   ; +0x38, 0x9ef9b4\nLDR             R2, [R2]                                               ; +0x3c, 0x9ef9b8\nADD             R3, R2, R3                                             ; +0x40, 0x9ef9bc\nLDRB            R3, [R3,#1]                                            ; +0x44, 0x9ef9c0\nTST             R3, #8                                                 ; +0x48, 0x9ef9c4\nBNE             loc_9EF9DC                                             ; +0x4c, 0x9ef9c8\nB               loc_9EFB00                                             ; +0x50, 0x9ef9cc\nLDRB            R3, [R12,#1]                                           ; +0x54, 0x9ef9d0\nTST             R3, #8                                                 ; +0x58, 0x9ef9d4\nBEQ             loc_9EFB00                                             ; +0x5c, 0x9ef9d8\nLDRB            R0, [R4,#1]!                                           ; +0x60, 0x9ef9dc\nCMP             R0, #0                                                 ; +0x64, 0x9ef9e0\nADD             R12, R2, R0                                            ; +0x68, 0x9ef9e4\nBNE             loc_9EF9D0                                             ; +0x6c, 0x9ef9e8\nMOV             R0, R4; char *                                         ; +0x70, 0x9ef9ec\nMOV             R1, R6; int                                            ; +0x74, 0x9ef9f0\nBL              strchr                                                 ; +0x78, 0x9ef9f4\nMOV             R9, R0                                                 ; +0x7c, 0x9ef9f8\nMOV             R0, #0                                                 ; +0x80, 0x9ef9fc\nMOV             R1, R0                                                 ; +0x84, 0x9efa00\nMOV             R2, R7                                                 ; +0x88, 0x9efa04\nBLX             R8                                                     ; +0x8c, 0x9efa08\nCMP             R0, #0                                                 ; +0x90, 0x9efa0c\nBLE             loc_9EFAB0                                             ; +0x94, 0x9efa10\nCMP             R9, #0                                                 ; +0x98, 0x9efa14\nBEQ             loc_9EFACC                                             ; +0x9c, 0x9efa18\nCMP             R5, #0                                                 ; +0xa0, 0x9efa1c\nADD             R4, R9, #1                                             ; +0xa4, 0x9efa20\nBNE             loc_9EF9A4                                             ; +0xa8, 0x9efa24\nMOV             R0, R4; char *                                         ; +0xac, 0x9efa28\nMOV             R1, R6; int                                            ; +0xb0, 0x9efa2c\nBL              strchr                                                 ; +0xb4, 0x9efa30\nCMP             R4, R0                                                 ; +0xb8, 0x9efa34\nMOV             R9, R0                                                 ; +0xbc, 0x9efa38\nBEQ             loc_9EF9FC                                             ; +0xc0, 0x9efa3c\nLDRB            R3, [R4]                                               ; +0xc4, 0x9efa40\nCMP             R3, #0                                                 ; +0xc8, 0x9efa44\nBEQ             loc_9EF9FC                                             ; +0xcc, 0x9efa48\nCMP             R9, #0                                                 ; +0xd0, 0x9efa4c\nSUBNE           R1, R9, #1                                             ; +0xd4, 0x9efa50\nBEQ             loc_9EFAB8                                             ; +0xd8, 0x9efa54\nCMP             R5, #0                                                 ; +0xdc, 0x9efa58\nBEQ             loc_9EFA94                                             ; +0xe0, 0x9efa5c\nLDR             R2, =(_ctype__ptr - 0x9EFA70)                          ; +0xe4, 0x9efa60\nLDRB            R3, [R1]                                               ; +0xe8, 0x9efa64\nLDR             R2, [PC,R2]; _ctype_                                   ; +0xec, 0x9efa68\nLDR             R2, [R2]                                               ; +0xf0, 0x9efa6c\nADD             R3, R2, R3                                             ; +0xf4, 0x9efa70\nLDRB            R3, [R3,#1]                                            ; +0xf8, 0x9efa74\nTST             R3, #8                                                 ; +0xfc, 0x9efa78\nBEQ             loc_9EFA94                                             ; +0x100, 0x9efa7c\nLDRB            R3, [R1,#-1]!                                          ; +0x104, 0x9efa80\nADD             R3, R2, R3                                             ; +0x108, 0x9efa84\nLDRB            R3, [R3,#1]                                            ; +0x10c, 0x9efa88\nTST             R3, #8                                                 ; +0x110, 0x9efa8c\nBNE             loc_9EFA80                                             ; +0x114, 0x9efa90\nRSB             R1, R4, R1                                             ; +0x118, 0x9efa94\nADD             R1, R1, #1                                             ; +0x11c, 0x9efa98\nMOV             R0, R4                                                 ; +0x120, 0x9efa9c\nMOV             R2, R7                                                 ; +0x124, 0x9efaa0\nBLX             R8                                                     ; +0x128, 0x9efaa4\nCMP             R0, #0                                                 ; +0x12c, 0x9efaa8\nBGT             loc_9EFA14                                             ; +0x130, 0x9efaac\nADD             SP, SP, #0xC                                           ; +0x134, 0x9efab0\nPOP             {R4-R9,PC}                                             ; +0x138, 0x9efab4\nMOV             R0, R4; char *                                         ; +0x13c, 0x9efab8\nBL              strlen                                                 ; +0x140, 0x9efabc\nSUB             R0, R0, #1                                             ; +0x144, 0x9efac0\nADD             R1, R4, R0                                             ; +0x148, 0x9efac4\nB               loc_9EFA58                                             ; +0x14c, 0x9efac8\nMOV             R0, #1                                                 ; +0x150, 0x9efacc\nADD             SP, SP, #0xC                                           ; +0x154, 0x9efad0\nPOP             {R4-R9,PC}                                             ; +0x158, 0x9efad4\nLDR             R3, =0x207                                             ; +0x15c, 0x9efad8\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x160, 0x9efadc\nLDR             R3, =(aCryptoConfConf_0 - 0x9EFAF8); \"crypto/conf/conf_mod.c\" ; +0x164, 0x9efae0\nMOV             R0, #0xE                                               ; +0x168, 0x9efae4\nMOV             R1, #0x77 ; 'w'                                        ; +0x16c, 0x9efae8\nMOV             R2, #0x73 ; 's'                                        ; +0x170, 0x9efaec\nADD             R3, PC, R3; \"crypto/conf/conf_mod.c\"                   ; +0x174, 0x9efaf0\nBL              ERR_put_error                                          ; +0x178, 0x9efaf4\nMOV             R0, R4                                                 ; +0x17c, 0x9efaf8\nB               loc_9EFAB0                                             ; +0x180, 0x9efafc\nMOV             R0, R4; char *                                         ; +0x184, 0x9efb00\nMOV             R1, R6; int                                            ; +0x188, 0x9efb04\nBL              strchr                                                 ; +0x18c, 0x9efb08\nCMP             R0, R4                                                 ; +0x190, 0x9efb0c\nMOV             R9, R0                                                 ; +0x194, 0x9efb10\nBNE             loc_9EFA4C                                             ; +0x198, 0x9efb14\nMOV             R9, R4                                                 ; +0x19c, 0x9efb18\nB               loc_9EF9FC                                             ; +0x1a0, 0x9efb1c", "xrefs": ["tls1_set_curves_list @ 0x9c3444", "tls1_set_sigalgs_list @ 0x9c8c94", "<???> @ 0x9d022c", "<???> @ 0x9d028c", "sub_9D02A8 @ 0x9d02e4", "CTLOG_STORE_load_file @ 0x9efeb0", "ENGINE_set_default_string @ 0xa0bba0", "a2i_ipadd @ 0xa72d50", "sub_A79B7C @ 0xa79bcc", "sub_A79B7C @ 0xa7a13c", "ASN1_str2mask @ 0xa7adac", "<???> @ 0x772bc"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}