Function at 0x1015aa60
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b0
push ebx
push esi
push edi
lea edi, [ebp - 0x330]
mov ecx, 0xcc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101b7d80]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x101fe463
call fcn.1008205c
nop
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x60], 0
mov eax, dword [ebp + 8]
add eax, 0x54
mov ecx, dword [eax]
mov dword [ebp - 0x1c8], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c4], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x3c
sub esp, 0xc
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
lea edx, [ebp - 0x444]
push edx
call fcn.10156790
add esp, 0x14
mov ecx, dword [eax]
mov dword [ebp - 0x430], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x42c], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x1dc], ecx
mov edx, dword [ebp - 0x42c]
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d8]
cmp eax, dword [ebp - 0x1d4]
jge 0x1015be56
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x6c], 1
lea eax, [ebp - 0x1dc]
push eax
call fcn.101561b0
add esp, 4
movzx ecx, al
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x49c]
sub ecx, 1
mov dword [ebp - 0x49c], ecx
cmp dword [ebp - 0x49c], 0x1e
ja case.0x1015aba2.1
mov edx, dword [ebp - 0x49c]
jmp dword [edx*4 + 0x1015bed8]
cmp dword [ebp - 0xc], 0
je 0x1015abbd
mov eax, dword [ebp - 0x30]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.10156570
add esp, 8
jmp 0x1015be44
mov eax, dword [ebp - 0x30]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
jmp 0x1015be44
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x30], 2
jge 0x1015ac0f
xor eax, eax
jmp 0x1015be58
mov eax, dword [ebp - 0x30]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x138]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x30]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x13c]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.101572b0
add esp, 0xc
jmp 0x1015be44
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x30], 1
jge 0x1015ac58
xor eax, eax
jmp 0x1015be58
mov eax, dword [ebp - 0x30]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x138]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.101572b0
add esp, 0xc
jmp 0x1015be44
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x30], 1
jge 0x1015ac98
xor eax, eax
jmp 0x1015be58
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp - 0x30]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x138]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.101572b0
add esp, 0xc
jmp 0x1015be44
cmp dword [ebp - 0x30], 2
jge 0x1015acd1
xor eax, eax
jmp 0x1015be58
jmp 0x1015acdc
mov eax, dword [ebp - 0x48]
add eax, 2
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 1
cmp eax, dword [ebp - 0x30]
jge 0x1015ad19
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x130]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x134]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.10157200
add esp, 0xc
jmp 0x1015acd3
jmp 0x1015be44
cmp dword [ebp - 0x30], 1
jge 0x1015ad2b
xor eax, eax
jmp 0x1015be58
jmp 0x1015ad76
cmp dword [ebp - 0x30], 1
jge 0x1015ad3c
xor eax, eax
jmp 0x1015be58
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x30]
jl 0x1015ad46
jmp 0x1015adb2
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x134]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10157200
add esp, 0xc
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x30]
jl 0x1015ad80
jmp 0x1015adb2
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x134]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10157200
add esp, 0xc
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
jmp 0x1015ad3c
jmp 0x1015be44
cmp dword [ebp - 0x30], 4
jge 0x1015adc4
xor eax, eax
jmp 0x1015be58
jmp 0x1015ae8b
cmp dword [ebp - 0x30], 4
jge 0x1015addb
xor eax, eax
jmp 0x1015be58
mov eax, dword [ebp - 0x48]
add eax, 3
cmp eax, dword [ebp - 0x30]
jl 0x1015adeb
jmp 0x1015af50
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x48]
cmp eax, 5
jne 0x1015ae0c
mov ecx, dword [ebp - 0x48]
movss xmm0, dword [ebp + ecx*4 - 0x124]
movss dword [ebp - 0x49c], xmm0
jmp 0x1015ae17
xorps xmm0, xmm0
movss dword [ebp - 0x49c], xmm0
push ecx
movss xmm0, dword [ebp - 0x49c]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x128]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x12c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x130]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x134]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.101570f0
add esp, 0x1c
mov eax, dword [ebp - 0x48]
add eax, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 3
cmp eax, dword [ebp - 0x30]
jl 0x1015ae9b
jmp 0x1015af50
mov eax, dword [ebp - 0x48]
movss xmm0, dword [ebp + eax*4 - 0x128]
movss dword [ebp - 0x49c], xmm0
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x48]
cmp ecx, 5
jne 0x1015aed0
mov edx, dword [ebp - 0x48]
movss xmm0, dword [ebp + edx*4 - 0x124]
movss dword [ebp - 0x4a0], xmm0
jmp 0x1015aedb
xorps xmm0, xmm0
movss dword [ebp - 0x4a0], xmm0
push ecx
movss xmm0, dword [ebp - 0x49c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x4a0]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x12c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x130]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x134]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.101570f0
add esp, 0x1c
mov eax, dword [ebp - 0x48]
add eax, 4
mov dword [ebp - 0x48], eax
jmp 0x1015addb
jmp 0x1015be44
cmp dword [ebp - 0x30], 6
jge 0x1015af62
xor eax, eax
jmp 0x1015be58
jmp 0x1015af6d
mov eax, dword [ebp - 0x48]
add eax, 6
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 5
cmp eax, dword [ebp - 0x30]
jge 0x1015aff5
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x120]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x124]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x128]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x12c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x130]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x134]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.101570f0
add esp, 0x1c
jmp 0x1015af64
jmp 0x1015be44
cmp dword [ebp - 0x30], 8
jge 0x1015b007
xor eax, eax
jmp 0x1015be58
jmp 0x1015b012
mov eax, dword [ebp - 0x48]
add eax, 6
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 5
mov ecx, dword [ebp - 0x30]
sub ecx, 2
cmp eax, ecx
jge 0x1015b09f
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x120]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x124]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x128]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x12c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x130]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x134]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.101570f0
add esp, 0x1c
jmp 0x1015b009
mov eax, dword [ebp - 0x48]
add eax, 1
cmp eax, dword [ebp - 0x30]
jl 0x1015b0b1
xor eax, eax
jmp 0x1015be58
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x130]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x134]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.10157200
add esp, 0xc
jmp 0x1015be44
cmp dword [ebp - 0x30], 8
jge 0x1015b0f3
xor eax, eax
jmp 0x1015be58
jmp 0x1015b0fe
mov eax, dword [ebp - 0x48]
add eax, 2
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 1
mov ecx, dword [ebp - 0x30]
sub ecx, 6
cmp eax, ecx
jge 0x1015b140
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x130]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x134]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.10157200
add esp, 0xc
jmp 0x1015b0f5
mov eax, dword [ebp - 0x48]
add eax, 5
cmp eax, dword [ebp - 0x30]
jl 0x1015b152
xor eax, eax
jmp 0x1015be58
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x120]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x124]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x128]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x12c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x130]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x134]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.101570f0
add esp, 0x1c
jmp 0x1015be44
cmp dword [ebp - 0x30], 4
jge 0x1015b1dc
xor eax, eax
jmp 0x1015be58
xorps xmm0, xmm0
movss dword [ebp - 0x1e8], xmm0
mov eax, dword [ebp - 0x30]
and eax, 1
je 0x1015b20c
mov eax, dword [ebp - 0x48]
movss xmm0, dword [ebp + eax*4 - 0x134]
movss dword [ebp - 0x1e8], xmm0
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
jmp 0x1015b217
mov eax, dword [ebp - 0x48]
add eax, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 3
cmp eax, dword [ebp - 0x30]
jge 0x1015b314
cmp dword [ebp - 0x54], 0x1b
jne 0x1015b299
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x128]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x12c]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x130]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1e8]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x134]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.101570f0
add esp, 0x1c
jmp 0x1015b304
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x128]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x12c]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x130]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x48]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x134]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1e8]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.101570f0
add esp, 0x1c
xorps xmm0, xmm0
movss dword [ebp - 0x1e8], xmm0
jmp 0x1015b20e
jmp 0x1015be44
cmp dword [ebp - 0x60], 0
jne case.0x1015aba2.28
mov eax, dword [ebp + 8]
cmp dword [eax + 0x74], 0
je 0x1015b37d
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x46c]
push edx
call fcn.10156bd0
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x458], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x454], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp - 0x458]
mov dword [ebp - 0x1c8], ecx
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x60], 1
cmp dword [ebp - 0x30], 1
jge 0x1015b391
xor eax, eax
jmp 0x1015be58
mov eax, dword [ebp - 0x30]
sub eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cvttss2si edx, dword [ebp + ecx*4 - 0x134]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x24], 0xa
jl 0x1015b3b6
xor eax, eax
jmp 0x1015be58
imul eax, dword [ebp - 0x24], 0xc
lea ecx, [ebp + eax - 0x1b4]
mov edx, dword [ebp - 0x1dc]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1d8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1d4]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x49c], eax
cmp dword [ebp - 0x54], 0xa
jne 0x1015b401
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 0x4a0], ecx
jmp 0x1015b40d
mov edx, dword [ebp + 8]
add edx, 0x48
mov dword [ebp - 0x4a0], edx
mov eax, dword [ebp - 0x49c]
push eax
mov ecx, dword [ebp - 0x4a0]
sub esp, 0xc
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
lea edx, [ebp - 0x494]
push edx
call fcn.10158a20
add esp, 0x14
mov ecx, dword [eax]
mov dword [ebp - 0x480], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x47c], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x478], eax
mov ecx, dword [ebp - 0x480]
mov dword [ebp - 0x1dc], ecx
mov edx, dword [ebp - 0x47c]
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 0
jne 0x1015b48c
xor eax, eax
jmp 0x1015be58
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x6c], 0
jmp 0x1015be44
cmp dword [ebp - 0x24], 0
jg 0x1015b4af
xor eax, eax
jmp 0x1015be58
mov eax, dword [ebp - 0x24]
sub eax, 1
mov dword [ebp - 0x24], eax
imul ecx, dword [ebp - 0x24], 0xc
lea edx, [ebp + ecx - 0x1b4]
mov eax, dword [edx]
mov dword [ebp - 0x1dc], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x1d8], ecx
mov edx, dword [edx + 8]
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x6c], 0
jmp 0x1015be44
mov eax, dword [ebp + 0x10]
push eax
call fcn.10157040
add esp, 4
mov eax, 1
jmp 0x1015be58
lea eax, [ebp - 0x1dc]
push eax
call fcn.101561b0
add esp, 4
movzx ecx, al
mov dword [ebp - 0x29c], ecx
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x49c]
sub ecx, 0x22
mov dword [ebp - 0x49c], ecx
cmp dword [ebp - 0x49c], 3
ja case.default.0x1015b545
mov edx, dword [ebp - 0x49c]
jmp dword [edx*4 + 0x1015bf54]
cmp dword [ebp - 0x30], 7
jge 0x1015b559
xor eax, eax
jmp 0x1015be58
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x1f4], xmm0
mov eax, 4
shl eax, 0
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x200], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x248], xmm0
mov eax, 4
imul ecx, eax, 3
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x20c], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x218], xmm0
mov eax, 4
imul ecx, eax, 5
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x224], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x230], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x248]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x200]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1f4]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.101570f0
add esp, 0x1c
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x230]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x248]
xorps xmm0, xmmword [0x1018ec10]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x224]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x218]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.101570f0
add esp, 0x1c
jmp 0x1015bd61
cmp dword [ebp - 0x30], 0xd
jge 0x1015b6cc
xor eax, eax
jmp 0x1015be58
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x1f4], xmm0
mov eax, 4
shl eax, 0
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x23c], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x200], xmm0
mov eax, 4
imul ecx, eax, 3
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x248], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x20c], xmm0
mov eax, 4
imul ecx, eax, 5
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x254], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x218], xmm0
mov eax, 4
imul ecx, eax, 7
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x260], xmm0
mov eax, 4
shl eax, 3
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x224], xmm0
mov eax, 4
imul ecx, eax, 9
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x26c], xmm0
mov eax, 4
imul ecx, eax, 0xa
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x230], xmm0
mov eax, 4
imul ecx, eax, 0xb
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x278], xmm0
push ecx
movss xmm0, dword [ebp - 0x254]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x248]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x200]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x23c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1f4]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.101570f0
add esp, 0x1c
push ecx
movss xmm0, dword [ebp - 0x278]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x230]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x26c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x224]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x260]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x218]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.101570f0
add esp, 0x1c
jmp 0x1015bd61
cmp dword [ebp - 0x30], 9
jge 0x1015b8c9
xor eax, eax
jmp 0x1015be58
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x1f4], xmm0
mov eax, 4
shl eax, 0
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x23c], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x200], xmm0
mov eax, 4
imul ecx, eax, 3
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x248], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x20c], xmm0
mov eax, 4
imul ecx, eax, 5
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x218], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x224], xmm0
mov eax, 4
imul ecx, eax, 7
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x26c], xmm0
mov eax, 4
shl eax, 3
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x230], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x248]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x200]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x23c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1f4]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.101570f0
add esp, 0x1c
movss xmm0, dword [ebp - 0x23c]
addss xmm0, dword [ebp - 0x248]
addss xmm0, dword [ebp - 0x26c]
xorps xmm0, xmmword [0x1018ec10]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x230]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x26c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x224]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x218]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.101570f0
add esp, 0x1c
jmp 0x1015bd61
cmp dword [ebp - 0x30], 0xb
jge 0x1015ba88
xor eax, eax
jmp 0x1015be58
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x1f4], xmm0
mov eax, 4
shl eax, 0
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x23c], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x200], xmm0
mov eax, 4
imul ecx, eax, 3
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x248], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x20c], xmm0
mov eax, 4
imul ecx, eax, 5
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x254], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x218], xmm0
mov eax, 4
imul ecx, eax, 7
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x260], xmm0
mov eax, 4
shl eax, 3
movss xmm0, dword [ebp + eax - 0x134]
movss dword [ebp - 0x224], xmm0
mov eax, 4
imul ecx, eax, 9
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x26c], xmm0
mov eax, 4
imul ecx, eax, 0xa
movss xmm0, dword [ebp + ecx - 0x134]
movss dword [ebp - 0x278], xmm0
movss xmm0, dword [ebp - 0x278]
movss dword [ebp - 0x230], xmm0
movss xmm0, dword [ebp - 0x1f4]
addss xmm0, dword [ebp - 0x200]
addss xmm0, dword [ebp - 0x20c]
addss xmm0, dword [ebp - 0x218]
addss xmm0, dword [ebp - 0x224]
movss dword [ebp - 0x284], xmm0
movss xmm0, dword [ebp - 0x23c]
addss xmm0, dword [ebp - 0x248]
addss xmm0, dword [ebp - 0x254]
addss xmm0, dword [ebp - 0x260]
addss xmm0, dword [ebp - 0x26c]
movss dword [ebp - 0x290], xmm0
cvtss2sd xmm0, dword [ebp - 0x284]
sub esp, 8
movsd qword [esp], xmm0
call fcn.1007f9ec
add esp, 8
fstp qword [ebp - 0x4a0]
movsd xmm0, qword [ebp - 0x4a0]
cvtss2sd xmm1, dword [ebp - 0x290]
sub esp, 8
movsd qword [esp], xmm1
movsd qword [ebp - 0x4a8], xmm0
call fcn.1007f9ec
add esp, 8
fstp qword [ebp - 0x4b0]
movsd xmm0, qword [ebp - 0x4a8]
comisd xmm0, xmmword [ebp - 0x4b0]
jbe 0x1015bc81
movss xmm0, dword [ebp - 0x290]
xorps xmm0, xmmword [0x1018ec10]
movss dword [ebp - 0x278], xmm0
jmp 0x1015bc98
movss xmm0, dword [ebp - 0x284]
xorps xmm0, xmmword [0x1018ec10]
movss dword [ebp - 0x230], xmm0
push ecx
movss xmm0, dword [ebp - 0x254]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x248]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x200]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x23c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1f4]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.101570f0
add esp, 0x1c
push ecx
movss xmm0, dword [ebp - 0x278]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x230]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x26c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x224]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x260]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x218]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.101570f0
add esp, 0x1c
jmp 0x1015bd61
xor eax, eax
jmp 0x1015be58
jmp 0x1015be44
cmp dword [ebp - 0x54], 0xff
je 0x1015bd8b
cmp dword [ebp - 0x54], 0x1c
je 0x1015bd8b
cmp dword [ebp - 0x54], 0x20
jl 0x1015bd84
cmp dword [ebp - 0x54], 0xfe
jle 0x1015bd8b
xor eax, eax
jmp 0x1015be58
cmp dword [ebp - 0x54], 0xff
jne 0x1015bde7
push 4
lea eax, [ebp - 0x1dc]
push eax
call fcn.10156250
add esp, 8
mov dword [ebp - 0x49c], eax
cvtsi2sd xmm0, dword [ebp - 0x49c]
mov ecx, dword [ebp - 0x49c]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1018f8f0]
movsd qword [ebp - 0x4a4], xmm0
cvtsd2ss xmm0, qword [ebp - 0x4a4]
divss xmm0, dword [0x10198a98]
movss dword [ebp - 0x1e8], xmm0
jmp 0x1015be16
push 0xffffffffffffffff
lea eax, [ebp - 0x1dc]
push eax
call fcn.10156570
add esp, 8
lea eax, [ebp - 0x1dc]
push eax
call fcn.10156930
add esp, 4
movsx ecx, ax
cvtsi2ss xmm0, ecx
movss dword [ebp - 0x1e8], xmm0
cmp dword [ebp - 0x30], 0x30
jl 0x1015be20
xor eax, eax
jmp 0x1015be58
mov eax, dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x1e8]
movss dword [ebp + eax*4 - 0x134], xmm0
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0
je 0x1015be51
mov dword [ebp - 0x30], 0
jmp 0x1015ab42
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x1015be88]
call fcn.10080bb2
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008041e
add esp, 0x4b0
cmp ebp, esp
call fcn.1008119d
mov esp, ebp
pop ebp
ret