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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [0x57d040]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
lea eax, [edi + 0x48]
mov dword [esp + 0x2c], eax
lea eax, [edi + 0x24]
mov dword [esp + 0x30], eax
lea eax, [edi + 0x30]
mov dword [esp + 0x34], eax
lea eax, [edi + 0x18]
mov dword [esp + 0x38], eax
lea eax, [edi + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [0x5ad2c8]
movss xmm0, dword [eax + 0x4ac]
addss xmm0, dword [edi + 0x5c]
movss dword [edi + 0x5c], xmm0
movss xmm0, dword [eax + 0x4b0]
addss xmm0, dword [edi + 0x60]
movss dword [edi + 0x60], xmm0
mov eax, dword [0x5ad2c8]
movss xmm0, dword [edi + 0x64]
addss xmm0, dword [eax + 0x4ac]
movss dword [edi + 0x64], xmm0
movss xmm0, dword [eax + 0x4b0]
addss xmm0, dword [edi + 0x68]
movss dword [edi + 0x68], xmm0
mov eax, dword [0x5ad2c8]
movss xmm0, dword [edi + 0x74]
addss xmm0, dword [eax + 0x4ac]
movss dword [edi + 0x74], xmm0
movss xmm0, dword [eax + 0x4b0]
addss xmm0, dword [edi + 0x78]
movss dword [edi + 0x78], xmm0
mov eax, dword [0x5ad2c8]
movss xmm0, dword [eax + 0x4ac]
addss xmm0, dword [edi + 0x7c]
movss dword [edi + 0x7c], xmm0
movss xmm0, dword [eax + 0x4b0]
addss xmm0, dword [edi + 0x80]
movss dword [edi + 0x80], xmm0
lea edi, [esp + 0x2c]
nop dword [eax]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov edx, dword [eax]
cmp edx, esi
je 0x418a70
nop
mov ecx, dword [edx]
add edx, 4
mov eax, dword [0x5ad2c8]
movss xmm1, dword [eax + 0x4ac]
movss xmm2, dword [eax + 0x4b0]
movaps xmm0, xmm1
addss xmm0, dword [ecx + 0x40]
movss dword [ecx + 0x40], xmm0
movaps xmm0, xmm2
addss xmm0, dword [ecx + 0x44]
movss dword [ecx + 0x44], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ecx + 0x48]
movss dword [ecx + 0x48], xmm0
movaps xmm0, xmm2
addss xmm0, dword [ecx + 0x4c]
movss dword [ecx + 0x4c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ecx + 0x50]
addss xmm1, dword [ecx + 0x58]
movss dword [ecx + 0x50], xmm0
movaps xmm0, xmm2
movss dword [ecx + 0x58], xmm1
addss xmm0, dword [ecx + 0x54]
addss xmm2, dword [ecx + 0x5c]
movss dword [ecx + 0x54], xmm0
movss dword [ecx + 0x5c], xmm2
cmp edx, esi
jne 0x4189f0
add edi, 4
lea eax, [esp + 0x40]
cmp edi, eax
jne 0x4189e0
mov eax, dword [0x5ad2c8]
mov edi, dword [esp + 0xc]
movss xmm0, dword [0x57346c]
mov eax, dword [eax + 0x468]
mov dword [edi + 0x94], eax
mov eax, dword [0x5ad2c8]
mov ecx, dword [eax + 8]
movss xmm1, dword [ecx + 0x54]
mulss xmm1, dword [eax + 4]
comiss xmm0, xmm1
movss dword [esp + 8], xmm1
movss dword [edi + 0x98], xmm1
ja 0x418ea1
mov esi, dword [0x5af950]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
movss xmm0, dword [esi + 0x3798]
lea ecx, [esi + 0x477c]
movss dword [esp + 0x1c], xmm0
call fcn.00435fb0
movss xmm0, dword [esp + 8]
movss dword [esi + 0x3798], xmm0
mov eax, dword [0x5ad2c8]
mov esi, dword [0x5af950]
mov dword [esp + 0x14], 2
movss xmm1, dword [eax + 0x4c4]
movss xmm0, dword [eax + 0x468]
addss xmm1, dword [eax + 0x4a4]
mulss xmm0, dword [0x5735a4]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x4a8]
movss dword [edi + 0x88], xmm0
movss dword [edi + 0x84], xmm1
mov ecx, dword [0x5a2600]
mov edx, dword [esi + 0x4710]
or edx, 1
mov dword [esi + 0x4710], edx
or edx, 2
mov eax, dword [ecx + 0x84]
mov ecx, dword [ecx + 0x88]
mov dword [esi + 0x4720], eax
mov dword [esi + 0x4724], ecx
mov dword [esi + 0x4728], 0
mov dword [esi + 0x472c], 0
mov dword [esi + 0x4714], 1
mov ecx, dword [0x5a2600]
mov dword [esi + 0x4710], edx
mov eax, dword [ecx + 0x8c]
mov ecx, dword [ecx + 0x90]
mov dword [esi + 0x4730], eax
lea eax, [esp + 0x14]
mov dword [esi + 0x4734], ecx
lea ecx, [esi + 0x477c]
mov dword [esi + 0x4718], 1
movss xmm1, dword [esi + 0x37a0]
movss xmm0, dword [esi + 0x37a4]
push eax
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x20], xmm0
call fcn.00435fb0
mov dword [esi + 0x37a0], 0
lea eax, [esp + 0x14]
mov dword [esi + 0x37a4], 0
mov esi, dword [0x5af950]
push eax
mov dword [esp + 0x18], 2
movups xmm0, xmmword [esi + 0x38a0]
lea ecx, [esi + 0x4770]
movups xmmword [esp + 0x1c], xmm0
call fcn.00436070
mov dword [esi + 0x38a0], 0x3d8f5c29
xor edx, edx
mov dword [esi + 0x38a4], 0x3d8f5c29
mov ecx, str.ESP_Preview
mov dword [esi + 0x38a8], 0x3d8f5c29
push 7
mov dword [esi + 0x38ac], 0x3f800000
call fcn.00429380
add esp, 4
mov ecx, 1
call fcn.00421400
mov ecx, 1
call fcn.004214d0
mov ecx, dword [0x5af950]
mov eax, dword [ecx + 0x3e60]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e60]
mov eax, dword [eax + 0x260]
mov dword [edi + 0x54], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jle 0x418cbb
dec eax
mov ecx, edi
mov dword [edi + 0x9c], eax
call fcn.0041b890
movss xmm2, dword [edi + 0x98]
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x418cd0
xorps xmm1, xmm1
jmp 0x418cdc
movss xmm1, dword [0x5734f8]
minss xmm1, xmm2
mulss xmm1, dword [0x573674]
lea esi, [edi + 0x5c]
push ecx
mov dword [esp], 0x40400000
push 0
addss xmm1, dword [0x5734b0]
push ecx
mov ecx, dword [edi + 0x54]
mov dword [esp], 0x40800000
cvttss2si eax, xmm1
shl eax, 0x18
push eax
lea eax, [edi + 0x64]
push eax
push esi
call fcn.0044bf10
movss xmm1, dword [edi + 0x98]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x418d32
movss xmm0, dword [0x5734f8]
minss xmm0, xmm1
mulss xmm0, dword [0x573674]
push ecx
mov dword [esp], 0x3f800000
push 0
addss xmm0, dword [0x5734b0]
push ecx
mov ecx, dword [edi + 0x54]
mov dword [esp], 0x40800000
cvttss2si eax, xmm0
shl eax, 0x18
or eax, 0xffffff
push eax
lea eax, [edi + 0x64]
push eax
push esi
call fcn.0044bf10
movss xmm2, dword [edi + 0x98]
xorps xmm1, xmm1
comiss xmm1, xmm2
ja 0x418d8a
movss xmm1, dword [0x5734f8]
minss xmm1, xmm2
mulss xmm1, dword [0x573674]
push ecx
movss xmm0, dword [edi + 0x7c]
mov ecx, dword [edi + 0x54]
addss xmm1, dword [0x5734b0]
mov dword [esp], 0x3f800000
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0x78]
movss dword [esp + 0x1c], xmm0
cvttss2si eax, xmm1
shl eax, 0x18
or eax, 0xffffff
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [edi + 0x74]
push eax
call fcn.0044bde0
lea eax, [edi + 0x48]
mov dword [esp + 0x40], eax
lea eax, [edi + 0x24]
mov dword [esp + 0x44], eax
lea eax, [edi + 0x30]
mov dword [esp + 0x48], eax
lea eax, [edi + 0x18]
mov dword [esp + 0x4c], eax
lea eax, [edi + 0x3c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
cmp eax, ecx
je 0x418e72
mov edi, dword [eax]
mov ecx, edi
mov eax, dword [esp + 0xc]
mov edx, dword [0x5af950]
movss xmm0, dword [eax + 0x98]
mov eax, dword [edx + 0x3e60]
movss dword [esp + 0x28], xmm0
mov byte [eax + 0xa8], 1
mov eax, dword [edx + 0x3e60]
mov esi, dword [eax + 0x260]
call fcn.0041b470
movss xmm0, dword [esp + 0x28]
mov eax, dword [edi]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push esi
call dword [eax]
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jne 0x418e14
mov eax, dword [esp + 8]
lea edx, [esp + 0x54]
add eax, 4
mov dword [esp + 8], eax
cmp eax, edx
jne 0x418e01
mov ecx, dword [esp + 0xc]
call fcn.00419f50
call fcn.0042bb90
mov ecx, 1
call fcn.004214d0
mov ecx, dword [esp + 0x54]
pop edi
pop esi
xor ecx, esp
call fcn.00492c21
mov esp, ebp
pop ebp
ret 8