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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov edi, dword [esp + 0x7c]
mov esi, dword [edi + 4]
test esi, esi
jle 0x45f4fc
mov ebp, dword [edi]
mov ebx, dword [ebp]
test bl, 1
jne 0x45f50a
push 0x392
push str.external_boringssl_src_crypto_fipsmodule_bn_exponentiation.c
push 0x68
jmp 0x45f542
cmp dword [edi + 0xc], 0
je 0x45f51e
push 0x396
push str.external_boringssl_src_crypto_fipsmodule_bn_exponentiation.c
push 0x6d
jmp 0x45f542
mov eax, dword [esp + 0x74]
cmp dword [eax + 0xc], 0
jne 0x45f536
push edi
push eax
call sym.fastboot.exe_BN_ucmp
add esp, 8
test eax, eax
js 0x45f55a
push 0x39a
push str.external_boringssl_src_crypto_fipsmodule_bn_exponentiation.c
push 0x6b
push 0
push 3
call sym.fastboot.exe_ERR_put_error
add esp, 0x14
xor ebx, ebx
mov eax, ebx
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 4]
test edx, edx
je 0x45f898
mov esi, dword [esp + 0x84]
xor eax, eax
test esi, esi
jne 0x45f594
push dword [esp + 0x80]
push edi
mov esi, edx
call sym.fastboot.exe_BN_MONT_CTX_new_consttime
mov edx, esi
add esp, 8
test eax, eax
mov esi, eax
je 0x45f9c2
mov ebp, dword [esi + 0x18]
mov ecx, 6
cmp edx, 0x1d
mov dword [esp + 4], eax
jg 0x45f5c5
mov ecx, 5
cmp edx, 9
jg 0x45f5c5
xor eax, eax
test edx, edx
mov ecx, 4
setg al
cmp edx, 2
lea eax, [eax + eax + 1]
cmovle ecx, eax
mov ebx, 1
lea eax, [ebp + ebp]
mov edi, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x44], edx
shl ebx, cl
shl edi, cl
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x34], ebx
cmovge ebx, eax
add ebx, edi
lea eax, [ebx*4 + 0x40]
shl ebx, 2
push eax
call sym.fastboot.exe_OPENSSL_malloc
add esp, 4
test eax, eax
mov dword [esp + 0x38], ebx
je 0x45f942
mov ecx, eax
mov dword [esp + 0x18], esi
mov dword [esp + 8], eax
and ecx, 0x3f
neg ecx
test ebx, ebx
lea esi, [eax + ecx + 0x40]
je 0x45f62d
push ebx
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esi + edi*4]
mov edi, esi
mov esi, dword [esp + 0x80]
movq xmm0, qword [0x51ed00]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x1c], eax
lea eax, [eax + ebp*4]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], ebp
lea eax, [esp + 0x1c]
movq qword [esp + 0x54], xmm0
movq qword [esp + 0x28], xmm0
push esi
mov ebp, dword [esp + 0x1c]
push ebp
push eax
call fcn.0045fb10
add esp, 0xc
xor ebx, ebx
test eax, eax
mov dword [esp], edi
je 0x45fad5
lea eax, [esp + 0x48]
push esi
push ebp
push ebp
push dword [esp + 0x80]
push eax
call sym.fastboot.exe_BN_mod_mul_montgomery
add esp, 0x14
test eax, eax
je 0x45fad5
lea eax, [esp + 0x1c]
push eax
mov esi, dword [esp + 0x10]
push esi
mov edi, dword [esp + 8]
push edi
call fcn.00459040
add esp, 0xc
lea ecx, [esp + 0x48]
lea eax, [edi + esi*4]
push ecx
push esi
push eax
call fcn.00459040
add esp, 0xc
cmp dword [esp + 0x14], 2
jb 0x45f96d
push dword [esp + 0x80]
push ebp
lea eax, [esp + 0x50]
push eax
push eax
lea edi, [esp + 0x2c]
push edi
call sym.fastboot.exe_BN_mod_mul_montgomery
add esp, 0x14
test eax, eax
je 0x45fad5
mov eax, dword [esp]
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx*4]
push edi
push dword [esp + 0x10]
push eax
call fcn.00459040
add esp, 0xc
cmp dword [esp + 0x34], 4
jl 0x45f96d
mov eax, dword [esp + 0xc]
mov edi, 3
lea ecx, [eax*4]
lea eax, [eax + 4]
mov dword [esp + 0x3c], eax
mov esi, ecx
push dword [esp + 0x80]
push ebp
lea eax, [esp + 0x24]
mov ecx, eax
push eax
lea eax, [esp + 0x54]
push eax
push ecx
call sym.fastboot.exe_BN_mod_mul_montgomery
add esp, 0x14
test eax, eax
je 0x45fad5
cmp dword [esp + 0x28], 0
je 0x45f79c
push 0x13c
push str.external_boringssl_src_crypto_fipsmodule_bn_bn.c
push 0x6d
push 0
push 3
call sym.fastboot.exe_ERR_put_error
add esp, 0x14
mov ecx, esi
inc edi
mov ebp, dword [esp + 0x18]
cmp edi, dword [esp + 0x34]
jl 0x45f744
jmp 0x45f96d
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
mov edx, ebp
sub edx, eax
jbe 0x45f84f
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
xor ecx, ecx
cmp edx, 8
jb 0x45f825
mov eax, dword [esp + 0xc]
mov ecx, edx
pxor xmm0, xmm0
pxor xmm1, xmm1
and ecx, 0xfffffff8
mov dword [esp + 0x30], ecx
lea eax, [eax + ecx]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x30]
movdqu xmm2, xmmword [ecx - 0x10]
movdqu xmm3, xmmword [ecx]
add ecx, 0x20
add eax, 0xfffffff8
por xmm0, xmm2
por xmm1, xmm3
jne 0x45f7e8
por xmm1, xmm0
cmp edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
pshufd xmm0, xmm1, 0x4e
por xmm0, xmm1
pshufd xmm1, xmm0, 0xe5
por xmm1, xmm0
movd ecx, xmm1
je 0x45f836
mov edx, dword [esp + 0x10]
sub ebp, eax
lea eax, [edx + eax*4]
or ecx, dword [eax]
add eax, 4
dec ebp
jne 0x45f82e
mov ebp, dword [esp + 0xc]
test ecx, ecx
je 0x45f84f
push 0x143
push str.external_boringssl_src_crypto_fipsmodule_bn_bn.c
push 0x66
jmp 0x45f77e
mov eax, edi
mov ecx, dword [esp]
imul eax, dword [esp + 0xc]
test esi, esi
lea eax, [ecx + eax*4]
mov ecx, esi
je 0x45f878
push ecx
push 0
push eax
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x1c]
mov ecx, esi
add esp, 0xc
shl ebp, 2
test ebp, ebp
je 0x45f78c
push ebp
push dword [esp + 0x20]
push eax
call sub.msvcrt.dll_memcpy
mov ecx, esi
add esp, 0xc
jmp 0x45f78c
xor ebx, 1
cmp esi, 2
jl 0x45f907
lea ecx, [esi - 1]
mov eax, 1
cmp ecx, 8
jb 0x45f8f9
mov edx, ecx
movd xmm1, ebx
lea edi, [ebp + 0x14]
pxor xmm0, xmm0
and edx, 0xfffffff8
lea eax, [edx + 1]
mov ebx, edx
movdqu xmm2, xmmword [edi - 0x10]
movdqu xmm3, xmmword [edi]
add edi, 0x20
add ebx, 0xfffffff8
por xmm1, xmm2
por xmm0, xmm3
jne 0x45f8c2
por xmm0, xmm1
cmp ecx, edx
pshufd xmm1, xmm0, 0x4e
por xmm1, xmm0
pshufd xmm0, xmm1, 0xe5
por xmm0, xmm1
movd ebx, xmm0
je 0x45f907
sub esi, eax
lea eax, [ebp + eax*4]
or ebx, dword [eax]
add eax, 4
dec esi
jne 0x45f8ff
test ebx, ebx
je 0x45f951
push 1
mov esi, dword [esp + 0x74]
push esi
call fcn.00457e40
add esp, 8
test eax, eax
je 0x45f54e
mov dword [esi + 0xc], 0
mov ebx, 1
mov eax, dword [esi]
mov dword [eax], 1
mov dword [esi + 4], 1
jmp 0x45f550
mov eax, dword [esp + 4]
xor ebx, ebx
xor esi, esi
xor edi, edi
jmp 0x45fae0
mov eax, dword [esp + 0x70]
mov ebx, 1
mov dword [eax + 0xc], 0
mov dword [eax + 4], 0
jmp 0x45f550
mov ebp, dword [esp + 0x44]
xor ebx, ebx
shl ebp, 5
dec ebp
mov eax, ebp
cdq
idiv dword [esp + 0x14]
test edx, edx
js 0x45f9d7
mov edi, dword [esp]
inc edx
xor eax, eax
mov esi, eax
add esi, eax
test ebp, ebp
mov eax, 0
js 0x45f9b8
mov eax, dword [esp + 0x78]
mov ecx, ebp
shr ecx, 5
cmp ecx, dword [eax + 4]
mov eax, 0
jae 0x45f9b8
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
mov ecx, ebp
shr eax, cl
and eax, 1
dec edx
or eax, esi
dec ebp
test edx, edx
jg 0x45f988
jmp 0x45f9dc
xor ebx, ebx
xor eax, eax
xor esi, esi
mov dword [esp + 0x38], 0
xor edi, edi
jmp 0x45fae0
mov edi, dword [esp]
xor eax, eax
mov edx, dword [esp + 0xc]
mov esi, ebp
lea ecx, [esp + 0x1c]
push dword [esp + 0x14]
push eax
push edi
call fcn.0045fba0
add esp, 0xc
test eax, eax
je 0x45faa8
test esi, esi
mov eax, esi
js 0x45fab2
xor ebx, ebx
xor ebp, ebp
xor edi, edi
push dword [esp + 0x80]
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push eax
push eax
call sym.fastboot.exe_BN_mod_mul_montgomery
add esp, 0x14
test eax, eax
je 0x45fad5
mov eax, edi
add eax, edi
xor edi, edi
test esi, esi
js 0x45fa56
mov edx, dword [esp + 0x78]
mov ecx, esi
shr esi, 5
cmp esi, dword [edx + 4]
jae 0x45fa58
mov edx, dword [esp + 0x78]
mov edx, dword [edx]
mov edi, dword [edx + esi*4]
shr edi, cl
and edi, 1
jmp 0x45fa58
mov ecx, esi
inc ebp
dec ecx
or edi, eax
cmp ebp, dword [esp + 0x14]
mov esi, ecx
jb 0x45fa0c
mov edx, dword [esp + 0xc]
lea ebp, [esp + 0x48]
mov ecx, ebp
push dword [esp + 0x14]
push edi
mov edi, dword [esp + 8]
push edi
call fcn.0045fba0
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x45faa8
push dword [esp + 0x80]
push dword [esp + 0x1c]
push ebp
lea eax, [esp + 0x28]
push eax
push eax
call sym.fastboot.exe_BN_mod_mul_montgomery
add esp, 0x14
test eax, eax
jne 0x45f9fc
mov eax, dword [esp + 4]
mov esi, dword [esp + 8]
jmp 0x45fae0
push dword [esp + 0x80]
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x7c]
call sym.fastboot.exe_BN_from_montgomery
add esp, 0x10
xor ebx, ebx
test eax, eax
setne bl
mov eax, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [esp]
push eax
call sym.fastboot.exe_BN_MONT_CTX_free
add esp, 4
test esi, esi
jne 0x45fafe
test edi, edi
je 0x45fafe
push dword [esp + 0x38]
push edi
call sym.fastboot.exe_OPENSSL_cleanse
add esp, 8
push esi
call sym.fastboot.exe_OPENSSL_free
add esp, 4
jmp 0x45f550