Function at 0x1017ea10
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
push ebx
push esi
push edi
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, dword [eax]
mov dword [ebp - 0x168], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x164], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x40
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 - 0x24c]
push edx
call fcn.1017b630
add esp, 0x14
mov ecx, dword [eax]
mov dword [ebp - 0x240], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x23c], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x170], edx
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x16c]
jge 0x1017fdae
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x174]
push eax
call fcn.1017b290
add esp, 4
movzx ecx, al
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x280]
sub ecx, 1
mov dword [ebp - 0x280], ecx
cmp dword [ebp - 0x280], 0x1e
ja case.0x1017eb2b.1
mov edx, dword [ebp - 0x280]
jmp dword [edx*4 + 0x1017fdb8]
cmp dword [ebp - 4], 0
je 0x1017eb46
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.1017b4d0
add esp, 8
jmp 0x1017fd9c
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x1017fd9c
mov dword [ebp - 4], 0
cmp dword [ebp - 0x10], 2
jge 0x1017eb98
xor eax, eax
jmp 0x1017fdb0
mov eax, dword [ebp - 0x10]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe8]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x10]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xec]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1017bea0
add esp, 0xc
jmp 0x1017fd9c
mov dword [ebp - 4], 0
cmp dword [ebp - 0x10], 1
jge 0x1017ebe1
xor eax, eax
jmp 0x1017fdb0
mov eax, dword [ebp - 0x10]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe8]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1017bea0
add esp, 0xc
jmp 0x1017fd9c
mov dword [ebp - 4], 0
cmp dword [ebp - 0x10], 1
jge 0x1017ec21
xor eax, eax
jmp 0x1017fdb0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp - 0x10]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe8]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1017bea0
add esp, 0xc
jmp 0x1017fd9c
cmp dword [ebp - 0x10], 2
jge 0x1017ec5a
xor eax, eax
jmp 0x1017fdb0
jmp 0x1017ec65
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, dword [ebp - 0x10]
jge 0x1017eca2
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe4]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1017be20
add esp, 0xc
jmp 0x1017ec5c
jmp 0x1017fd9c
cmp dword [ebp - 0x10], 1
jge 0x1017ecb4
xor eax, eax
jmp 0x1017fdb0
jmp 0x1017ecff
cmp dword [ebp - 0x10], 1
jge 0x1017ecc5
xor eax, eax
jmp 0x1017fdb0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jl 0x1017eccf
jmp 0x1017ed3b
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe4]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1017be20
add esp, 0xc
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jl 0x1017ed09
jmp 0x1017ed3b
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe4]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1017be20
add esp, 0xc
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x1017ecc5
jmp 0x1017fd9c
cmp dword [ebp - 0x10], 4
jge 0x1017ed4d
xor eax, eax
jmp 0x1017fdb0
jmp 0x1017ee14
cmp dword [ebp - 0x10], 4
jge 0x1017ed64
xor eax, eax
jmp 0x1017fdb0
mov eax, dword [ebp - 0x18]
add eax, 3
cmp eax, dword [ebp - 0x10]
jl 0x1017ed74
jmp 0x1017eed9
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
cmp eax, 5
jne 0x1017ed95
mov ecx, dword [ebp - 0x18]
movss xmm0, dword [ebp + ecx*4 - 0xd4]
movss dword [ebp - 0x280], xmm0
jmp 0x1017eda0
xorps xmm0, xmm0
movss dword [ebp - 0x280], xmm0
push ecx
movss xmm0, dword [ebp - 0x280]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xd8]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xdc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe0]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe4]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bd40
add esp, 0x1c
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 3
cmp eax, dword [ebp - 0x10]
jl 0x1017ee24
jmp 0x1017eed9
mov eax, dword [ebp - 0x18]
movss xmm0, dword [ebp + eax*4 - 0xd8]
movss dword [ebp - 0x280], xmm0
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
cmp ecx, 5
jne 0x1017ee59
mov edx, dword [ebp - 0x18]
movss xmm0, dword [ebp + edx*4 - 0xd4]
movss dword [ebp - 0x284], xmm0
jmp 0x1017ee64
xorps xmm0, xmm0
movss dword [ebp - 0x284], xmm0
push ecx
movss xmm0, dword [ebp - 0x280]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x284]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xdc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe0]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe4]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bd40
add esp, 0x1c
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x1017ed64
jmp 0x1017fd9c
cmp dword [ebp - 0x10], 6
jge 0x1017eeeb
xor eax, eax
jmp 0x1017fdb0
jmp 0x1017eef6
mov eax, dword [ebp - 0x18]
add eax, 6
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 5
cmp eax, dword [ebp - 0x10]
jge 0x1017ef7e
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xd0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xd4]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xd8]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xdc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe0]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe4]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bd40
add esp, 0x1c
jmp 0x1017eeed
jmp 0x1017fd9c
cmp dword [ebp - 0x10], 8
jge 0x1017ef90
xor eax, eax
jmp 0x1017fdb0
jmp 0x1017ef9b
mov eax, dword [ebp - 0x18]
add eax, 6
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 5
mov ecx, dword [ebp - 0x10]
sub ecx, 2
cmp eax, ecx
jge 0x1017f028
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xd0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xd4]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xd8]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xdc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe0]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe4]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bd40
add esp, 0x1c
jmp 0x1017ef92
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, dword [ebp - 0x10]
jl 0x1017f03a
xor eax, eax
jmp 0x1017fdb0
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe4]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1017be20
add esp, 0xc
jmp 0x1017fd9c
cmp dword [ebp - 0x10], 8
jge 0x1017f07c
xor eax, eax
jmp 0x1017fdb0
jmp 0x1017f087
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 1
mov ecx, dword [ebp - 0x10]
sub ecx, 6
cmp eax, ecx
jge 0x1017f0c9
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe4]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1017be20
add esp, 0xc
jmp 0x1017f07e
mov eax, dword [ebp - 0x18]
add eax, 5
cmp eax, dword [ebp - 0x10]
jl 0x1017f0db
xor eax, eax
jmp 0x1017fdb0
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xd0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xd4]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xd8]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xdc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe0]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe4]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bd40
add esp, 0x1c
jmp 0x1017fd9c
cmp dword [ebp - 0x10], 4
jge 0x1017f165
xor eax, eax
jmp 0x1017fdb0
xorps xmm0, xmm0
movss dword [ebp - 0x178], xmm0
mov eax, dword [ebp - 0x10]
and eax, 1
je 0x1017f195
mov eax, dword [ebp - 0x18]
movss xmm0, dword [ebp + eax*4 - 0xe4]
movss dword [ebp - 0x178], xmm0
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x1017f1a0
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 3
cmp eax, dword [ebp - 0x10]
jge 0x1017f29d
cmp dword [ebp - 0x1c], 0x1b
jne 0x1017f222
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xd8]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xdc]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x178]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe4]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1017bd40
add esp, 0x1c
jmp 0x1017f28d
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xd8]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xdc]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe0]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x18]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x178]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1017bd40
add esp, 0x1c
xorps xmm0, xmm0
movss dword [ebp - 0x178], xmm0
jmp 0x1017f197
jmp 0x1017fd9c
cmp dword [ebp - 0x20], 0
jne case.0x1017eb2b.28
mov eax, dword [ebp + 8]
cmp dword [eax + 0x78], 0
je 0x1017f306
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x264]
push edx
call fcn.1017b910
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x258], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x254], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x164], edx
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x10], 1
jge 0x1017f31a
xor eax, eax
jmp 0x1017fdb0
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cvttss2si edx, dword [ebp + ecx*4 - 0xe4]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0xa
jl 0x1017f33f
xor eax, eax
jmp 0x1017fdb0
imul eax, dword [ebp - 0xc], 0xc
lea ecx, [ebp + eax - 0x15c]
mov edx, dword [ebp - 0x174]
mov dword [ecx], edx
mov eax, dword [ebp - 0x170]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x16c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x1c], 0xa
jne 0x1017f38a
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x284], ecx
jmp 0x1017f396
mov edx, dword [ebp + 8]
add edx, 0x4c
mov dword [ebp - 0x284], edx
mov eax, dword [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x284]
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 - 0x27c]
push edx
call fcn.1017d130
add esp, 0x14
mov ecx, dword [eax]
mov dword [ebp - 0x270], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x26c], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x170], edx
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
jne 0x1017f415
xor eax, eax
jmp 0x1017fdb0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x24], 0
jmp 0x1017fd9c
cmp dword [ebp - 0xc], 0
jg 0x1017f438
xor eax, eax
jmp 0x1017fdb0
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
imul ecx, dword [ebp - 0xc], 0xc
lea edx, [ebp + ecx - 0x15c]
mov eax, dword [edx]
mov dword [ebp - 0x174], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x170], ecx
mov edx, dword [edx + 8]
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x24], 0
jmp 0x1017fd9c
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bcc0
add esp, 4
mov eax, 1
jmp 0x1017fdb0
lea eax, [ebp - 0x174]
push eax
call fcn.1017b290
add esp, 4
movzx ecx, al
mov dword [ebp - 0x1b4], ecx
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x280]
sub ecx, 0x22
mov dword [ebp - 0x280], ecx
cmp dword [ebp - 0x280], 3
ja case.default.0x1017f4ce
mov edx, dword [ebp - 0x280]
jmp dword [edx*4 + 0x1017fe34]
cmp dword [ebp - 0x10], 7
jge 0x1017f4e2
xor eax, eax
jmp 0x1017fdb0
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x17c], xmm0
mov eax, 4
shl eax, 0
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x180], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x198], xmm0
mov eax, 4
imul ecx, eax, 3
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x184], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x188], xmm0
mov eax, 4
imul ecx, eax, 5
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x18c], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x190], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x184]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x198]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x180]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x17c]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bd40
add esp, 0x1c
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x190]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x198]
xorps xmm0, xmmword [0x103033b0]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x18c]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x188]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bd40
add esp, 0x1c
jmp 0x1017fce5
cmp dword [ebp - 0x10], 0xd
jge 0x1017f655
xor eax, eax
jmp 0x1017fdb0
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x17c], xmm0
mov eax, 4
shl eax, 0
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x194], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x180], xmm0
mov eax, 4
imul ecx, eax, 3
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x198], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x184], xmm0
mov eax, 4
imul ecx, eax, 5
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x19c], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x188], xmm0
mov eax, 4
imul ecx, eax, 7
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x1a0], xmm0
mov eax, 4
shl eax, 3
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x18c], xmm0
mov eax, 4
imul ecx, eax, 9
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x1a4], xmm0
mov eax, 4
imul ecx, eax, 0xa
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x190], xmm0
mov eax, 4
imul ecx, eax, 0xb
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x1a8], xmm0
push ecx
movss xmm0, dword [ebp - 0x19c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x184]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x198]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x180]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x194]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x17c]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bd40
add esp, 0x1c
push ecx
movss xmm0, dword [ebp - 0x1a8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x190]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x18c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x188]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bd40
add esp, 0x1c
jmp 0x1017fce5
cmp dword [ebp - 0x10], 9
jge 0x1017f852
xor eax, eax
jmp 0x1017fdb0
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x17c], xmm0
mov eax, 4
shl eax, 0
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x194], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x180], xmm0
mov eax, 4
imul ecx, eax, 3
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x198], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x184], xmm0
mov eax, 4
imul ecx, eax, 5
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x188], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x18c], xmm0
mov eax, 4
imul ecx, eax, 7
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x1a4], xmm0
mov eax, 4
shl eax, 3
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x190], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x184]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x198]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x180]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x194]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x17c]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bd40
add esp, 0x1c
movss xmm0, dword [ebp - 0x194]
addss xmm0, dword [ebp - 0x198]
addss xmm0, dword [ebp - 0x1a4]
xorps xmm0, xmmword [0x103033b0]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x190]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x18c]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x188]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bd40
add esp, 0x1c
jmp 0x1017fce5
cmp dword [ebp - 0x10], 0xb
jge 0x1017fa11
xor eax, eax
jmp 0x1017fdb0
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x17c], xmm0
mov eax, 4
shl eax, 0
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x194], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x180], xmm0
mov eax, 4
imul ecx, eax, 3
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x198], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x184], xmm0
mov eax, 4
imul ecx, eax, 5
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x19c], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x188], xmm0
mov eax, 4
imul ecx, eax, 7
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x1a0], xmm0
mov eax, 4
shl eax, 3
movss xmm0, dword [ebp + eax - 0xe4]
movss dword [ebp - 0x18c], xmm0
mov eax, 4
imul ecx, eax, 9
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x1a4], xmm0
mov eax, 4
imul ecx, eax, 0xa
movss xmm0, dword [ebp + ecx - 0xe4]
movss dword [ebp - 0x1a8], xmm0
movss xmm0, dword [ebp - 0x1a8]
movss dword [ebp - 0x190], xmm0
movss xmm0, dword [ebp - 0x17c]
addss xmm0, dword [ebp - 0x180]
addss xmm0, dword [ebp - 0x184]
addss xmm0, dword [ebp - 0x188]
addss xmm0, dword [ebp - 0x18c]
movss dword [ebp - 0x1ac], xmm0
movss xmm0, dword [ebp - 0x194]
addss xmm0, dword [ebp - 0x198]
addss xmm0, dword [ebp - 0x19c]
addss xmm0, dword [ebp - 0x1a0]
addss xmm0, dword [ebp - 0x1a4]
movss dword [ebp - 0x1b0], xmm0
push ecx
movss xmm0, dword [ebp - 0x1ac]
movss dword [esp], xmm0
call fcn.100e5ff8
add esp, 4
fstp dword [ebp - 0x280]
movss xmm0, dword [ebp - 0x280]
push ecx
movss xmm1, dword [ebp - 0x1b0]
movss dword [esp], xmm1
movss dword [ebp - 0x284], xmm0
call fcn.100e5ff8
add esp, 4
fstp dword [ebp - 0x288]
movss xmm0, dword [ebp - 0x284]
comiss xmm0, dword [ebp - 0x288]
jbe 0x1017fc05
movss xmm0, dword [ebp - 0x1b0]
xorps xmm0, xmmword [0x103033b0]
movss dword [ebp - 0x1a8], xmm0
jmp 0x1017fc1c
movss xmm0, dword [ebp - 0x1ac]
xorps xmm0, xmmword [0x103033b0]
movss dword [ebp - 0x190], xmm0
push ecx
movss xmm0, dword [ebp - 0x19c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x184]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x198]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x180]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x194]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x17c]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bd40
add esp, 0x1c
push ecx
movss xmm0, dword [ebp - 0x1a8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x190]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x18c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x188]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1017bd40
add esp, 0x1c
jmp 0x1017fce5
xor eax, eax
jmp 0x1017fdb0
jmp 0x1017fd9c
cmp dword [ebp - 0x1c], 0xff
je 0x1017fd0f
cmp dword [ebp - 0x1c], 0x1c
je 0x1017fd0f
cmp dword [ebp - 0x1c], 0x20
jl 0x1017fd08
cmp dword [ebp - 0x1c], 0xfe
jle 0x1017fd0f
xor eax, eax
jmp 0x1017fdb0
cmp dword [ebp - 0x1c], 0xff
jne 0x1017fd3f
push 4
lea eax, [ebp - 0x174]
push eax
call fcn.1017b2f0
add esp, 8
cvtsi2ss xmm0, eax
divss xmm0, dword [0x1030cffc]
movss dword [ebp - 0x178], xmm0
jmp 0x1017fd6e
push 0xffffffffffffffff
lea eax, [ebp - 0x174]
push eax
call fcn.1017b4d0
add esp, 8
lea eax, [ebp - 0x174]
push eax
call fcn.1017b740
add esp, 4
movsx ecx, ax
cvtsi2ss xmm0, ecx
movss dword [ebp - 0x178], xmm0
cmp dword [ebp - 0x10], 0x30
jl 0x1017fd78
xor eax, eax
jmp 0x1017fdb0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x178]
movss dword [ebp + eax*4 - 0xe4], xmm0
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0
je 0x1017fda9
mov dword [ebp - 0x10], 0
jmp 0x1017eacb
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret