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

Disassembly:
sub esp, 0x390
push ebx
push ebp
push esi
lea eax, [esp + 0x60]
push edi
push eax
call fcn.004565a0
lea ecx, [esp + 0x44]
push ecx
call fcn.004565a0
lea edx, [esp + 0x2c]
push edx
call fcn.004565a0
lea eax, [esp + 0x1c]
push eax
call fcn.004565a0
lea ecx, [esp + 0x68]
push ecx
call fcn.004565a0
lea edx, [esp + 0x60]
push edx
call fcn.004565a0
lea eax, [esp + 0x8c]
push eax
call fcn.004565a0
mov eax, dword [esp + 0x3cc]
add eax, eax
add eax, eax
push eax
call fcn.004b7263
mov ecx, dword [esp + 0x3c8]
push ecx
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0x44], eax
call fcn.00456880
add esp, 0x28
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x3b0]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x20]
push 0
push eax
call fcn.004bd240
lea ecx, [esp + 0x4c]
push 1
push ecx
call fcn.00456980
lea edx, [esp + 0x38]
push 1
push edx
call fcn.00456980
xor edx, edx
add esp, 0x1c
mov dword [esp + 0x38], edx
cmp dword [esp + 0x3b8], edx
jbe 0x41a038
mov eax, dword [esp + 0x3b4]
add eax, 0xc
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x3c0]
mov eax, dword [ecx + edx*8]
mov ecx, dword [ecx + edx*8 + 4]
and eax, dword [esp + 0x30]
and ecx, dword [esp + 0x34]
or eax, ecx
je 0x41a021
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 4]
xor ebx, ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x3c], ebx
test eax, eax
je 0x419fb9
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + ecx*4]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x3bc]
mov ecx, dword [eax + edx*4 + 8]
mov ebp, dword [eax + edx*4 + 0x10]
lea edi, [eax + edx*4]
mov eax, dword [edi + 0xc]
shl eax, 4
add eax, dword [esp + 0x3cc]
push ecx
lea esi, [eax + 4]
mov eax, dword [eax]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x3cc]
lea ecx, [eax + edx*4]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.00459570
add esp, 0xc
push esi
lea eax, [esp + 0x50]
test ebp, ebp
jne 0x419f05
push eax
mov ecx, eax
push ecx
call fcn.00459390
jmp 0x419f10
lea edx, [esp + 0x50]
push edx
push eax
call fcn.00459720
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x44]
push edx
mov eax, edx
push eax
call fcn.00458530
mov ecx, dword [esp + 0x3b4]
push ecx
lea edx, [esp + 0x50]
push edx
mov eax, edx
push eax
call fcn.00458020
mov edx, dword [edi + 0x18]
add esp, 0x18
test edx, edx
je 0x419f59
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov esi, dword [esp + 0x1c]
inc dword [esi + eax*4]
lea eax, [esi + eax*4]
add ecx, 4
dec edx
jne 0x419f47
xor edx, edx
jmp 0x419f60
mov ecx, dword [edi + edx*4]
mov esi, 1
cmp ecx, esi
je 0x419f9e
xor eax, eax
test ebx, ebx
je 0x419f8a
cmp ecx, dword [esp + eax*8 + 0x80]
je 0x419f83
add eax, esi
cmp eax, ebx
jb 0x419f72
jmp 0x419f8a
add dword [esp + eax*8 + 0x84], esi
cmp eax, ebx
jne 0x419f9e
mov dword [esp + eax*8 + 0x80], ecx
mov dword [esp + eax*8 + 0x84], esi
add ebx, esi
add edx, esi
cmp edx, 2
jb 0x419f60
mov eax, dword [esp + 0x3c]
add eax, esi
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x70]
jb 0x419e9b
xor ebp, ebp
test ebx, ebx
je 0x41a01d
nop
test dword [esp + ebp*8 + 0x84], 0xfffffffe
jbe 0x41a018
mov edi, dword [esp + ebp*8 + 0x84]
mov esi, dword [esp + ebp*8 + 0x80]
shr edi, 1
lea ecx, [ecx]
lea ecx, [esp + 0x64]
push esi
push ecx
call fcn.00456980
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, eax
push ecx
call fcn.00458530
mov edx, dword [esp + 0x3bc]
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, eax
push ecx
call fcn.00458020
add esp, 0x20
dec edi
jne 0x419fe0
inc ebp
cmp ebp, ebx
jb 0x419fc0
mov edx, dword [esp + 0x38]
add dword [esp + 0x20], 0x10
inc edx
mov dword [esp + 0x38], edx
cmp edx, dword [esp + 0x3b8]
jb 0x419e64
mov ebp, 1
cmp dword [esp + 0x3b0], ebp
jbe 0x41a13d
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + ebp*4]
mov ecx, dword [esp + 0x3ac]
mov edx, dword [ecx + 8]
mov ebx, dword [edx + ebp*4]
mov edi, eax
shr edi, 1
mov esi, 0x80000000
test al, 1
je 0x41a078
push str.odd_exponent_found_n
call fcn.004b7f6d
add esp, 4
test edi, edi
je 0x41a12f
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.00456980
lea ecx, [esp + 0x6c]
push ebx
push ecx
call fcn.00456980
add esp, 0x10
test edi, edi
js 0x41a0a6
lea ecx, [ecx]
shr esi, 1
test esi, edi
je 0x41a0a0
shr esi, 1
je 0x41a105
lea ebx, [ebx]
lea edx, [esp + 0x10]
push edx
mov eax, edx
push eax
mov ecx, edx
push ecx
call fcn.00458530
mov ebx, dword [esp + 0x3b4]
lea edx, [esp + 0x1c]
push ebx
push edx
mov eax, edx
push eax
call fcn.00458020
add esp, 0x18
test esi, edi
je 0x41a0ff
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
call fcn.00458530
lea ecx, [esp + 0x1c]
push ebx
push ecx
mov edx, ecx
push edx
call fcn.00458020
add esp, 0x18
shr esi, 1
jne 0x41a0b0
jmp 0x41a10c
mov ebx, dword [esp + 0x3a8]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
push edx
call fcn.00458530
lea eax, [esp + 0x30]
push ebx
push eax
mov ecx, eax
push ecx
call fcn.00458020
add esp, 0x18
inc ebp
cmp ebp, dword [esp + 0x3b0]
jb 0x41a04a
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00459390
mov esi, dword [esp + 0x3b4]
lea edx, [esp + 0x1c]
push esi
push edx
mov eax, edx
push eax
call fcn.00458a00
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.00456920
add esp, 0x20
test eax, eax
je 0x41a2b2
lea edx, [esp + 0x10]
push 1
push edx
call fcn.004565d0
add esp, 8
test eax, eax
je 0x41a2b2
mov edi, dword [esp + 0x3c4]
cmp edi, 1
jbe 0x41a1ed
lea eax, [esp + 0x10]
push edi
push eax
mov esi, edi
call fcn.00456d90
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x41a1c3
mov eax, esi
xor edx, edx
div ecx
mov esi, ecx
mov ecx, edx
test edx, edx
jne 0x41a1b5
cmp esi, 1
jbe 0x41a1ed
lea ecx, [esp + 0x10]
push esi
push ecx
mov edx, ecx
push edx
call fcn.00456800
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.004565d0
add esp, 0x14
test eax, eax
je 0x41a2b2
mov ecx, dword [0x5d6510]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00456e30
add esp, 8
test eax, eax
je 0x41a2b2
mov ebp, dword [esp + 0x3a4]
mov esi, dword [esp + 0x3d0]
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.004212e0
cdq
xor eax, edx
sub eax, edx
add esp, 8
cmp eax, 8
jl 0x41a2e7
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00457360
mov ecx, dword [0x5d6510]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.00456e30
add esp, 0x14
test eax, eax
jne 0x41a2d2
cmp edi, 1
jbe 0x41a2b2
lea eax, [esp + 0x58]
push edi
push eax
call fcn.00456d90
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x41a286
mov eax, edi
xor edx, edx
div ecx
mov edi, ecx
mov ecx, edx
test edx, edx
jne 0x41a278
cmp edi, 1
jbe 0x41a2b2
push edi
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00456800
mov eax, dword [0x5d6510]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00456e30
add esp, 0x14
test eax, eax
jne 0x41a2d9
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
shld ecx, eax, 1
add eax, eax
mov dword [esp + 0x30], eax
or eax, ecx
mov dword [esp + 0x34], ecx
jne 0x419e10
jmp 0x41a2e7
lea edx, [esp + 0x58]
push edx
jmp 0x41a2de
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.004212e0
add esp, 8
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004b7229
lea edx, [esp + 0x68]
push edx
call fcn.00456900
lea eax, [esp + 0x48]
push eax
call fcn.00456900
lea ecx, [esp + 0x30]
push ecx
call fcn.00456900
lea edx, [esp + 0x20]
push edx
call fcn.00456900
lea eax, [esp + 0x6c]
push eax
call fcn.00456900
lea ecx, [esp + 0x8c]
push ecx
call fcn.00456900
lea edx, [esp + 0x68]
push edx
call fcn.00456900
add esp, 0x20
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x390
ret