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

Disassembly:
sub esp, 0x4c
push ebp
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp + 4]
test eax, eax
je 0x45a8f6
cmp eax, 1
jne 0x45a504
mov eax, dword [ebp]
cmp dword [eax], 0
je 0x45a8f6
push esi
mov esi, dword [esp + 0x60]
push ebp
push esi
call fcn.00456880
add esp, 8
test eax, eax
jge 0x45a551
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x45a533
push esi
push eax
call fcn.00456620
add esp, 8
test eax, eax
jne 0x45a533
pop esi
pop ebp
add esp, 0x4c
ret
mov eax, dword [esp + 0x58]
test eax, eax
je 0x45a546
push 0
push eax
call fcn.004566d0
add esp, 8
pop esi
mov eax, 1
pop ebp
add esp, 0x4c
ret
push ebx
mov ebx, dword [esp + 0x6c]
push edi
push ebx
call fcn.00458180
push ebx
call fcn.004581a0
push ebx
mov dword [esp + 0x30], eax
call fcn.004581a0
mov edi, eax
push ebx
mov dword [esp + 0x38], edi
call fcn.004581a0
mov esi, eax
mov eax, dword [esp + 0x70]
add esp, 0x10
test eax, eax
mov dword [esp + 0x14], esi
jne 0x45a593
push ebx
call fcn.004581a0
add esp, 4
test esi, esi
mov dword [esp + 0x10], eax
je 0x45a8e3
test eax, eax
je 0x45a8e3
mov ecx, dword [esp + 0x24]
push ebp
mov dword [ecx + 0xc], 0
call fcn.00456360
and eax, 0x8000001f
jns 0x45a5c4
dec eax
or eax, 0xffffffe0
inc eax
mov ebx, 0x20
sub ebx, eax
push ebx
push ebp
push esi
call fcn.0045d6b0
mov edx, dword [esp + 0x78]
add ebx, 0x20
push ebx
push edx
xor ebp, ebp
push edi
mov dword [esi + 0xc], ebp
mov dword [esp + 0x50], ebx
call fcn.0045d6b0
mov dword [edi + 0xc], ebp
mov ebp, dword [esi + 4]
mov esi, dword [edi + 4]
lea eax, [esp + 0x64]
mov dword [esp + 0x34], esi
push eax
mov dword [esp + 0x4c], ebp
sub esi, ebp
call fcn.00456440
mov ecx, dword [edi]
lea eax, [esi*4]
add ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebp
mov edx, dword [edi + 8]
add esp, 0x20
inc edx
cmp ebp, 1
mov dword [esp + 0x50], edx
mov eax, dword [eax]
mov ecx, dword [eax + ebp*4 - 4]
mov dword [esp + 0x1c], ecx
jne 0x45a643
mov dword [esp + 0x20], 0
jmp 0x45a64b
mov edx, dword [eax + ebp*4 - 8]
mov dword [esp + 0x20], edx
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
lea edx, [eax + ecx*4 - 4]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x68]
xor edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc], edx
mov edx, dword [ecx + 8]
lea eax, [esi + 1]
cmp eax, edx
jg 0x45a67c
mov eax, ecx
jmp 0x45a68a
push eax
push ecx
call fcn.004564b0
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x45a8df
mov dword [ecx + 4], esi
mov ecx, dword [ecx]
lea edx, [ecx + esi*4 - 4]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], edx
mov edx, dword [ecx + 8]
lea eax, [ebp + 1]
cmp eax, edx
jg 0x45a6b1
mov eax, ecx
jmp 0x45a6bb
push eax
push ecx
call fcn.004564b0
add esp, 8
test eax, eax
je 0x45a8df
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00456880
add esp, 8
test eax, eax
jl 0x45a713
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x4c]
push eax
mov ecx, eax
push ecx
call fcn.0045b510
add esp, 0xc
test eax, eax
je 0x45a8df
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
mov dword [edx], 1
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [edx + ecx*4 - 4], 1
jmp 0x45a71a
mov eax, dword [esp + 0x10]
dec dword [eax + 4]
mov ecx, dword [esp + 0x6c]
sub ecx, 4
dec esi
test esi, esi
mov dword [esp + 0x6c], ecx
jle 0x45a8a8
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov esi, dword [ecx - 4]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jne 0x45a74b
or ebx, 0xffffffff
jmp 0x45a7d4
xor edi, edi
push edi
push ecx
xor edx, edx
or eax, edi
or edx, esi
push eax
push edx
call fcn.00450630
mov ecx, dword [esp + 0x20]
mov ebx, eax
imul eax, dword [esp + 0x1c]
xor ebp, ebp
push ebp
push ecx
push ebp
push ebx
sub esi, eax
call fcn.00448df0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 8]
or edi, eax
mov dword [esp + 0x40], eax
xor eax, eax
mov ecx, esi
or ecx, eax
cmp edx, ecx
jb 0x45a7cc
ja 0x45a797
cmp dword [esp + 0x38], edi
jbe 0x45a7cc
mov eax, dword [esp + 0x1c]
add esi, eax
dec ebx
cmp esi, eax
jb 0x45a7cc
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
sub edi, ecx
sbb edx, ebp
mov dword [esp + 0x38], edi
xor edi, edi
or edi, eax
xor eax, eax
mov ecx, esi
or ecx, eax
cmp edx, ecx
ja 0x45a797
jb 0x45a7cc
cmp dword [esp + 0x38], edi
ja 0x45a797
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov esi, dword [esp + 0x24]
mov ecx, dword [esi]
push ebx
push ebp
push eax
push ecx
call fcn.0045e270
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
sub ecx, 4
add esp, 0x10
inc edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov edx, dword [esi]
mov dword [edx + ebp*4], eax
lea eax, [ebp + 1]
test eax, eax
jle 0x45a81f
mov ecx, dword [esi]
lea ecx, [ecx + eax*4 - 4]
cmp dword [ecx], 0
jne 0x45a81f
dec eax
sub ecx, 4
test eax, eax
jg 0x45a812
mov dword [esi + 4], eax
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
push esi
push eax
mov ecx, eax
push ecx
mov dword [esp + 0x3c], edx
call fcn.0045b670
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x3c]
mov ecx, dword [edi + 4]
sub edx, esi
add ecx, edx
mov dword [edi + 4], ecx
mov eax, dword [esp + 0x60]
add esp, 0xc
test eax, eax
je 0x45a87d
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov edx, ecx
push edx
dec ebx
call fcn.0045b740
mov eax, dword [esp + 0x58]
mov ecx, dword [edi + 4]
sub eax, esi
add esp, 0xc
add ecx, eax
mov dword [edi + 4], ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x18]
mov dword [eax], ebx
sub eax, 4
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x10]
add ecx, 0xfffffffc
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jne 0x45a732
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x64]
test esi, esi
je 0x45a8c5
push ebx
push edi
push esi
call fcn.0045d7e0
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004581f0
add esp, 4
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x4c
ret
mov ebx, dword [esp + 0x70]
push ebx
call fcn.004581f0
add esp, 4
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x4c
ret
push 0xa9
push str.._bn_div.c
push 0x67
push 0x6b
push 3
call fcn.00455fa0
add esp, 0x14
xor eax, eax
pop ebp
add esp, 0x4c
ret