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

Disassembly:
sub esp, 0x1fc
mov eax, dword [0x67f3c0]
xor eax, esp
mov dword [esp + 0x1f8], eax
mov edx, dword [esp + 0x200]
mov ecx, dword [esp + 0x204]
push esi
mov esi, dword [esp + 0x20c]
movq xmm0, qword [edx + 0x5c]
mov eax, dword [edx + 0x64]
push edi
push ecx
sub esp, 0xc
mov dword [esp + 0x54], ecx
mov ecx, esp
movq qword [esp + 0x3c], xmm0
movq xmm0, qword [edx + 0x44]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x4c]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0x60], 0
call fcn.004916c0
movss xmm2, dword [esp + 0x17c]
add esp, 0x14
movss xmm3, dword [esp + 0x158]
xorps xmm6, xmm6
movss xmm5, dword [esp + 0x154]
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movss xmm1, dword [esp + 0x14c]
movss xmm7, dword [esp + 0x144]
movss xmm4, dword [esp + 0x140]
movq qword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x164]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x160]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x15c]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x150]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x148]
mov dword [esp + 0xbc], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x98], eax
movss dword [esp + 0x54], xmm2
movss dword [esp + 0xa4], xmm3
movss dword [esp + 0xa0], xmm5
movss dword [esp + 0xb4], xmm1
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0x8c], xmm7
movss dword [esp + 0x94], xmm4
nop dword [eax]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x9c], ecx
cmp edx, edi
jge case.default.0x4949de
mov al, byte [eax + edx]
xor edi, edi
movzx eax, al
inc edx
mov ecx, edx
mov dword [esp + 0x5c], 1
mov dword [esp + 0xac], edx
mov dword [esp + 0x60], ecx
lea esi, [eax - 1]
mov dword [esp + 0x7c], edx
mov dword [esp + 0xc0], esi
cmp esi, 0x1e
mov esi, dword [esp + 0x48]
mov dword [esp + 0xb0], eax
ja case.default.0x493d71
mov eax, dword [esp + 0xc0]
movzx eax, byte [eax + 0x4950c4]
jmp dword [eax*4 + 0x495074]
cmp dword [esp + 0x70], edi
je 0x493d96
mov eax, dword [esp + 0xc4]
cdq
sub eax, edx
mov edx, dword [esp + 0x74]
sar eax, 1
add edx, eax
mov dword [esp + 0x74], edx
jmp 0x493d9a
mov edx, dword [esp + 0x74]
lea eax, [edx + 7]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0xbc]
cdq
and edx, 7
add edx, eax
sar edx, 3
add edx, ecx
cmp edx, edi
jg 0x493dbf
test edx, edx
jns 0x4943e2
mov edx, edi
jmp 0x4943e2
mov eax, dword [esp + 0xc4]
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x74], eax
jmp 0x4943d4
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x70], edi
cmp eax, 2
jl case.default.0x4949de
movss xmm0, dword [esp + eax*4 + 0x13c]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + eax*4 + 0x140]
movss dword [esp], xmm0
push esi
call fcn.00491b70
add esp, 0xc
jmp 0x4943c2
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x70], edi
cmp eax, 1
jl case.default.0x4949de
movss xmm2, dword [esi + 8]
lea ecx, [esi + 0xc]
ucomiss xmm2, dword [esi + 0x10]
lea edi, [esi + 0x14]
mov dword [esp + 0xb0], ecx
movss xmm1, dword [esp + eax*4 + 0x13c]
lahf
test ah, 0x44
jp 0x493e63
movss xmm0, dword [ecx]
ucomiss xmm0, dword [edi]
lahf
test ah, 0x44
jnp 0x493e87
cvttss2si eax, dword [ecx]
push 0
push 0
push 0
push 0
push eax
cvttss2si eax, xmm2
push eax
push 2
push esi
call fcn.00491c00
mov ecx, dword [esp + 0xd0]
add esp, 0x20
addss xmm1, dword [edi]
movss xmm0, dword [esi + 0x10]
push 0
push 0
push 0
cvttss2si eax, xmm1
push 0
addss xmm0, xmm6
movss dword [edi], xmm1
push eax
movss dword [ecx], xmm1
cvttss2si eax, xmm0
movss dword [esi + 0x10], xmm0
push eax
push 1
push esi
movss dword [esi + 8], xmm0
call fcn.00491c00
add esp, 0x20
jmp 0x4943c2
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x70], edi
cmp eax, 1
jl case.default.0x4949de
movss xmm2, dword [esi + 8]
lea ecx, [esi + 0xc]
ucomiss xmm2, dword [esi + 0x10]
lea edi, [esi + 0x14]
mov dword [esp + 0xb0], ecx
movss xmm1, dword [esp + eax*4 + 0x13c]
lahf
test ah, 0x44
jp 0x493f0e
movss xmm0, dword [ecx]
ucomiss xmm0, dword [edi]
lahf
test ah, 0x44
jnp 0x493f32
cvttss2si eax, dword [ecx]
push 0
push 0
push 0
push 0
push eax
cvttss2si eax, xmm2
push eax
push 2
push esi
call fcn.00491c00
mov ecx, dword [esp + 0xd0]
add esp, 0x20
movss xmm0, dword [edi]
addss xmm1, dword [esi + 0x10]
addss xmm0, xmm6
push 0
push 0
push 0
push 0
cvttss2si eax, xmm0
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [esi + 8], xmm1
push eax
push 1
push esi
movss dword [edi], xmm0
movss dword [ecx], xmm0
call fcn.00491c00
add esp, 0x20
jmp 0x4943c2
cmp dword [esp + 0xc4], 2
jl case.default.0x4949de
mov dword [esp + 0xb0], 1
lea edi, [esp + 0x144]
nop dword [eax]
nop word [eax + eax]
movss xmm0, dword [edi]
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [edi - 4]
addss xmm1, dword [esi + 0x10]
push 0
push 0
cvttss2si eax, xmm0
push 0
push 0
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
push eax
push 2
push esi
call fcn.00491c00
mov eax, dword [esp + 0xd0]
add esp, 0x20
add eax, 2
add edi, 8
mov dword [esp + 0xb0], eax
cmp eax, dword [esp + 0xc4]
jl 0x493fa0
jmp 0x4943c2
mov eax, dword [esp + 0xc4]
cmp eax, 1
jl case.default.0x4949de
lea ecx, [esi + 0x10]
jmp 0x494074
cmp dword [esp + 0xc4], 1
jl case.default.0x4949de
lea eax, [esi + 0x10]
mov dword [esp + 0x90], eax
movss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0x140]
addss xmm0, xmm6
addss xmm1, dword [eax]
push 0
push 0
push 0
push 0
movss dword [eax], xmm1
cvttss2si eax, xmm0
movss dword [esi + 0x14], xmm0
push eax
cvttss2si eax, xmm1
push eax
push 2
push esi
call fcn.00491c00
mov eax, dword [esp + 0xe4]
add esp, 0x20
mov ecx, dword [esp + 0x90]
inc edi
mov dword [esp + 0x90], ecx
cmp edi, eax
jge 0x4943c2
movss xmm0, dword [esp + edi*4 + 0x140]
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [ecx]
push 0
push 0
push 0
cvttss2si eax, xmm0
push 0
addss xmm1, xmm6
movss dword [esi + 0x14], xmm0
push eax
cvttss2si eax, xmm1
movss dword [ecx], xmm1
push eax
push 2
push esi
call fcn.00491c00
inc edi
add esp, 0x20
cmp edi, dword [esp + 0xc4]
jge 0x4943c2
mov eax, dword [esp + 0x90]
jmp 0x494029
cmp dword [esp + 0xc4], 4
jl case.default.0x4949de
lea edx, [esi + 0x10]
lea eax, [esi + 0x14]
jmp 0x4941e2
mov eax, dword [esp + 0xc4]
cmp eax, 4
jl case.default.0x4949de
lea edx, [esi + 0x14]
lea ecx, [esi + 0x10]
mov dword [esp + 0x90], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x9c], edx
mov edx, edi
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0xc0], ecx
sub eax, edi
lea ecx, [edx*4]
cmp eax, 5
jne 0x494147
movss xmm7, dword [esp + ecx + 0x150]
jmp 0x49414a
movaps xmm7, xmm6
mov eax, dword [esp + 0xc0]
movss xmm4, dword [esp + ecx + 0x140]
movss xmm5, dword [eax]
mov eax, dword [esp + 0x9c]
addss xmm5, xmm6
addss xmm4, dword [eax]
mov eax, dword [esp + 0x60]
movaps xmm2, xmm5
addss xmm2, dword [esp + ecx + 0x144]
movaps xmm0, xmm4
addss xmm0, dword [esp + ecx + 0x148]
movaps xmm3, xmm2
addss xmm3, dword [esp + ecx + 0x14c]
movaps xmm1, xmm0
addss xmm1, xmm7
movss dword [eax], xmm3
mov eax, dword [esp + 0x50]
movss dword [eax], xmm1
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
push 4
push esi
call fcn.00491c00
mov edx, dword [esp + 0xd0]
add esp, 0x20
mov eax, dword [esp + 0x90]
add edi, 4
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x90], eax
lea eax, [edi + 3]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xb0], edx
cmp eax, ecx
jge 0x494fec
mov eax, dword [esp + 0xc4]
lea ecx, [edi*4]
sub eax, edi
cmp eax, 5
jne 0x494230
movss xmm1, dword [esp + ecx + 0x150]
jmp 0x494233
movaps xmm1, xmm6
movss xmm5, dword [esp + ecx + 0x140]
addss xmm5, dword [edx]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0xc0]
movss xmm4, dword [edx]
movaps xmm2, xmm5
addss xmm2, dword [esp + ecx + 0x144]
addss xmm4, xmm6
movaps xmm3, xmm2
movaps xmm0, xmm4
addss xmm3, xmm1
addss xmm0, dword [esp + ecx + 0x148]
movss dword [eax], xmm3
mov eax, dword [esp + 0x9c]
movaps xmm1, xmm0
addss xmm1, dword [esp + ecx + 0x14c]
movss dword [eax], xmm1
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
push 4
push esi
call fcn.00491c00
mov eax, dword [esp + 0xb0]
add edi, 4
mov ecx, dword [esp + 0xd0]
add esp, 0x20
mov dword [esp + 0x50], eax
mov edx, edi
mov dword [esp + 0x9c], eax
mov dword [esp + 0x60], ecx
lea eax, [edi + 3]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0xc4]
cmp eax, ecx
jge 0x494fec
mov eax, ecx
jmp 0x49412e
cmp dword [esp + 0xc4], 6
jl case.default.0x4949de
mov dword [esp + 0xc0], 5
lea edi, [esp + 0x144]
nop dword [eax + eax]
movss xmm4, dword [edi]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [edi - 4]
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [edi + 8]
movaps xmm2, xmm5
addss xmm2, dword [edi + 4]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [edi + 0x10]
cvttss2si eax, xmm2
addss xmm3, dword [edi + 0xc]
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
push 4
push esi
call fcn.00491c00
mov eax, dword [esp + 0xe0]
add esp, 0x20
add eax, 6
add edi, 0x18
mov dword [esp + 0xc0], eax
cmp eax, dword [esp + 0xc4]
jl 0x494320
movss xmm5, dword [esp + 0xa0]
movss xmm3, dword [esp + 0xa4]
movss xmm4, dword [esp + 0x94]
movss xmm0, dword [esp + 0xb8]
movss xmm1, dword [esp + 0xb4]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc4]
movss xmm2, dword [esp + 0x54]
xor eax, eax
cmp dword [esp + 0x5c], eax
cmove eax, ecx
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x98]
jmp 0x493d10
mov eax, dword [esp + 0xc4]
cmp eax, 8
jl case.default.0x4949de
add eax, 0xfffffffe
mov dword [esp + 0x9c], eax
cmp eax, 5
jle 0x4944fb
mov dword [esp + 0xc0], 5
nop dword [eax]
movss xmm4, dword [esp + edi*4 + 0x144]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0x140]
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0x14c]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0x148]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0x158]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0x154]
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
push 4
push esi
call fcn.00491c00
mov eax, dword [esp + 0xe0]
add esp, 0x20
add eax, 6
add edi, 6
mov dword [esp + 0xc0], eax
cmp eax, dword [esp + 0x9c]
jl 0x494440
movss xmm4, dword [esp + 0x94]
movss xmm3, dword [esp + 0xa4]
movss xmm5, dword [esp + 0xa0]
lea eax, [edi + 1]
cmp eax, dword [esp + 0xc4]
jge case.default.0x4949de
movss xmm0, dword [esp + edi*4 + 0x144]
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0x140]
addss xmm1, dword [esi + 0x10]
push 0
push 0
cvttss2si eax, xmm0
push 0
push 0
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
push eax
push 2
push esi
call fcn.00491c00
add esp, 0x20
jmp 0x4943c2
mov eax, dword [esp + 0xc4]
cmp eax, 8
jl case.default.0x4949de
add eax, 0xfffffffa
mov dword [esp + 0x9c], eax
cmp eax, 1
jle 0x4945e0
mov dword [esp + 0xc0], 1
nop dword [eax]
movss xmm0, dword [esp + edi*4 + 0x144]
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0x140]
addss xmm1, dword [esi + 0x10]
push 0
push 0
cvttss2si eax, xmm0
push 0
push 0
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
push eax
push 2
push esi
call fcn.00491c00
mov eax, dword [esp + 0xe0]
add esp, 0x20
add eax, 2
add edi, 2
mov dword [esp + 0xc0], eax
cmp eax, dword [esp + 0x9c]
jl 0x494580
lea eax, [edi + 5]
cmp eax, dword [esp + 0xc4]
jge case.default.0x4949de
movss xmm4, dword [esp + edi*4 + 0x144]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0x140]
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0x14c]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0x148]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0x158]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0x154]
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
push 4
push esi
call fcn.00491c00
add esp, 0x20
jmp 0x4943a7
mov eax, dword [esp + 0xc4]
cmp eax, 4
jl case.default.0x4949de
mov edi, eax
movaps xmm2, xmm6
and edi, 1
je 0x494691
movaps xmm2, xmm4
lea ecx, [edi + 3]
mov dword [esp + 0xc0], ecx
cmp ecx, eax
jge 0x4943db
lea edi, [esp + edi*4 + 0x148]
nop word [eax + eax]
cmp dword [esp + 0xb0], 0x1b
movss xmm7, dword [esi + 0x10]
movss xmm4, dword [esi + 0x14]
movss xmm5, dword [edi]
movss xmm1, dword [edi - 8]
movss xmm3, dword [edi - 4]
movss xmm0, dword [edi + 4]
jne 0x4946fd
addss xmm1, xmm7
addss xmm4, xmm2
movaps xmm2, xmm1
addss xmm2, xmm3
movaps xmm3, xmm4
addss xmm3, xmm5
addss xmm0, xmm2
movaps xmm5, xmm0
movaps xmm0, xmm3
addss xmm0, xmm6
jmp 0x494721
addss xmm7, xmm2
addss xmm4, xmm1
movaps xmm2, xmm7
movaps xmm1, xmm7
addss xmm2, xmm3
movaps xmm3, xmm4
addss xmm3, xmm5
movaps xmm5, xmm2
addss xmm5, xmm6
addss xmm0, xmm3
cvttss2si eax, xmm3
movss dword [esi + 0x10], xmm5
push eax
cvttss2si eax, xmm2
movss dword [esi + 0x14], xmm0
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm5
push eax
push 4
push esi
call fcn.00491c00
mov ecx, dword [esp + 0xe0]
add esp, 0x20
add ecx, 4
add edi, 0x10
movaps xmm2, xmm6
mov dword [esp + 0xc0], ecx
cmp ecx, dword [esp + 0xc4]
jl 0x4946b0
movss xmm7, dword [esp + 0x8c]
jmp 0x4943a7
cmp dword [esp + 0x4c], edi
mov edi, dword [esp + 0x58]
jne 0x4947c7
cmp dword [edi + 0x7c], 0
je 0x4947b9
push dword [esp + 0x44]
lea eax, [esp + 0x18]
push edi
push eax
call fcn.00491890
add esp, 0xc
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], 1
jmp 0x4947c7
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0xc4]
cmp eax, 1
jl case.default.0x4949de
mov edx, dword [esp + 0x6c]
dec eax
mov dword [esp + 0xc4], eax
cvttss2si eax, dword [esp + eax*4 + 0x140]
mov dword [esp + 0x9c], eax
cmp edx, 0xa
jge case.default.0x4949de
movq xmm0, qword [esp + 0x78]
lea eax, [edx + edx*2]
mov ecx, dword [esp + 0xbc]
inc edx
cmp dword [esp + 0xb0], 0xa
movq qword [esp + eax*4 + 0xc8], xmm0
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x2c]
mov dword [esp + eax*4 + 0xd0], ecx
je 0x494832
lea edx, [edi + 0x50]
movq xmm0, qword [edx]
xor ecx, ecx
mov edx, dword [edx + 8]
mov eax, edx
test edx, edx
movq qword [esp + 0x38], xmm0
mov edi, dword [esp + 0x38]
cmovns eax, ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0x3c], eax
cmp eax, edx
jl 0x49485f
xor cl, cl
jmp 0x494867
mov cl, byte [edi + eax]
inc eax
mov dword [esp + 0x3c], eax
movzx ecx, cl
cmp eax, edx
jl 0x494872
xor al, al
jmp 0x49488f
mov dl, byte [edi + eax]
inc eax
mov byte [esp + 0xab], dl
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0xab]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x4948ab
mov eax, 0x8000
jmp 0x4948b9
cmp ecx, 0x4d8
mov edi, 0x46b
cmovae eax, edi
add eax, dword [esp + 0x9c]
js 0x4948f5
cmp eax, ecx
jge 0x4948f5
movq xmm0, qword [esp + 0x38]
push eax
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], edx
lea eax, [esp + 0x18]
push eax
call fcn.004916c0
add esp, 0x14
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movq qword [esp + 0x20], xmm0
jmp 0x49490d
mov dword [esp + 0x20], 0
xor edi, edi
mov dword [esp + 0x24], 0
movq xmm0, qword [esp + 0x20]
mov dword [esp + 0xbc], edi
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x80], edi
test edi, edi
je case.default.0x4949de
mov eax, dword [esp + 0x78]
xor edx, edx
movss xmm0, dword [esp + 0xb8]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x98], eax
jmp 0x4943e2
mov eax, dword [esp + 0x6c]
test eax, eax
jle case.default.0x4949de
dec eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x9c]
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0xbc]
mov edi, dword [esp + eax*4 + 0xc4]
movq qword [esp + 0x78], xmm0
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
movss xmm0, dword [esp + 0xb8]
mov dword [esp + 0xbc], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x98], eax
jmp 0x4943e2
mov edi, dword [esp + 0xbc]
cmp ecx, edi
jl 0x4949bb
xor dl, dl
jmp 0x4949cf
mov eax, dword [esp + 0x98]
mov dl, byte [eax + ecx]
lea eax, [ecx + 1]
mov dword [esp + 0xac], eax
movzx eax, dl
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x4949de
jmp dword [eax*4 + 0x4950e4]
cmp dword [esp + 0xc4], 7
jl case.default.0x4949de
movaps xmm5, xmm4
movaps xmm2, xmm7
movss xmm4, dword [esi + 0x14]
movaps xmm3, xmm1
addss xmm5, dword [esi + 0x10]
addss xmm4, xmm6
addss xmm2, xmm5
addss xmm0, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm0
movaps xmm1, xmm0
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm2
addss xmm1, xmm6
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
push 4
push esi
call fcn.00491c00
movss xmm4, dword [esi + 0x14]
movss xmm3, dword [esp + 0xa4]
addss xmm4, xmm6
addss xmm3, dword [esi + 0x10]
movss xmm5, dword [esp + 0xc0]
movss xmm1, dword [esp + 0xc4]
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xd8]
addss xmm5, xmm3
movaps xmm2, xmm0
addss xmm1, xmm5
addss xmm2, xmm6
jmp 0x494d94
cmp dword [esp + 0xc4], 0xd
jl case.default.0x4949de
movaps xmm5, xmm4
movss xmm3, dword [esp + 0x84]
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm7
movaps xmm2, xmm0
addss xmm4, dword [esi + 0x14]
movaps xmm0, xmm1
movss xmm1, dword [esp + 0xa0]
addss xmm2, xmm5
addss xmm0, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm0
addss xmm1, xmm0
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm2
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
push 4
push esi
call fcn.00491c00
movss xmm3, dword [esp + 0xc4]
movss xmm4, dword [esp + 0xa8]
addss xmm3, dword [esi + 0x10]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + 0x88]
movss xmm0, dword [esp + 0x84]
movss xmm1, dword [esp + 0x74]
movss xmm2, dword [esp + 0x18c]
addss xmm5, xmm3
addss xmm0, xmm4
addss xmm1, xmm5
addss xmm2, xmm0
jmp 0x494d94
cmp dword [esp + 0xc4], 9
jl case.default.0x4949de
movaps xmm5, xmm4
movss xmm3, dword [esp + 0x84]
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm7
movaps xmm2, xmm0
addss xmm4, dword [esi + 0x14]
movaps xmm0, xmm1
addss xmm2, xmm5
addss xmm0, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm0
movaps xmm1, xmm0
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm2
addss xmm1, xmm6
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
push 4
push esi
call fcn.00491c00
movss xmm4, dword [esi + 0x14]
movss xmm0, dword [esp + 0xd4]
addss xmm4, xmm6
movss xmm3, dword [esp + 0xc0]
addss xmm0, xmm7
addss xmm3, dword [esi + 0x10]
movss xmm2, dword [esp + 0xa8]
movss xmm5, dword [esp + 0xc4]
movss xmm1, dword [esp + 0x88]
addss xmm2, xmm4
addss xmm0, dword [esp + 0xa8]
addss xmm5, xmm3
movss dword [esp + 0xe0], xmm2
subss xmm2, xmm0
movss xmm0, dword [esp + 0xe0]
addss xmm1, xmm5
jmp 0x494d94
cmp dword [esp + 0xc4], 0xb
jl case.default.0x4949de
movaps xmm7, xmm2
movaps xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0xc0], xmm7
addss xmm2, dword [esp + 0x84]
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x8c]
addss xmm2, dword [esp + 0x68]
addss xmm3, xmm5
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x88]
andps xmm1, xmmword [0x6722d0]
addss xmm3, dword [esp + 0x64]
movaps xmm0, xmm3
andps xmm0, xmmword [0x6722d0]
comiss xmm1, xmm0
jbe 0x494cb5
movaps xmm7, xmm3
xorps xmm7, xmmword [0x6722f0]
jmp 0x494cc8
movaps xmm0, xmm2
xorps xmm0, xmmword [0x6722f0]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0xb4]
movaps xmm5, xmm4
movss xmm4, dword [esp + 0x8c]
addss xmm4, dword [esi + 0x14]
addss xmm5, dword [esi + 0x10]
movss xmm2, dword [esp + 0xb8]
movss xmm1, dword [esp + 0xa0]
movss xmm3, dword [esp + 0x84]
addss xmm0, xmm4
addss xmm2, xmm5
cvttss2si eax, xmm0
addss xmm1, xmm0
push eax
cvttss2si eax, xmm2
addss xmm3, xmm2
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
push 4
push esi
call fcn.00491c00
movss xmm4, dword [esp + 0xa8]
movss xmm3, dword [esp + 0xc4]
addss xmm4, dword [esi + 0x14]
addss xmm3, dword [esi + 0x10]
movss xmm0, dword [esp + 0x84]
movss xmm5, dword [esp + 0x88]
addss xmm0, xmm4
addss xmm5, xmm3
movaps xmm2, xmm0
movaps xmm1, xmm5
addss xmm2, xmm7
addss xmm1, dword [esp + 0xe0]
movss xmm7, dword [esp + 0xac]
add esp, 0x20
movss dword [esi + 0x10], xmm1
cvttss2si eax, xmm0
movss dword [esi + 0x14], xmm2
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm3
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm1
push eax
push 4
push esi
call fcn.00491c00
movss xmm4, dword [esp + 0xb4]
add esp, 0x20
movss xmm0, dword [esp + 0xb8]
movss xmm1, dword [esp + 0xb4]
movss xmm3, dword [esp + 0xa4]
movss xmm5, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
jmp 0x4943e2
mov eax, dword [esp + 0xb0]
cmp eax, 0xff
je 0x494e6e
cmp eax, 0x1c
je 0x494e1f
cmp eax, 0x20
jb case.default.0x4949de
mov ecx, dword [esp + 0xbc]
dec edx
cmp edx, ecx
jg 0x494e33
mov dword [esp + 0x7c], edx
test edx, edx
jns 0x494e37
mov dword [esp + 0x7c], ecx
lea eax, [esp + 0x78]
push eax
call fcn.004917a0
mov edi, dword [esp + 0x84]
add esp, 4
mov edx, dword [esp + 0x7c]
cwde
mov dword [esp + 0xbc], edi
movd xmm0, eax
mov eax, dword [esp + 0x78]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x98], eax
jmp 0x494f01
mov edi, dword [esp + 0xbc]
cmp ecx, edi
jl 0x494e81
mov eax, dword [esp + 0x60]
xor cl, cl
jmp 0x494e9e
mov eax, dword [esp + 0x98]
lea edx, [ecx + 1]
mov al, byte [eax + ecx]
mov byte [esp + 0xab], al
mov eax, edx
mov cl, byte [esp + 0xab]
movzx ecx, cl
cmp eax, edi
jl 0x494ea9
xor al, al
jmp 0x494eb4
mov eax, dword [esp + 0x98]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x494ec4
xor al, al
jmp 0x494ecf
mov eax, dword [esp + 0x98]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x494edf
xor al, al
jmp 0x494eea
mov eax, dword [esp + 0x98]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x54af2c]
mov eax, dword [esp + 0xc4]
cmp eax, 0x30
jge case.default.0x4949de
movss dword [esp + eax*4 + 0x140], xmm0
inc eax
movss xmm0, dword [esp + 0x168]
movss xmm3, dword [esp + 0x158]
movss xmm5, dword [esp + 0x154]
movss xmm2, dword [esp + 0x150]
movss xmm1, dword [esp + 0x14c]
movss xmm7, dword [esp + 0x144]
movss xmm4, dword [esp + 0x140]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x164]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x160]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x15c]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x148]
mov dword [esp + 0xc4], eax
mov dword [esp + 0x5c], 0
movss dword [esp + 0xa4], xmm3
movss dword [esp + 0xa0], xmm5
movss dword [esp + 0x84], xmm2
movss dword [esp + 0xb4], xmm1
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0x8c], xmm7
movss dword [esp + 0x94], xmm4
jmp 0x4943e2
movss xmm4, dword [esp + 0x94]
movss xmm0, dword [esp + 0xb8]
movss xmm1, dword [esp + 0xb4]
movss xmm7, dword [esp + 0x8c]
movss xmm3, dword [esp + 0xa4]
movss xmm5, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xbc]
jmp 0x4943e9
push esi
call fcn.00491b20
add esp, 4
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.00511a59
add esp, 0x1fc
ret
mov ecx, dword [esp + 0x200]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00511a59
add esp, 0x1fc
ret