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

Disassembly:
sub esp, 0x1f8
mov eax, dword [0x100b0040]
xor eax, esp
mov dword [esp + 0x1f4], eax
push esi
mov esi, dword [esp + 0x200]
push edi
mov edi, edx
mov dword [esp + 0x44], esi
mov edx, ecx
mov dword [esp + 0x40], edi
sub esp, 0xc
mov dword [esp + 0x60], edx
mov ecx, esp
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], 0
movq xmm0, qword [edx + 0x5c]
mov eax, dword [edx + 0x64]
movq qword [esp + 0x38], xmm0
movq xmm0, qword [edx + 0x44]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x4c]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
mov dword [esp + 0x80], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0x68], 0
call fcn.1002b890
movss xmm2, dword [esp + 0x174]
add esp, 0x10
movss xmm3, dword [esp + 0x154]
xorps xmm6, xmm6
movss xmm5, dword [esp + 0x150]
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movss xmm1, dword [esp + 0x148]
movss xmm7, dword [esp + 0x140]
movss xmm4, dword [esp + 0x13c]
movq qword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x160]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x15c]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x158]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x14c]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x144]
mov dword [esp + 0xbc], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x3c], 0x46b
mov dword [esp + 0x98], eax
movss dword [esp + 0x60], xmm2
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0x9c], xmm5
movss dword [esp + 0xb4], xmm1
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0x90], xmm7
movss dword [esp + 0x94], xmm4
nop dword [eax + eax]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x5c], ecx
cmp edx, edi
jge case.default.0x1002e414
mov al, byte [eax + edx]
xor edi, edi
movzx eax, al
inc edx
mov ecx, edx
mov dword [esp + 0x64], 1
mov dword [esp + 0xb0], edx
mov dword [esp + 0x38], ecx
lea esi, [eax - 1]
mov dword [esp + 0x80], edx
mov dword [esp + 0xa4], esi
cmp esi, 0x1e
mov esi, dword [esp + 0x44]
mov dword [esp + 0xac], eax
ja case.default.0x1002d691
mov eax, dword [esp + 0xa4]
movzx eax, byte [eax + 0x1002eae4]
jmp dword [eax*4 + 0x1002ea94]
cmp dword [esp + 0x74], edi
je 0x1002d6b6
mov eax, dword [esp + 0xc0]
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
sar eax, 1
add edx, eax
mov dword [esp + 0x78], edx
jmp 0x1002d6ba
mov edx, dword [esp + 0x78]
lea eax, [edx + 7]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0xbc]
cdq
and edx, 7
add edx, eax
sar edx, 3
add edx, ecx
cmp edx, edi
jg 0x1002d6df
test edx, edx
jns 0x1002e196
mov edx, edi
jmp 0x1002e196
mov eax, dword [esp + 0xc0]
cdq
sub eax, edx
mov edx, dword [esp + 0xb0]
sar eax, 1
add dword [esp + 0x78], eax
jmp 0x1002e18f
cmp dword [esp + 0xc0], 2
mov dword [esp + 0x74], edi
jl case.default.0x1002e414
mov ecx, esi
call fcn.1002d270
mov eax, dword [esp + 0xc0]
movss xmm1, dword [esp + eax*4 + 0x134]
addss xmm1, dword [esi + 0x10]
movss xmm0, dword [esp + eax*4 + 0x138]
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 0x1002d76c
push edi
mov ecx, esi
call fcn.1002d160
add esp, 4
jmp 0x1002d7b7
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 xmm1, dword [esp + 0xb4]
movss xmm0, dword [esp + 0xb8]
mov edx, dword [esp + 0xb0]
jmp 0x1002e18f
cmp dword [esp + 0xc0], 1
mov dword [esp + 0x74], edi
jl case.default.0x1002e414
mov ecx, esi
call fcn.1002d270
movss xmm1, dword [esi + 0x10]
mov eax, dword [esp + 0xc0]
addss xmm1, xmm6
jmp 0x1002d730
cmp dword [esp + 0xc0], 1
mov dword [esp + 0x74], edi
jl case.default.0x1002e414
mov ecx, esi
call fcn.1002d270
mov eax, dword [esp + 0xc0]
movss xmm0, dword [esi + 0x14]
addss xmm0, xmm6
movss xmm1, dword [esp + eax*4 + 0x138]
addss xmm1, dword [esi + 0x10]
jmp 0x1002d73e
cmp dword [esp + 0xc0], 2
jl case.default.0x1002e414
mov ecx, dword [esi + 0x2c]
lea edi, [esp + 0x140]
mov dword [esp + 0xac], 1
nop word [eax + 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 0x1002d8a9
push edx
mov edx, eax
mov ecx, esi
call fcn.1002d160
add esp, 4
jmp 0x1002d8f6
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 + 0xac]
add edi, 8
inc dword [esi + 0x2c]
add eax, 2
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0xac], eax
cmp eax, dword [esp + 0xc0]
jl 0x1002d870
movss xmm0, dword [esp + 0xb8]
movss xmm1, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
jmp 0x1002e18f
mov eax, dword [esp + 0xc0]
cmp eax, 1
jge 0x1002da09
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x1f4]
xor ecx, esp
call fcn.10050e66
add esp, 0x1f8
ret
cmp dword [esp + 0xc0], 1
jl case.default.0x1002e414
cmp dword [esi], 0
movss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0x13c]
addss xmm0, xmm6
addss xmm1, dword [esi + 0x10]
movss dword [esi + 0x14], xmm0
movss dword [esi + 0x10], xmm1
cvttss2si edx, xmm0
cvttss2si eax, xmm1
je 0x1002d9ab
push edx
mov edx, eax
mov ecx, esi
call fcn.1002d160
add esp, 4
jmp 0x1002d9fe
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 + 0xc0]
cmp edi, eax
jge 0x1002d7ba
cmp dword [esi], 0
movss xmm1, dword [esi + 0x10]
movss xmm0, dword [esp + edi*4 + 0x13c]
addss xmm1, xmm6
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cvttss2si edx, xmm0
cvttss2si eax, xmm1
je 0x1002da4e
push edx
mov edx, eax
mov ecx, esi
call fcn.1002d160
add esp, 4
jmp 0x1002daa1
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 + 0xc0]
jl 0x1002d96e
movss xmm1, dword [esp + 0xb4]
movss xmm0, dword [esp + 0xb8]
mov edx, dword [esp + 0xb0]
jmp 0x1002e18f
cmp dword [esp + 0xc0], 4
jl case.default.0x1002e414
jmp 0x1002db81
mov eax, dword [esp + 0xc0]
cmp eax, 4
jl case.default.0x1002e414
sub eax, edi
cmp eax, 5
jne 0x1002db05
movss xmm7, dword [esp + edi*4 + 0x14c]
jmp 0x1002db08
movaps xmm7, xmm6
movss xmm4, dword [esp + edi*4 + 0x13c]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esi + 0x10]
mov ecx, esi
addss xmm5, xmm6
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
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0x14c]
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
call fcn.1002d1d0
add esp, 0x18
add edi, 4
mov ecx, dword [esp + 0xc0]
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1002ea26
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x1002dba7
movss xmm1, dword [esp + edi*4 + 0x14c]
jmp 0x1002dbaa
movaps xmm1, xmm6
movss xmm4, dword [esi + 0x14]
mov dl, 4
movss xmm5, dword [esp + edi*4 + 0x13c]
addss xmm4, xmm6
addss xmm5, dword [esi + 0x10]
mov ecx, esi
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0x144]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0x140]
cvttss2si eax, xmm0
movaps xmm3, xmm2
push eax
cvttss2si eax, xmm2
addss xmm3, xmm1
movaps xmm1, xmm0
addss xmm1, 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
call fcn.1002d1d0
mov ecx, dword [esp + 0xd8]
add edi, 4
add esp, 0x18
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1002ea26
mov eax, ecx
jmp 0x1002daf3
cmp dword [esp + 0xc0], 6
jl case.default.0x1002e414
mov dword [esp + 0xac], 5
lea edi, [esp + 0x140]
nop dword [eax]
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.1002d1d0
mov eax, dword [esp + 0xc4]
add esp, 0x18
add eax, 6
add edi, 0x18
mov dword [esp + 0xac], eax
cmp eax, dword [esp + 0xc0]
jl 0x1002dc60
movss xmm4, dword [esp + 0x94]
movss xmm0, dword [esp + 0xb8]
movss xmm1, dword [esp + 0xb4]
movss xmm3, dword [esp + 0xa0]
movss xmm5, dword [esp + 0x9c]
mov edx, dword [esp + 0xb0]
jmp 0x1002e18f
mov eax, dword [esp + 0xc0]
cmp eax, 8
jl case.default.0x1002e414
add eax, 0xfffffffe
mov dword [esp + 0xa4], eax
cmp eax, 5
jle 0x1002de3d
mov dword [esp + 0xac], 5
lea eax, [esp + 0x13c]
lea edx, [esp + 0x144]
nop dword [eax]
movss xmm5, dword [eax + edi*4]
lea ecx, [esp + 0x148]
addss xmm5, dword [esi + 0x10]
movss xmm4, dword [esp + edi*4 + 0x140]
lea eax, [esp + 0x14c]
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 + 0x150]
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.1002d1d0
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x15c]
add eax, 6
add edi, 6
add esp, 0x18
mov dword [esp + 0xac], eax
cmp eax, dword [esp + 0xa4]
mov ecx, edi
lea eax, [esp + 0x13c]
jl 0x1002dd60
lea eax, [ecx + 1]
cmp eax, dword [esp + 0xc0]
jge case.default.0x1002e414
movss xmm4, dword [esp + 0x94]
movss xmm3, dword [esp + 0xa0]
movss xmm5, dword [esp + 0x9c]
cmp dword [esi], 0
movss xmm1, dword [esp + edi*4 + 0x13c]
movss xmm0, dword [esp + edi*4 + 0x140]
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 0x1002d75f
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 0x1002d780
mov eax, dword [esp + 0xc0]
cmp eax, 8
jl case.default.0x1002e414
add eax, 0xfffffffa
mov dword [esp + 0xa4], eax
cmp eax, 1
jle 0x1002df90
mov ecx, dword [esi + 0x2c]
lea eax, [esp + 0x13c]
mov dword [esp + 0xac], 1
cmp dword [esi], 0
movss xmm1, dword [eax + edi*4]
movss xmm0, dword [esp + edi*4 + 0x140]
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 0x1002df03
push edx
mov edx, eax
mov ecx, esi
call fcn.1002d160
add esp, 4
jmp 0x1002df50
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 + 0xac]
add edi, 2
inc dword [esi + 0x2c]
add eax, 2
cmp eax, dword [esp + 0xa4]
mov edx, edi
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x13c]
jl 0x1002dec5
lea eax, [edx + 5]
cmp eax, dword [esp + 0xc0]
jge case.default.0x1002e414
movss xmm4, dword [esp + edi*4 + 0x140]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0x13c]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0x148]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0x144]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0x154]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0x150]
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.1002d1d0
movss xmm4, dword [esp + 0xac]
add esp, 0x18
movss xmm3, dword [esp + 0xa0]
movss xmm5, dword [esp + 0x9c]
movss xmm1, dword [esp + 0xb4]
movss xmm0, dword [esp + 0xb8]
mov edx, dword [esp + 0xb0]
jmp 0x1002e18f
mov eax, dword [esp + 0xc0]
cmp eax, 4
jl case.default.0x1002e414
mov edi, eax
movaps xmm7, xmm6
and edi, 1
je 0x1002e066
movaps xmm7, xmm4
lea ecx, [edi + 3]
mov dword [esp + 0xa4], ecx
cmp ecx, eax
jge 0x1002e186
lea eax, [esi + 0x10]
lea ecx, [esi + 0x14]
lea edi, [esp + edi*4 + 0x144]
nop word [eax + eax]
cmp dword [esp + 0xac], 0x1b
movss xmm1, dword [eax]
movss xmm4, dword [ecx]
movss xmm2, dword [edi]
movss xmm3, dword [edi - 8]
movss xmm5, dword [edi - 4]
movss xmm0, dword [edi + 4]
jne 0x1002e0d8
addss xmm1, xmm3
addss xmm4, xmm7
movaps xmm3, xmm1
addss xmm3, xmm5
addss xmm2, xmm4
addss xmm0, xmm3
movaps xmm5, xmm0
movaps xmm0, xmm2
addss xmm0, xmm6
jmp 0x1002e0f6
addss xmm1, xmm7
addss xmm4, xmm3
movaps xmm3, xmm1
addss xmm3, xmm5
addss xmm2, xmm4
movaps xmm5, xmm3
addss xmm5, xmm6
addss xmm0, xmm2
movss dword [eax], xmm5
mov dl, 4
cvttss2si eax, xmm2
movss dword [ecx], xmm0
mov ecx, esi
push eax
cvttss2si eax, xmm3
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm5
push eax
call fcn.1002d1d0
mov ecx, dword [esp + 0xbc]
lea eax, [esi + 0x10]
add ecx, 4
add esp, 0x18
add edi, 0x10
mov dword [esp + 0xa4], ecx
cmp ecx, dword [esp + 0xc0]
movaps xmm7, xmm6
lea ecx, [esi + 0x14]
jl 0x1002e090
movss xmm4, dword [esp + 0x94]
movss xmm0, dword [esp + 0xb8]
movss xmm1, dword [esp + 0xb4]
movss xmm3, dword [esp + 0xa0]
movss xmm5, dword [esp + 0x9c]
mov edx, dword [esp + 0xb0]
movss xmm7, dword [esp + 0x90]
mov edi, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc0]
movss xmm2, dword [esp + 0x60]
xor eax, eax
cmp dword [esp + 0x64], eax
cmove eax, ecx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x98]
jmp 0x1002d630
cmp dword [esp + 0x58], edi
jne case.0x1002d691.29
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x7c], edi
je 0x1002e1f2
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.1002d2e0
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], 1
mov eax, dword [esp + 0xc0]
cmp eax, 1
jl case.default.0x1002e414
mov edx, dword [esp + 0x70]
dec eax
mov dword [esp + 0xc0], eax
cmp edx, 0xa
jge case.default.0x1002e414
movq xmm0, qword [esp + 0x7c]
lea eax, [edx + edx*2]
mov ecx, dword [esp + 0xbc]
inc edx
cmp dword [esp + 0xac], 0xa
movq qword [esp + eax*4 + 0xc4], xmm0
mov dword [esp + eax*4 + 0xcc], ecx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x70], edx
cvttss2si edi, dword [esp + eax*4 + 0x13c]
jne 0x1002e264
lea edx, [esp + 0x2c]
jmp 0x1002e26b
mov edx, dword [esp + 0x54]
add edx, 0x50
movq xmm0, qword [edx]
xor ecx, ecx
mov edx, dword [edx + 8]
mov eax, edx
test edx, edx
movq qword [esp + 0x48], xmm0
mov dword [esp + 0xa4], edx
cmovns eax, ecx
mov dword [esp + 0x4c], eax
cmp eax, edx
jl 0x1002e294
xor cl, cl
jmp 0x1002e2a0
mov ecx, dword [esp + 0x48]
mov cl, byte [ecx + eax]
inc eax
mov dword [esp + 0x4c], eax
movzx ecx, cl
cmp eax, edx
jl 0x1002e2ab
xor al, al
jmp 0x1002e2cc
mov edx, dword [esp + 0x48]
mov dl, byte [edx + eax]
inc eax
mov byte [esp + 0xab], dl
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0xab]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x1002e2e8
mov eax, 0x8000
jmp 0x1002e2f3
cmp ecx, 0x4d8
cmovae eax, dword [esp + 0x3c]
add edi, eax
js 0x1002e32b
cmp edi, ecx
jge 0x1002e32b
movq xmm0, qword [esp + 0x48]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], edx
lea eax, [esp + 0x14]
push eax
call fcn.1002b890
add esp, 0x10
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movq qword [esp + 0x20], xmm0
jmp 0x1002e343
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 + 0x7c], xmm0
mov dword [esp + 0x84], edi
test edi, edi
je case.default.0x1002e414
mov eax, dword [esp + 0x7c]
xor edx, edx
movss xmm0, dword [esp + 0xb8]
mov dword [esp + 0x64], edx
mov dword [esp + 0x98], eax
jmp 0x1002e196
mov eax, dword [esp + 0x70]
test eax, eax
jle case.default.0x1002e414
dec eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x5c]
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0xb8]
mov edi, dword [esp + eax*4 + 0xc0]
movq qword [esp + 0x7c], xmm0
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
movss xmm0, dword [esp + 0xb8]
mov dword [esp + 0xbc], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x98], eax
jmp 0x1002e196
mov edi, dword [esp + 0xbc]
cmp ecx, edi
jl 0x1002e3f1
xor dl, dl
jmp 0x1002e405
mov eax, dword [esp + 0x98]
mov dl, byte [eax + ecx]
lea eax, [ecx + 1]
mov dword [esp + 0xb0], eax
movzx eax, dl
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x1002e414
jmp dword [eax*4 + 0x1002eb04]
cmp dword [esp + 0xc0], 7
jl case.default.0x1002e414
movaps xmm5, xmm4
movaps xmm2, xmm7
movss xmm4, dword [esi + 0x14]
movaps xmm3, xmm1
addss xmm5, dword [esi + 0x10]
addss xmm4, xmm6
mov dl, 4
mov ecx, esi
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
call fcn.1002d1d0
movss xmm4, dword [esi + 0x14]
movss xmm3, dword [esp + 0xa0]
addss xmm4, xmm6
addss xmm3, dword [esi + 0x10]
movss xmm5, dword [esp + 0xb4]
movss xmm1, dword [esp + 0xb8]
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xd0]
addss xmm5, xmm3
movaps xmm2, xmm0
addss xmm1, xmm5
addss xmm2, xmm6
jmp 0x1002e7c8
cmp dword [esp + 0xc0], 0xd
jl case.default.0x1002e414
movaps xmm5, xmm4
movss xmm3, dword [esp + 0x88]
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm7
movaps xmm2, xmm0
addss xmm4, dword [esi + 0x14]
movaps xmm0, xmm1
mov dl, 4
movss xmm1, dword [esp + 0x9c]
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.1002d1d0
movss xmm3, dword [esp + 0xb8]
movss xmm4, dword [esp + 0xa4]
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 + 0x180]
addss xmm5, xmm3
addss xmm0, xmm4
addss xmm1, xmm5
addss xmm2, xmm0
jmp 0x1002e7c8
cmp dword [esp + 0xc0], 9
jl case.default.0x1002e414
movaps xmm5, xmm4
movss xmm3, dword [esp + 0x88]
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm7
movaps xmm2, xmm0
addss xmm4, dword [esi + 0x14]
movaps xmm0, xmm1
mov dl, 4
mov ecx, esi
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
call fcn.1002d1d0
movss xmm4, dword [esi + 0x14]
movss xmm0, dword [esp + 0xcc]
addss xmm4, xmm6
movss xmm3, dword [esp + 0xb4]
addss xmm0, xmm7
addss xmm3, dword [esi + 0x10]
movss xmm2, dword [esp + 0xa4]
movss xmm5, dword [esp + 0xb8]
movss xmm1, dword [esp + 0x84]
addss xmm2, xmm4
addss xmm0, dword [esp + 0xa4]
addss xmm5, xmm3
movss dword [esp + 0x74], xmm2
subss xmm2, xmm0
movss xmm0, dword [esp + 0x74]
addss xmm1, xmm5
jmp 0x1002e7c8
cmp dword [esp + 0xc0], 0xb
jl case.default.0x1002e414
movaps xmm7, xmm2
movaps xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0xa4], xmm7
addss xmm2, dword [esp + 0x88]
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x90]
addss xmm2, dword [esp + 0x6c]
addss xmm3, xmm5
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x8c]
andps xmm1, xmmword [0x100a60e0]
addss xmm3, dword [esp + 0x68]
movaps xmm0, xmm3
andps xmm0, xmmword [0x100a60e0]
comiss xmm1, xmm0
jbe 0x1002e6e8
movaps xmm7, xmm3
xorps xmm7, xmmword [0x100a6100]
jmp 0x1002e6fb
movaps xmm0, xmm2
xorps xmm0, xmmword [0x100a6100]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0xb4]
movaps xmm5, xmm4
movss xmm4, dword [esp + 0x90]
mov dl, 4
addss xmm4, dword [esi + 0x14]
addss xmm5, dword [esi + 0x10]
movss xmm2, dword [esp + 0xb8]
mov ecx, esi
movss xmm1, dword [esp + 0x9c]
movss xmm3, dword [esp + 0x88]
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.1002d1d0
movss xmm4, dword [esp + 0xa4]
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 + 0xa8]
add esp, 0x18
movss dword [esi + 0x10], xmm1
cvttss2si eax, xmm0
mov dl, 4
mov ecx, esi
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
call fcn.1002d1d0
movss xmm4, dword [esp + 0xac]
add esp, 0x18
movss xmm0, dword [esp + 0xb8]
movss xmm1, dword [esp + 0xb4]
movss xmm3, dword [esp + 0xa0]
movss xmm5, dword [esp + 0x9c]
mov edx, dword [esp + 0xb0]
jmp 0x1002e196
mov eax, dword [esp + 0xac]
cmp eax, 0xff
je 0x1002e8a8
cmp eax, 0x1c
je 0x1002e854
cmp eax, 0x20
jb case.default.0x1002e414
mov ecx, dword [esp + 0xbc]
dec edx
cmp edx, ecx
jg 0x1002e86b
mov dword [esp + 0x80], edx
test edx, edx
jns 0x1002e872
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x7c]
call fcn.1002b570
mov edi, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
cwde
mov dword [esp + 0xbc], edi
movd xmm0, eax
mov eax, dword [esp + 0x7c]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x98], eax
jmp 0x1002e93b
mov edi, dword [esp + 0xbc]
cmp ecx, edi
jl 0x1002e8bb
mov eax, dword [esp + 0x38]
xor cl, cl
jmp 0x1002e8d8
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 0x1002e8e3
xor al, al
jmp 0x1002e8ee
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 0x1002e8fe
xor al, al
jmp 0x1002e909
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 0x1002e919
xor al, al
jmp 0x1002e924
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 [0x100a5dcc]
mov eax, dword [esp + 0xc0]
cmp eax, 0x30
jge case.default.0x1002e414
movss dword [esp + eax*4 + 0x13c], xmm0
inc eax
movss xmm0, dword [esp + 0x164]
movss xmm3, dword [esp + 0x154]
movss xmm5, dword [esp + 0x150]
movss xmm2, dword [esp + 0x14c]
movss xmm1, dword [esp + 0x148]
movss xmm7, dword [esp + 0x140]
movss xmm4, dword [esp + 0x13c]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x160]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x15c]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x158]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x144]
mov dword [esp + 0xc0], eax
mov dword [esp + 0x64], 0
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0x9c], xmm5
movss dword [esp + 0x88], xmm2
movss dword [esp + 0xb4], xmm1
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0x90], xmm7
movss dword [esp + 0x94], xmm4
jmp 0x1002e196
movss xmm4, dword [esp + 0x94]
movss xmm0, dword [esp + 0xb8]
movss xmm1, dword [esp + 0xb4]
movss xmm7, dword [esp + 0x90]
movss xmm3, dword [esp + 0xa0]
movss xmm5, dword [esp + 0x9c]
mov edx, dword [esp + 0xb0]
mov edi, dword [esp + 0xbc]
jmp 0x1002e19d
mov ecx, esi
call fcn.1002d270
mov ecx, dword [esp + 0x1fc]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.10050e66
add esp, 0x1f8
ret