Function at 0x100563e0
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x10150380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebx + 8]
push edi
mov edi, edx
mov dword [ebp - 0x1b4], esi
mov edx, ecx
mov dword [ebp - 0x1c4], edi
sub esp, 0xc
mov dword [ebp - 0x1b0], edx
mov ecx, esp
mov dword [ebp - 0x184], 1
mov dword [ebp - 0x180], 0
movq xmm0, qword [edx + 0x58]
mov eax, dword [edx + 0x60]
movq qword [ebp - 0x1d8], xmm0
movq xmm0, qword [edx + 0x40]
mov dword [ebp - 0x1d0], eax
mov eax, dword [edx + 0x48]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x1e8]
push eax
mov ecx, edi
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x1ac], 0
call fcn.10054880
movss xmm1, dword [ebp - 0xa4]
add esp, 0x10
movss xmm2, dword [ebp - 0xa0]
movss xmm7, dword [ebp - 0xb0]
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movss xmm3, dword [ebp - 0xb8]
movss xmm6, dword [ebp - 0xbc]
movss xmm5, dword [ebp - 0xc0]
movss xmm4, dword [ebp - 0xc8]
movss dword [ebp - 0x1a0], xmm1
movss xmm1, dword [ebp - 0xa8]
movss dword [ebp - 0x19c], xmm1
movss xmm1, dword [ebp - 0xac]
movss dword [ebp - 0x18c], xmm1
movss xmm1, dword [ebp - 0xb4]
movq qword [ebp - 0x198], xmm0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x198]
mov edx, dword [ebp - 0x194]
movss dword [ebp - 0x17c], xmm1
movss xmm1, dword [ebp - 0xc4]
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x1c8], 0x46b
mov dword [ebp - 0x168], eax
movss dword [ebp - 0x1a4], xmm2
movss dword [ebp - 0x178], xmm7
movss dword [ebp - 0x158], xmm3
movss dword [ebp - 0x16c], xmm6
movss dword [ebp - 0x15c], xmm5
movss dword [ebp - 0x150], xmm1
movss dword [ebp - 0x164], xmm4
nop dword [eax + eax]
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x1a8], ecx
cmp edx, edi
jge case.default.0x1005732e
mov al, byte [eax + edx]
xor edi, edi
movzx eax, al
inc edx
mov ecx, edx
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x1cc], ecx
lea esi, [eax - 1]
mov dword [ebp - 0x194], edx
mov dword [ebp - 0x160], esi
cmp esi, 0x1e
mov esi, dword [ebp - 0x1b4]
mov dword [ebp - 0x14c], eax
ja case.default.0x100565e6
mov eax, dword [ebp - 0x160]
movzx eax, byte [eax + 0x10057970]
jmp dword [eax*4 + 0x10057920]
cmp dword [ebp - 0x184], edi
je 0x10056610
mov eax, dword [ebp - 0x144]
cdq
sub eax, edx
mov edx, dword [ebp - 0x180]
sar eax, 1
add edx, eax
mov dword [ebp - 0x180], edx
jmp 0x10056616
mov edx, dword [ebp - 0x180]
lea eax, [edx + 7]
mov dword [ebp - 0x184], edi
mov edi, dword [ebp - 0x148]
cdq
and edx, 7
add edx, eax
sar edx, 3
add edx, ecx
cmp edx, edi
jg 0x1005663c
test edx, edx
jns 0x10056c44
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [ebp - 0x144]
cdq
sub eax, edx
mov edx, dword [ebp - 0x154]
sar eax, 1
add dword [ebp - 0x180], eax
jmp 0x10056c3e
cmp dword [ebp - 0x144], 2
mov dword [ebp - 0x184], edi
jl case.default.0x1005732e
mov ecx, esi
call fcn.100561c0
mov eax, dword [ebp - 0x144]
movss xmm1, dword [ebp + eax*4 - 0xd0]
addss xmm1, dword [esi + 0x10]
movss xmm0, dword [ebp + 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 0x100566e1
push edi
mov ecx, esi
call fcn.100560c0
movss xmm1, dword [ebp - 0x150]
add esp, 4
inc dword [esi + 0x2c]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x154]
jmp 0x10056c3e
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 [ebp - 0x150]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x154]
jmp 0x10056c3e
cmp dword [ebp - 0x144], 1
mov dword [ebp - 0x184], edi
jl case.default.0x1005732e
mov ecx, esi
call fcn.100561c0
movss xmm1, dword [esi + 0x10]
mov eax, dword [ebp - 0x144]
jmp 0x1005668e
cmp dword [ebp - 0x144], 1
mov dword [ebp - 0x184], edi
jl case.default.0x1005732e
mov ecx, esi
call fcn.100561c0
mov eax, dword [ebp - 0x144]
movss xmm0, dword [esi + 0x14]
movss xmm1, dword [ebp + eax*4 - 0xcc]
addss xmm1, dword [esi + 0x10]
jmp 0x1005669c
cmp dword [ebp - 0x144], 2
jl case.default.0x1005732e
mov ecx, dword [esi + 0x2c]
lea edi, [ebp - 0xc4]
mov dword [ebp - 0x14c], 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 0x10056809
push edx
mov edx, eax
mov ecx, esi
call fcn.100560c0
add esp, 4
jmp 0x10056856
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 [ebp - 0x14c]
add edi, 8
inc dword [esi + 0x2c]
add eax, 2
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0x14c], eax
cmp eax, dword [ebp - 0x144]
jl 0x100567d0
movss xmm1, dword [ebp - 0x150]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x154]
jmp 0x10056c3e
mov eax, dword [ebp - 0x144]
cmp eax, 1
jge 0x10056953
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1010fe2d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [ebp - 0x144], 1
jl case.default.0x1005732e
cmp dword [esi], 0
movss xmm1, dword [ebp + edi*4 - 0xc8]
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 0x100568f6
push edx
mov edx, eax
mov ecx, esi
call fcn.100560c0
add esp, 4
jmp 0x10056949
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 [ebp - 0x144]
cmp edi, eax
jge 0x1005672f
cmp dword [esi], 0
movss xmm0, dword [ebp + edi*4 - 0xc8]
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 0x10056994
push edx
mov edx, eax
mov ecx, esi
call fcn.100560c0
add esp, 4
jmp 0x100569e7
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 [ebp - 0x144]
jl 0x100568bd
movss xmm1, dword [ebp - 0x150]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x154]
jmp 0x10056c3e
cmp dword [ebp - 0x144], 4
jl case.default.0x1005732e
jmp 0x10056abb
mov eax, dword [ebp - 0x144]
cmp eax, 4
jl case.default.0x1005732e
sub eax, edi
cmp eax, 5
jne 0x10056a40
movss xmm6, dword [ebp + edi*4 - 0xb8]
jmp 0x10056a43
movaps xmm6, xmm0
movss xmm4, dword [ebp + edi*4 - 0xc8]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esi + 0x10]
mov ecx, esi
movaps xmm2, xmm5
addss xmm2, dword [ebp + edi*4 - 0xc4]
movaps xmm0, xmm4
addss xmm0, dword [ebp + edi*4 - 0xc0]
movaps xmm3, xmm2
addss xmm3, dword [ebp + edi*4 - 0xbc]
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.10056130
add esp, 0x18
xorps xmm0, xmm0
add edi, 4
mov ecx, dword [ebp - 0x144]
lea eax, [edi + 3]
cmp eax, ecx
jge 0x100578c6
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x10056ae0
movss xmm1, dword [ebp + edi*4 - 0xb8]
jmp 0x10056ae3
movaps xmm1, xmm0
movss xmm4, dword [esi + 0x14]
mov dl, 4
movss xmm5, dword [ebp + edi*4 - 0xc8]
movaps xmm0, xmm4
addss xmm5, dword [esi + 0x10]
addss xmm0, dword [ebp + edi*4 - 0xc0]
mov ecx, esi
movaps xmm2, xmm5
addss xmm2, dword [ebp + edi*4 - 0xc4]
cvttss2si eax, xmm0
movaps xmm3, xmm2
push eax
cvttss2si eax, xmm2
addss xmm3, xmm1
movaps xmm1, xmm0
addss xmm1, dword [ebp + 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.10056130
mov ecx, dword [ebp - 0x144]
add edi, 4
add esp, 0x18
xorps xmm0, xmm0
lea eax, [edi + 3]
cmp eax, ecx
jge 0x100578c6
mov eax, ecx
jmp 0x10056a2e
cmp dword [ebp - 0x144], 6
jl case.default.0x1005732e
mov dword [ebp - 0x14c], 5
lea edi, [ebp - 0xc4]
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.10056130
mov eax, dword [ebp - 0x14c]
add esp, 0x18
add eax, 6
add edi, 0x18
mov dword [ebp - 0x14c], eax
cmp eax, dword [ebp - 0x144]
jl 0x10056b90
xorps xmm0, xmm0
movss xmm1, dword [ebp - 0x150]
movss xmm5, dword [ebp - 0x15c]
movss xmm4, dword [ebp - 0x164]
mov edx, dword [ebp - 0x154]
movss xmm3, dword [ebp - 0x158]
mov edi, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x144]
movss xmm2, dword [ebp - 0x1a4]
xor eax, eax
cmp dword [ebp - 0x170], eax
cmove eax, ecx
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x168]
jmp 0x10056580
mov eax, dword [ebp - 0x144]
cmp eax, 8
jl case.default.0x1005732e
add eax, 0xfffffffe
mov dword [ebp - 0x160], eax
cmp eax, 5
jle 0x10056d67
mov dword [ebp - 0x14c], 5
nop dword [eax]
movss xmm4, dword [ebp + edi*4 - 0xc4]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [ebp + edi*4 - 0xc8]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [ebp + edi*4 - 0xbc]
movaps xmm2, xmm5
addss xmm2, dword [ebp + edi*4 - 0xc0]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [ebp + edi*4 - 0xb4]
cvttss2si eax, xmm2
addss xmm3, dword [ebp + edi*4 - 0xb8]
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.10056130
mov eax, dword [ebp - 0x14c]
add edi, 6
add eax, 6
add esp, 0x18
mov ecx, edi
mov dword [ebp - 0x14c], eax
cmp eax, dword [ebp - 0x160]
jl 0x10056ca0
lea eax, [ecx + 1]
cmp eax, dword [ebp - 0x144]
jge case.default.0x1005732e
movss xmm4, dword [ebp - 0x164]
movss xmm5, dword [ebp - 0x15c]
movss xmm3, dword [ebp - 0x158]
cmp dword [esi], 0
movss xmm1, dword [ebp + edi*4 - 0xc8]
movss xmm0, dword [ebp + edi*4 - 0xc4]
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 0x100566bd
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 0x100566f5
mov eax, dword [ebp - 0x144]
cmp eax, 8
jl case.default.0x1005732e
add eax, 0xfffffffa
mov dword [ebp - 0x160], eax
cmp eax, 1
jle 0x10056eb4
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0x14c], 1
nop word [eax + eax]
cmp dword [esi], 0
movss xmm1, dword [ebp + edi*4 - 0xc8]
movss xmm0, dword [ebp + edi*4 - 0xc4]
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 0x10056e32
push edx
mov edx, eax
mov ecx, esi
call fcn.100560c0
add esp, 4
jmp 0x10056e7f
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 [ebp - 0x14c]
add edi, 2
inc dword [esi + 0x2c]
add eax, 2
mov edx, edi
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0x14c], eax
cmp eax, dword [ebp - 0x160]
jl 0x10056df0
lea eax, [edx + 5]
cmp eax, dword [ebp - 0x144]
jge case.default.0x1005732e
movss xmm4, dword [ebp + edi*4 - 0xc4]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [ebp + edi*4 - 0xc8]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [ebp + edi*4 - 0xbc]
movaps xmm2, xmm5
addss xmm2, dword [ebp + edi*4 - 0xc0]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [ebp + edi*4 - 0xb4]
cvttss2si eax, xmm2
addss xmm3, dword [ebp + edi*4 - 0xb8]
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.10056130
add esp, 0x18
jmp 0x10056c15
mov eax, dword [ebp - 0x144]
cmp eax, 4
jl case.default.0x1005732e
mov edi, eax
movaps xmm3, xmm0
and edi, 1
je 0x10056f55
movaps xmm3, xmm4
lea ecx, [edi + 3]
mov dword [ebp - 0x160], ecx
cmp ecx, eax
jge 0x10056c36
lea eax, [esi + 0x10]
lea ecx, [esi + 0x14]
lea edi, [ebp + edi*4 - 0xc0]
nop dword [eax]
nop word [eax + eax]
cmp dword [ebp - 0x14c], 0x1b
movss xmm4, dword [eax]
movss xmm2, dword [ecx]
movss xmm7, dword [edi]
movss xmm1, dword [edi - 8]
movss xmm0, dword [edi - 4]
movss xmm6, dword [edi + 4]
jne 0x10056fc6
addss xmm1, xmm4
addss xmm2, xmm3
movaps xmm4, xmm1
addss xmm4, xmm0
movaps xmm0, xmm2
addss xmm0, xmm7
addss xmm6, xmm4
movaps xmm5, xmm0
movaps xmm3, xmm6
jmp 0x10056fe9
addss xmm4, xmm3
addss xmm2, xmm1
movaps xmm3, xmm4
movaps xmm1, xmm4
addss xmm3, xmm0
movaps xmm5, xmm2
addss xmm5, xmm7
movaps xmm0, xmm6
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.10056130
mov ecx, dword [ebp - 0x160]
lea eax, [esi + 0x10]
add ecx, 4
add esp, 0x18
add edi, 0x10
mov dword [ebp - 0x160], ecx
cmp ecx, dword [ebp - 0x144]
xorps xmm0, xmm0
xorps xmm3, xmm3
lea ecx, [esi + 0x14]
jl 0x10056f80
movss xmm6, dword [ebp - 0x16c]
movss xmm7, dword [ebp - 0x178]
jmp 0x10056c18
cmp dword [ebp - 0x1ac], edi
jne case.0x100565e6.29
mov eax, dword [ebp - 0x1b0]
cmp dword [eax + 0x78], edi
je 0x10057099
mov edx, dword [ebp - 0x1c4]
lea ecx, [ebp - 0x1f8]
push ecx
mov ecx, eax
call fcn.10056230
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x1d8], xmm0
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1ac], 1
mov eax, dword [ebp - 0x144]
cmp eax, 1
jl case.default.0x1005732e
mov edx, dword [ebp - 0x188]
dec eax
mov dword [ebp - 0x144], eax
cmp edx, 0xa
jge case.default.0x1005732e
movq xmm0, qword [ebp - 0x198]
lea eax, [edx + edx*2]
mov ecx, dword [ebp - 0x148]
inc edx
cmp dword [ebp - 0x14c], 0xa
movq qword [ebp + eax*4 - 0x140], xmm0
mov dword [ebp + eax*4 - 0x138], ecx
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x188], edx
cvttss2si edi, dword [ebp + eax*4 - 0xc8]
jne 0x10057110
lea edx, [ebp - 0x1d8]
jmp 0x10057119
mov eax, dword [ebp - 0x1b0]
lea edx, [eax + 0x4c]
movq xmm0, qword [edx]
mov edx, dword [edx + 8]
movq qword [ebp - 0x1c0], xmm0
test edx, edx
js 0x1005663c
mov dword [ebp - 0x1bc], 0
jg 0x1005715e
xor al, al
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x170], 1
jmp 0x1005718e
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 0x160], 1
mov dword [ebp - 0x14c], 1
mov al, byte [eax]
mov dword [ebp - 0x170], 2
movzx ecx, al
cmp dword [ebp - 0x160], edx
jl 0x1005719d
xor al, al
jmp 0x100571b8
mov esi, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x14c]
mov al, byte [esi + eax]
mov esi, dword [ebp - 0x170]
mov dword [ebp - 0x1bc], esi
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x100571d4
mov eax, 0x8000
jmp 0x100571e1
cmp ecx, 0x4d8
cmovae eax, dword [ebp - 0x1c8]
add edi, eax
js 0x10057217
cmp edi, ecx
jge 0x10057217
movq xmm0, qword [ebp - 0x1c0]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], edx
lea eax, [ebp - 0x208]
push eax
call fcn.10054880
add esp, 0x10
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
jmp 0x10057231
xor edi, edi
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], edi
movq xmm0, qword [ebp - 0x1e8]
mov dword [ebp - 0x148], edi
movq qword [ebp - 0x198], xmm0
mov dword [ebp - 0x190], edi
test edi, edi
je case.default.0x1005732e
mov eax, dword [ebp - 0x198]
xor edx, edx
movss xmm4, dword [ebp - 0x164]
xorps xmm0, xmm0
movss xmm5, dword [ebp - 0x15c]
movss xmm6, dword [ebp - 0x16c]
movss xmm1, dword [ebp - 0x150]
movss xmm7, dword [ebp - 0x178]
movss xmm3, dword [ebp - 0x158]
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x168], eax
jmp 0x10056c44
mov eax, dword [ebp - 0x188]
test eax, eax
jle case.default.0x1005732e
dec eax
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x1a8]
lea eax, [eax + eax*2]
movq xmm0, qword [ebp + eax*4 - 0x14c]
mov edi, dword [ebp + eax*4 - 0x144]
movq qword [ebp - 0x198], xmm0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x198]
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x168], eax
jmp 0x10056c44
mov edi, dword [ebp - 0x148]
cmp ecx, edi
jl 0x1005730d
xor dl, dl
jmp 0x1005731f
mov eax, dword [ebp - 0x168]
mov dl, byte [eax + ecx]
lea eax, [ecx + 1]
mov dword [ebp - 0x154], eax
movzx eax, dl
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x1005732e
jmp dword [eax*4 + 0x10057990]
cmp dword [ebp - 0x144], 7
jl case.default.0x1005732e
addss xmm4, dword [esi + 0x10]
movss xmm3, dword [esi + 0x14]
movaps xmm0, xmm5
addss xmm0, xmm3
movaps xmm2, xmm6
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.10056130
movss xmm3, dword [ebp - 0x158]
movaps xmm2, xmm7
addss xmm3, dword [esi + 0x10]
movss xmm0, dword [esi + 0x14]
movss xmm4, dword [ebp - 0x17c]
movaps xmm1, xmm0
subss xmm1, xmm5
addss xmm4, xmm3
movaps xmm5, xmm1
addss xmm2, xmm4
jmp 0x10057681
cmp dword [ebp - 0x144], 0xd
jl case.default.0x1005732e
movss xmm2, dword [ebp - 0x15c]
movaps xmm5, xmm4
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm1
movaps xmm0, xmm6
addss xmm4, dword [esi + 0x14]
movss xmm1, dword [ebp - 0x17c]
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.10056130
movss xmm0, dword [ebp - 0x18c]
movaps xmm3, xmm7
addss xmm3, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss xmm4, dword [ebp - 0x19c]
movss xmm5, dword [ebp - 0x1a0]
movss xmm2, dword [ebp - 0x1a4]
movss xmm1, dword [ebp - 0x9c]
addss xmm4, xmm3
addss xmm5, xmm0
addss xmm2, xmm4
addss xmm1, xmm5
jmp 0x10057681
cmp dword [ebp - 0x144], 9
jl case.default.0x1005732e
addss xmm4, dword [esi + 0x10]
movaps xmm3, xmm1
movss xmm2, dword [ebp - 0x158]
addss xmm3, dword [esi + 0x14]
movaps xmm0, xmm6
movaps xmm1, xmm5
mov dl, 4
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.10056130
movss xmm0, dword [esi + 0x14]
movaps xmm4, xmm7
movss xmm5, dword [ebp - 0x18c]
movss xmm3, dword [ebp - 0x17c]
addss xmm5, xmm0
addss xmm3, dword [esi + 0x10]
movss xmm2, dword [ebp - 0x19c]
movss dword [ebp - 0x1a8], xmm0
movaps xmm0, xmm6
addss xmm0, dword [ebp - 0x150]
movaps xmm1, xmm5
addss xmm4, xmm3
addss xmm0, dword [ebp - 0x18c]
addss xmm2, xmm4
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x1a8]
jmp 0x10057681
cmp dword [ebp - 0x144], 0xb
jl case.default.0x1005732e
movaps xmm6, xmm2
movaps xmm2, xmm4
addss xmm2, xmm5
movaps xmm7, xmm6
addss xmm2, xmm3
movss xmm3, dword [ebp - 0x16c]
addss xmm3, xmm1
addss xmm2, dword [ebp - 0x178]
addss xmm3, dword [ebp - 0x17c]
addss xmm2, dword [ebp - 0x19c]
addss xmm3, dword [ebp - 0x18c]
movaps xmm0, xmm2
addss xmm3, dword [ebp - 0x1a0]
call fcn.10003c50
movaps xmm1, xmm0
movaps xmm0, xmm3
call fcn.10003c50
comiss xmm1, xmm0
jbe 0x100575b1
movaps xmm6, xmm3
xorps xmm6, xmmword [0x10145730]
jmp 0x100575bb
movaps xmm7, xmm2
xorps xmm7, xmmword [0x10145730]
movss xmm0, dword [ebp - 0x16c]
movaps xmm5, xmm4
movss xmm4, dword [ebp - 0x150]
mov dl, 4
addss xmm4, dword [esi + 0x14]
addss xmm5, dword [esi + 0x10]
movss xmm2, dword [ebp - 0x15c]
mov ecx, esi
movss xmm1, dword [ebp - 0x17c]
movss xmm3, dword [ebp - 0x158]
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.10056130
movss xmm3, dword [ebp - 0x178]
movss xmm0, dword [ebp - 0x18c]
addss xmm3, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss xmm4, dword [ebp - 0x19c]
movss xmm5, dword [ebp - 0x1a0]
addss xmm4, xmm3
addss xmm5, xmm0
movaps xmm2, xmm4
movaps xmm1, xmm5
addss xmm2, xmm7
movss xmm7, dword [ebp - 0x178]
addss xmm1, xmm6
movss xmm6, dword [ebp - 0x16c]
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.10056130
movss xmm4, dword [ebp - 0x164]
add esp, 0x18
movss xmm5, dword [ebp - 0x15c]
xorps xmm0, xmm0
movss xmm1, dword [ebp - 0x150]
movss xmm3, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
jmp 0x10056c44
mov eax, dword [ebp - 0x14c]
cmp eax, 0xff
je 0x10057757
cmp eax, 0x1c
je 0x10057706
add eax, 0xffffffe0
cmp eax, 0xde
ja case.default.0x1005732e
dec edx
cmp edx, dword [ebp - 0x148]
jg 0x1005663c
test edx, edx
js 0x1005663c
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x194], edx
call fcn.10054560
mov edi, dword [ebp - 0x190]
mov edx, dword [ebp - 0x194]
cwde
mov dword [ebp - 0x148], edi
movd xmm0, eax
mov eax, dword [ebp - 0x198]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x168], eax
jmp 0x100577e5
mov edi, dword [ebp - 0x148]
cmp ecx, edi
jl 0x1005776b
mov eax, dword [ebp - 0x1cc]
xor cl, cl
jmp 0x10057785
mov eax, dword [ebp - 0x168]
lea edx, [ecx + 1]
mov al, byte [eax + ecx]
mov byte [ebp - 0x171], al
mov eax, edx
mov cl, byte [ebp - 0x171]
movzx ecx, cl
cmp eax, edi
jl 0x10057790
xor al, al
jmp 0x1005779a
mov eax, dword [ebp - 0x168]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x100577aa
xor al, al
jmp 0x100577b4
mov eax, dword [ebp - 0x168]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x100577c4
xor al, al
jmp 0x100577ce
mov eax, dword [ebp - 0x168]
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 [0x10144ec8]
mov eax, dword [ebp - 0x144]
cmp eax, 0x30
jge case.default.0x1005732e
movss dword [ebp + eax*4 - 0xc8], xmm0
inc eax
movss xmm0, dword [ebp - 0xa0]
movss xmm7, dword [ebp - 0xb0]
movss xmm2, dword [ebp - 0xb4]
movss xmm3, dword [ebp - 0xb8]
movss xmm6, dword [ebp - 0xbc]
movss xmm5, dword [ebp - 0xc0]
movss xmm1, dword [ebp - 0xc4]
movss xmm4, dword [ebp - 0xc8]
movss dword [ebp - 0x1a4], xmm0
movss xmm0, dword [ebp - 0xa4]
movss dword [ebp - 0x1a0], xmm0
movss xmm0, dword [ebp - 0xa8]
movss dword [ebp - 0x19c], xmm0
movss xmm0, dword [ebp - 0xac]
movss dword [ebp - 0x18c], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x170], 0
movss dword [ebp - 0x178], xmm7
movss dword [ebp - 0x17c], xmm2
movss dword [ebp - 0x158], xmm3
movss dword [ebp - 0x16c], xmm6
movss dword [ebp - 0x15c], xmm5
movss dword [ebp - 0x150], xmm1
movss dword [ebp - 0x164], xmm4
jmp 0x10056c44
movss xmm4, dword [ebp - 0x164]
movss xmm5, dword [ebp - 0x15c]
movss xmm6, dword [ebp - 0x16c]
movss xmm1, dword [ebp - 0x150]
movss xmm3, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
mov edi, dword [ebp - 0x148]
jmp 0x10056c4a
mov ecx, esi
call fcn.100561c0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1010fe2d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret