Function at 0x47a870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x13c
mov ebx, dword [esp + 0x154]
mov edi, dword [esp + 0x158]
mov ebp, dword [esp + 0x150]
mov dword [esp + 0x34], 0
mov dword [esp], ebx
call dbg.sk_num
mov dword [esp], edi
mov esi, eax
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
lea eax, [esp + 0x34]
mov dword [esp + 4], eax
call dbg.CBS_asn1_ber_to_der
test eax, eax
je 0x47aa18
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47aa57
mov edx, dword [esp + 0x38]
lea edi, [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.adb.exe_CBS_init
lea eax, [esp + 0x58]
mov dword [ebp], 0
mov dword [esp + 8], 0x20000010
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
call sym.adb.exe_CBS_get_asn1
test eax, eax
jne 0x47a9b0
mov dword [esp + 0x10], 0x1f3
mov dword [esp + 0xc], str.external_boringssl_src_crypto_pkcs8_pkcs8_x509.c
mov dword [esp + 8], 0x64
mov dword [esp + 4], 0
mov dword [esp], 0x13
call dbg.ERR_put_error
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dbg.OPENSSL_free
mov eax, dword [ebp]
mov dword [esp], eax
call dbg.EVP_PKEY_free
mov dword [ebp], 0
jmp 0x47a990
mov dword [esp], ebx
call dbg.sk_pop
mov dword [esp], eax
call sym.adb.exe_X509_free
mov dword [esp], ebx
call dbg.sk_num
cmp esi, eax
jb 0x47a980
xor eax, eax
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
call sym.adb.exe_CBS_len
test eax, eax
jne 0x47a934
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x58]
mov dword [esp], eax
call dbg.CBS_get_asn1_uint64
test eax, eax
je 0x47a934
cmp dword [esp + 0x44], 0
jbe 0x47aa74
lea eax, [esp + 0x58]
lea edi, [esp + 0x68]
mov dword [esp + 8], 0x20000010
mov dword [esp + 4], edi
mov dword [esp], eax
call sym.adb.exe_CBS_get_asn1
test eax, eax
jne 0x47aab0
mov dword [esp + 0x10], 0x1fd
jmp 0x47a93c
mov dword [esp + 0x10], 0x1e2
mov dword [esp + 0xc], str.external_boringssl_src_crypto_pkcs8_pkcs8_x509.c
mov dword [esp + 8], 0x64
mov dword [esp + 4], 0
mov dword [esp], 0x13
mov dword [esp + 0x24], eax
call dbg.ERR_put_error
mov eax, dword [esp + 0x24]
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
call sym.adb.exe_CBS_len
mov dword [esp], edi
mov dword [esp + 0x24], eax
call sym.adb.exe_CBS_data
mov edx, dword [esp + 0x24]
jmp 0x47a8d1
cmp dword [esp + 0x40], 2
ja 0x47a9e7
mov dword [esp + 0x10], 0x1f8
mov dword [esp + 0xc], str.external_boringssl_src_crypto_pkcs8_pkcs8_x509.c
mov dword [esp + 8], 0x65
mov dword [esp + 4], 0
mov dword [esp], 0x13
call dbg.ERR_put_error
jmp 0x47a960
lea eax, [esp + 0x58]
mov dword [esp], eax
call sym.adb.exe_CBS_len
test eax, eax
jne 0x47aaf1
mov dword [esp + 0x10], 0x202
mov dword [esp + 0xc], str.external_boringssl_src_crypto_pkcs8_pkcs8_x509.c
mov dword [esp + 8], 0x70
mov dword [esp + 4], 0
mov dword [esp], 0x13
call dbg.ERR_put_error
jmp 0x47a960
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
lea eax, [esp + 0x58]
mov dword [esp + 8], 0x20000010
mov dword [esp], eax
call sym.adb.exe_CBS_get_asn1
test eax, eax
jne 0x47ab1e
mov dword [esp + 0x10], 0x207
jmp 0x47a93c
lea eax, [esp + 0x70]
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.adb.exe_CBS_get_asn1
test eax, eax
je 0x47ab56
lea eax, [esp + 0x78]
mov dword [esp + 8], 0xa0000000
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.adb.exe_CBS_get_asn1
test eax, eax
jne 0x47ab63
mov dword [esp + 0x10], 0x210
jmp 0x47a93c
lea eax, [esp + 0x70]
mov dword [esp + 8], 9
mov dword [esp + 4], 0x5784fa
mov dword [esp], eax
call dbg.CBS_mem_equal
test eax, eax
jne 0x47abb4
mov dword [esp + 0x10], 0x217
mov dword [esp + 0xc], str.external_boringssl_src_crypto_pkcs8_pkcs8_x509.c
mov dword [esp + 8], 0x72
mov dword [esp + 4], 0
mov dword [esp], 0x13
call dbg.ERR_put_error
jmp 0x47a960
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
lea eax, [esp + 0x78]
mov dword [esp + 8], 4
mov dword [esp], eax
call sym.adb.exe_CBS_get_asn1
test eax, eax
je 0x47ac4d
mov eax, dword [esp + 0x15c]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebx
test eax, eax
mov dword [esp + 0xa8], eax
je 0x47aca0
mov edi, dword [esp + 0x15c]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub ecx, 1
lea edx, [esp + 0x88]
lea eax, [esp + 0x60]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x20000010
mov dword [esp], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0xac], ecx
call sym.adb.exe_CBS_get_asn1
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x47ac5a
mov dword [esp + 0x10], 0x229
jmp 0x47a93c
mov dword [esp + 0x10], 0x21c
jmp 0x47a93c
mov dword [esp], edx
mov dword [esp + 0x24], edx
call dbg.EVP_parse_digest_algorithm
test eax, eax
mov edi, eax
je 0x47a960
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x98]
mov dword [esp + 8], 4
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.adb.exe_CBS_get_asn1
test eax, eax
jne 0x47aca7
mov dword [esp + 0x10], 0x234
jmp 0x47a93c
xor ecx, ecx
jmp 0x47ac0e
lea eax, [esp + 0x90]
mov dword [esp + 4], eax
lea eax, [esp + 0x60]
mov dword [esp + 8], 4
mov dword [esp], eax
call sym.adb.exe_CBS_get_asn1
test eax, eax
je 0x47ac93
lea eax, [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 0
call sym.adb.exe_CBS_len
test eax, eax
je 0x47ad16
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [esp + 0x60]
mov dword [esp], eax
call dbg.CBS_get_asn1_uint64
test eax, eax
je 0x47ad09
cmp dword [esp + 0x4c], 0
jbe 0x47ad16
mov dword [esp + 0x10], 0x23d
jmp 0x47a93c
mov dword [esp], edi
call sym.adb.exe_EVP_MD_size
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x90]
mov dword [esp], eax
call sym.adb.exe_CBS_len
lea ecx, [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 0x24], eax
call sym.adb.exe_CBS_data
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
call sym._pkcs12_key_gen
test eax, eax
je 0x47a960
lea eax, [esp + 0x80]
mov dword [esp], eax
call sym.adb.exe_CBS_len
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
call sym.adb.exe_CBS_data
mov dword [esp], edi
mov dword [esp + 0x24], eax
call sym.adb.exe_EVP_MD_size
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x3c]
mov dword [esp + 0x18], edx
lea edx, [esp + 0xf0]
mov dword [esp + 0x14], edx
mov dword [esp], edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp + 8], eax
lea eax, [esp + 0xb0]
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
call dbg.HMAC
test eax, eax
je 0x47a960
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov dword [esp + 8], eax
lea eax, [esp + 0x98]
mov dword [esp + 4], edx
mov dword [esp], eax
call dbg.CBS_mem_equal
test eax, eax
jne 0x47ae69
mov dword [esp + 0x10], 0x251
mov dword [esp + 0xc], str.external_boringssl_src_crypto_pkcs8_pkcs8_x509.c
mov dword [esp + 8], 0x6c
mov dword [esp + 4], 0
mov dword [esp], 0x13
call dbg.ERR_put_error
jmp 0x47a960
mov ecx, dbg.PKCS12_handle_content_info
lea edx, [esp + 0xa0]
lea eax, [esp + 0x80]
call dbg.PKCS12_handle_sequence
test eax, eax
je 0x47a960
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dbg.OPENSSL_free
mov eax, 1
jmp 0x47a99e