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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x421251
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.00421a80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x60acec], eax
mov dword [0x60ace8], 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 0x420c7b
movsd xmm1, qword [0x517e4c]
jmp 0x420d0d
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.004020d0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0045f1b0
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.0045f1b0
movsd xmm0, qword [esp + 0x68]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x517e4c]
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.004023d0
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 0x42124d
movzx edx, byte [esp + 0x13]
test dl, dl
jne 0x420d5f
xorps xmm0, xmm0
jmp 0x420de7
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.004020d0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0045f1b0
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.0045f1b0
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.004020d0
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.004020d0
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.004020d0
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.004023d0
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.0045f230
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.0045f1b0
movsd xmm0, qword [0x517e6c]
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 [0x517e5c]
mulsd xmm4, xmm3
movsd qword [eax + 0x20], xmm4
movsd qword [eax + 0x28], xmm2
mov ecx, dword [0x60a6f0]
test ecx, ecx
jle 0x421249
movsd qword [esp + 0x58], xmm0
call fcn.0043a340
call fcn.0043a340
lea eax, [0x50423b]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043ab80
movsd xmm0, qword [esp + 0x50]
movsd xmm1, qword [0x517eac]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0043a9c0
lea eax, [0x504027]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043ab80
mov dword [esp + 4], 0
mov dword [esp], 0x19
call fcn.0043a9c0
lea eax, [0x504d03]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043ab80
call fcn.0043a3a0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.004020d0
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.004020d0
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.004020d0
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.004023d0
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.004023d0
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.0043a340
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0043a9c0
lea eax, [0x503875]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043ab80
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043a9c0
lea eax, [0x503875]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043ab80
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0043a9c0
lea eax, [0x5045ac]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043ab80
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0043a870
lea eax, [0x5045a3]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043ab80
call fcn.0043a3a0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.004023d0
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.0043a340
lea eax, [0x503a1d]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0043ab80
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043a870
lea eax, [0x503d7f]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0043ab80
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0043a870
lea eax, [0x505186]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043ab80
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0043a9c0
lea eax, [0x50528e]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043ab80
movsd xmm0, qword [esp + 0x58]
movsd qword [esp], xmm0
call fcn.0043a5d0
lea eax, str.__.0146:_
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043ab80
call fcn.0043a3a0
call fcn.0043a340
call fcn.0043a530
call fcn.0043a3a0
call fcn.0043a3a0
sub esp, 0xffffff80
ret
sub esp, 0xffffff80
ret
call fcn.00463e70
jmp fcn.00420be0