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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463b93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0xc8]
mov dword [esp + 0x70], edi
mov ecx, 3
xor edx, edx
mov dword [eax - 8], edx
mov dword [eax], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x18], edx
mov dword [eax - 0x10], edx
mov dword [eax - 4], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x1c], edx
add eax, 0x30
dec ecx
jne 0x408637
mov eax, dword [0x481088]
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x150], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xbc]
mov byte [esp + 0x150], 2
cmp eax, ebx
mov dword [esp + 0x18], ebx
jle 0x408a64
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
inc eax
push eax
push 0x47f110
push ecx
mov dword [esp + 0x5c], eax
call fcn.00433596
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.004335a9
lea esi, [edi + 0xa0]
push 0x47f10c
lea edx, [esp + 0x58]
push esi
push edx
call fcn.0043696b
lea ecx, [esp + 0x10]
lea edx, [esp + 0x78]
push ecx
push eax
push edx
mov byte [esp + 0x15c], 3
call fcn.00436905
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 4
call fcn.0043680f
lea ecx, [esp + 0x78]
mov byte [esp + 0x150], 3
call fcn.00436722
lea ecx, [esp + 0x54]
mov byte [esp + 0x150], 2
call fcn.00436722
push 0x47fb48
lea eax, [esp + 0x70]
push esi
push eax
call fcn.0043696b
lea ecx, [esp + 0x10]
lea edx, [esp + 0x58]
push ecx
push eax
push edx
mov byte [esp + 0x15c], 5
call fcn.00436905
push 0x47f10c
push eax
lea eax, [esp + 0x54]
mov byte [esp + 0x158], 6
push eax
call fcn.0043696b
push 0x47fb44
lea ecx, [esp + 0x78]
push eax
push ecx
mov byte [esp + 0x15c], 7
call fcn.0043696b
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], 8
call fcn.0043680f
lea ecx, [esp + 0x74]
mov byte [esp + 0x150], 7
call fcn.00436722
lea ecx, [esp + 0x4c]
mov byte [esp + 0x150], 6
call fcn.00436722
lea ecx, [esp + 0x58]
mov byte [esp + 0x150], 5
call fcn.00436722
lea ecx, [esp + 0x6c]
mov byte [esp + 0x150], 2
call fcn.00436722
push 0x47f9a8
mov edx, dword [esp + 0x28]
push edx
call fcn.0042061f
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
push 0x47f0f0
push eax
call fcn.0042061f
add esp, 0x10
mov esi, eax
mov dword [esp + 0x20], esi
push 0x47fb00
push esi
call fcn.00420ad3
mov eax, dword [edi + 0xd4]
add esp, 8
xor ebp, ebp
cmp eax, ebx
jle 0x408a26
lea eax, [ebp + 1]
push eax
push str._n_n_5d
push esi
call fcn.00420ad3
mov edx, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x88]
push ecx
push edx
push ebp
mov ecx, edi
call fcn.00406780
lea eax, [ebp*8]
mov dword [esp + 0x14], ebx
sub eax, ebp
shl eax, 3
mov dword [esp + 0x68], eax
jmp 0x40884f
mov eax, dword [esp + 0x68]
fld qword [esp + 0x88]
fchs
fstp qword [esp + 0x34]
fld qword [esp + 0x90]
fchs
fstp qword [esp + 0x3c]
fild dword [esp + 0x14]
mov ecx, dword [edi + 0x13c]
mov esi, dword [edi + 0x148]
cmp esi, ebx
fmul qword [0x4689d8]
fst qword [esp + 0x7c]
fstp qword [esp + 0x5c]
fld qword [ecx + eax + 0x30]
fmul qword [esp + 0x5c]
fst qword [esp + 0x2c]
fmul qword [esp + 0x90]
fsub qword [esp + 0x98]
fstp qword [esp + 0x44]
je 0x4088e4
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x18]
mov eax, esi
mov esi, dword [esi]
mov edi, dword [eax + 8]
cmp dword [edi + 0xc], edx
jne 0x4088da
mov ecx, edi
call fcn.004102d0
cmp eax, ebp
jne 0x4088da
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x34]
push eax
push ebx
push ecx
mov ecx, edi
call fcn.004102e0
test esi, esi
jne 0x4088ad
mov edi, dword [esp + 0x70]
xor ebx, ebx
fld qword [esp + 0x44]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x34]
fchs
fstp qword [esp + 0x44]
fld qword [esp + 0x3c]
push edx
push 1
fchs
fstp qword [esp + 0x44]
push 0x18
push eax
call fcn.00420ce3
mov eax, dword [esp + 0x24]
mov ecx, 0xa
cdq
idiv ecx
add esp, 0x10
test edx, edx
jne 0x40895e
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push str._n_19.6lf_17.6e_17.6e_17.6e
push ecx
call fcn.00420ad3
add esp, 0x28
lea edx, [esp + 0x34]
lea ecx, [esp + 0xc0]
mov esi, 3
cmp ebp, ebx
jne 0x4089a1
cmp dword [esp + 0x14], ebx
jne 0x4089a1
mov eax, dword [edx]
mov dword [ecx - 8], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov eax, dword [edx + 4]
mov dword [ecx + 0xc], eax
mov eax, dword [edx]
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x20], eax
mov eax, dword [edx + 4]
mov dword [ecx + 0x24], eax
jmp 0x4089f4
fld qword [edx]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 0x41
jne 0x4089ca
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov dword [ecx - 8], ebp
mov dword [ecx], eax
mov eax, dword [edx]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov eax, dword [edx + 4]
mov dword [ecx + 0xc], eax
xor ebx, ebx
fld qword [edx]
fcomp qword [ecx + 0x20]
fnstsw ax
test ah, 1
je 0x4089f4
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov dword [ecx + 0x10], ebp
mov dword [ecx + 0x18], eax
mov eax, dword [edx]
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x20], eax
mov eax, dword [edx + 4]
mov dword [ecx + 0x24], eax
xor ebx, ebx
add edx, 8
add ecx, 0x30
dec esi
jne 0x40896e
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x64
mov dword [esp + 0x14], eax
jle 0x40884b
mov eax, dword [edi + 0xd4]
mov esi, dword [esp + 0x20]
inc ebp
cmp ebp, eax
jl 0x40880e
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0xb8]
push ebp
push 1
push 0x90
push ecx
call fcn.00420ce3
push ebp
call fcn.00420a56
push esi
call fcn.00420a56
mov eax, dword [esp + 0x68]
mov ecx, dword [edi + 0xbc]
add esp, 0x18
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x408690
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 1
call fcn.00436722
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 0
call fcn.00436722
lea ecx, [esp + 0x10]
mov dword [esp + 0x150], 0xffffffff
call fcn.00436722
mov ecx, dword [esp + 0x148]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret