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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, dword [esp + 0x84]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
sub eax, ebp
mov edi, dword [esp + 0x80]
mov dword [esp + 0x24], eax
shl eax, 2
add edx, eax
add eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov eax, ebp
mov dword [esp + 0x2c], edx
jmp 0x415ccc
mov ecx, dword [edi + eax*4]
cmp dword [edx + eax*4], ecx
jne 0x41609c
sub eax, 1
jns 0x415cc0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00404250
mov dword [esp + 0x4c], 1
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x24]
lea eax, [eax + ebp*4]
mov dword [esp + 0x34], eax
lea eax, [ebp + 1]
mov dword [esp + 0x3c], eax
test edx, edx
jle 0x415efd
lea esi, [esi]
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x8c], edx
jle 0x415d46
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x8c], edx
sub eax, edx
lea eax, [ebx + eax*4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
mov edx, ebp
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x88]
sub edx, eax
lea ebx, [eax*4]
lea edx, [esi + edx*4]
sub dword [esp + 0x2c], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], edx
mov dword [esp], ecx
sub dword [esp + 0x20], ebx
mov dword [esp + 0x28], edx
call fcn.00405090
add ebx, dword [esp + 0x90]
mov edx, dword [esp + 0x28]
mov ecx, ebx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.004041a0
mov ebx, eax
test eax, eax
jne 0x416080
mov edx, dword [esp + 0x8c]
sub dword [esp + 0x24], edx
cmp edx, 0x12
jg 0x415f10
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00404360
mov eax, dword [esp + 0x28]
mov ebx, dword [eax]
mov eax, dword [esp + 0x34]
sub ebx, dword [eax]
mov eax, dword [esp + 0x8c]
cmp dword [esp + 0x8c], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
je 0x416070
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.00404250
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov eax, ebp
sub eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp], eax
call fcn.004042f7
mov dword [esp + 8], ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x90]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00418440
mov eax, dword [esp + 0x28]
sub ebx, eax
je 0x415eb4
nop
mov eax, dword [esp + 0x20]
add dword [eax], 1
lea eax, [eax + 4]
jb 0x415e94
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], esi
call fcn.00404250
sub ebx, eax
jne 0x415e90
mov eax, ebp
jmp 0x415ecc
mov ecx, dword [edi + eax*4]
cmp dword [esi + eax*4], ecx
jne 0x416060
sub eax, 1
jns 0x415ec0
mov eax, dword [esp + 0x20]
add dword [eax], 1
lea eax, [eax + 4]
jb 0x415ed5
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], esi
call fcn.00404250
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x415d18
mov eax, dword [esp + 0x4c]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.004149a0
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xc], ebp
mov edx, eax
mov dword [esp + 8], edi
lea eax, [ecx + eax*4]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], eax
call fcn.004140d0
mov eax, dword [esp + 0x8c]
add eax, ebp
sub eax, dword [esp + 0x38]
mov edx, eax
test eax, eax
jle 0x415e01
mov dword [esp + 0xc], eax
mov eax, ebp
sub eax, edx
mov dword [esp + 0x40], edx
lea eax, [esi + eax*4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.00404250
mov edx, dword [esp + 0x40]
mov ecx, eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x44], ecx
lea eax, [eax + edx*4]
mov dword [esp + 0x40], eax
mov eax, dword [eax]
mov dword [esp + 0x48], eax
sub eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jbe 0x416009
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], esi
sub eax, edx
mov edx, eax
mov eax, 1
mov esi, edx
jmp 0x415ffc
mov edx, dword [ecx + eax*4]
lea ebx, [edx - 1]
mov dword [ecx + eax*4], ebx
add eax, 1
test edx, edx
jne 0x4160db
cmp esi, eax
jg 0x415fe8
mov esi, dword [esp + 0x40]
mov ebx, 1
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x34]
sub eax, ebp
jmp 0x41602c
mov ebx, dword [ecx + eax*4]
cmp dword [edx + eax*4], ebx
jne 0x4160c3
sub eax, 1
jns 0x416020
mov ebx, dword [esp + 0x38]
test ebx, ebx
jne 0x4160e8
mov eax, dword [esp + 0x90]
add dword [eax], ebx
jae 0x416051
add dword [eax + 4], 1
lea eax, [eax + 4]
jb 0x416048
jmp 0x415e01
ja 0x415ed1
jmp 0x415ef1
mov dword [esp], esi
call fcn.00404250
jmp 0x415e8b
mov dword [esp + 8], 0x4344f4
mov dword [esp + 4], 0x118
mov dword [esp], str.mu_div_qr.c
call fcn.004185f0
ja 0x415cd1
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], ebp
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00418440
mov dword [esp + 0x4c], 0
jmp 0x415cf1
mov ebx, dword [esp + 0x38]
ja 0x416035
mov eax, 1
sub eax, ebx
mov ebx, eax
jmp 0x41603d
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
jmp 0x416009
mov dword [esp + 8], str.cx___cy
mov dword [esp + 4], 0x12c
mov dword [esp], str.mu_div_qr.c
call fcn.004185f0
lea esi, [esi]
lea esi, [esi]
nop