Function at 0x1002f7d0
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push edi
lea edi, [ebp - 0x248]
mov ecx, 0x92
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10186040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
add eax, 0x5c
mov ecx, dword [eax]
mov dword [ebp - 0x180], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x17c], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x44
sub esp, 0xc
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
lea eax, [ebp - 0x1f0]
push eax
call fcn.1002c9f0
add esp, 0x14
mov ecx, dword [eax]
mov dword [ebp - 0x1e4], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1e0], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x1e0]
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x190]
cmp ecx, dword [ebp - 0x18c]
jge 0x10030b7c
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 1
lea edx, [ebp - 0x194]
push edx
call fcn.1002c2d0
add esp, 4
movzx eax, al
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x224]
sub edx, 1
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x224], 0x1e
ja case.0x1002f905.1
mov eax, dword [ebp - 0x224]
jmp dword [eax*4 + 0x10030bfc]
cmp dword [ebp - 8], 0
je 0x1002f920
mov eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
lea ecx, [ebp - 0x194]
push ecx
call fcn.1002c380
add esp, 8
jmp 0x10030b6a
mov eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
jmp 0x10030b6a
mov dword [ebp - 8], 0
cmp dword [ebp - 0x14], 2
jge 0x1002f972
xor eax, eax
jmp 0x10030b7e
mov edx, dword [ebp - 0x14]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xf0]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x14]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xf4]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1002f2f0
add esp, 0xc
jmp 0x10030b6a
mov dword [ebp - 8], 0
cmp dword [ebp - 0x14], 1
jge 0x1002f9bb
xor eax, eax
jmp 0x10030b7e
mov edx, dword [ebp - 0x14]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xf0]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1002f2f0
add esp, 0xc
jmp 0x10030b6a
mov dword [ebp - 8], 0
cmp dword [ebp - 0x14], 1
jge 0x1002f9fb
xor eax, eax
jmp 0x10030b7e
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x14]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xf0]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1002f2f0
add esp, 0xc
jmp 0x10030b6a
cmp dword [ebp - 0x14], 2
jge 0x1002fa34
xor eax, eax
jmp 0x10030b7e
jmp 0x1002fa3f
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
cmp ecx, dword [ebp - 0x14]
jge 0x1002fa7c
mov edx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe8]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xec]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1002f3a0
add esp, 0xc
jmp 0x1002fa36
jmp 0x10030b6a
cmp dword [ebp - 0x14], 1
jge 0x1002fa8e
xor eax, eax
jmp 0x10030b7e
jmp 0x1002fad9
cmp dword [ebp - 0x14], 1
jge 0x1002fa9f
xor eax, eax
jmp 0x10030b7e
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x14]
jl 0x1002faa9
jmp 0x1002fb15
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xec]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1002f3a0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jl 0x1002fae3
jmp 0x1002fb15
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xec]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1002f3a0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x1002fa9f
jmp 0x10030b6a
cmp dword [ebp - 0x14], 4
jge 0x1002fb27
xor eax, eax
jmp 0x10030b7e
jmp 0x1002fbee
cmp dword [ebp - 0x14], 4
jge 0x1002fb3e
xor eax, eax
jmp 0x10030b7e
mov ecx, dword [ebp - 0x1c]
add ecx, 3
cmp ecx, dword [ebp - 0x14]
jl 0x1002fb4e
jmp 0x1002fcb3
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
cmp edx, 5
jne 0x1002fb6f
mov eax, dword [ebp - 0x1c]
movss xmm0, dword [ebp + eax*4 - 0xdc]
movss dword [ebp - 0x228], xmm0
jmp 0x1002fb7a
xorps xmm0, xmm0
movss dword [ebp - 0x228], xmm0
push ecx
movss xmm0, dword [ebp - 0x228]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe0]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe4]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe8]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xec]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1002f400
add esp, 0x1c
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 3
cmp ecx, dword [ebp - 0x14]
jl 0x1002fbfe
jmp 0x1002fcb3
mov edx, dword [ebp - 0x1c]
movss xmm0, dword [ebp + edx*4 - 0xe0]
movss dword [ebp - 0x22c], xmm0
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cmp eax, 5
jne 0x1002fc33
mov ecx, dword [ebp - 0x1c]
movss xmm0, dword [ebp + ecx*4 - 0xdc]
movss dword [ebp - 0x230], xmm0
jmp 0x1002fc3e
xorps xmm0, xmm0
movss dword [ebp - 0x230], xmm0
push ecx
movss xmm0, dword [ebp - 0x22c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x230]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe4]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1c]
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 - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xec]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1002f400
add esp, 0x1c
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x1002fb3e
jmp 0x10030b6a
cmp dword [ebp - 0x14], 6
jge 0x1002fcc5
xor eax, eax
jmp 0x10030b7e
jmp 0x1002fcd0
mov ecx, dword [ebp - 0x1c]
add ecx, 6
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 5
cmp edx, dword [ebp - 0x14]
jge 0x1002fd58
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xd8]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xdc]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe0]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe4]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe8]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xec]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1002f400
add esp, 0x1c
jmp 0x1002fcc7
jmp 0x10030b6a
cmp dword [ebp - 0x14], 8
jge 0x1002fd6a
xor eax, eax
jmp 0x10030b7e
jmp 0x1002fd75
mov ecx, dword [ebp - 0x1c]
add ecx, 6
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 5
mov eax, dword [ebp - 0x14]
sub eax, 2
cmp edx, eax
jge 0x1002fe02
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xd8]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xdc]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe4]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe8]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xec]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1002f400
add esp, 0x1c
jmp 0x1002fd6c
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x14]
jl 0x1002fe14
xor eax, eax
jmp 0x10030b7e
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe8]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xec]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1002f3a0
add esp, 0xc
jmp 0x10030b6a
cmp dword [ebp - 0x14], 8
jge 0x1002fe56
xor eax, eax
jmp 0x10030b7e
jmp 0x1002fe61
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov edx, dword [ebp - 0x14]
sub edx, 6
cmp ecx, edx
jge 0x1002fea3
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe8]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xec]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1002f3a0
add esp, 0xc
jmp 0x1002fe58
mov eax, dword [ebp - 0x1c]
add eax, 5
cmp eax, dword [ebp - 0x14]
jl 0x1002feb5
xor eax, eax
jmp 0x10030b7e
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xd8]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xdc]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe4]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe8]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xec]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1002f400
add esp, 0x1c
jmp 0x10030b6a
cmp dword [ebp - 0x14], 4
jge 0x1002ff3f
xor eax, eax
jmp 0x10030b7e
xorps xmm0, xmm0
movss dword [ebp - 0x19c], xmm0
mov edx, dword [ebp - 0x14]
and edx, 1
je 0x1002ff6f
mov eax, dword [ebp - 0x1c]
movss xmm0, dword [ebp + eax*4 - 0xec]
movss dword [ebp - 0x19c], xmm0
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x1002ff7a
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
add eax, 3
cmp eax, dword [ebp - 0x14]
jge 0x10030077
cmp dword [ebp - 0x20], 0x1b
jne 0x1002fffc
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe0]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe4]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x19c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xec]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1002f400
add esp, 0x1c
jmp 0x10030067
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xe0]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xe4]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xe8]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xec]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x19c]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1002f400
add esp, 0x1c
xorps xmm0, xmm0
movss dword [ebp - 0x19c], xmm0
jmp 0x1002ff71
jmp 0x10030b6a
cmp dword [ebp - 0x24], 0
jne case.0x1002f905.28
mov edx, dword [ebp + 8]
cmp dword [edx + 0x7c], 0
je 0x100300e0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.1002f5b0
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x1fc], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1f8], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x180], ecx
mov edx, dword [ebp - 0x1f8]
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x14], 1
jge 0x100300f4
xor eax, eax
jmp 0x10030b7e
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cvttss2si eax, dword [ebp + edx*4 - 0xec]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], 0xa
jl 0x10030119
xor eax, eax
jmp 0x10030b7e
imul ecx, dword [ebp - 0x10], 0xc
lea edx, [ebp + ecx - 0x16c]
mov eax, dword [ebp - 0x194]
mov dword [edx], eax
mov ecx, dword [ebp - 0x190]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x18c]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x234], edx
cmp dword [ebp - 0x20], 0xa
jne 0x10030164
lea eax, [ebp - 0x180]
mov dword [ebp - 0x238], eax
jmp 0x10030170
mov ecx, dword [ebp + 8]
add ecx, 0x50
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x238]
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.1002f4d0
add esp, 0x14
mov edx, dword [eax]
mov dword [ebp - 0x214], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x210], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x190], ecx
mov edx, dword [ebp - 0x20c]
mov dword [ebp - 0x18c], edx
cmp dword [ebp - 0x18c], 0
jne 0x100301ef
xor eax, eax
jmp 0x10030b7e
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x28], 0
jmp 0x10030b6a
cmp dword [ebp - 0x10], 0
jg 0x10030212
xor eax, eax
jmp 0x10030b7e
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
imul ecx, dword [ebp - 0x10], 0xc
lea edx, [ebp + ecx - 0x16c]
mov eax, dword [edx]
mov dword [ebp - 0x194], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x190], ecx
mov edx, dword [edx + 8]
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x28], 0
jmp 0x10030b6a
mov eax, dword [ebp + 0x10]
push eax
call fcn.1002f290
add esp, 4
mov eax, 1
jmp 0x10030b7e
lea ecx, [ebp - 0x194]
push ecx
call fcn.1002c2d0
add esp, 4
movzx edx, al
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
sub ecx, 0x22
mov dword [ebp - 0x23c], ecx
cmp dword [ebp - 0x23c], 3
ja case.default.0x100302a8
mov edx, dword [ebp - 0x23c]
jmp dword [edx*4 + 0x10030c78]
cmp dword [ebp - 0x14], 7
jge 0x100302bc
xor eax, eax
jmp 0x10030b7e
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0xec]
movss dword [ebp - 0x1a0], xmm0
mov edx, 4
shl edx, 0
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1a4], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0xec]
movss dword [ebp - 0x1bc], xmm0
mov ecx, 4
imul edx, ecx, 3
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1a8], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0xec]
movss dword [ebp - 0x1ac], xmm0
mov ecx, 4
imul edx, ecx, 5
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1b0], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0xec]
movss dword [ebp - 0x1b4], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1bc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a4]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a0]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1002f400
add esp, 0x18
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1b4]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x1bc]
xorps xmm0, xmmword [0x10182940]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1b0]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1ac]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1002f400
add esp, 0x1c
jmp 0x10030abc
cmp dword [ebp - 0x14], 0xd
jge 0x1003042e
xor eax, eax
jmp 0x10030b7e
mov ecx, 4
imul edx, ecx, 0
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1a0], xmm0
mov eax, 4
shl eax, 0
movss xmm0, dword [ebp + eax - 0xec]
movss dword [ebp - 0x1b8], xmm0
mov ecx, 4
shl ecx, 1
movss xmm0, dword [ebp + ecx - 0xec]
movss dword [ebp - 0x1a4], xmm0
mov edx, 4
imul eax, edx, 3
movss xmm0, dword [ebp + eax - 0xec]
movss dword [ebp - 0x1bc], xmm0
mov ecx, 4
shl ecx, 2
movss xmm0, dword [ebp + ecx - 0xec]
movss dword [ebp - 0x1a8], xmm0
mov edx, 4
imul eax, edx, 5
movss xmm0, dword [ebp + eax - 0xec]
movss dword [ebp - 0x1c0], xmm0
mov ecx, 4
imul edx, ecx, 6
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1ac], xmm0
mov eax, 4
imul ecx, eax, 7
movss xmm0, dword [ebp + ecx - 0xec]
movss dword [ebp - 0x1c4], xmm0
mov edx, 4
shl edx, 3
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1b0], xmm0
mov eax, 4
imul ecx, eax, 9
movss xmm0, dword [ebp + ecx - 0xec]
movss dword [ebp - 0x1c8], xmm0
mov edx, 4
imul eax, edx, 0xa
movss xmm0, dword [ebp + eax - 0xec]
movss dword [ebp - 0x1b4], xmm0
mov ecx, 4
imul edx, ecx, 0xb
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1cc], xmm0
push ecx
movss xmm0, dword [ebp - 0x1c0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1bc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1b8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a0]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1002f400
add esp, 0x18
movss xmm0, dword [ebp - 0x1cc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1c8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1b0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1c4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1ac]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1002f400
add esp, 0x1c
jmp 0x10030abc
cmp dword [ebp - 0x14], 9
jge 0x1003062a
xor eax, eax
jmp 0x10030b7e
mov edx, 4
imul eax, edx, 0
movss xmm0, dword [ebp + eax - 0xec]
movss dword [ebp - 0x1a0], xmm0
mov ecx, 4
shl ecx, 0
movss xmm0, dword [ebp + ecx - 0xec]
movss dword [ebp - 0x1b8], xmm0
mov edx, 4
shl edx, 1
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1a4], xmm0
mov eax, 4
imul ecx, eax, 3
movss xmm0, dword [ebp + ecx - 0xec]
movss dword [ebp - 0x1bc], xmm0
mov edx, 4
shl edx, 2
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1a8], xmm0
mov eax, 4
imul ecx, eax, 5
movss xmm0, dword [ebp + ecx - 0xec]
movss dword [ebp - 0x1ac], xmm0
mov edx, 4
imul eax, edx, 6
movss xmm0, dword [ebp + eax - 0xec]
movss dword [ebp - 0x1b0], xmm0
mov ecx, 4
imul edx, ecx, 7
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1c8], xmm0
mov eax, 4
shl eax, 3
movss xmm0, dword [ebp + eax - 0xec]
movss dword [ebp - 0x1b4], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1bc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1b8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a0]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1002f400
add esp, 0x1c
movss xmm0, dword [ebp - 0x1b8]
addss xmm0, dword [ebp - 0x1bc]
addss xmm0, dword [ebp - 0x1c8]
xorps xmm0, xmmword [0x10182940]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1c8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1b0]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1ac]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1002f400
add esp, 0x1c
jmp 0x10030abc
cmp dword [ebp - 0x14], 0xb
jge 0x100307e9
xor eax, eax
jmp 0x10030b7e
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0xec]
movss dword [ebp - 0x1a0], xmm0
mov edx, 4
shl edx, 0
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1b8], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0xec]
movss dword [ebp - 0x1a4], xmm0
mov ecx, 4
imul edx, ecx, 3
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1bc], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0xec]
movss dword [ebp - 0x1a8], xmm0
mov ecx, 4
imul edx, ecx, 5
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1c0], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0xec]
movss dword [ebp - 0x1ac], xmm0
mov edx, 4
imul eax, edx, 7
movss xmm0, dword [ebp + eax - 0xec]
movss dword [ebp - 0x1c4], xmm0
mov ecx, 4
shl ecx, 3
movss xmm0, dword [ebp + ecx - 0xec]
movss dword [ebp - 0x1b0], xmm0
mov edx, 4
imul eax, edx, 9
movss xmm0, dword [ebp + eax - 0xec]
movss dword [ebp - 0x1c8], xmm0
mov ecx, 4
imul edx, ecx, 0xa
movss xmm0, dword [ebp + edx - 0xec]
movss dword [ebp - 0x1cc], xmm0
movss xmm0, dword [ebp - 0x1cc]
movss dword [ebp - 0x1b4], xmm0
movss xmm0, dword [ebp - 0x1a0]
addss xmm0, dword [ebp - 0x1a4]
addss xmm0, dword [ebp - 0x1a8]
addss xmm0, dword [ebp - 0x1ac]
addss xmm0, dword [ebp - 0x1b0]
movss dword [ebp - 0x1d0], xmm0
movss xmm0, dword [ebp - 0x1b8]
addss xmm0, dword [ebp - 0x1bc]
addss xmm0, dword [ebp - 0x1c0]
addss xmm0, dword [ebp - 0x1c4]
addss xmm0, dword [ebp - 0x1c8]
movss dword [ebp - 0x1d4], xmm0
push ecx
movss xmm0, dword [ebp - 0x1d0]
movss dword [esp], xmm0
call fcn.10001da0
add esp, 4
fstp dword [ebp - 0x240]
movss xmm0, dword [ebp - 0x240]
push ecx
movss xmm1, dword [ebp - 0x1d4]
movss dword [esp], xmm1
movss dword [ebp - 0x244], xmm0
call fcn.10001da0
add esp, 4
fstp dword [ebp - 0x248]
movss xmm0, dword [ebp - 0x244]
comiss xmm0, dword [ebp - 0x248]
jbe 0x100309dd
movss xmm0, dword [ebp - 0x1d4]
xorps xmm0, xmmword [0x10182940]
movss dword [ebp - 0x1cc], xmm0
jmp 0x100309f4
movss xmm0, dword [ebp - 0x1d0]
xorps xmm0, xmmword [0x10182940]
movss dword [ebp - 0x1b4], xmm0
push ecx
movss xmm0, dword [ebp - 0x1c0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1bc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1b8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a0]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1002f400
add esp, 0x18
movss xmm0, dword [ebp - 0x1cc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1c8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1b0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1c4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1ac]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1002f400
add esp, 0x1c
jmp 0x10030abc
xor eax, eax
jmp 0x10030b7e
jmp 0x10030b6a
cmp dword [ebp - 0x20], 0xff
je 0x10030add
cmp dword [ebp - 0x20], 0x1c
je 0x10030add
cmp dword [ebp - 0x20], 0x20
jge 0x10030add
xor eax, eax
jmp 0x10030b7e
cmp dword [ebp - 0x20], 0xff
jne 0x10030b0d
push 4
lea edx, [ebp - 0x194]
push edx
call fcn.1002c3b0
add esp, 8
cvtsi2ss xmm0, eax
divss xmm0, dword [0x101828a0]
movss dword [ebp - 0x19c], xmm0
jmp 0x10030b3c
push 0xffffffffffffffff
lea eax, [ebp - 0x194]
push eax
call fcn.1002c380
add esp, 8
lea ecx, [ebp - 0x194]
push ecx
call fcn.1002c630
add esp, 4
movsx edx, ax
cvtsi2ss xmm0, edx
movss dword [ebp - 0x19c], xmm0
cmp dword [ebp - 0x14], 0x30
jl 0x10030b46
xor eax, eax
jmp 0x10030b7e
mov eax, dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x19c]
movss dword [ebp + eax*4 - 0xec], xmm0
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0
je 0x10030b77
mov dword [ebp - 0x14], 0
jmp 0x1002f8a5
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x10030bac]
call fcn.10086a10
pop eax
pop edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084db0
add esp, 0x248
cmp ebp, esp
call fcn.10086a70
mov esp, ebp
pop ebp
ret