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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
mov eax, dword [0x100b6018]
xor eax, esp
mov dword [esp + 0x204], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x7c], esi
mov edx, ecx
mov dword [esp + 0x80], edi
sub esp, 0xc
mov dword [esp + 0x84], edx
mov ecx, esp
mov dword [esp + 0x64], 1
mov dword [esp + 0x60], 0
movq xmm0, qword [edx + 0x58]
mov eax, dword [edx + 0x60]
movq qword [esp + 0x98], xmm0
movq xmm0, qword [edx + 0x40]
mov dword [esp + 0xa0], eax
mov eax, dword [edx + 0x48]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0xa4]
push eax
mov ecx, edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x84], 0
call fcn.1002d0d0
movss xmm2, dword [esp + 0xe0]
add esp, 0x10
movss xmm3, dword [esp + 0xc0]
xorps xmm6, xmm6
movss xmm5, dword [esp + 0xbc]
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movss xmm1, dword [esp + 0xb4]
movss xmm7, dword [esp + 0xac]
movss xmm4, dword [esp + 0xa8]
movq qword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xcc]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xb0]
mov dword [esp + 0x14], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x84], 0x46b
mov dword [esp + 0x34], eax
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x3c], xmm7
movss dword [esp + 0x38], xmm4
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x6c], ecx
cmp edx, edi
jge case.default.0x1002fb1e
mov al, byte [eax + edx]
xor edi, edi
movzx eax, al
inc edx
mov ecx, edx
mov dword [esp + 0x64], 1
mov dword [esp + 0x28], edx
mov dword [esp + 0x88], ecx
lea esi, [eax - 1]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], esi
cmp esi, 0x1e
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
ja case.default.0x1002ef97
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 0x10030168]
jmp dword [eax*4 + 0x10030118]
cmp dword [esp + 0x58], edi
je 0x1002efb9
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
sar eax, 1
add edx, eax
mov dword [esp + 0x54], edx
jmp 0x1002efbd
mov edx, dword [esp + 0x54]
lea eax, [edx + 7]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x14]
cdq
and edx, 7
add edx, eax
sar edx, 3
add edx, ecx
cmp edx, edi
jg 0x1002efdf
test edx, edx
jns 0x1002f571
mov edx, edi
jmp 0x1002f571
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add dword [esp + 0x54], eax
jmp 0x1002f56d
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], edi
cmp eax, 2
jl case.default.0x1002fb1e
movss xmm3, dword [esi + 8]
lea ecx, [esi + 0xc]
ucomiss xmm3, dword [esi + 0x10]
lea edi, [esi + 0x14]
mov dword [esp + 0x10], ecx
movss xmm1, dword [esp + eax*4 + 0xa0]
movss xmm2, dword [esp + eax*4 + 0xa4]
lahf
test ah, 0x44
jp 0x1002f045
movss xmm0, dword [ecx]
ucomiss xmm0, dword [edi]
lahf
test ah, 0x44
jnp 0x1002f067
cvttss2si eax, dword [ecx]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, esi
push eax
cvttss2si eax, xmm3
push eax
call fcn.1002eb00
mov ecx, dword [esp + 0x28]
add esp, 0x18
addss xmm2, dword [edi]
addss xmm1, dword [esi + 0x10]
push 0
push 0
push 0
cvttss2si eax, xmm2
push 0
mov dl, 1
movss dword [ecx], xmm2
mov ecx, esi
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x10], xmm1
push eax
movss dword [esi + 8], xmm1
movss dword [edi], xmm2
call fcn.1002eb00
add esp, 0x18
jmp 0x1002f557
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], edi
cmp eax, 1
jl case.default.0x1002fb1e
movss xmm2, dword [esi + 8]
lea ecx, [esi + 0xc]
ucomiss xmm2, dword [esi + 0x10]
lea edi, [esi + 0x14]
mov dword [esp + 0x10], ecx
movss xmm1, dword [esp + eax*4 + 0xa4]
lahf
test ah, 0x44
jp 0x1002f0e5
movss xmm0, dword [ecx]
ucomiss xmm0, dword [edi]
lahf
test ah, 0x44
jnp 0x1002f107
cvttss2si eax, dword [ecx]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, esi
push eax
cvttss2si eax, xmm2
push eax
call fcn.1002eb00
mov ecx, dword [esp + 0x28]
add esp, 0x18
addss xmm1, dword [edi]
movss xmm0, dword [esi + 0x10]
mov dl, 1
push 0
push 0
addss xmm0, xmm6
cvttss2si eax, xmm1
push 0
push 0
movss dword [ecx], xmm1
mov ecx, esi
push eax
cvttss2si eax, xmm0
movss dword [esi + 0x10], xmm0
push eax
movss dword [esi + 8], xmm0
movss dword [edi], xmm1
call fcn.1002eb00
add esp, 0x18
jmp 0x1002f55d
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], edi
cmp eax, 1
jl case.default.0x1002fb1e
movss xmm2, dword [esi + 8]
lea ecx, [esi + 0xc]
ucomiss xmm2, dword [esi + 0x10]
lea edi, [esi + 0x14]
mov dword [esp + 0x10], ecx
movss xmm1, dword [esp + eax*4 + 0xa4]
lahf
test ah, 0x44
jp 0x1002f189
movss xmm0, dword [ecx]
ucomiss xmm0, dword [edi]
lahf
test ah, 0x44
jnp 0x1002f1ab
cvttss2si eax, dword [ecx]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, esi
push eax
cvttss2si eax, xmm2
push eax
call fcn.1002eb00
mov ecx, dword [esp + 0x28]
add esp, 0x18
movss xmm0, dword [edi]
mov dl, 1
addss xmm1, dword [esi + 0x10]
addss xmm0, xmm6
push 0
push 0
push 0
push 0
cvttss2si eax, xmm0
movss dword [ecx], xmm0
mov ecx, esi
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x10], xmm1
push eax
movss dword [esi + 8], xmm1
movss dword [edi], xmm0
call fcn.1002eb00
add esp, 0x18
jmp 0x1002f55d
cmp dword [esp + 0xc], 2
jl case.default.0x1002fb1e
mov dword [esp + 0x10], 1
lea edi, [esp + 0xac]
nop word [eax + eax]
movss xmm0, dword [esi + 0x14]
mov dl, 2
addss xmm0, dword [edi]
movss xmm1, dword [edi - 4]
mov ecx, esi
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
call fcn.1002eb00
mov eax, dword [esp + 0x28]
add esp, 0x18
add eax, 2
add edi, 8
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0xc]
jl 0x1002f210
jmp 0x1002f55d
mov eax, dword [esp + 0xc]
cmp eax, 1
jl case.default.0x1002fb1e
lea ecx, [esi + 0x10]
jmp 0x1002f2ce
cmp dword [esp + 0xc], 1
jl case.default.0x1002fb1e
lea eax, [esi + 0x10]
mov dword [esp + 0x10], eax
movss xmm0, dword [esi + 0x14]
mov dl, 2
movss xmm1, dword [esp + edi*4 + 0xa8]
addss xmm0, xmm6
addss xmm1, dword [eax]
push 0
push 0
push 0
push 0
movss dword [eax], xmm1
mov ecx, esi
cvttss2si eax, xmm0
movss dword [esi + 0x14], xmm0
push eax
cvttss2si eax, xmm1
push eax
call fcn.1002eb00
mov eax, dword [esp + 0x24]
add esp, 0x18
mov ecx, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], ecx
cmp edi, eax
jge 0x1002f55d
movss xmm0, dword [esp + edi*4 + 0xa8]
mov dl, 2
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [ecx]
push 0
push 0
addss xmm1, xmm6
cvttss2si eax, xmm0
push 0
push 0
movss dword [ecx], xmm1
mov ecx, esi
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
push eax
call fcn.1002eb00
inc edi
add esp, 0x18
cmp edi, dword [esp + 0xc]
jge 0x1002f55d
mov eax, dword [esp + 0x10]
jmp 0x1002f288
cmp dword [esp + 0xc], 4
jl case.default.0x1002fb1e
lea edx, [esi + 0x10]
jmp 0x1002f3ec
mov eax, dword [esp + 0xc]
cmp eax, 4
jl case.default.0x1002fb1e
lea edx, [esi + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edx
sub eax, edi
mov ecx, edi
cmp eax, 5
jne 0x1002f36a
movss xmm7, dword [esp + ecx*4 + 0xb8]
jmp 0x1002f36d
movaps xmm7, xmm6
movss xmm4, dword [esp + ecx*4 + 0xa8]
addss xmm4, dword [esi + 0x14]
mov eax, dword [esp + 0x18]
movss xmm5, dword [eax]
movaps xmm0, xmm4
addss xmm0, dword [esp + ecx*4 + 0xb0]
addss xmm5, xmm6
cvttss2si eax, xmm0
movaps xmm2, xmm5
movaps xmm1, xmm0
addss xmm2, dword [esp + ecx*4 + 0xac]
push eax
addss xmm1, xmm7
cvttss2si eax, xmm2
movaps xmm3, xmm2
movss dword [esi + 0x14], xmm1
addss xmm3, dword [esp + ecx*4 + 0xb8]
push eax
cvttss2si eax, xmm4
mov ecx, esi
movss dword [edx], xmm3
mov dl, 4
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1002eb00
mov edx, dword [esp + 0x28]
add esp, 0x18
add edi, 4
mov ecx, dword [esp + 0xc]
lea eax, [edi + 3]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edx
cmp eax, ecx
jge 0x1003007b
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x1002f417
movss xmm1, dword [esp + edi*4 + 0xb8]
jmp 0x1002f41a
movaps xmm1, xmm6
movss xmm5, dword [esp + edi*4 + 0xa8]
mov ecx, esi
addss xmm5, dword [edx]
movss xmm4, dword [esi + 0x14]
mov dl, 4
mov eax, dword [esp + 0x18]
addss xmm4, xmm6
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xac]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xb0]
movaps xmm3, xmm2
addss xmm3, xmm1
movaps xmm1, xmm0
addss xmm1, dword [esp + edi*4 + 0xb4]
movss dword [eax], xmm3
cvttss2si eax, xmm0
movss dword [esi + 0x14], xmm1
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
call fcn.1002eb00
mov ecx, dword [esp + 0x24]
add edi, 4
mov edx, dword [esp + 0x28]
add esp, 0x18
mov dword [esp + 0x18], edx
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1003007b
mov eax, ecx
jmp 0x1002f356
cmp dword [esp + 0xc], 6
jl case.default.0x1002fb1e
mov dword [esp + 0x18], 5
lea edi, [esp + 0xac]
nop dword [eax]
movss xmm4, dword [esi + 0x14]
mov dl, 4
addss xmm4, dword [edi]
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.1002eb00
mov eax, dword [esp + 0x30]
add esp, 0x18
add eax, 6
add edi, 0x18
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0xc]
jl 0x1002f4d0
movss xmm5, dword [esp + 0x30]
movss xmm4, dword [esp + 0x38]
movss xmm3, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
movss xmm1, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
movss xmm2, dword [esp + 0x70]
xor eax, eax
cmp dword [esp + 0x64], eax
cmove eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
jmp 0x1002ef42
mov eax, dword [esp + 0xc]
cmp eax, 8
jl case.default.0x1002fb1e
add eax, 0xfffffffe
mov dword [esp + 0x10], eax
cmp eax, 5
jle 0x1002f66a
mov dword [esp + 0x18], 5
nop word [eax + eax]
movss xmm4, dword [esp + edi*4 + 0xac]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xa8]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xb4]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xb0]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0xc0]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xbc]
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.1002eb00
mov eax, dword [esp + 0x30]
add esp, 0x18
add eax, 6
add edi, 6
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x10]
jl 0x1002f5c0
movss xmm4, dword [esp + 0x38]
movss xmm3, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x30]
lea eax, [edi + 1]
cmp eax, dword [esp + 0xc]
jge case.default.0x1002fb1e
movss xmm0, dword [esp + edi*4 + 0xac]
mov dl, 2
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0xa8]
mov ecx, esi
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
call fcn.1002eb00
add esp, 0x18
jmp 0x1002f55d
mov eax, dword [esp + 0xc]
cmp eax, 8
jl case.default.0x1002fb1e
add eax, 0xfffffffa
mov dword [esp + 0x10], eax
cmp eax, 1
jle 0x1002f748
mov dword [esp + 0x18], 1
nop dword [eax]
nop word [eax + eax]
movss xmm0, dword [esp + edi*4 + 0xac]
mov dl, 2
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0xa8]
mov ecx, esi
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
call fcn.1002eb00
mov eax, dword [esp + 0x30]
add esp, 0x18
add eax, 2
add edi, 2
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x10]
jl 0x1002f6f0
lea eax, [edi + 5]
cmp eax, dword [esp + 0xc]
jge case.default.0x1002fb1e
movss xmm4, dword [esp + edi*4 + 0xac]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xa8]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xb4]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xb0]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0xc0]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xbc]
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.1002eb00
add esp, 0x18
jmp 0x1002f54b
mov eax, dword [esp + 0xc]
cmp eax, 4
jl case.default.0x1002fb1e
mov edi, eax
movaps xmm1, xmm6
and edi, 1
je 0x1002f7f4
movaps xmm1, xmm4
lea ecx, [edi + 3]
mov dword [esp + 0x18], ecx
cmp ecx, eax
jge 0x1002f567
lea edi, [esp + edi*4 + 0xb0]
nop word [eax + eax]
cmp dword [esp + 0x10], 0x1b
movss xmm7, dword [esi + 0x10]
movss xmm4, dword [esi + 0x14]
movss xmm2, dword [edi]
movss xmm0, dword [edi - 8]
movss xmm5, dword [edi - 4]
jne 0x1002f853
addss xmm4, xmm1
addss xmm0, xmm7
movaps xmm1, xmm4
addss xmm1, xmm2
addss xmm5, xmm0
movaps xmm3, xmm1
movaps xmm2, xmm5
addss xmm3, xmm6
addss xmm2, dword [edi + 4]
jmp 0x1002f878
addss xmm7, xmm1
addss xmm4, xmm0
movaps xmm0, xmm7
movaps xmm1, xmm4
addss xmm5, xmm0
addss xmm1, xmm2
movaps xmm2, xmm5
movaps xmm3, xmm1
addss xmm2, xmm6
addss xmm3, dword [edi + 4]
cvttss2si eax, xmm1
mov dl, 4
mov ecx, esi
movss dword [esi + 0x10], xmm2
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm3
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm3
push eax
cvttss2si eax, xmm2
push eax
call fcn.1002eb00
mov ecx, dword [esp + 0x30]
add esp, 0x18
add ecx, 4
add edi, 0x10
movaps xmm1, xmm6
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0xc]
jl 0x1002f810
movss xmm7, dword [esp + 0x3c]
jmp 0x1002f54b
cmp dword [esp + 0x74], edi
jne case.0x1002ef97.29
mov eax, dword [esp + 0x78]
cmp dword [eax + 0x78], edi
je 0x1002f911
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x168]
push ecx
mov ecx, eax
call fcn.1002ec20
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x8c], xmm0
mov dword [esp + 0x94], eax
mov dword [esp + 0x74], 1
mov eax, dword [esp + 0xc]
cmp eax, 1
jl case.default.0x1002fb1e
mov edx, dword [esp + 0x5c]
dec eax
mov dword [esp + 0xc], eax
cmp edx, 0xa
jge case.default.0x1002fb1e
movq xmm0, qword [esp + 0x48]
lea eax, [edx + edx*2]
mov ecx, dword [esp + 0x14]
inc edx
cmp dword [esp + 0x10], 0xa
movq qword [esp + eax*4 + 0x188], xmm0
mov dword [esp + eax*4 + 0x190], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], edx
cvttss2si edi, dword [esp + eax*4 + 0xa8]
jne 0x1002f977
lea edx, [esp + 0x8c]
jmp 0x1002f97e
mov edx, dword [esp + 0x78]
add edx, 0x4c
movq xmm0, qword [edx]
xor ecx, ecx
mov edx, dword [edx + 8]
mov eax, edx
test edx, edx
movq qword [esp + 0x200], xmm0
mov dword [esp + 0x18], edx
cmovns eax, ecx
mov dword [esp + 0x204], eax
cmp eax, edx
jl 0x1002f9aa
xor cl, cl
jmp 0x1002f9bc
mov ecx, dword [esp + 0x200]
mov cl, byte [ecx + eax]
inc eax
mov dword [esp + 0x204], eax
movzx ecx, cl
cmp eax, edx
jl 0x1002f9c7
xor al, al
jmp 0x1002f9e5
mov edx, dword [esp + 0x200]
mov dl, byte [edx + eax]
inc eax
mov byte [esp + 0x27], dl
mov edx, dword [esp + 0x18]
mov dword [esp + 0x204], eax
mov al, byte [esp + 0x27]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x1002fa01
mov eax, 0x8000
jmp 0x1002fa0f
cmp ecx, 0x4d8
cmovae eax, dword [esp + 0x84]
add edi, eax
js 0x1002fa50
cmp edi, ecx
jge 0x1002fa50
movq xmm0, qword [esp + 0x200]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], edx
lea eax, [esp + 0x184]
push eax
call fcn.1002d0d0
add esp, 0x10
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movq qword [esp + 0x98], xmm0
jmp 0x1002fa71
mov dword [esp + 0x98], 0
xor edi, edi
mov dword [esp + 0x9c], 0
movq xmm0, qword [esp + 0x98]
mov dword [esp + 0x14], edi
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x50], edi
test edi, edi
je case.default.0x1002fb1e
mov eax, dword [esp + 0x48]
xor edx, edx
movss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x64], edx
mov dword [esp + 0x34], eax
jmp 0x1002f571
mov eax, dword [esp + 0x5c]
test eax, eax
jle case.default.0x1002fb1e
dec eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x6c]
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0x17c]
mov edi, dword [esp + eax*4 + 0x184]
movq qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
movss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x34], eax
jmp 0x1002f571
mov edi, dword [esp + 0x14]
cmp ecx, edi
jl 0x1002fb01
xor dl, dl
jmp 0x1002fb0f
mov eax, dword [esp + 0x34]
mov dl, byte [eax + ecx]
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
movzx eax, dl
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x1002fb1e
jmp dword [eax*4 + 0x10030188]
cmp dword [esp + 0xc], 7
jl case.default.0x1002fb1e
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.1002eb00
movss xmm4, dword [esi + 0x14]
movss xmm3, dword [esp + 0x5c]
addss xmm4, xmm6
addss xmm3, dword [esi + 0x10]
movss xmm5, dword [esp + 0x48]
movss xmm1, dword [esp + 0x44]
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x34]
addss xmm5, xmm3
movaps xmm2, xmm0
addss xmm1, xmm5
addss xmm2, xmm6
jmp 0x1002fe72
cmp dword [esp + 0xc], 0xd
jl case.default.0x1002fb1e
movaps xmm5, xmm4
movss xmm3, dword [esp + 0x44]
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 + 0x30]
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.1002eb00
movss xmm3, dword [esp + 0x44]
movss xmm4, dword [esp + 0x58]
addss xmm3, dword [esi + 0x10]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + 0x78]
movss xmm0, dword [esp + 0x80]
movss xmm1, dword [esp + 0x88]
movss xmm2, dword [esp + 0xec]
addss xmm5, xmm3
addss xmm0, xmm4
addss xmm1, xmm5
addss xmm2, xmm0
jmp 0x1002fe72
cmp dword [esp + 0xc], 9
jl case.default.0x1002fb1e
movaps xmm5, xmm4
movss xmm3, dword [esp + 0x44]
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.1002eb00
movss xmm4, dword [esi + 0x14]
movss xmm0, dword [esp + 0x38]
addss xmm4, xmm6
movss xmm3, dword [esp + 0x48]
addss xmm0, xmm7
addss xmm3, dword [esi + 0x10]
movss xmm2, dword [esp + 0x58]
movss xmm5, dword [esp + 0x44]
movss xmm1, dword [esp + 0x78]
addss xmm2, xmm4
addss xmm0, dword [esp + 0x58]
addss xmm5, xmm3
movss dword [esp + 0x84], xmm2
subss xmm2, xmm0
movss xmm0, dword [esp + 0x84]
addss xmm1, xmm5
jmp 0x1002fe72
cmp dword [esp + 0xc], 0xb
jl case.default.0x1002fb1e
movaps xmm7, xmm2
movaps xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0x18], xmm7
addss xmm2, dword [esp + 0x44]
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x3c]
addss xmm2, dword [esp + 0x60]
addss xmm3, xmm5
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x40]
andps xmm1, xmmword [0x100aee00]
addss xmm3, dword [esp + 0x68]
movaps xmm0, xmm3
andps xmm0, xmmword [0x100aee00]
comiss xmm1, xmm0
jbe 0x1002fdb3
movaps xmm7, xmm3
xorps xmm7, xmmword [0x100aee30]
jmp 0x1002fdc3
movaps xmm0, xmm2
xorps xmm0, xmmword [0x100aee30]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x20]
movaps xmm5, xmm4
movss xmm4, dword [esp + 0x3c]
mov dl, 4
addss xmm4, dword [esi + 0x14]
addss xmm5, dword [esi + 0x10]
movss xmm2, dword [esp + 0x1c]
mov ecx, esi
movss xmm1, dword [esp + 0x30]
movss xmm3, dword [esp + 0x44]
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.1002eb00
movss xmm4, dword [esp + 0x58]
movss xmm3, dword [esp + 0x44]
addss xmm4, dword [esi + 0x14]
addss xmm3, dword [esi + 0x10]
movss xmm0, dword [esp + 0x80]
movss xmm5, dword [esp + 0x78]
addss xmm0, xmm4
addss xmm5, xmm3
movaps xmm2, xmm0
movaps xmm1, xmm5
addss xmm2, xmm7
addss xmm1, dword [esp + 0x30]
movss xmm7, dword [esp + 0x54]
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.1002eb00
movss xmm4, dword [esp + 0x50]
add esp, 0x18
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x20]
movss xmm3, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
jmp 0x1002f571
mov eax, dword [esp + 0x10]
cmp eax, 0xff
je 0x1002ff2d
cmp eax, 0x1c
je 0x1002feee
add eax, 0xffffffe0
cmp eax, 0xde
ja case.default.0x1002fb1e
mov ecx, dword [esp + 0x14]
dec edx
cmp edx, ecx
jg 0x1002feff
mov dword [esp + 0x4c], edx
test edx, edx
jns 0x1002ff03
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
call fcn.1002cdc0
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
cwde
mov dword [esp + 0x14], edi
movd xmm0, eax
mov eax, dword [esp + 0x48]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x34], eax
jmp 0x1002ffae
mov edi, dword [esp + 0x14]
cmp ecx, edi
jl 0x1002ff40
mov eax, dword [esp + 0x88]
xor cl, cl
jmp 0x1002ff54
mov eax, dword [esp + 0x34]
lea edx, [ecx + 1]
mov al, byte [eax + ecx]
mov byte [esp + 0x27], al
mov eax, edx
mov cl, byte [esp + 0x27]
movzx ecx, cl
cmp eax, edi
jl 0x1002ff5f
xor al, al
jmp 0x1002ff67
mov eax, dword [esp + 0x34]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x1002ff77
xor al, al
jmp 0x1002ff7f
mov eax, dword [esp + 0x34]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x1002ff8f
xor al, al
jmp 0x1002ff97
mov eax, dword [esp + 0x34]
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 [0x100ae8d8]
mov eax, dword [esp + 0xc]
cmp eax, 0x30
jge case.default.0x1002fb1e
movss dword [esp + eax*4 + 0xa8], xmm0
inc eax
movss xmm0, dword [esp + 0xd0]
movss xmm3, dword [esp + 0xc0]
movss xmm5, dword [esp + 0xbc]
movss xmm2, dword [esp + 0xb8]
movss xmm1, dword [esp + 0xb4]
movss xmm7, dword [esp + 0xac]
movss xmm4, dword [esp + 0xa8]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xb0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x64], 0
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x3c], xmm7
movss dword [esp + 0x38], xmm4
jmp 0x1002f571
movss xmm4, dword [esp + 0x38]
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x20]
movss xmm7, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
jmp 0x1002f575
movss xmm1, dword [esi + 8]
ucomiss xmm1, dword [esi + 0x10]
lahf
test ah, 0x44
jp 0x100300ca
movss xmm0, dword [esi + 0xc]
ucomiss xmm0, dword [esi + 0x14]
lahf
test ah, 0x44
jnp 0x100300e9
cvttss2si eax, dword [esi + 0xc]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, esi
push eax
cvttss2si eax, xmm1
push eax
call fcn.1002eb00
add esp, 0x18
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.1007dbea
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.1007dbea
mov esp, ebp
pop ebp
ret