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

Disassembly:
mov ecx, dword [0x587cec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4221af
sub esp, 0x9c
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00422aa0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x5885e0], eax
mov dword [0x5885e4], 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 0x421b4d
movsd xmm1, qword [0x4e8130]
jmp 0x421bcc
lea ecx, [eax + 0xc0]
mov dword [esp], ecx
call fcn.00479410
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00467920
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.00467920
movsd xmm0, qword [esp + 0x84]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x4e8130]
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.004796d0
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 0x421dfb
movzx eax, byte [esp + 0x13]
test al, al
jne 0x421c1e
xorps xmm0, xmm0
jmp 0x421c91
lea eax, [ecx + 0xd8]
mov dword [esp], eax
call fcn.00479410
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00467920
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.00467920
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.00479410
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.00479410
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.00479410
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.004796d0
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 [0x4e8140]
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.004679a0
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.00467920
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 0x421e03
add esp, 0x9c
ret
inc ecx
cmp ecx, 4
jge 0x421e20
movsd xmm2, qword [eax + ecx*8 + 0x28]
movsd xmm3, qword [eax + 0x20]
ucomisd xmm2, xmm3
jbe 0x421e02
movsd qword [eax + 0x20], xmm2
jmp 0x421e02
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.004753d0
movsd xmm0, qword [esp + 0x3c]
mov eax, dword [esp + 0xa0]
movsd qword [eax + 0x40], xmm0
mov ecx, dword [0x588018]
test ecx, ecx
jle 0x4221a8
call fcn.0043d390
call fcn.0043d390
lea eax, [0x4d7388]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043dbf0
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [0x4e81b8]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043da10
lea eax, [0x4d738f]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043dbf0
mov dword [esp], 0x19
mov dword [esp + 4], 0
call fcn.0043da10
lea eax, [0x4d7e92]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043dbf0
call fcn.0043d3f0
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.00479410
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.00479410
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.00479410
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.004796d0
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.004796d0
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.0043d390
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.0043da10
lea eax, [0x4d6d35]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043dbf0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0043da10
lea eax, [0x4d6d35]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043dbf0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0043da10
lea eax, [0x4d7817]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043dbf0
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.0043d8e0
lea eax, [0x4d7820]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043dbf0
call fcn.0043d3f0
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call fcn.004796d0
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.0043d390
lea eax, [0x4d6dbd]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0043dbf0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0043d8e0
lea eax, [0x4d71b0]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0043dbf0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.0043d8e0
lea eax, [0x4d82bd]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043dbf0
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.0043da10
lea eax, [0x4d82c9]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043dbf0
movsd xmm0, qword [esp + 0x24]
movsd qword [esp], xmm0
call fcn.0043d630
lea eax, [0x4d6d38]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043dbf0
call fcn.0043d3f0
call fcn.0043d390
call fcn.0043d590
call fcn.0043d3f0
call fcn.0043d3f0
add esp, 0x9c
ret
call fcn.004736a0
jmp fcn.00421ab0