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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x421f21
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.00422760
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x61072c], eax
mov dword [0x610728], ecx
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0xc8]
mov edx, dword [eax + 0xcc]
mov ebx, dword [esp + 0x88]
sub ebx, ecx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x8c]
sbb ecx, edx
mov dword [esp + 0x28], ecx
test ebx, ebx
seta dl
test ecx, ecx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
and ebp, edx
or esi, ebp
xchg esi, eax
mov byte [esp + 0x13], al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
jne 0x42194b
movsd xmm1, qword [0x51f3cc]
jmp 0x4219dd
mov ecx, eax
mov eax, ebx
mov edx, dword [esp + 0x90]
mul edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
lea esi, [ecx + 0xa8]
mov dword [esp], esi
call fcn.00402190
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.00462820
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x68], xmm0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x90]
imul ecx, edx
mov ebp, dword [esp + 0x4c]
add ecx, ebp
sar edx, 0x1f
mov esi, dword [esp + 0x24]
imul edx, esi
add ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call fcn.00462820
movsd xmm0, qword [esp + 0x68]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x51f3cc]
addsd xmm1, xmm0
mov eax, dword [esp + 0x84]
movsd qword [esp + 0x50], xmm1
lea ecx, [eax + 0x50]
mov dword [esp + 0x7c], ecx
mov dword [esp], ecx
call fcn.00402490
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x84]
cmp dword [ecx + 0x40], eax
setae al
mov edx, dword [esp + 8]
mov ebx, dword [ecx + 0x44]
cmp ebx, edx
sete dl
seta bl
and edx, eax
or ebx, edx
test bl, bl
jne 0x421f1d
movzx edx, byte [esp + 0x13]
test dl, dl
jne 0x421a2f
xorps xmm0, xmm0
jmp 0x421ab7
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x90]
mul edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
lea esi, [ecx + 0xc0]
mov dword [esp], esi
call fcn.00402190
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.00462820
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x68], xmm0
mov ecx, dword [esp + 0x90]
mov edx, ecx
sar ecx, 0x1f
mov ebx, dword [esp + 0x24]
imul ebx, ecx
mov ecx, dword [esp + 0x28]
imul ecx, edx
mov edx, dword [esp + 0x4c]
add ecx, edx
add ecx, ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call fcn.00462820
movsd xmm0, qword [esp + 0x68]
divsd xmm0, qword [esp + 8]
mov ecx, dword [esp + 0x84]
movsd qword [esp + 0x60], xmm0
lea eax, [ecx + 0x88]
mov dword [esp + 0x78], eax
mov dword [esp], eax
call fcn.00402190
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x84]
lea ebx, [edx + 0x90]
mov dword [esp + 0x74], ebx
mov dword [esp], ebx
call fcn.00402190
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
add edx, eax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x48]
adc eax, ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x84]
lea ebx, [ecx + 0x98]
mov dword [esp + 0x70], ebx
mov dword [esp], ebx
call fcn.00402190
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
add eax, edx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x44]
adc edx, ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
call fcn.00402490
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x84]
mov ebx, dword [edx + 0x40]
mov ebp, dword [edx + 0x44]
sub eax, ebx
sbb ecx, ebp
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004628a0
movsd xmm0, qword [esp + 0x50]
movsd xmm1, qword [esp + 0x60]
addsd xmm1, xmm0
mulsd xmm1, qword [esp + 8]
movsd qword [esp + 0x68], xmm1
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00462820
movsd xmm0, qword [0x51f3ec]
movsd xmm1, qword [esp + 0x50]
subsd xmm0, xmm1
mulsd xmm0, qword [esp + 8]
movsd xmm2, qword [esp + 0x68]
divsd xmm2, xmm0
mov eax, dword [esp + 0x84]
movsd xmm0, qword [eax + 0x20]
movsd xmm3, qword [eax + 0x28]
addsd xmm3, xmm2
movsd xmm4, qword [0x51f3dc]
mulsd xmm4, xmm3
movsd qword [eax + 0x20], xmm4
movsd qword [eax + 0x28], xmm2
mov ecx, dword [0x610130]
test ecx, ecx
jle 0x421f19
movsd qword [esp + 0x58], xmm0
call fcn.0043c950
call fcn.0043c950
lea eax, [0x50b4a6]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043d240
movsd xmm0, qword [esp + 0x50]
movsd xmm1, qword [0x51f42c]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0043d040
lea eax, [0x50b292]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043d240
mov dword [esp + 4], 0
mov dword [esp], 0x19
call fcn.0043d040
lea eax, [0x50bf6e]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043d240
call fcn.0043c9b0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00402190
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.00402190
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.00402190
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x84]
lea ebx, [edx + 0x68]
mov dword [esp], ebx
call fcn.00402490
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x84]
lea ebx, [edx + 0x78]
mov dword [esp], ebx
call fcn.00402490
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x60]
mov edx, dword [eax + 0x64]
mov ebx, dword [esp + 0x34]
add ecx, ebx
mov ebx, dword [esp + 0x30]
adc edx, ebx
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
add ebx, ecx
mov dword [esp + 0x34], ebx
adc edx, ebp
mov dword [esp + 0x2c], edx
call fcn.0043c950
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0043d040
lea eax, [0x50aad5]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043d240
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043d040
lea eax, [0x50aad5]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043d240
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0043d040
lea eax, [0x50b817]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043d240
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0043cec0
lea eax, [0x50b80e]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043d240
call fcn.0043c9b0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00402490
mov eax, dword [esp + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x84]
mov ebx, dword [edx + 0x48]
mov ebp, dword [edx + 0x4c]
sub ecx, ebx
mov dword [esp + 0x4c], ecx
sbb eax, ebp
mov dword [esp + 0x44], eax
mov ebp, dword [edx + 0x40]
mov dword [esp + 0x48], ebp
mov edx, dword [edx + 0x44]
mov dword [esp + 0x38], edx
call fcn.0043c950
lea eax, [0x50ac80]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0043d240
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043cec0
lea eax, [0x50afea]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0043d240
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0043cec0
lea eax, [0x50c3f1]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043d240
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0043d040
lea eax, [0x50c4f9]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043d240
movsd xmm0, qword [esp + 0x58]
movsd qword [esp], xmm0
call fcn.0043cc00
lea eax, str.__.0146:_
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043d240
call fcn.0043c9b0
call fcn.0043c950
call fcn.0043cb60
call fcn.0043c9b0
call fcn.0043c9b0
sub esp, 0xffffff80
ret
sub esp, 0xffffff80
ret
call fcn.00467570
jmp fcn.004218b0