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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
mov eax, dword [0x1015a380]
xor eax, esp
mov dword [esp + 0x204], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x84], esi
mov edx, ecx
mov dword [esp + 0x88], edi
sub esp, 0xc
mov dword [esp + 0x80], edx
mov ecx, esp
mov dword [esp + 0x5c], 1
mov dword [esp + 0x58], 0
movq xmm0, qword [edx + 0x58]
mov eax, dword [edx + 0x60]
movq qword [esp + 0xa0], xmm0
movq xmm0, qword [edx + 0x40]
mov dword [esp + 0xa8], eax
mov eax, dword [edx + 0x48]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0xac]
push eax
mov ecx, edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x80], 0
call fcn.1001ab30
movss xmm2, dword [esp + 0x108]
add esp, 0x10
movss xmm5, dword [esp + 0xe8]
xorps xmm7, xmm7
movss xmm3, dword [esp + 0xe0]
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movss xmm6, dword [esp + 0xdc]
movss xmm1, dword [esp + 0xd4]
movss xmm4, dword [esp + 0xd0]
movq qword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xf4]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0xf0]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0xec]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0xd8]
mov dword [esp + 0xc], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x8c], 0x46b
mov dword [esp + 0x30], eax
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x38], xmm6
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x34], xmm4
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x68], ecx
cmp edx, edi
jge case.default.0x1001d353
mov al, byte [eax + edx]
xor edi, edi
movzx eax, al
inc edx
mov ecx, edx
mov dword [esp + 0x60], 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x90], ecx
lea esi, [eax - 1]
mov dword [esp + 0x44], edx
mov dword [esp + 0x2c], esi
cmp esi, 0x1e
mov esi, dword [esp + 0x84]
mov dword [esp + 0x20], eax
ja case.default.0x1001c75d
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + 0x1001d90c]
jmp dword [eax*4 + 0x1001d8bc]
cmp dword [esp + 0x50], edi
je 0x1001c77f
mov eax, dword [esp + 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
add edx, eax
mov dword [esp + 0x4c], edx
jmp 0x1001c783
mov edx, dword [esp + 0x4c]
lea eax, [edx + 7]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0xc]
cdq
and edx, 7
add edx, eax
sar edx, 3
add edx, ecx
cmp edx, edi
jg 0x1001c7a5
test edx, edx
jns 0x1001cd41
mov edx, edi
jmp 0x1001cd41
mov eax, dword [esp + 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add dword [esp + 0x4c], eax
jmp 0x1001cd3d
cmp dword [esp + 8], 2
mov dword [esp + 0x50], edi
jl case.default.0x1001d353
mov ecx, esi
call fcn.1001c380
mov eax, dword [esp + 8]
movss xmm1, dword [esp + eax*4 + 0xc8]
addss xmm1, dword [esi + 0x10]
movss xmm0, dword [esp + eax*4 + 0xcc]
addss xmm0, dword [esi + 0x14]
cmp dword [esi], 0
movss dword [esi + 0x10], xmm1
movss dword [esi + 8], xmm1
movss dword [esi + 0x14], xmm0
movss dword [esi + 0xc], xmm0
cvttss2si edi, xmm0
cvttss2si edx, xmm1
je 0x1001c826
push edi
mov ecx, esi
call fcn.1001c280
add esp, 4
jmp 0x1001c871
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov byte [eax + ecx*2 + 0xc], 1
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], di
mov dword [eax + ecx*2 + 4], edx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 8], dx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 0xa], dx
inc dword [esi + 0x2c]
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
jmp 0x1001cd3d
cmp dword [esp + 8], 1
mov dword [esp + 0x50], edi
jl case.default.0x1001d353
mov ecx, esi
call fcn.1001c380
movss xmm1, dword [esi + 0x10]
mov eax, dword [esp + 8]
jmp 0x1001c7ea
cmp dword [esp + 8], 1
mov dword [esp + 0x50], edi
jl case.default.0x1001d353
mov ecx, esi
call fcn.1001c380
mov eax, dword [esp + 8]
movss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + eax*4 + 0xcc]
addss xmm1, dword [esi + 0x10]
jmp 0x1001c7f8
cmp dword [esp + 8], 2
jl case.default.0x1001d353
mov ecx, dword [esi + 0x2c]
lea edi, [esp + 0xd4]
mov dword [esp + 0x20], 1
nop dword [eax]
cmp dword [esi], 0
movss xmm1, dword [edi - 4]
movss xmm0, dword [edi]
addss xmm1, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cvttss2si edx, xmm0
cvttss2si eax, xmm1
je 0x1001c939
push edx
mov edx, eax
mov ecx, esi
call fcn.1001c280
add esp, 4
jmp 0x1001c986
mov eax, dword [esi + 0x28]
shl ecx, 3
sub ecx, dword [esi + 0x2c]
cvttss2si edx, xmm1
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2], dx
cvttss2si edx, xmm0
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov dword [eax + ecx*2 + 4], edx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 8], dx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 0xa], dx
mov eax, dword [esp + 0x20]
add edi, 8
inc dword [esi + 0x2c]
add eax, 2
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 8]
jl 0x1001c900
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
jmp 0x1001cd3d
mov eax, dword [esp + 8]
cmp eax, 1
jge 0x1001ca77
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.100d7b08
mov esp, ebp
pop ebp
ret
cmp dword [esp + 8], 1
jl case.default.0x1001d353
cmp dword [esi], 0
movss xmm1, dword [esp + edi*4 + 0xd0]
addss xmm1, dword [esi + 0x10]
movss xmm0, dword [esi + 0x14]
movss dword [esi + 0x14], xmm0
cvttss2si edx, xmm0
movss dword [esi + 0x10], xmm1
cvttss2si eax, xmm1
je 0x1001ca1c
push edx
mov edx, eax
mov ecx, esi
call fcn.1001c280
add esp, 4
jmp 0x1001ca6f
mov eax, dword [esi + 0x2c]
cvttss2si edx, xmm1
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2], dx
cvttss2si edx, xmm0
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov dword [eax + ecx*2 + 4], edx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 8], dx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 0xa], dx
inc dword [esi + 0x2c]
inc edi
mov eax, dword [esp + 8]
cmp edi, eax
jge 0x1001c874
cmp dword [esi], 0
movss xmm0, dword [esp + edi*4 + 0xd0]
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esi + 0x10]
movss dword [esi + 0x10], xmm1
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
cvttss2si edx, xmm0
je 0x1001cab8
push edx
mov edx, eax
mov ecx, esi
call fcn.1001c280
add esp, 4
jmp 0x1001cb0b
mov eax, dword [esi + 0x2c]
cvttss2si edx, xmm1
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2], dx
cvttss2si edx, xmm0
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov dword [eax + ecx*2 + 4], edx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 8], dx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 0xa], dx
inc dword [esi + 0x2c]
inc edi
cmp edi, dword [esp + 8]
jl 0x1001c9e3
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
jmp 0x1001cd3d
cmp dword [esp + 8], 4
jl case.default.0x1001d353
jmp 0x1001cbd5
mov eax, dword [esp + 8]
cmp eax, 4
jl case.default.0x1001d353
sub eax, edi
cmp eax, 5
jne 0x1001cb5d
movss xmm6, dword [esp + edi*4 + 0xe0]
jmp 0x1001cb60
movaps xmm6, xmm7
movss xmm4, dword [esp + edi*4 + 0xd0]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esi + 0x10]
mov ecx, esi
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xd4]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xd8]
movaps xmm3, xmm2
addss xmm3, dword [esp + edi*4 + 0xdc]
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
call fcn.1001c2f0
add esp, 0x18
add edi, 4
mov ecx, dword [esp + 8]
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1001d86a
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x1001cbf8
movss xmm1, dword [esp + edi*4 + 0xe0]
jmp 0x1001cbfb
movaps xmm1, xmm7
movss xmm4, dword [esi + 0x14]
mov dl, 4
movss xmm5, dword [esp + edi*4 + 0xd0]
movaps xmm0, xmm4
addss xmm5, dword [esi + 0x10]
addss xmm0, dword [esp + edi*4 + 0xd8]
mov ecx, esi
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xd4]
cvttss2si eax, xmm0
movaps xmm3, xmm2
push eax
cvttss2si eax, xmm2
addss xmm3, xmm1
movaps xmm1, xmm0
addss xmm1, dword [esp + edi*4 + 0xe0]
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
call fcn.1001c2f0
mov ecx, dword [esp + 0x20]
add edi, 4
add esp, 0x18
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1001d86a
mov eax, ecx
jmp 0x1001cb4b
cmp dword [esp + 8], 6
jl case.default.0x1001d353
mov dword [esp + 0x20], 5
lea edi, [esp + 0xd4]
movss xmm4, dword [edi]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [edi - 4]
mov ecx, esi
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
call fcn.1001c2f0
mov eax, dword [esp + 0x38]
add esp, 0x18
add eax, 6
add edi, 0x18
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 8]
jl 0x1001cca0
mov edx, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x24]
movss xmm1, dword [esp + 0x14]
movss xmm0, dword [esp + 0x10]
movss xmm4, dword [esp + 0x34]
movss xmm5, dword [esp + 0x28]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 8]
movss xmm2, dword [esp + 0x6c]
xor eax, eax
cmp dword [esp + 0x60], eax
cmove eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
jmp 0x1001c705
mov eax, dword [esp + 8]
cmp eax, 8
jl case.default.0x1001d353
add eax, 0xfffffffe
mov dword [esp + 0x2c], eax
cmp eax, 5
jle 0x1001ce5c
mov dword [esp + 0x20], 5
lea eax, [esp + 0xd0]
lea edx, [esp + 0xd8]
movss xmm5, dword [eax + edi*4]
lea ecx, [esp + 0xdc]
addss xmm5, dword [esi + 0x10]
movss xmm4, dword [esp + edi*4 + 0xd4]
lea eax, [esp + 0xe0]
addss xmm4, dword [esi + 0x14]
movaps xmm2, xmm5
addss xmm2, dword [edx + edi*4]
movaps xmm0, xmm4
mov dl, 4
addss xmm0, dword [ecx + edi*4]
mov ecx, esi
movaps xmm3, xmm2
addss xmm3, dword [eax + edi*4]
lea eax, [esp + 0xe4]
movaps xmm1, xmm0
addss xmm1, dword [eax + edi*4]
cvttss2si eax, 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
call fcn.1001c2f0
mov eax, dword [esp + 0x38]
lea edx, [esp + 0xf0]
add eax, 6
add edi, 6
add esp, 0x18
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x2c]
mov ecx, edi
lea eax, [esp + 0xd0]
jl 0x1001cd94
lea eax, [ecx + 1]
cmp eax, dword [esp + 8]
jge case.default.0x1001d353
movss xmm4, dword [esp + 0x34]
movss xmm5, dword [esp + 0x28]
movss xmm3, dword [esp + 0x24]
cmp dword [esi], 0
movss xmm1, dword [esp + edi*4 + 0xd0]
movss xmm0, dword [esp + edi*4 + 0xd4]
addss xmm1, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cvttss2si edi, xmm0
cvttss2si edx, xmm1
jne 0x1001c819
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov byte [eax + ecx*2 + 0xc], 2
jmp 0x1001c83a
mov eax, dword [esp + 8]
cmp eax, 8
jl case.default.0x1001d353
add eax, 0xfffffffa
mov dword [esp + 0x2c], eax
cmp eax, 1
jle 0x1001cf9f
mov ecx, dword [esi + 0x2c]
lea eax, [esp + 0xd0]
mov dword [esp + 0x20], 1
nop dword [eax + eax]
cmp dword [esi], 0
movss xmm1, dword [eax + edi*4]
movss xmm0, dword [esp + edi*4 + 0xd4]
addss xmm1, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cvttss2si edx, xmm0
cvttss2si eax, xmm1
je 0x1001cf1e
push edx
mov edx, eax
mov ecx, esi
call fcn.1001c280
add esp, 4
jmp 0x1001cf6b
mov eax, dword [esi + 0x28]
shl ecx, 3
sub ecx, dword [esi + 0x2c]
cvttss2si edx, xmm1
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2], dx
cvttss2si edx, xmm0
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov dword [eax + ecx*2 + 4], edx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 8], dx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 0xa], dx
mov eax, dword [esp + 0x20]
add edi, 2
inc dword [esi + 0x2c]
add eax, 2
cmp eax, dword [esp + 0x2c]
mov edx, edi
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xd0]
jl 0x1001cee0
lea eax, [edx + 5]
cmp eax, dword [esp + 8]
jge case.default.0x1001d353
movss xmm4, dword [esp + edi*4 + 0xd4]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xd0]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xdc]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xd8]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0xe8]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xe4]
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
call fcn.1001c2f0
add esp, 0x18
jmp 0x1001cd1b
mov eax, dword [esp + 8]
cmp eax, 4
jl case.default.0x1001d353
mov edi, eax
movaps xmm5, xmm7
and edi, 1
je 0x1001d03e
movaps xmm5, xmm4
lea ecx, [edi + 3]
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jge 0x1001cd37
lea eax, [esi + 0x10]
lea ecx, [esi + 0x14]
lea edi, [esp + edi*4 + 0xd8]
nop word [eax + eax]
cmp dword [esp + 0x20], 0x1b
movss xmm1, dword [eax]
movss xmm2, dword [ecx]
movss xmm0, dword [edi]
movss xmm3, dword [edi - 8]
movss xmm4, dword [edi - 4]
movss xmm6, dword [edi + 4]
jne 0x1001d09e
addss xmm1, xmm3
addss xmm2, xmm5
addss xmm4, xmm1
addss xmm0, xmm2
addss xmm6, xmm4
movaps xmm5, xmm0
movaps xmm3, xmm6
jmp 0x1001d0be
addss xmm1, xmm5
movaps xmm5, xmm0
addss xmm2, xmm3
movaps xmm0, xmm6
movaps xmm3, xmm4
addss xmm3, xmm1
addss xmm5, xmm2
movaps xmm4, xmm3
addss xmm0, xmm5
movss dword [eax], xmm3
mov dl, 4
cvttss2si eax, xmm5
movss dword [ecx], xmm0
mov ecx, esi
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm3
push eax
call fcn.1001c2f0
mov ecx, dword [esp + 0x44]
lea eax, [esi + 0x10]
add ecx, 4
add esp, 0x18
add edi, 0x10
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 8]
movaps xmm5, xmm7
lea ecx, [esi + 0x14]
jl 0x1001d060
movss xmm6, dword [esp + 0x38]
jmp 0x1001cd1b
cmp dword [esp + 0x70], edi
jne case.0x1001c75d.29
mov eax, dword [esp + 0x74]
cmp dword [eax + 0x78], edi
je 0x1001d15b
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, eax
call fcn.1001c3f0
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x94], xmm0
mov dword [esp + 0x9c], eax
mov dword [esp + 0x70], 1
mov eax, dword [esp + 8]
cmp eax, 1
jl case.default.0x1001d353
mov edx, dword [esp + 0x54]
dec eax
mov dword [esp + 8], eax
cmp edx, 0xa
jge case.default.0x1001d353
movq xmm0, qword [esp + 0x40]
lea eax, [edx + edx*2]
mov ecx, dword [esp + 0xc]
inc edx
cmp dword [esp + 0x20], 0xa
movq qword [esp + eax*4 + 0x190], xmm0
mov dword [esp + eax*4 + 0x198], ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x54], edx
cvttss2si edi, dword [esp + eax*4 + 0xd0]
jne 0x1001d1c1
lea edx, [esp + 0x94]
jmp 0x1001d1c8
mov edx, dword [esp + 0x74]
add edx, 0x4c
movq xmm0, qword [edx]
xor ecx, ecx
mov edx, dword [edx + 8]
mov eax, edx
test edx, edx
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x2c], edx
cmovns eax, ecx
mov dword [esp + 0x7c], eax
cmp eax, edx
jl 0x1001d1ee
xor cl, cl
jmp 0x1001d1fa
mov ecx, dword [esp + 0x78]
mov cl, byte [ecx + eax]
inc eax
mov dword [esp + 0x7c], eax
movzx ecx, cl
cmp eax, edx
jl 0x1001d205
xor al, al
jmp 0x1001d21d
mov edx, dword [esp + 0x78]
mov dl, byte [edx + eax]
inc eax
mov byte [esp + 0x1b], dl
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
mov al, byte [esp + 0x1b]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x1001d239
mov eax, 0x8000
jmp 0x1001d247
cmp ecx, 0x4d8
cmovae eax, dword [esp + 0x8c]
add edi, eax
js 0x1001d285
cmp edi, ecx
jge 0x1001d285
movq xmm0, qword [esp + 0x78]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], edx
lea eax, [esp + 0xcc]
push eax
call fcn.1001ab30
add esp, 0x10
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movq qword [esp + 0xa0], xmm0
jmp 0x1001d2a6
mov dword [esp + 0xa0], 0
xor edi, edi
mov dword [esp + 0xa4], 0
movq xmm0, qword [esp + 0xa0]
mov dword [esp + 0xc], edi
movq qword [esp + 0x40], xmm0
mov dword [esp + 0x48], edi
test edi, edi
je case.default.0x1001d353
mov eax, dword [esp + 0x40]
xor edx, edx
movss xmm0, dword [esp + 0x10]
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], eax
jmp 0x1001cd41
mov eax, dword [esp + 0x54]
test eax, eax
jle case.default.0x1001d353
dec eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x68]
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0x184]
mov edi, dword [esp + eax*4 + 0x18c]
movq qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
movss xmm0, dword [esp + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x30], eax
jmp 0x1001cd41
mov edi, dword [esp + 0xc]
cmp ecx, edi
jl 0x1001d336
xor dl, dl
jmp 0x1001d344
mov eax, dword [esp + 0x30]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
movzx eax, dl
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x1001d353
jmp dword [eax*4 + 0x1001d92c]
cmp dword [esp + 8], 7
jl case.default.0x1001d353
addss xmm4, dword [esi + 0x10]
movss xmm3, dword [esi + 0x14]
movaps xmm2, xmm6
addss xmm0, xmm3
mov dl, 4
addss xmm1, xmm4
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
push ecx
addss xmm2, xmm1
movss dword [esi + 0x14], xmm0
push eax
cvttss2si eax, xmm3
movss dword [esi + 0x10], xmm2
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm2
push ecx
mov ecx, esi
push eax
call fcn.1001c2f0
movss xmm3, dword [esp + 0x3c]
movaps xmm2, xmm5
addss xmm3, dword [esi + 0x10]
movss xmm0, dword [esi + 0x14]
movss xmm4, dword [esp + 0x54]
movaps xmm1, xmm0
subss xmm1, dword [esp + 0x28]
addss xmm4, xmm3
movaps xmm5, xmm1
addss xmm2, xmm4
jmp 0x1001d661
cmp dword [esp + 8], 0xd
jl case.default.0x1001d353
movaps xmm5, xmm4
movaps xmm2, xmm0
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm1
movaps xmm0, xmm6
addss xmm4, dword [esi + 0x14]
movss xmm1, dword [esp + 0x3c]
mov dl, 4
mov ecx, esi
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
call fcn.1001c2f0
movss xmm3, dword [esp + 0x40]
movss xmm0, dword [esp + 0x74]
addss xmm3, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss xmm4, dword [esp + 0x70]
movss xmm5, dword [esp + 0x7c]
movss xmm2, dword [esp + 0x84]
movss xmm1, dword [esp + 0x114]
addss xmm4, xmm3
addss xmm5, xmm0
addss xmm2, xmm4
addss xmm1, xmm5
jmp 0x1001d661
cmp dword [esp + 8], 9
jl case.default.0x1001d353
addss xmm4, dword [esi + 0x10]
movaps xmm3, xmm1
movss xmm2, dword [esp + 0x24]
addss xmm3, dword [esi + 0x14]
movaps xmm1, xmm0
mov dl, 4
movaps xmm0, xmm6
addss xmm1, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm1
cvttss2si ecx, xmm0
addss xmm2, xmm1
movss dword [esi + 0x14], xmm0
push ecx
push eax
cvttss2si eax, xmm3
movss dword [esi + 0x10], xmm2
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm2
push ecx
mov ecx, esi
push eax
call fcn.1001c2f0
movss xmm0, dword [esi + 0x14]
movaps xmm4, xmm5
movss xmm5, dword [esp + 0x74]
movss xmm3, dword [esp + 0x54]
addss xmm5, xmm0
addss xmm3, dword [esi + 0x10]
movss xmm2, dword [esp + 0x70]
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm6
addss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm5
addss xmm4, xmm3
addss xmm0, dword [esp + 0x74]
addss xmm2, xmm4
subss xmm1, xmm0
movss xmm0, dword [esp + 0x80]
jmp 0x1001d661
cmp dword [esp + 8], 0xb
jl case.default.0x1001d353
movaps xmm6, xmm2
movaps xmm2, xmm4
addss xmm2, xmm0
movaps xmm7, xmm6
addss xmm2, xmm3
movss xmm3, dword [esp + 0x38]
addss xmm3, xmm1
addss xmm2, xmm5
addss xmm3, dword [esp + 0x3c]
addss xmm2, dword [esp + 0x58]
addss xmm3, dword [esp + 0x5c]
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x64]
andps xmm1, xmmword [0x10156220]
movaps xmm0, xmm3
andps xmm0, xmmword [0x10156220]
comiss xmm1, xmm0
jbe 0x1001d5aa
movaps xmm6, xmm3
xorps xmm6, xmmword [0x10156240]
jmp 0x1001d5b4
movaps xmm7, xmm2
xorps xmm7, xmmword [0x10156240]
movss xmm0, dword [esp + 0x38]
movaps xmm5, xmm4
movss xmm4, dword [esp + 0x14]
mov dl, 4
addss xmm4, dword [esi + 0x14]
addss xmm5, dword [esi + 0x10]
movss xmm2, dword [esp + 0x10]
mov ecx, esi
movss xmm1, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x24]
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
call fcn.1001c2f0
movss xmm3, dword [esp + 0x40]
movss xmm0, dword [esp + 0x74]
addss xmm3, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss xmm4, dword [esp + 0x70]
movss xmm5, dword [esp + 0x7c]
addss xmm4, xmm3
addss xmm5, xmm0
movaps xmm2, xmm4
movaps xmm1, xmm5
addss xmm2, xmm7
addss xmm1, xmm6
xorps xmm7, xmm7
movss xmm6, dword [esp + 0x50]
add esp, 0x18
movss dword [esi + 0x14], xmm1
cvttss2si eax, xmm5
mov dl, 4
mov ecx, esi
movss dword [esi + 0x10], xmm2
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm3
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm2
push eax
call fcn.1001c2f0
movss xmm4, dword [esp + 0x4c]
add esp, 0x18
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
movss xmm5, dword [esp + 0x28]
movss xmm3, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x1001cd41
mov eax, dword [esp + 0x20]
cmp eax, 0xff
je 0x1001d71c
cmp eax, 0x1c
je 0x1001d6dd
add eax, 0xffffffe0
cmp eax, 0xde
ja case.default.0x1001d353
mov ecx, dword [esp + 0xc]
dec edx
cmp edx, ecx
jg 0x1001d6ee
mov dword [esp + 0x44], edx
test edx, edx
jns 0x1001d6f2
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
call fcn.1001a820
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
cwde
mov dword [esp + 0xc], edi
movd xmm0, eax
mov eax, dword [esp + 0x40]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x30], eax
jmp 0x1001d79d
mov edi, dword [esp + 0xc]
cmp ecx, edi
jl 0x1001d72f
mov eax, dword [esp + 0x90]
xor cl, cl
jmp 0x1001d743
mov eax, dword [esp + 0x30]
lea edx, [ecx + 1]
mov al, byte [ecx + eax]
mov byte [esp + 0x1b], al
mov eax, edx
mov cl, byte [esp + 0x1b]
movzx ecx, cl
cmp eax, edi
jl 0x1001d74e
xor al, al
jmp 0x1001d756
mov eax, dword [esp + 0x30]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x1001d766
xor al, al
jmp 0x1001d76e
mov eax, dword [esp + 0x30]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x1001d77e
xor al, al
jmp 0x1001d786
mov eax, dword [esp + 0x30]
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 [0x10155a84]
mov eax, dword [esp + 8]
cmp eax, 0x30
jge case.default.0x1001d353
movss dword [esp + eax*4 + 0xd0], xmm0
inc eax
movss xmm0, dword [esp + 0xf8]
movss xmm5, dword [esp + 0xe8]
movss xmm2, dword [esp + 0xe4]
movss xmm3, dword [esp + 0xe0]
movss xmm6, dword [esp + 0xdc]
movss xmm1, dword [esp + 0xd4]
movss xmm4, dword [esp + 0xd0]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0xf4]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0xf0]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0xec]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0xd8]
mov dword [esp + 8], eax
mov dword [esp + 0x60], 0
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x38], xmm6
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x34], xmm4
jmp 0x1001cd41
movss xmm4, dword [esp + 0x34]
movss xmm0, dword [esp + 0x10]
movss xmm6, dword [esp + 0x38]
movss xmm1, dword [esp + 0x14]
movss xmm5, dword [esp + 0x28]
movss xmm3, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
jmp 0x1001cd45
mov ecx, esi
call fcn.1001c380
mov ecx, dword [esp + 0x20c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.100d7b08
mov esp, ebp
pop ebp
ret