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

Disassembly:
mov ecx, dword [0x57fc4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4215ff
sub esp, 0x9c
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00421ee0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x580540], eax
mov dword [0x580544], ecx
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0xe0]
mov edx, dword [eax + 0xe4]
mov ebx, dword [esp + 0xa4]
sub ebx, ecx
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0xa8]
sbb ecx, edx
mov dword [esp + 0x48], ecx
test ecx, ecx
sete dl
xchg ebp, ebx
setg bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and edx, esi
or ebp, edx
xchg ebp, eax
mov byte [esp + 0x13], al
xchg ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x420f9d
movsd xmm1, qword [0x4e1b80]
jmp 0x42101c
lea ecx, [eax + 0xc0]
mov dword [esp], ecx
call fcn.00476020
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004649b0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xac]
mov ebx, eax
mul ecx
mov dword [esp], eax
mov eax, dword [esp + 0x48]
imul eax, ecx
add eax, edx
sar ecx, 0x1f
imul ecx, ebx
add eax, ecx
mov dword [esp + 4], eax
call fcn.004649b0
movsd xmm0, qword [esp + 0x84]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x4e1b80]
addsd xmm1, xmm0
mov eax, dword [esp + 0xa0]
movsd qword [esp + 0x14], xmm1
lea ecx, [eax + 0x68]
mov dword [esp + 0x98], ecx
mov dword [esp], ecx
call fcn.004762e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 0x58]
mov ebx, dword [ecx + 0x5c]
cmp dword [esp + 4], edx
setbe dl
cmp eax, ebx
sete al
setb bl
and eax, edx
or ebx, eax
test bl, bl
jne 0x42124b
movzx eax, byte [esp + 0x13]
test al, al
jne 0x42106e
xorps xmm0, xmm0
jmp 0x4210e1
lea eax, [ecx + 0xd8]
mov dword [esp], eax
call fcn.00476020
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004649b0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xac]
mov ebx, eax
mul ecx
mov dword [esp], eax
mov eax, dword [esp + 0x48]
imul eax, ecx
add eax, edx
sar ecx, 0x1f
imul ebx, ecx
add eax, ebx
mov dword [esp + 4], eax
call fcn.004649b0
movsd xmm0, qword [esp + 0x84]
divsd xmm0, qword [esp + 8]
mov ecx, dword [esp + 0xa0]
movsd qword [esp + 0x34], xmm0
lea eax, [ecx + 0xa0]
mov dword [esp + 0x94], eax
mov dword [esp], eax
call fcn.00476020
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0xa8]
mov dword [esp + 0x90], ebx
mov dword [esp], ebx
call fcn.00476020
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0xb0]
mov dword [esp + 0x8c], ebx
mov dword [esp], ebx
call fcn.00476020
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp], edx
call fcn.004762e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x58]
mov ebp, dword [edx + 0x5c]
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [esp + 0x34]
addsd xmm1, xmm0
movsd qword [esp + 0x84], xmm1
movsd xmm2, qword [0x4e1b90]
subsd xmm2, xmm0
movsd qword [esp + 0x64], xmm2
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x78]
add esi, edi
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
adc edi, edx
mov edx, dword [esp + 0x70]
add esi, edx
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x6c]
adc edi, edx
mov dword [esp + 0x20], edi
sub eax, ebx
mov dword [esp], eax
sbb ecx, ebp
mov dword [esp + 4], ecx
call fcn.00464a30
movsd xmm0, qword [esp + 0x84]
mulsd xmm0, qword [esp + 8]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004649b0
movsd xmm0, qword [esp + 0x64]
mulsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x84]
divsd xmm1, xmm0
mov eax, dword [esp + 0xa0]
movsd xmm0, qword [eax + 0x20]
movsd qword [eax + 0x20], xmm1
xor ecx, ecx
jmp 0x421253
add esp, 0x9c
ret
inc ecx
cmp ecx, 4
jge 0x421270
movsd xmm2, qword [eax + ecx*8 + 0x28]
movsd xmm3, qword [eax + 0x20]
ucomisd xmm2, xmm3
jbe 0x421252
movsd qword [eax + 0x20], xmm2
jmp 0x421252
movsd qword [esp + 0x3c], xmm1
movsd qword [esp + 0x24], xmm0
lea ecx, [eax + 0x28]
mov dword [esp], ecx
lea ecx, [eax + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
call fcn.004720b0
movsd xmm0, qword [esp + 0x3c]
mov eax, dword [esp + 0xa0]
movsd qword [eax + 0x40], xmm0
mov ecx, dword [0x57ff78]
test ecx, ecx
jle 0x4215f8
call fcn.0043b190
call fcn.0043b190
lea eax, [0x4d11c8]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043b9a0
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [0x4e1c08]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043b7f0
lea eax, [0x4d11cf]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043b9a0
mov dword [esp], 0x19
mov dword [esp + 4], 0
call fcn.0043b7f0
lea eax, [0x4d1cd2]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043b9a0
call fcn.0043b1f0
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.00476020
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x90]
mov dword [esp], edx
call fcn.00476020
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call fcn.00476020
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0x80]
mov dword [esp], ebx
call fcn.004762e0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0x90]
mov dword [esp], ebx
call fcn.004762e0
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x78]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x4c], ebp
call fcn.0043b190
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.0043b7f0
lea eax, [0x4d0b75]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043b9a0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0043b7f0
lea eax, [0x4d0b75]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043b9a0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0043b7f0
lea eax, [0x4d1657]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043b9a0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
add eax, ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
adc ecx, edx
mov edx, dword [esp + 0x50]
add eax, edx
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
adc ecx, eax
mov dword [esp + 4], ecx
call fcn.0043b6c0
lea eax, [0x4d1660]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043b9a0
call fcn.0043b1f0
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call fcn.004762e0
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x58]
mov dword [esp + 0x80], ebx
mov ebp, dword [edx + 0x5c]
mov dword [esp + 0x78], ebp
mov esi, dword [edx + 0x60]
mov dword [esp + 0x70], esi
mov edx, dword [edx + 0x64]
mov dword [esp + 0x60], edx
call fcn.0043b190
lea eax, [0x4d0bfd]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0043b9a0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0043b6c0
lea eax, [0x4d0ff0]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0043b9a0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.0043b6c0
lea eax, [0x4d20fd]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043b9a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
sub eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
sbb eax, ecx
mov dword [esp + 4], eax
call fcn.0043b7f0
lea eax, [0x4d2109]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043b9a0
movsd xmm0, qword [esp + 0x24]
movsd qword [esp], xmm0
call fcn.0043b410
lea eax, [0x4d0b78]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043b9a0
call fcn.0043b1f0
call fcn.0043b190
call fcn.0043b370
call fcn.0043b1f0
call fcn.0043b1f0
add esp, 0x9c
ret
call fcn.004704c0
jmp fcn.00420f00