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

Disassembly:
push 0xffffffffffffffff
push 0x50953c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x7c]
mov esi, ecx
mov ecx, edi
mov dword [esp + 0x48], esi
call fcn.0041f0b0
mov eax, dword [edi + 0x54]
xor ebx, ebx
cmp eax, ebx
jne 0x4205ef
push 0x48
call fcn.004dc4af
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov dword [esp + 0x74], ebx
je 0x4205e5
mov ecx, eax
call fcn.00430e80
jmp 0x4205e7
xor eax, eax
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x10], eax
lea eax, [esp + 0x7c]
push eax
mov ecx, edi
mov dword [esp + 0x80], ebx
call fcn.0041f100
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
cmp eax, ebx
jne 0x42064c
mov ecx, dword [edi + 0x54]
mov esi, dword [ecx + 0x30]
cmp esi, ebx
je 0x42062b
mov esi, dword [esi]
mov ecx, dword [edi + 0x54]
push esi
call fcn.00430f50
cmp esi, ebx
jne 0x42061c
mov esi, dword [edi + 0x54]
cmp esi, ebx
je 0x420642
mov ecx, esi
call fcn.00430eb0
push esi
call fcn.004dc4d8
add esp, 4
mov dword [edi + 0x54], ebx
xor eax, eax
jmp 0x420998
mov eax, dword [0x575f54]
mov dword [esp + 0x24], eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x20], eax
lea edx, [esp + 0x24]
mov ecx, edi
push edx
mov byte [esp + 0x78], 2
call fcn.0041ee20
lea eax, [esp + 0x58]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, edi
call fcn.0041ede0
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.004e07b2
mov ecx, esi
call fcn.004216b0
mov ebp, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov eax, dword [eax + 0x38]
cmp eax, ebx
mov dword [esp + 0x40], eax
je 0x4206d0
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x1c], eax
mov ecx, dword [eax + 8]
mov ebx, dword [ecx + 0x10]
mov edx, dword [ecx + 8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
jmp 0x420773
push 0x10
call fcn.004dc4af
mov esi, eax
add esp, 4
mov dword [esp + 0x44], esi
cmp esi, ebx
mov byte [esp + 0x74], 3
je 0x4206fd
push 0x57d1b0
mov ecx, esi
call fcn.0043d8d0
mov dword [esi], 0x515674
jmp 0x4206ff
xor esi, esi
push 4
mov ecx, esi
mov byte [esp + 0x78], 2
mov dword [esp + 0x18], esi
call fcn.0043e340
fld dword [eax]
fmul qword [edi + 0x60]
push eax
push 4
mov ecx, esi
fmul qword [0x513090]
fstp dword [eax]
fld dword [eax + 8]
fmul qword [edi + 0x60]
fmul qword [0x513090]
fstp dword [eax + 8]
call fcn.0043e170
push 0x10
call fcn.004dc4af
mov esi, eax
add esp, 4
mov dword [esp + 0x44], esi
cmp esi, ebx
mov byte [esp + 0x74], 4
je 0x420764
push 0x57d1d0
mov ecx, esi
call fcn.0043d8d0
mov dword [esi], 0x515670
jmp 0x420766
xor esi, esi
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x74], 2
mov dword [esp + 0x18], esi
fld qword [esp + 0x58]
fstp dword [esp + 0x2c]
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
push 1
call fcn.0043e170
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebp
push ecx
push 0
mov ecx, ebx
call fcn.0043e170
lea edx, [esp + 0x3c]
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
mov ecx, edi
call fcn.0041ed60
fild dword [esp + 0x34]
lea edx, [esp + 0x60]
push edx
push 2
fmul dword [0x51566c]
fstp dword [esp + 0x68]
fild dword [esp + 0x40]
fmul dword [0x51566c]
fstp dword [esp + 0x6c]
fild dword [esp + 0x44]
fmul dword [0x51566c]
fstp dword [esp + 0x70]
call fcn.0043ee10
mov ecx, dword [esp + 0x20]
add esp, 4
push eax
call fcn.0042f830
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x4c]
fld qword [edi + 0x40]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
xor ebp, ebp
mov dword [esp + 0x54], ecx
test eax, eax
jle 0x420954
fstp dword [esp + 0x44]
jmp 0x42081d
mov ebx, dword [esp + 0x14]
cmp ebp, dword [esp + 0x40]
jl 0x42087e
push 0x44
call fcn.004dc4af
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0x74], 5
je 0x420845
mov ecx, eax
call fcn.0042fb00
mov esi, eax
jmp 0x420847
xor esi, esi
mov ecx, dword [esp + 0x10]
push esi
mov byte [esp + 0x78], 2
mov eax, dword [ecx + 0x34]
push eax
call fcn.00430f20
push ebx
mov ecx, esi
call fcn.00430670
test ebx, ebx
je 0x420869
inc dword [ebx + 8]
mov ebx, dword [esp + 0x18]
mov ecx, esi
push ebx
call fcn.0042f5a0
test ebx, ebx
je 0x42088b
inc dword [ebx + 8]
jmp 0x42088b
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov esi, dword [eax + 8]
mov dword [esp + 0x1c], edx
fld qword [esp + 0x50]
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x48]
fstp dword [esp]
mov ebx, dword [eax + ebp*8]
push ecx
mov ecx, esi
call fcn.004306d0
push 1
mov ecx, esi
call fcn.0042fd90
fld qword [edi + 0x28]
fadd qword [esp + 0x58]
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + ebp*8 + 4]
fsubr qword [esp + 0x50]
test ecx, ecx
fstp qword [esp + 0x50]
jne 0x4208fb
push 0x543a58
lea ecx, [esp + 0x2c]
call fcn.004e0aab
lea edx, [esp + 0x28]
mov ecx, esi
push edx
push 0
push 0
mov byte [esp + 0x80], 6
call fcn.0042fe60
mov byte [esp + 0x74], 2
lea ecx, [esp + 0x28]
jmp 0x420930
mov eax, dword [eax + ebp*8 + 4]
lea ecx, [esp + 0x2c]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004d937f
lea edx, [esp + 0x2c]
mov ecx, esi
push edx
push 0
push 0
mov byte [esp + 0x80], 7
call fcn.0042fe60
mov byte [esp + 0x74], 2
lea ecx, [esp + 0x2c]
call fcn.004e0a3d
push 0x3f800000
push 0
push 0
mov ecx, esi
call fcn.0042feb0
mov eax, dword [esp + 0x30]
inc ebp
cmp ebp, eax
jl 0x420819
jmp 0x420956
fstp st(0)
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
mov ecx, dword [eax + 0x1c0]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x7c]
push edx
mov dword [edi + 0x54], esi
call fcn.004dc4d8
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 1
call fcn.004e0a3d
lea ecx, [esp + 0x24]
mov dword [esp + 0x74], 0xffffffff
call fcn.004e0a3d
mov eax, esi
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 4