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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [esp + 0x70]
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x46f7a5
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x46f7a5
mov edx, dword [esi + 0x10]
test edx, edx
je 0x46f7a5
lea ebx, [esp + 0x28]
mov dword [esp], ebx
lea edi, [esp + 0x3c]
call sym.adb.exe_BN_init
mov dword [esp], edi
call sym.adb.exe_BN_init
mov eax, dword [esp + 0x74]
test eax, eax
mov dword [esp + 0x18], eax
je 0x46f937
call sym.adb.exe_BN_new
test eax, eax
mov ebp, eax
jne 0x46f736
nop
jmp 0x46f948
mov dword [esp], ebx
call sym.adb.exe_BN_is_zero
test eax, eax
nop
je 0x46f7e0
mov eax, dword [esi + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.adb.exe_BN_rand_range
test eax, eax
jne 0x46f725
mov dword [esp + 0x10], 0x350
xor esi, esi
mov dword [esp + 0xc], str.external_boringssl_src_crypto_dsa_dsa.c
mov dword [esp + 8], 3
mov dword [esp + 4], 0
mov dword [esp], 0xa
call sym.adb.exe_ERR_put_error
mov dword [esp], ebp
call sym.adb.exe_BN_clear_free
mov eax, dword [esp + 0x74]
test eax, eax
je 0x46f97b
mov dword [esp], ebx
call sym.adb.exe_BN_clear_free
mov dword [esp], edi
call sym.adb.exe_BN_clear_free
add esp, 0x5c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0x303
mov dword [esp + 0xc], str.external_boringssl_src_crypto_dsa_dsa.c
mov dword [esp + 8], 0x65
mov dword [esp + 4], 0
mov dword [esp], 0xa
call sym.adb.exe_ERR_put_error
add esp, 0x5c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 4
mov dword [esp], ebx
call sym.adb.exe_BN_set_flags
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
lea eax, [esi + 0x28]
mov dword [esp + 4], eax
lea eax, [esi + 0x40]
mov dword [esp], eax
call fcn.00461eb0
test eax, eax
je 0x46f749
mov dword [esp + 4], ebx
mov dword [esp], edi
call sym.adb.exe_BN_copy
test eax, eax
je 0x46f749
mov eax, dword [esi + 0xc]
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 8], eax
call sym.adb.exe_BN_add
test eax, eax
je 0x46f749
mov dword [esp], edi
call sym.adb.exe_BN_num_bits
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call sym.adb.exe_BN_num_bits
cmp dword [esp + 0x1c], eax
ja 0x46f880
mov eax, dword [esi + 0xc]
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 8], eax
call sym.adb.exe_BN_add
test eax, eax
je 0x46f749
mov eax, dword [esi + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 8]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym.adb.exe_BN_mod_exp_mont
test eax, eax
je 0x46f749
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 8], ebp
mov dword [esp + 4], ebp
mov dword [esp], 0
mov dword [esp + 0xc], eax
call sym.adb.exe_BN_div
test eax, eax
je 0x46f749
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 4], ebx
mov dword [esp], 0
mov dword [esp + 8], eax
call sym.adb.exe_BN_mod_inverse
test eax, eax
mov esi, eax
je 0x46f749
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
mov dword [esp], eax
call sym.adb.exe_BN_clear_free
mov eax, dword [esp + 0x78]
mov dword [eax], esi
mov eax, dword [esp + 0x7c]
mov esi, 1
mov eax, dword [eax]
mov dword [esp], eax
call sym.adb.exe_BN_clear_free
mov eax, dword [esp + 0x7c]
mov dword [eax], ebp
jmp 0x46f77f
call sym.adb.exe_BN_CTX_new
test eax, eax
mov dword [esp + 0x18], eax
jne 0x46f714
mov dword [esp + 0x10], 0x350
xor esi, esi
mov dword [esp + 0xc], str.external_boringssl_src_crypto_dsa_dsa.c
mov dword [esp + 8], 3
mov dword [esp + 4], 0
mov dword [esp], 0xa
call sym.adb.exe_ERR_put_error
jmp 0x46f77f
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.adb.exe_BN_CTX_free
jmp 0x46f78b