{"type": "func", "start": 8400380, "end": 8400400, "name": "EVP_CipherFinal_ex", "pseudocode": "// \n// EVP_CipherFinal_ex from 0x802dfc to 0x802e10 (20 bytes)\n// \n// 4 xrefs:\n// > sub_8B4BBC @ 0x8b4d68\n// > sub_8B509C @ 0x8b5178\n// > PKCS12_pbe_crypt @ 0x8bb7cc\n// > <???> @ 0x6353c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall EVP_CipherFinal_ex(_DWORD *a1, unsigned int a2, int *a3)\n{\n  if ( a1[2] )\n    return EVP_EncryptFinal_ex(a1, a2, a3);\n  else\n    return EVP_DecryptFinal_ex(a1, a2, a3);\n}", "assembly": "; \n; EVP_CipherFinal_ex from 0x802dfc to 0x802e10 (20 bytes)\n; \n; 4 xrefs:\n; > sub_8B4BBC @ 0x8b4d68\n; > sub_8B509C @ 0x8b5178\n; > PKCS12_pbe_crypt @ 0x8bb7cc\n; > <???> @ 0x6353c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR             R3, [R0,#8]                                            ; +0x0, 0x802dfc\nCMP             R3, #0                                                 ; +0x4, 0x802e00\nBNE             loc_802E0C                                             ; +0x8, 0x802e04\nB               EVP_DecryptFinal_ex                                    ; +0xc, 0x802e08\nB               EVP_EncryptFinal_ex                                    ; +0x10, 0x802e0c", "xrefs": ["sub_8B4BBC @ 0x8b4d68", "sub_8B509C @ 0x8b5178", "PKCS12_pbe_crypt @ 0x8bb7cc", "<???> @ 0x6353c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}