Function at 0x48cfd0
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 0x48d086
mov eax, ebp
or eax, edi
and eax, 0x80000000
or eax, dword [esp + 0x2a8]
jne 0x48d086
mov ecx, dword [esp + 0x290]
cmp dword [esp + 0x28c], 0
jne 0x48d063
test ecx, ecx
jne 0x48d063
push dword [esp + 0x294]
call sym.adb.exe_sk_num
mov ecx, dword [esp + 0x294]
add esp, 4
test eax, eax
je 0x48d086
mov eax, dword [esp + 0x284]
mov dword [esp + 0x1c], esi
test eax, eax
je 0x48d0a8
push eax
call sub.msvcrt.dll_strlen
mov ecx, dword [esp + 0x294]
add esp, 4
mov esi, eax
jmp 0x48d0aa
push 0x478
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 0x48d891
xor esi, esi
cmp dword [esp + 0x28c], 0
mov dword [esp + 0x20], 0
je 0x48d10e
test ecx, ecx
je 0x48d10e
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 0x48d88d
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 0x48d88d
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 0x48d872
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 0x48d870
push 0
push 3
push ebx
call sym.adb.exe_CBB_add_asn1_uint64
add esp, 0xc
test eax, eax
je 0x48d870
lea esi, [esp + 0x1e0]
push 0x20000010
push esi
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
lea ebx, [esp + 0x1d0]
push 6
push ebx
push esi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
push 9
push 0x582021
push ebx
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48d870
lea ebx, [esp + 0x1c0]
push 0xa0000000
push ebx
push esi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
lea esi, [esp + 0x110]
push 4
push esi
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
lea eax, [esp + 0x58]
push 0x20000010
push eax
push esi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
cmp dword [esp + 0x290], 0
jne 0x48d22c
push dword [esp + 0x294]
call sym.adb.exe_sk_num
add esp, 4
test eax, eax
je 0x48d520
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 0x48d30c
lea eax, [esp + 0x48]
push 0x20000010
push eax
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d30c
mov edx, dword [esp + 0x290]
mov ebx, 0
test edx, edx
je 0x48d295
lea eax, [esp + 0x1f0]
lea ecx, [esp + 0x48]
push esi
push eax
push dword [esp + 0x290]
call fcn.0048e120
add esp, 0xc
test eax, eax
je 0x48d30e
mov ebx, dword [esp + 0x294]
mov esi, ebx
push ebx
call sym.adb.exe_sk_num
add esp, 4
test eax, eax
je 0x48d2ee
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.0048e120
add esp, 0xc
test eax, eax
je 0x48d30c
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 0x48d2ad
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 0x48d30e
xor ebx, ebx
lea eax, [esp + 0x88]
push eax
call sym.adb.exe_CBB_cleanup
add esp, 4
test ebx, ebx
je 0x48d868
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 0x48d503
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 0x48d4e5
lea esi, [esp + 0x170]
push 6
push esi
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d4e5
push 9
push 0x582056
push esi
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48d4e5
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 0x48d4e5
lea ebx, [esp + 0x150]
push 0x20000010
push ebx
push esi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d4e5
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 0x48d4ed
lea esi, [esp + 0x68]
push 0x20000010
push esi
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d4ed
lea ebx, [esp + 0x140]
push 6
push ebx
push esi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d4ed
push 9
push 0x582021
push ebx
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48d4ed
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.004bdf10
add esp, 0x20
test eax, eax
je 0x48d4ed
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 0x48d4ed
lea eax, [esp + 0x88]
push eax
call sym.adb.exe_EVP_CIPHER_CTX_block_size
add esp, 4
add eax, dword [esp + 0x24]
jae 0x48d89c
push 0x447
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 0x48d4ed
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 0x48d505
xor ebx, ebx
push dword [esp + 0x2c]
call sym.adb.exe_OPENSSL_free
add esp, 4
test ebx, ebx
je 0x48d868
lea esi, [esp + 0x110]
cmp dword [esp + 0x28c], 0
je 0x48d6ad
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 0x48d870
lea ebx, [esp + 0x48]
push 6
push ebx
push ebp
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
push 9
push 0x582021
push ebx
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48d870
lea ebx, [esp + 0x170]
push 0xa0000000
push ebx
push ebp
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
lea ebp, [esp + 0x160]
push 4
push ebp
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
lea ebx, [esp + 0x150]
push 0x20000010
push ebx
push ebp
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
lea ebp, [esp + 0x68]
push 0x20000010
push ebp
push ebx
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
lea ebx, [esp + 0x140]
push 6
push ebx
push ebp
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
push 0xb
push 0x58202b
push ebx
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48d870
lea ebx, [esp + 0x130]
push 0xa0000000
push ebx
push ebp
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
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 0x48d870
mov edx, dword [esp + 0x288]
lea eax, [esp + 0x1f0]
lea ecx, [esp + 0x68]
push dword [esp + 0x20]
push eax
call fcn.0048d940
add esp, 8
test eax, eax
je 0x48d870
lea eax, [esp + 0x58]
push eax
call sym.adb.exe_CBB_flush
add esp, 4
test eax, eax
je 0x48d870
call sym.adb.exe_EVP_sha1
mov ebp, eax
push esi
call sym.adb.exe_CBB_flush
add esp, 4
test eax, eax
je 0x48d870
lea ebx, [esp + 0x78]
push 8
push ebx
call sym.adb.exe_RAND_bytes
add esp, 8
test eax, eax
je 0x48d870
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.004bda80
add esp, 0x24
test eax, eax
je 0x48d870
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 0x48d870
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 0x48d870
lea esi, [esp + 0x1a0]
push 0x20000010
push esi
push edi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
push ebp
push esi
call sym.adb.exe_EVP_marshal_digest_algorithm
add esp, 8
test eax, eax
je 0x48d870
lea ebp, [esp + 0x190]
push 4
push ebp
push esi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
push dword [esp + 0x3c]
push ebx
push ebp
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48d870
lea esi, [esp + 0x180]
push 4
push esi
push edi
call sym.adb.exe_CBB_add_asn1
add esp, 0xc
test eax, eax
je 0x48d870
push 8
lea eax, [esp + 0x7c]
push eax
push esi
call sym.adb.exe_CBB_add_bytes
add esp, 0xc
test eax, eax
je 0x48d870
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 0x48d870
push 8
call sym.adb.exe_OPENSSL_malloc
add esp, 4
test eax, eax
mov esi, esp
mov dword [esp + 0x14], eax
je 0x48d852
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 0x48d872
push dword [esp + 0x14]
call sym.adb.exe_OPENSSL_free
add esp, 4
mov dword [esp + 0x14], 0
jmp 0x48d872
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 0x48d4ed
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 0x48d4ed
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 0x48d4ed
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 0x48d4f4
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 0x48d4f4