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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x270
mov esi, dword [esp + 0x298]
mov edx, dword [esp + 0x29c]
mov ecx, dword [esp + 0x2a0]
mov eax, dword [esp + 0x2a4]
mov edi, 0x92
mov ebp, 0x95
mov ebx, 1
test esi, esi
cmovne edi, esi
test edx, edx
mov esi, 0x800
cmovne ebp, edx
test ecx, ecx
cmovne esi, ecx
test eax, eax
cmovne ebx, eax
test ebx, ebx
js 0x48a746
mov eax, ebp
or eax, edi
and eax, 0x80000000
or eax, dword [esp + 0x2a8]
jne 0x48a746
mov ecx, dword [esp + 0x290]
cmp dword [esp + 0x28c], 0
jne 0x48a723
test ecx, ecx
jne 0x48a723
push dword [esp + 0x294]
call sym.adb.exe_sk_num
mov ecx, dword [esp + 0x294]
add esp, 4
test eax, eax
je 0x48a746
mov eax, dword [esp + 0x284]
mov dword [esp + 0x1c], esi
test eax, eax
je 0x48a768
push eax
call sub.msvcrt.dll_strlen
mov ecx, dword [esp + 0x294]
add esp, 4
mov esi, eax
jmp 0x48a76a
push 0x472
push str.external_boringssl_src_crypto_pkcs8_pkcs8_x509.c
push 0x84
push 0
push 0x13
call sym.adb.exe_ERR_put_error
add esp, 0x14
xor eax, eax
jmp 0x48af51
xor esi, esi
cmp dword [esp + 0x28c], 0
mov dword [esp + 0x20], 0
je 0x48a7ce
test ecx, ecx
je 0x48a7ce
mov dword [esp + 0x18], edi
push dword [esp + 0x28c]
push ecx
mov edi, ecx
call sym.adb.exe_X509_check_private_key
add esp, 8
test eax, eax
mov dword [esp + 0x14], 0
je 0x48af4d
call sym.adb.exe_EVP_sha1
lea ecx, [esp + 0x20]
lea edx, [esp + 0x1f0]
push ecx
push edx
push eax
push edi
call sym.adb.exe_X509_digest
add esp, 0x10
mov edi, dword [esp + 0x18]
test eax, eax
je 0x48af4d
mov dword [esp + 0x18], esi
mov esi, esp
push 0
push esi
call sym.adb.exe_CBB_init
add esp, 8
test eax, eax
mov dword [esp + 0x14], 0
je 0x48af32
mov dword [esp + 0x28], ebx
lea ebx, [esp + 0x120]
push 0x20000010
push ebx
push esi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
push 0
push 3
push ebx
call sym.adb.exe_CBB_add_asn1_uint64
add esp, 0xc
test eax, eax
je 0x48af30
lea esi, [esp + 0x1e0]
push 0x20000010
push esi
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
lea ebx, [esp + 0x1d0]
push 6
push ebx
push esi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
push 9
push 0x5942bd
push ebx
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48af30
lea ebx, [esp + 0x1c0]
push 0xa0000000
push ebx
push esi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
lea esi, [esp + 0x110]
push 4
push esi
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
lea eax, [esp + 0x58]
push 0x20000010
push eax
push esi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
cmp dword [esp + 0x290], 0
jne 0x48a8ec
push dword [esp + 0x294]
call sym.adb.exe_sk_num
add esp, 4
test eax, eax
je 0x48abe0
mov esi, dword [esp + 0x20]
lea ebx, [esp + 0x88]
push 0
push ebx
call sym.adb.exe_CBB_init
add esp, 8
test eax, eax
je 0x48a9cc
lea eax, [esp + 0x48]
push 0x20000010
push eax
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48a9cc
mov edx, dword [esp + 0x290]
mov ebx, 0
test edx, edx
je 0x48a955
lea eax, [esp + 0x1f0]
lea ecx, [esp + 0x48]
push esi
push eax
push dword [esp + 0x290]
call fcn.0048b740
add esp, 0xc
test eax, eax
je 0x48a9ce
mov ebx, dword [esp + 0x294]
mov esi, ebx
push ebx
call sym.adb.exe_sk_num
add esp, 4
test eax, eax
je 0x48a9ae
xor ebx, ebx
push ebx
push esi
call sym.adb.exe_sk_value
add esp, 8
lea ecx, [esp + 0x48]
mov edx, eax
push 0
push 0
push 0
call fcn.0048b740
add esp, 0xc
test eax, eax
je 0x48a9cc
mov esi, ebx
inc esi
push dword [esp + 0x294]
call sym.adb.exe_sk_num
add esp, 4
mov ebx, esi
cmp esi, eax
mov esi, dword [esp + 0x294]
jb 0x48a96d
lea eax, [esp + 0x40]
lea ecx, [esp + 0x2c]
push eax
push ecx
lea eax, [esp + 0x90]
push eax
call sym.adb.exe_CBB_finish
add esp, 0xc
mov ebx, eax
jmp 0x48a9ce
xor ebx, ebx
lea eax, [esp + 0x88]
push eax
call sym.adb.exe_CBB_cleanup
add esp, 4
test ebx, ebx
je 0x48af28
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x80]
push 8
push eax
call sym.adb.exe_RAND_bytes
add esp, 8
test eax, eax
je 0x48abc3
lea eax, [esp + 0x88]
mov dword [esp + 0x38], ebx
push eax
call sym.adb.exe_EVP_CIPHER_CTX_init
add esp, 4
lea ebx, [esp + 0x48]
push 0x20000010
push ebx
lea eax, [esp + 0x60]
push eax
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48aba5
lea esi, [esp + 0x170]
push 6
push esi
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48aba5
push 9
push 0x5942f2
push esi
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48aba5
lea esi, [esp + 0x160]
push 0xa0000000
push esi
lea eax, [esp + 0x50]
push eax
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48aba5
lea ebx, [esp + 0x150]
push 0x20000010
push ebx
push esi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48aba5
mov dword [esp + 0x10], 0
push 0
push 0
push ebx
call sym.adb.exe_CBB_add_asn1_uint64
add esp, 0xc
test eax, eax
je 0x48abad
lea esi, [esp + 0x68]
push 0x20000010
push esi
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48abad
lea ebx, [esp + 0x140]
push 6
push ebx
push esi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48abad
push 9
push 0x5942bd
push ebx
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48abad
push 8
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x20]
push dword [esp + 0x290]
push dword [esp + 0x2c]
push ebp
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.004baac0
add esp, 0x20
test eax, eax
je 0x48abad
lea ebp, [esp + 0x130]
push 0x80000000
push ebp
lea eax, [esp + 0x70]
push eax
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48abad
lea eax, [esp + 0x88]
push eax
call sym.adb.exe_EVP_CIPHER_CTX_block_size
add esp, 4
add eax, dword [esp + 0x24]
jae 0x48af5c
push 0x441
push str.external_boringssl_src_crypto_pkcs8_pkcs8_x509.c
push 0x76
push 0
push 0x13
call sym.adb.exe_ERR_put_error
add esp, 0x14
jmp 0x48abad
mov dword [esp + 0x10], 0
lea ebx, [esp + 0x88]
push ebx
call sym.adb.exe_EVP_CIPHER_CTX_cleanup
add esp, 4
mov ebx, dword [esp + 0x10]
jmp 0x48abc5
xor ebx, ebx
push dword [esp + 0x2c]
call sym.adb.exe_OPENSSL_free
add esp, 4
test ebx, ebx
je 0x48af28
lea esi, [esp + 0x110]
cmp dword [esp + 0x28c], 0
je 0x48ad6d
lea ebp, [esp + 0x88]
push 0x20000010
push ebp
lea eax, [esp + 0x60]
push eax
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
lea ebx, [esp + 0x48]
push 6
push ebx
push ebp
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
push 9
push 0x5942bd
push ebx
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48af30
lea ebx, [esp + 0x170]
push 0xa0000000
push ebx
push ebp
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
lea ebp, [esp + 0x160]
push 4
push ebp
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
lea ebx, [esp + 0x150]
push 0x20000010
push ebx
push ebp
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
lea ebp, [esp + 0x68]
push 0x20000010
push ebp
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
lea ebx, [esp + 0x140]
push 6
push ebx
push ebp
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
push 0xb
push 0x5942c7
push ebx
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48af30
lea ebx, [esp + 0x130]
push 0xa0000000
push ebx
push ebp
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
push dword [esp + 0x28c]
push dword [esp + 0x20]
push 0
push 0
push dword [esp + 0x28]
push dword [esp + 0x298]
push 0
push edi
push ebx
call sym.adb.exe_PKCS8_marshal_encrypted_private_key
add esp, 0x24
test eax, eax
je 0x48af30
mov edx, dword [esp + 0x288]
lea eax, [esp + 0x1f0]
lea ecx, [esp + 0x68]
push dword [esp + 0x20]
push eax
call fcn.0048b000
add esp, 8
test eax, eax
je 0x48af30
lea eax, [esp + 0x58]
push eax
call sym.adb.exe_CBB_flush
add esp, 4
test eax, eax
je 0x48af30
call sym.adb.exe_EVP_sha1
mov ebp, eax
push esi
call sym.adb.exe_CBB_flush
add esp, 4
test eax, eax
je 0x48af30
lea ebx, [esp + 0x78]
push 8
push ebx
call sym.adb.exe_RAND_bytes
add esp, 8
test eax, eax
je 0x48af30
mov edi, esi
push ebp
call sym.adb.exe_EVP_MD_size
add esp, 4
lea esi, [esp + 0x88]
push ebp
push esi
push eax
push dword [esp + 0x34]
push 3
push 8
push ebx
push dword [esp + 0x34]
push dword [esp + 0x2a4]
call fcn.004ba650
add esp, 0x24
test eax, eax
je 0x48af30
push ebp
call sym.adb.exe_EVP_MD_size
add esp, 4
mov ebx, edi
mov dword [esp + 0x1c], eax
push edi
call sym.adb.exe_CBB_data
add esp, 4
mov edi, eax
push ebx
call sym.adb.exe_CBB_len
add esp, 4
lea ecx, [esp + 0x3c]
lea ebx, [esp + 0x230]
push ecx
push ebx
push eax
push edi
push dword [esp + 0x2c]
push esi
push ebp
call sym.adb.exe_HMAC
add esp, 0x1c
test eax, eax
je 0x48af30
lea edi, [esp + 0x1b0]
push 0x20000010
push edi
lea eax, [esp + 0x128]
push eax
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
lea esi, [esp + 0x1a0]
push 0x20000010
push esi
push edi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
push ebp
push esi
call sym.adb.exe_EVP_marshal_digest_algorithm
add esp, 8
test eax, eax
je 0x48af30
lea ebp, [esp + 0x190]
push 4
push ebp
push esi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
push dword [esp + 0x3c]
push ebx
push ebp
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48af30
lea esi, [esp + 0x180]
push 4
push esi
push edi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48af30
push 8
lea eax, [esp + 0x7c]
push eax
push esi
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48af30
mov ecx, dword [esp + 0x28]
mov eax, ecx
sar eax, 0x1f
push eax
push ecx
push edi
call sym.adb.exe_CBB_add_asn1_uint64
add esp, 0xc
test eax, eax
je 0x48af30
push 8
call sym.adb.exe_OPENSSL_malloc
add esp, 4
test eax, eax
mov esi, esp
mov dword [esp + 0x14], eax
je 0x48af12
mov ecx, dword [esp + 0x14]
mov eax, ecx
add eax, 4
push eax
push ecx
push esi
call sym.adb.exe_CBB_finish
add esp, 0xc
test eax, eax
jne 0x48af32
push dword [esp + 0x14]
call sym.adb.exe_OPENSSL_free
add esp, 4
mov dword [esp + 0x14], 0
jmp 0x48af32
mov dword [esp + 0x14], 0
mov esi, esp
lea eax, [esp + 0x88]
push 0x40
push eax
call sym.adb.exe_OPENSSL_cleanse
add esp, 8
push esi
call sym.adb.exe_CBB_cleanup
add esp, 4
mov eax, dword [esp + 0x14]
add esp, 0x270
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x34]
push eax
push ecx
push ebp
call sym.adb.exe_CBB_reserve
add esp, 0xc
test eax, eax
je 0x48abad
lea eax, [esp + 0x30]
push dword [esp + 0x24]
push dword [esp + 0x3c]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0x98]
push eax
call sym.adb.exe_EVP_CipherUpdate
add esp, 0x14
test eax, eax
je 0x48abad
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x30]
push ecx
push eax
lea eax, [esp + 0x90]
push eax
call sym.adb.exe_EVP_CipherFinal_ex
add esp, 0xc
test eax, eax
je 0x48abad
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x30]
push eax
push ebp
call sym.adb.exe_CBB_did_write
add esp, 8
test eax, eax
lea ebx, [esp + 0x88]
je 0x48abb4
lea eax, [esp + 0x58]
push eax
call sym.adb.exe_CBB_flush
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
mov dword [esp + 0x10], ecx
jmp 0x48abb4