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

Disassembly:
sub esp, 0x1f4
mov eax, dword [0x100b9b80]
xor eax, esp
mov dword [esp + 0x1f0], eax
mov edx, dword [esp + 0x1f8]
mov ecx, dword [esp + 0x1fc]
push esi
mov esi, dword [esp + 0x204]
movq xmm0, qword [edx + 0x5c]
mov eax, dword [edx + 0x64]
push edi
push ecx
sub esp, 0xc
mov dword [esp + 0x58], 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 + 0x70], edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0x64], 0
call fcn.1003e000
movss xmm2, dword [esp + 0x174]
add esp, 0x14
movss xmm3, dword [esp + 0x150]
xorps xmm6, xmm6
movss xmm5, dword [esp + 0x14c]
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movss xmm1, dword [esp + 0x144]
movss xmm7, dword [esp + 0x13c]
movss xmm4, dword [esp + 0x138]
movq qword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x15c]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x158]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x154]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x148]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x140]
mov dword [esp + 0xb8], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x94], eax
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x98], xmm3
movss dword [esp + 0xa0], xmm5
movss dword [esp + 0xb0], xmm1
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0x8c], xmm7
movss dword [esp + 0x90], xmm4
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x54], ecx
cmp edx, edi
jge case.default.0x100412e7
mov al, byte [eax + edx]
xor edi, edi
movzx eax, al
inc edx
mov ecx, edx
mov dword [esp + 0x80], 1
mov dword [esp + 0xac], edx
mov dword [esp + 0x44], ecx
lea esi, [eax - 1]
mov dword [esp + 0x78], edx
mov dword [esp + 0x9c], esi
cmp esi, 0x1e
mov esi, dword [esp + 0x4c]
mov dword [esp + 0xa8], eax
ja case.default.0x100406f4
mov eax, dword [esp + 0x9c]
movzx eax, byte [eax + 0x100419b0]
jmp dword [eax*4 + 0x10041960]
cmp dword [esp + 0x6c], edi
je 0x10040719
mov eax, dword [esp + 0xbc]
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
sar eax, 1
add edx, eax
mov dword [esp + 0x70], edx
jmp 0x1004071d
mov edx, dword [esp + 0x70]
lea eax, [edx + 7]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0xb8]
cdq
and edx, 7
add edx, eax
sar edx, 3
add edx, ecx
cmp edx, edi
jg 0x10040742
test edx, edx
jns 0x10040ce2
mov edx, edi
jmp 0x10040ce2
mov eax, dword [esp + 0xbc]
cdq
sub eax, edx
mov edx, dword [esp + 0xac]
sar eax, 1
add dword [esp + 0x70], eax
jmp 0x10040cdb
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x6c], edi
cmp eax, 2
jl case.default.0x100412e7
movss xmm0, dword [esp + eax*4 + 0x134]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + eax*4 + 0x138]
movss dword [esp], xmm0
push esi
call fcn.1003e4c0
add esp, 0xc
movss xmm0, dword [esp + 0xb4]
movss xmm1, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
jmp 0x10040cdb
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x6c], edi
cmp eax, 1
jl case.default.0x100412e7
movss xmm2, dword [esi + 8]
ucomiss xmm2, dword [esi + 0x10]
movss xmm1, dword [esp + eax*4 + 0x134]
lahf
test ah, 0x44
jp 0x100407fb
movss xmm0, dword [esi + 0xc]
ucomiss xmm0, dword [esi + 0x14]
lahf
test ah, 0x44
jnp 0x10040819
cvttss2si eax, dword [esi + 0xc]
push 0
push 0
push 0
push 0
push eax
cvttss2si eax, xmm2
push eax
push 2
push esi
call fcn.1003e550
add esp, 0x20
addss xmm1, dword [esi + 0x14]
movss xmm0, dword [esi + 0x10]
push 0
push 0
addss xmm0, xmm6
cvttss2si eax, xmm1
push 0
push 0
movss dword [esi + 0x10], xmm0
push eax
movss dword [esi + 8], xmm0
movss dword [esi + 0x14], xmm1
movss dword [esi + 0xc], xmm1
cvttss2si eax, xmm0
push eax
push 1
push esi
call fcn.1003e550
movss xmm0, dword [esp + 0xd4]
add esp, 0x20
movss xmm1, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
jmp 0x10040cdb
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x6c], edi
cmp eax, 1
jl case.default.0x100412e7
movss xmm2, dword [esi + 8]
ucomiss xmm2, dword [esi + 0x10]
movss xmm1, dword [esp + eax*4 + 0x134]
lahf
test ah, 0x44
jp 0x100408b1
movss xmm0, dword [esi + 0xc]
ucomiss xmm0, dword [esi + 0x14]
lahf
test ah, 0x44
jnp 0x100408cf
cvttss2si eax, dword [esi + 0xc]
push 0
push 0
push 0
push 0
push eax
cvttss2si eax, xmm2
push eax
push 2
push esi
call fcn.1003e550
add esp, 0x20
movss xmm0, dword [esi + 0x14]
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
movss dword [esi + 8], xmm1
movss dword [esi + 0x14], xmm0
movss dword [esi + 0xc], xmm0
cvttss2si eax, xmm1
jmp 0x1004084c
cmp dword [esp + 0xbc], 2
jl case.default.0x100412e7
mov dword [esp + 0xa8], 1
lea edi, [esp + 0x13c]
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.1003e550
mov eax, dword [esp + 0xc8]
add esp, 0x20
add eax, 2
add edi, 8
mov dword [esp + 0xa8], eax
cmp eax, dword [esp + 0xbc]
jl 0x10040930
movss xmm0, dword [esp + 0xb4]
movss xmm1, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
jmp 0x10040cdb
mov eax, dword [esp + 0xbc]
cmp eax, 1
jge 0x10040a1a
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.10092be1
add esp, 0x1f4
ret
cmp dword [esp + 0xbc], 1
jl case.default.0x100412e7
movss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0x138]
addss xmm0, xmm6
addss xmm1, dword [esi + 0x10]
push 0
push 0
push 0
cvttss2si eax, xmm0
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.1003e550
mov eax, dword [esp + 0xdc]
add esp, 0x20
inc edi
cmp edi, eax
jge 0x100407a2
movss xmm0, dword [esp + edi*4 + 0x138]
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esi + 0x10]
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 [esi + 0x10], xmm1
push eax
push 2
push esi
call fcn.1003e550
inc edi
add esp, 0x20
cmp edi, dword [esp + 0xbc]
jl 0x100409d4
movss xmm0, dword [esp + 0xb4]
movss xmm1, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
jmp 0x10040cdb
cmp dword [esp + 0xbc], 4
jl case.default.0x100412e7
jmp 0x10040b3c
mov eax, dword [esp + 0xbc]
cmp eax, 4
jl case.default.0x100412e7
sub eax, edi
cmp eax, 5
jne 0x10040ac1
movss xmm7, dword [esp + edi*4 + 0x148]
jmp 0x10040ac4
movaps xmm7, xmm6
movss xmm4, dword [esp + edi*4 + 0x138]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esi + 0x10]
addss xmm5, xmm6
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0x140]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0x13c]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0x148]
push eax
cvttss2si eax, xmm4
addss xmm1, xmm7
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.1003e550
add esp, 0x20
add edi, 4
mov ecx, dword [esp + 0xbc]
lea eax, [edi + 3]
cmp eax, ecx
jge 0x100418f2
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x10040b62
movss xmm1, dword [esp + edi*4 + 0x148]
jmp 0x10040b65
movaps xmm1, xmm6
movss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0x138]
addss xmm4, xmm6
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0x140]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0x13c]
cvttss2si eax, xmm0
movaps xmm3, xmm2
push eax
cvttss2si eax, xmm2
addss xmm3, xmm1
movaps xmm1, xmm0
addss xmm1, dword [esp + edi*4 + 0x148]
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.1003e550
mov ecx, dword [esp + 0xdc]
add edi, 4
add esp, 0x20
lea eax, [edi + 3]
cmp eax, ecx
jge 0x100418f2
mov eax, ecx
jmp 0x10040aaf
cmp dword [esp + 0xbc], 6
jl case.default.0x100412e7
mov dword [esp + 0xa8], 5
lea edi, [esp + 0x13c]
nop word [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.1003e550
mov eax, dword [esp + 0xc8]
add esp, 0x20
add eax, 6
add edi, 0x18
mov dword [esp + 0xa8], eax
cmp eax, dword [esp + 0xbc]
jl 0x10040c20
mov edx, dword [esp + 0xac]
movss xmm3, dword [esp + 0x98]
movss xmm1, dword [esp + 0xb0]
movss xmm0, dword [esp + 0xb4]
movss xmm4, dword [esp + 0x90]
movss xmm5, dword [esp + 0xa0]
mov edi, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
movss xmm2, dword [esp + 0x58]
xor eax, eax
cmp dword [esp + 0x80], eax
cmove eax, ecx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x94]
jmp 0x10040693
mov eax, dword [esp + 0xbc]
cmp eax, 8
jl case.default.0x100412e7
add eax, 0xfffffffe
mov dword [esp + 0x9c], eax
cmp eax, 5
jle 0x10040e0d
mov dword [esp + 0xa8], 5
nop dword [eax]
movss xmm4, dword [esp + edi*4 + 0x13c]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0x138]
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0x144]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0x140]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0x150]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0x14c]
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.1003e550
mov eax, dword [esp + 0xc8]
add edi, 6
add eax, 6
add esp, 0x20
mov ecx, edi
mov dword [esp + 0xa8], eax
cmp eax, dword [esp + 0x9c]
jl 0x10040d40
lea eax, [ecx + 1]
cmp eax, dword [esp + 0xbc]
jge case.default.0x100412e7
movss xmm4, dword [esp + 0x90]
movss xmm3, dword [esp + 0x98]
movss xmm5, dword [esp + 0xa0]
movss xmm0, dword [esp + edi*4 + 0x13c]
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0x138]
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
jmp 0x1004084f
mov eax, dword [esp + 0xbc]
cmp eax, 8
jl case.default.0x100412e7
add eax, 0xfffffffa
mov dword [esp + 0x9c], eax
cmp eax, 1
jle 0x10040ef2
mov dword [esp + 0xa8], 1
nop word [eax + eax]
movss xmm0, dword [esp + edi*4 + 0x13c]
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0x138]
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.1003e550
mov eax, dword [esp + 0xc8]
add edi, 2
add eax, 2
add esp, 0x20
mov ecx, edi
mov dword [esp + 0xa8], eax
cmp eax, dword [esp + 0x9c]
jl 0x10040e80
lea eax, [ecx + 5]
cmp eax, dword [esp + 0xbc]
jge case.default.0x100412e7
movss xmm4, dword [esp + edi*4 + 0x13c]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0x138]
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0x144]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0x140]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0x150]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0x14c]
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.1003e550
add esp, 0x20
jmp 0x10040ca7
mov eax, dword [esp + 0xbc]
cmp eax, 4
jl case.default.0x100412e7
mov edi, eax
movaps xmm5, xmm6
and edi, 1
je 0x10040f93
movaps xmm5, xmm4
lea ecx, [edi + 3]
mov dword [esp + 0x9c], ecx
cmp ecx, eax
jge 0x10040cd2
lea ecx, [esi + 0x10]
lea eax, [esi + 0x14]
lea edi, [esp + edi*4 + 0x140]
nop dword [eax]
nop word [eax + eax]
cmp dword [esp + 0xa8], 0x1b
movss xmm0, dword [ecx]
movss xmm1, dword [eax]
movss xmm2, dword [edi]
movss xmm3, dword [edi - 8]
movss xmm4, dword [edi - 4]
movss xmm7, dword [edi + 4]
jne 0x10041008
addss xmm0, xmm3
addss xmm1, xmm5
movaps xmm3, xmm0
addss xmm3, xmm4
addss xmm2, xmm1
movaps xmm4, xmm3
movaps xmm5, xmm2
addss xmm4, xmm7
addss xmm5, xmm6
jmp 0x10041029
addss xmm0, xmm5
addss xmm1, xmm3
movaps xmm3, xmm0
addss xmm3, xmm4
addss xmm2, xmm1
movaps xmm4, xmm3
movaps xmm5, xmm2
addss xmm4, xmm6
addss xmm5, xmm7
movss dword [ecx], xmm4
movss dword [eax], xmm5
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm3
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm4
push eax
push 4
push esi
call fcn.1003e550
mov ecx, dword [esp + 0xbc]
lea eax, [esi + 0x14]
add ecx, 4
add esp, 0x20
add edi, 0x10
mov dword [esp + 0x9c], ecx
cmp ecx, dword [esp + 0xbc]
movaps xmm5, xmm6
lea ecx, [esi + 0x10]
jl 0x10040fc0
movss xmm7, dword [esp + 0x8c]
jmp 0x10040ca7
cmp dword [esp + 0x50], edi
mov edi, dword [esp + 0x5c]
jne 0x100410d3
cmp dword [edi + 0x7c], 0
je 0x100410c5
push dword [esp + 0x48]
lea eax, [esp + 0x18]
push edi
push eax
call fcn.1003e1d0
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 + 0x50], 1
jmp 0x100410d3
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0xbc]
cmp eax, 1
jl case.default.0x100412e7
mov edx, dword [esp + 0x68]
dec eax
mov dword [esp + 0xbc], eax
cvttss2si eax, dword [esp + eax*4 + 0x138]
mov dword [esp + 0x80], eax
cmp edx, 0xa
jge case.default.0x100412e7
movq xmm0, qword [esp + 0x74]
lea eax, [edx + edx*2]
mov ecx, dword [esp + 0xb8]
inc edx
cmp dword [esp + 0xa8], 0xa
movq qword [esp + eax*4 + 0xc0], xmm0
mov dword [esp + 0x68], edx
lea edx, [esp + 0x2c]
mov dword [esp + eax*4 + 0xc8], ecx
je 0x1004113e
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 + 0x9c], edx
mov dword [esp + 0x3c], eax
cmp eax, edx
jl 0x1004116b
xor cl, cl
jmp 0x10041173
mov cl, byte [edi + eax]
inc eax
mov dword [esp + 0x3c], eax
movzx ecx, cl
cmp eax, edx
jl 0x1004117e
xor al, al
jmp 0x1004119b
mov dl, byte [edi + eax]
inc eax
mov byte [esp + 0xa7], dl
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0xa7]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x100411b7
mov eax, 0x8000
jmp 0x100411c5
cmp ecx, 0x4d8
mov edi, 0x46b
cmovae eax, edi
add eax, dword [esp + 0x80]
js 0x10041201
cmp eax, ecx
jge 0x10041201
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.1003e000
add esp, 0x14
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movq qword [esp + 0x20], xmm0
jmp 0x10041219
mov dword [esp + 0x20], 0
xor edi, edi
mov dword [esp + 0x24], 0
movq xmm0, qword [esp + 0x20]
mov dword [esp + 0xb8], edi
movq qword [esp + 0x74], xmm0
mov dword [esp + 0x7c], edi
test edi, edi
je case.default.0x100412e7
mov eax, dword [esp + 0x74]
xor edx, edx
movss xmm0, dword [esp + 0xb4]
mov dword [esp + 0x80], edx
mov dword [esp + 0x94], eax
jmp 0x10040ce2
mov eax, dword [esp + 0x68]
test eax, eax
jle case.default.0x100412e7
dec eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0xb4]
mov edi, dword [esp + eax*4 + 0xbc]
movq qword [esp + 0x74], xmm0
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
movss xmm0, dword [esp + 0xb4]
mov dword [esp + 0xb8], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x94], eax
jmp 0x10040ce2
mov edi, dword [esp + 0xb8]
cmp ecx, edi
jl 0x100412c4
xor dl, dl
jmp 0x100412d8
mov eax, dword [esp + 0x94]
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.0x100412e7
jmp dword [eax*4 + 0x100419d0]
cmp dword [esp + 0xbc], 7
jl case.default.0x100412e7
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.1003e550
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 + 0xb8]
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xd4]
addss xmm5, xmm3
movaps xmm2, xmm0
addss xmm1, xmm5
addss xmm2, xmm6
jmp 0x10041697
cmp dword [esp + 0xbc], 0xd
jl case.default.0x100412e7
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.1003e550
movss xmm3, dword [esp + 0xb8]
movss xmm4, dword [esp + 0xa8]
addss xmm3, dword [esi + 0x10]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + 0x84]
movss xmm0, dword [esp + 0x80]
movss xmm1, dword [esp + 0x78]
movss xmm2, dword [esp + 0x184]
addss xmm5, xmm3
addss xmm0, xmm4
addss xmm1, xmm5
addss xmm2, xmm0
jmp 0x10041697
cmp dword [esp + 0xbc], 9
jl case.default.0x100412e7
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.1003e550
movss xmm4, dword [esi + 0x14]
movss xmm0, dword [esp + 0xd0]
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 + 0xb8]
movss xmm1, dword [esp + 0x84]
addss xmm2, xmm4
addss xmm0, dword [esp + 0xa8]
addss xmm5, xmm3
movss dword [esp + 0x74], xmm2
subss xmm2, xmm0
movss xmm0, dword [esp + 0x74]
addss xmm1, xmm5
jmp 0x10041697
cmp dword [esp + 0xbc], 0xb
jl case.default.0x100412e7
movaps xmm7, xmm2
movaps xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0x9c], xmm7
addss xmm2, dword [esp + 0x84]
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x8c]
addss xmm2, dword [esp + 0x64]
addss xmm3, xmm5
movss xmm5, dword [0x1009b5a0]
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x88]
andps xmm1, xmm5
addss xmm3, dword [esp + 0x60]
movaps xmm0, xmm3
andps xmm0, xmm5
comiss xmm1, xmm0
jbe 0x100415b8
movaps xmm7, xmm3
xorps xmm7, xmmword [0x1009b5b0]
jmp 0x100415cb
movaps xmm0, xmm2
xorps xmm0, xmmword [0x1009b5b0]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0xb0]
movaps xmm5, xmm4
movss xmm4, dword [esp + 0x8c]
addss xmm4, dword [esi + 0x14]
addss xmm5, dword [esi + 0x10]
movss xmm2, dword [esp + 0xb4]
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.1003e550
movss xmm4, dword [esp + 0xa8]
movss xmm3, dword [esp + 0xb8]
addss xmm4, dword [esi + 0x14]
addss xmm3, dword [esi + 0x10]
movss xmm0, dword [esp + 0x80]
movss xmm5, dword [esp + 0x84]
addss xmm0, xmm4
addss xmm5, xmm3
movaps xmm2, xmm0
movaps xmm1, xmm5
addss xmm2, xmm7
addss xmm1, dword [esp + 0xbc]
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.1003e550
movss xmm4, dword [esp + 0xb0]
add esp, 0x20
movss xmm0, dword [esp + 0xb4]
movss xmm1, dword [esp + 0xb0]
movss xmm3, dword [esp + 0x98]
movss xmm5, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
jmp 0x10040ce2
mov eax, dword [esp + 0xa8]
cmp eax, 0xff
je 0x10041771
cmp eax, 0x1c
je 0x10041722
cmp eax, 0x20
jb case.default.0x100412e7
mov ecx, dword [esp + 0xb8]
dec edx
cmp edx, ecx
jg 0x10041736
mov dword [esp + 0x78], edx
test edx, edx
jns 0x1004173a
mov dword [esp + 0x78], ecx
lea eax, [esp + 0x74]
push eax
call fcn.1003e0e0
mov edi, dword [esp + 0x80]
add esp, 4
mov edx, dword [esp + 0x78]
cwde
mov dword [esp + 0xb8], edi
movd xmm0, eax
mov eax, dword [esp + 0x74]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x94], eax
jmp 0x10041804
mov edi, dword [esp + 0xb8]
cmp ecx, edi
jl 0x10041784
mov eax, dword [esp + 0x44]
xor cl, cl
jmp 0x100417a1
mov eax, dword [esp + 0x94]
lea edx, [ecx + 1]
mov al, byte [eax + ecx]
mov byte [esp + 0xa7], al
mov eax, edx
mov cl, byte [esp + 0xa7]
movzx ecx, cl
cmp eax, edi
jl 0x100417ac
xor al, al
jmp 0x100417b7
mov eax, dword [esp + 0x94]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x100417c7
xor al, al
jmp 0x100417d2
mov eax, dword [esp + 0x94]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x100417e2
xor al, al
jmp 0x100417ed
mov eax, dword [esp + 0x94]
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 [0x1009f93c]
mov eax, dword [esp + 0xbc]
cmp eax, 0x30
jge case.default.0x100412e7
movss dword [esp + eax*4 + 0x138], xmm0
inc eax
movss xmm0, dword [esp + 0x160]
movss xmm3, dword [esp + 0x150]
movss xmm5, dword [esp + 0x14c]
movss xmm2, dword [esp + 0x148]
movss xmm1, dword [esp + 0x144]
movss xmm7, dword [esp + 0x13c]
movss xmm4, dword [esp + 0x138]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x15c]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x158]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x154]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x140]
mov dword [esp + 0xbc], eax
mov dword [esp + 0x80], 0
movss dword [esp + 0x98], xmm3
movss dword [esp + 0xa0], xmm5
movss dword [esp + 0x84], xmm2
movss dword [esp + 0xb0], xmm1
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0x8c], xmm7
movss dword [esp + 0x90], xmm4
jmp 0x10040ce2
movss xmm4, dword [esp + 0x90]
movss xmm0, dword [esp + 0xb4]
movss xmm1, dword [esp + 0xb0]
movss xmm7, dword [esp + 0x8c]
movss xmm3, dword [esp + 0x98]
movss xmm5, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xb8]
jmp 0x10040ce9
push esi
call fcn.1003e470
mov ecx, dword [esp + 0x1fc]
add esp, 4
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.10092be1
add esp, 0x1f4
ret