Function at 0x101254e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
push esi
push edi
mov edi, edx
mov dword [ebp - 0x48], 1
mov edx, ecx
mov dword [ebp - 0x90], edi
sub esp, 0xc
mov dword [ebp - 0x80], edx
mov ecx, esp
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x54], 0
movq xmm0, qword [edx + 0x58]
mov eax, dword [edx + 0x60]
movq qword [ebp - 0xa0], xmm0
movq xmm0, qword [edx + 0x40]
mov dword [ebp - 0x98], eax
mov eax, dword [edx + 0x48]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0xac]
push eax
mov ecx, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], 0
call fcn.101286d0
movss xmm2, dword [ebp - 0x144]
add esp, 0x10
movss xmm3, dword [ebp - 0x154]
movss xmm5, dword [ebp - 0x158]
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movss xmm1, dword [ebp - 0x160]
movss xmm6, dword [ebp - 0x168]
movss xmm4, dword [ebp - 0x16c]
movq qword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x148]
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x14c]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x150]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x15c]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x164]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x94], 0x46b
mov dword [ebp - 0x30], eax
movss dword [ebp - 0x78], xmm2
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x38], xmm6
movss dword [ebp - 0x2c], xmm4
mov ecx, dword [ebp - 0x54]
xorps xmm7, xmm7
mov dword [ebp - 0x20], ecx
cmp edx, edi
jge case.default.0x10126168
mov al, byte [eax + edx]
xor edi, edi
movzx eax, al
inc edx
mov ecx, edx
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x34], ecx
lea esi, [eax - 1]
mov dword [ebp - 0x64], edx
mov dword [ebp - 8], esi
cmp esi, 0x1e
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], eax
ja case.default.0x10125655
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x101266dc]
jmp dword [eax*4 + 0x1012668c]
cmp dword [ebp - 0x48], edi
je 0x10125673
mov eax, dword [ebp - 4]
cdq
sub eax, edx
mov edx, dword [ebp - 0x44]
sar eax, 1
add edx, eax
mov dword [ebp - 0x44], edx
jmp 0x10125676
mov edx, dword [ebp - 0x44]
lea eax, [edx + 7]
mov dword [ebp - 0x48], edi
mov edi, dword [ebp - 0xc]
cdq
and edx, 7
add edx, eax
sar edx, 3
add edx, ecx
cmp edx, edi
jg 0x10125692
test edx, edx
jns 0x101256e7
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [ebp - 4]
cdq
sub eax, edx
mov edx, dword [ebp - 0x1c]
sar eax, 1
add dword [ebp - 0x44], eax
jmp 0x101256e4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], edi
cmp eax, 2
jl case.default.0x10126168
movss xmm2, dword [ebp + eax*4 - 0x170]
movss xmm1, dword [ebp + eax*4 - 0x174]
mov ecx, esi
call fcn.10126a80
movss xmm3, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movss xmm2, dword [ebp - 0x78]
xor eax, eax
cmp dword [ebp - 0x70], eax
cmove eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
jmp 0x1012560a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], edi
cmp eax, 1
jl case.default.0x10126168
movss xmm2, dword [ebp + eax*4 - 0x170]
xorps xmm1, xmm1
jmp 0x101256cb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], edi
cmp eax, 1
jl case.default.0x10126168
movss xmm1, dword [ebp + eax*4 - 0x170]
xorps xmm2, xmm2
jmp 0x101256cb
cmp dword [ebp - 4], 2
jl case.default.0x10126168
mov ecx, dword [esi + 0x2c]
lea edi, [ebp - 0x168]
mov dword [ebp - 0x28], 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 0x10125799
push edx
mov edx, eax
mov ecx, esi
call fcn.10126c00
add esp, 4
jmp 0x101257c1
mov eax, dword [esi + 0x28]
shl ecx, 3
sub ecx, dword [esi + 0x2c]
cvttss2si esi, xmm1
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov byte [eax + ecx*2 + 0xc], 2
mov dword [eax + ecx*2 + 4], edx
mov word [eax + ecx*2], si
mov esi, dword [ebp + 8]
mov dword [eax + ecx*2 + 8], edx
mov eax, dword [ebp - 0x28]
add edi, 8
inc dword [esi + 0x2c]
add eax, 2
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp - 4]
jl 0x10125760
jmp 0x101256d7
mov eax, dword [ebp - 4]
cmp eax, 1
jl case.default.0x10126168
lea edx, [esi + 0x10]
lea ecx, [esi + 0x14]
mov dword [ebp - 0x28], edx
lea edx, [esi + 0x2c]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x74], edx
lea ecx, [esi + 0x28]
jmp 0x101258ab
cmp dword [ebp - 4], 1
jl case.default.0x10126168
lea eax, [esi + 0x14]
lea ecx, [esi + 0x28]
mov dword [ebp - 0x50], eax
lea eax, [esi + 0x2c]
mov dword [ebp - 0x4c], ecx
lea edx, [esi + 0x10]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
lea ecx, [esi + 0x14]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], eax
cmp dword [esi], 0
movss xmm1, dword [ebp + edi*4 - 0x16c]
addss xmm1, dword [edx]
movss xmm0, dword [ecx]
addss xmm0, xmm7
movss dword [edx], xmm1
cvttss2si eax, xmm1
movss dword [ecx], xmm0
cvttss2si edx, xmm0
je 0x1012586a
push edx
mov edx, eax
mov ecx, esi
call fcn.10126c00
add esp, 4
jmp 0x1012589c
mov eax, dword [ebp - 8]
cvttss2si esi, xmm1
mov eax, dword [eax]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov word [eax + ecx*2], si
mov esi, dword [ebp + 8]
mov byte [eax + ecx*2 + 0xc], 2
mov dword [eax + ecx*2 + 4], edx
mov dword [eax + ecx*2 + 8], edx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x4c]
inc dword [eax]
inc edi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x28], ecx
cmp edi, eax
jge 0x101256d7
cmp dword [esi], 0
mov eax, dword [ebp - 0x50]
movss xmm1, dword [ecx]
movss xmm0, dword [ebp + edi*4 - 0x16c]
addss xmm1, xmm7
addss xmm0, dword [eax]
movss dword [ecx], xmm1
cvttss2si ecx, xmm1
movss dword [eax], xmm0
cvttss2si eax, xmm0
je 0x10125907
mov edx, ecx
mov ecx, esi
push eax
call fcn.10126c00
mov edx, dword [ebp - 0x74]
lea ecx, [esi + 0x28]
add esp, 4
mov dword [ebp - 0x4c], ecx
jmp 0x1012593d
mov eax, dword [edx]
cvttss2si esi, xmm1
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov word [eax + ecx*2], si
cvttss2si esi, xmm0
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2 + 2], si
xor esi, esi
mov dword [eax + ecx*2 + 4], esi
mov dword [eax + ecx*2 + 8], esi
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x4c]
inc dword [edx]
inc edi
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x28]
cmp edi, dword [ebp - 4]
jl 0x10125831
jmp 0x101256d7
cmp dword [ebp - 4], 4
jge 0x10125a16
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
cmp eax, 4
jl case.default.0x10126168
lea edx, [esi + 0x10]
lea ecx, [esi + 0x14]
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], ecx
sub eax, edi
cmp eax, 5
jne 0x10125998
movss xmm6, dword [ebp + edi*4 - 0x15c]
jmp 0x1012599b
movaps xmm6, xmm7
movss xmm5, dword [edx]
mov dl, 4
movss xmm4, dword [ebp + edi*4 - 0x16c]
addss xmm5, xmm7
addss xmm4, dword [ecx]
mov eax, dword [ebp - 0x20]
mov ecx, esi
movaps xmm2, xmm5
addss xmm2, dword [ebp + edi*4 - 0x168]
movaps xmm0, xmm4
addss xmm0, dword [ebp + edi*4 - 0x164]
movaps xmm3, xmm2
addss xmm3, dword [ebp + edi*4 - 0x160]
movaps xmm1, xmm0
addss xmm1, xmm6
movss dword [eax], xmm3
mov eax, dword [ebp - 8]
movss dword [eax], xmm1
cvttss2si eax, xmm0
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.10126b70
add esp, 0x18
add edi, 4
mov ecx, dword [ebp - 4]
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1012664f
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x10125a38
movss xmm1, dword [ebp + edi*4 - 0x15c]
jmp 0x10125a3b
movaps xmm1, xmm7
movss xmm4, dword [esi + 0x14]
lea ecx, [esi + 0x14]
movss xmm5, dword [ebp + edi*4 - 0x16c]
addss xmm4, xmm7
addss xmm5, dword [esi + 0x10]
mov dword [ebp - 0x34], ecx
mov dl, 4
movaps xmm0, xmm4
addss xmm0, dword [ebp + edi*4 - 0x164]
movaps xmm2, xmm5
addss xmm2, dword [ebp + edi*4 - 0x168]
cvttss2si eax, xmm0
movaps xmm3, xmm2
push eax
cvttss2si eax, xmm2
addss xmm3, xmm1
movaps xmm1, xmm0
addss xmm1, dword [ebp + edi*4 - 0x160]
push eax
cvttss2si eax, xmm4
movss dword [ecx], xmm1
mov ecx, esi
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10126b70
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x14]
add edi, 4
mov dword [ebp - 8], eax
add esp, 0x18
lea edx, [esi + 0x10]
mov dword [ebp - 0x20], edx
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1012664f
mov eax, ecx
mov ecx, dword [ebp - 0x34]
jmp 0x10125986
cmp dword [ebp - 4], 6
jl case.default.0x10126168
mov dword [ebp - 8], 5
lea edi, [ebp - 0x168]
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.10126b70
mov eax, dword [ebp - 8]
add esp, 0x18
add eax, 6
add edi, 0x18
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 4]
jl 0x10125af4
movss xmm4, dword [ebp - 0x2c]
movss xmm5, dword [ebp - 0x24]
jmp 0x101256d2
mov eax, dword [ebp - 4]
cmp eax, 8
jl case.default.0x10126168
add eax, 0xfffffffe
mov dword [ebp - 0x20], eax
cmp eax, 5
jle 0x10125c52
mov dword [ebp - 8], 5
nop dword [eax]
movss xmm4, dword [ebp + edi*4 - 0x168]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [ebp + edi*4 - 0x16c]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [ebp + edi*4 - 0x160]
movaps xmm2, xmm5
addss xmm2, dword [ebp + edi*4 - 0x164]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [ebp + edi*4 - 0x158]
cvttss2si eax, xmm2
addss xmm3, dword [ebp + edi*4 - 0x15c]
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.10126b70
mov eax, dword [ebp - 8]
add edi, 6
add eax, 6
add esp, 0x18
mov ecx, edi
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x20]
jl 0x10125ba0
lea eax, [ecx + 1]
cmp eax, dword [ebp - 4]
jge case.default.0x10126168
movss xmm4, dword [ebp - 0x2c]
movss xmm3, dword [ebp - 0x18]
movss xmm5, dword [ebp - 0x24]
cmp dword [esi], 0
movss xmm1, dword [ebp + edi*4 - 0x16c]
movss xmm0, dword [ebp + edi*4 - 0x168]
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
je 0x10125c98
push edi
mov ecx, esi
call fcn.10126c00
add esp, 4
inc dword [esi + 0x2c]
jmp 0x101256d7
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2], dx
xor edx, edx
inc dword [esi + 0x2c]
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2 + 2], di
mov dword [eax + ecx*2 + 4], edx
mov dword [eax + ecx*2 + 8], edx
jmp 0x101256d7
mov eax, dword [ebp - 4]
cmp eax, 8
jl case.default.0x10126168
add eax, 0xfffffffa
mov dword [ebp - 0x20], eax
cmp eax, 1
jle 0x10125d83
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 8], 1
nop dword [eax]
cmp dword [esi], 0
movss xmm1, dword [ebp + edi*4 - 0x16c]
movss xmm0, dword [ebp + edi*4 - 0x168]
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 0x10125d32
push edx
mov edx, eax
mov ecx, esi
call fcn.10126c00
add esp, 4
jmp 0x10125d5a
mov eax, dword [esi + 0x28]
shl ecx, 3
sub ecx, dword [esi + 0x2c]
cvttss2si esi, xmm1
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov byte [eax + ecx*2 + 0xc], 2
mov dword [eax + ecx*2 + 4], edx
mov word [eax + ecx*2], si
mov esi, dword [ebp + 8]
mov dword [eax + ecx*2 + 8], edx
mov eax, dword [ebp - 8]
add edi, 2
inc dword [esi + 0x2c]
add eax, 2
mov edx, edi
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x20]
jl 0x10125cf0
lea eax, [edx + 5]
cmp eax, dword [ebp - 4]
jge case.default.0x10126168
movss xmm4, dword [ebp + edi*4 - 0x168]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [ebp + edi*4 - 0x16c]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [ebp + edi*4 - 0x160]
movaps xmm2, xmm5
addss xmm2, dword [ebp + edi*4 - 0x164]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [ebp + edi*4 - 0x158]
cvttss2si eax, xmm2
addss xmm3, dword [ebp + edi*4 - 0x15c]
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.10126b70
movss xmm4, dword [ebp - 0x2c]
add esp, 0x18
movss xmm5, dword [ebp - 0x24]
jmp 0x101256d2
mov eax, dword [ebp - 4]
cmp eax, 4
jl case.default.0x10126168
mov edi, eax
xorps xmm1, xmm1
and edi, 1
je 0x10125e2b
movaps xmm1, xmm4
lea ecx, [edi + 3]
mov dword [ebp - 8], ecx
cmp ecx, eax
jge 0x101256df
lea eax, [esi + 0x10]
lea ecx, [esi + 0x14]
lea edi, [ebp + edi*4 - 0x164]
nop word [eax + eax]
cmp dword [ebp - 0x28], 0x1b
movss xmm6, dword [eax]
movss xmm5, dword [ecx]
movss xmm3, dword [edi]
movss xmm0, dword [edi - 8]
movss xmm2, dword [edi - 4]
jne 0x10125e93
addss xmm0, xmm6
addss xmm5, xmm1
movaps xmm1, xmm0
addss xmm1, xmm2
movaps xmm2, xmm5
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [edi + 4]
movaps xmm4, xmm2
addss xmm4, xmm7
jmp 0x10125ebb
addss xmm6, xmm1
addss xmm5, xmm0
movaps xmm1, xmm6
movaps xmm0, xmm6
addss xmm1, xmm2
movaps xmm2, xmm5
addss xmm2, xmm3
movaps xmm3, xmm1
movaps xmm4, xmm2
addss xmm3, xmm7
addss xmm4, dword [edi + 4]
movss dword [eax], xmm3
mov dl, 4
cvttss2si eax, xmm2
movss dword [ecx], xmm4
mov ecx, esi
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm3
push eax
call fcn.10126b70
mov ecx, dword [ebp - 8]
lea eax, [esi + 0x10]
add ecx, 4
add esp, 0x18
add edi, 0x10
mov dword [ebp - 8], ecx
cmp ecx, dword [ebp - 4]
movaps xmm1, xmm7
lea ecx, [esi + 0x14]
jl 0x10125e50
movss xmm4, dword [ebp - 0x2c]
movss xmm6, dword [ebp - 0x38]
movss xmm5, dword [ebp - 0x24]
jmp 0x101256d2
cmp dword [ebp - 0x7c], edi
jne case.0x10125655.29
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x78], edi
je 0x10125f58
mov edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x178]
push ecx
mov ecx, eax
call fcn.10126710
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 4]
cmp eax, 1
jl case.default.0x10126168
mov edx, dword [ebp - 0x54]
dec eax
mov dword [ebp - 4], eax
cmp edx, 0xa
jge case.default.0x10126168
movq xmm0, qword [ebp - 0x68]
lea eax, [edx + edx*2]
mov ecx, dword [ebp - 0xc]
inc edx
cmp dword [ebp - 0x28], 0xa
movq qword [ebp + eax*4 - 0x1fc], xmm0
mov dword [ebp + eax*4 - 0x1f4], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], edx
cvttss2si edi, dword [ebp + eax*4 - 0x16c]
jne 0x10125fb4
lea eax, [ebp - 0xa0]
jmp 0x10125fba
mov eax, dword [ebp - 0x80]
add eax, 0x4c
movq xmm0, qword [eax]
mov edx, dword [eax + 8]
movq qword [ebp - 0x8c], xmm0
test edx, edx
js 0x10125692
mov dword [ebp - 0x88], 0
jg 0x10125ff6
xor al, al
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 1
jmp 0x1012601d
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x88], 1
mov dword [ebp - 8], 1
mov dword [ebp - 0x20], 1
mov al, byte [eax]
mov dword [ebp - 0x34], 2
movzx ecx, al
cmp dword [ebp - 8], edx
jl 0x10126029
xor al, al
jmp 0x1012603e
mov esi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x20]
mov al, byte [esi + eax]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x88], esi
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x1012605a
mov eax, 0x8000
jmp 0x10126067
cmp ecx, 0x4d8
cmovae eax, dword [ebp - 0x94]
add edi, eax
js 0x1012609d
cmp edi, ecx
jge 0x1012609d
movq xmm0, qword [ebp - 0x8c]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], edx
lea eax, [ebp - 0x184]
push eax
call fcn.101286d0
add esp, 0x10
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
jmp 0x101260b7
xor edi, edi
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], edi
movq xmm0, qword [ebp - 0xac]
mov dword [ebp - 0xc], edi
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x60], edi
test edi, edi
je case.default.0x10126168
mov eax, dword [ebp - 0x68]
xor edx, edx
movss xmm4, dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x10]
movss xmm1, dword [ebp - 0x14]
movss xmm6, dword [ebp - 0x38]
movss xmm3, dword [ebp - 0x18]
movss xmm5, dword [ebp - 0x24]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x30], eax
jmp 0x101256e7
mov eax, dword [ebp - 0x54]
test eax, eax
jle case.default.0x10126168
dec eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
movq xmm0, qword [ebp + eax*4 - 0x208]
mov edi, dword [ebp + eax*4 - 0x200]
movq qword [ebp - 0x68], xmm0
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
movss xmm0, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x30], eax
jmp 0x101256e7
mov edi, dword [ebp - 0xc]
cmp ecx, edi
jl 0x1012614d
xor dl, dl
jmp 0x10126159
mov eax, dword [ebp - 0x30]
mov dl, byte [eax + ecx]
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
movzx eax, dl
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x10126168
jmp dword [eax*4 + 0x101266fc]
cmp dword [ebp - 4], 7
jl case.default.0x10126168
movaps xmm5, xmm4
movaps xmm2, xmm6
movss xmm4, dword [esi + 0x14]
movaps xmm3, xmm1
addss xmm5, dword [esi + 0x10]
addss xmm4, xmm7
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, xmm7
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.10126b70
movss xmm4, dword [esi + 0x14]
movss xmm3, dword [ebp - 0x40]
addss xmm4, xmm7
addss xmm3, dword [esi + 0x10]
movss xmm5, dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x18]
movaps xmm0, xmm4
subss xmm0, dword [ebp - 0x10]
addss xmm5, xmm3
movaps xmm2, xmm0
addss xmm1, xmm5
addss xmm2, xmm7
jmp 0x1012647a
cmp dword [ebp - 4], 0xd
jl case.default.0x10126168
movaps xmm5, xmm4
movss xmm3, dword [ebp - 0x40]
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm6
movaps xmm2, xmm0
addss xmm4, dword [esi + 0x14]
movaps xmm0, xmm1
mov dl, 4
movss xmm1, dword [ebp - 0x24]
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.10126b70
movss xmm3, dword [ebp - 0x18]
movss xmm4, dword [ebp - 0x5c]
addss xmm3, dword [esi + 0x10]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [ebp - 0x58]
movss xmm0, dword [ebp - 0x6c]
movss xmm1, dword [ebp - 0x78]
movss xmm2, dword [ebp - 0x140]
addss xmm5, xmm3
addss xmm0, xmm4
addss xmm1, xmm5
addss xmm2, xmm0
jmp 0x1012647a
cmp dword [ebp - 4], 9
jl case.default.0x10126168
movaps xmm5, xmm4
movss xmm3, dword [ebp - 0x40]
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm6
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, xmm7
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.10126b70
movss xmm4, dword [esi + 0x14]
movss xmm0, dword [ebp - 0x14]
addss xmm4, xmm7
movss xmm3, dword [ebp - 0x24]
addss xmm0, xmm6
addss xmm3, dword [esi + 0x10]
movss xmm2, dword [ebp - 0x5c]
movss xmm5, dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x58]
addss xmm2, xmm4
addss xmm0, dword [ebp - 0x5c]
addss xmm5, xmm3
movss dword [ebp - 8], xmm2
subss xmm2, xmm0
movss xmm0, dword [ebp - 8]
addss xmm1, xmm5
jmp 0x1012647a
cmp dword [ebp - 4], 0xb
jl case.default.0x10126168
movaps xmm6, xmm2
movaps xmm2, xmm4
addss xmm2, xmm0
movaps xmm7, xmm6
addss xmm2, dword [ebp - 0x40]
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [ebp - 0x38]
addss xmm2, dword [ebp - 0x58]
addss xmm3, xmm5
movss xmm5, dword [0x1017f970]
movaps xmm1, xmm2
addss xmm3, dword [ebp - 0x5c]
andps xmm1, xmm5
addss xmm3, dword [ebp - 0x6c]
movaps xmm0, xmm3
andps xmm0, xmm5
comiss xmm1, xmm0
jbe 0x101263d0
movaps xmm6, xmm3
xorps xmm6, xmmword [0x1017f9a0]
jmp 0x101263da
movaps xmm7, xmm2
xorps xmm7, xmmword [0x1017f9a0]
movss xmm0, dword [ebp - 0x14]
movaps xmm5, xmm4
movss xmm4, dword [ebp - 0x38]
mov dl, 4
addss xmm4, dword [esi + 0x14]
addss xmm5, dword [esi + 0x10]
movss xmm2, dword [ebp - 0x10]
mov ecx, esi
movss xmm1, dword [ebp - 0x24]
movss xmm3, dword [ebp - 0x40]
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.10126b70
movss xmm4, dword [ebp - 0x5c]
movss xmm3, dword [ebp - 0x18]
addss xmm4, dword [esi + 0x14]
addss xmm3, dword [esi + 0x10]
movss xmm0, dword [ebp - 0x6c]
movss xmm5, dword [ebp - 0x58]
addss xmm0, xmm4
addss xmm5, xmm3
movaps xmm2, xmm0
movaps xmm1, xmm5
addss xmm2, xmm6
movss xmm6, dword [ebp - 0x38]
addss xmm1, xmm7
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.10126b70
movss xmm4, dword [ebp - 0x2c]
add esp, 0x18
movss xmm0, dword [ebp - 0x10]
movss xmm1, dword [ebp - 0x14]
movss xmm3, dword [ebp - 0x18]
movss xmm5, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
jmp 0x101256e7
mov eax, dword [ebp - 0x28]
cmp eax, 0xff
je 0x10126525
cmp eax, 0x1c
je 0x101264ef
add eax, 0xffffffe0
cmp eax, 0xde
ja case.default.0x10126168
dec edx
cmp edx, dword [ebp - 0xc]
jg 0x10125692
test edx, edx
js 0x10125692
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x64], edx
call fcn.10128aa0
mov edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
cwde
mov dword [ebp - 0xc], edi
movd xmm0, eax
mov eax, dword [ebp - 0x68]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x30], eax
jmp 0x1012659b
mov edi, dword [ebp - 0xc]
cmp ecx, edi
jl 0x10126533
mov eax, dword [ebp - 0x34]
xor cl, cl
jmp 0x10126544
mov eax, dword [ebp - 0x30]
lea edx, [ecx + 1]
mov al, byte [eax + ecx]
mov byte [ebp - 0x39], al
mov eax, edx
mov cl, byte [ebp - 0x39]
movzx ecx, cl
cmp eax, edi
jl 0x1012654f
xor al, al
jmp 0x10126556
mov eax, dword [ebp - 0x30]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x10126566
xor al, al
jmp 0x1012656d
mov eax, dword [ebp - 0x30]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x1012657d
xor al, al
jmp 0x10126584
mov eax, dword [ebp - 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 [0x1017f008]
mov eax, dword [ebp - 4]
cmp eax, 0x30
jge case.default.0x10126168
movss dword [ebp + eax*4 - 0x16c], xmm0
inc eax
movss xmm0, dword [ebp - 0x144]
movss xmm3, dword [ebp - 0x154]
movss xmm5, dword [ebp - 0x158]
movss xmm2, dword [ebp - 0x15c]
movss xmm1, dword [ebp - 0x160]
movss xmm6, dword [ebp - 0x168]
movss xmm4, dword [ebp - 0x16c]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x148]
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x14c]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x150]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x164]
mov dword [ebp - 4], eax
mov dword [ebp - 0x70], 0
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x40], xmm2
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x38], xmm6
movss dword [ebp - 0x2c], xmm4
jmp 0x101256e7
movss xmm4, dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x10]
movss xmm1, dword [ebp - 0x14]
movss xmm6, dword [ebp - 0x38]
movss xmm3, dword [ebp - 0x18]
movss xmm5, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0xc]
jmp 0x101256ea
mov ecx, esi
call fcn.10126b00
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret