Function at 0x1002d480
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 [0x1008b040]
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.1002a6a0
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 0x1002e82c
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 1
lea edx, [ebp - 0x194]
push edx
call fcn.10029f80
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.0x1002d5b5.1
mov eax, dword [ebp - 0x224]
jmp dword [eax*4 + 0x1002e8ac]
cmp dword [ebp - 8], 0
je 0x1002d5d0
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.1002a030
add esp, 8
jmp 0x1002e81a
mov eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
jmp 0x1002e81a
mov dword [ebp - 8], 0
cmp dword [ebp - 0x14], 2
jge 0x1002d622
xor eax, eax
jmp 0x1002e82e
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.1002cfa0
add esp, 0xc
jmp 0x1002e81a
mov dword [ebp - 8], 0
cmp dword [ebp - 0x14], 1
jge 0x1002d66b
xor eax, eax
jmp 0x1002e82e
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.1002cfa0
add esp, 0xc
jmp 0x1002e81a
mov dword [ebp - 8], 0
cmp dword [ebp - 0x14], 1
jge 0x1002d6ab
xor eax, eax
jmp 0x1002e82e
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.1002cfa0
add esp, 0xc
jmp 0x1002e81a
cmp dword [ebp - 0x14], 2
jge 0x1002d6e4
xor eax, eax
jmp 0x1002e82e
jmp 0x1002d6ef
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 0x1002d72c
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.1002d050
add esp, 0xc
jmp 0x1002d6e6
jmp 0x1002e81a
cmp dword [ebp - 0x14], 1
jge 0x1002d73e
xor eax, eax
jmp 0x1002e82e
jmp 0x1002d789
cmp dword [ebp - 0x14], 1
jge 0x1002d74f
xor eax, eax
jmp 0x1002e82e
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x14]
jl 0x1002d759
jmp 0x1002d7c5
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.1002d050
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 0x1002d793
jmp 0x1002d7c5
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.1002d050
add esp, 0xc
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x1002d74f
jmp 0x1002e81a
cmp dword [ebp - 0x14], 4
jge 0x1002d7d7
xor eax, eax
jmp 0x1002e82e
jmp 0x1002d89e
cmp dword [ebp - 0x14], 4
jge 0x1002d7ee
xor eax, eax
jmp 0x1002e82e
mov ecx, dword [ebp - 0x1c]
add ecx, 3
cmp ecx, dword [ebp - 0x14]
jl 0x1002d7fe
jmp 0x1002d963
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
cmp edx, 5
jne 0x1002d81f
mov eax, dword [ebp - 0x1c]
movss xmm0, dword [ebp + eax*4 - 0xdc]
movss dword [ebp - 0x228], xmm0
jmp 0x1002d82a
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.1002d0b0
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 0x1002d8ae
jmp 0x1002d963
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 0x1002d8e3
mov ecx, dword [ebp - 0x1c]
movss xmm0, dword [ebp + ecx*4 - 0xdc]
movss dword [ebp - 0x230], xmm0
jmp 0x1002d8ee
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.1002d0b0
add esp, 0x1c
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x1002d7ee
jmp 0x1002e81a
cmp dword [ebp - 0x14], 6
jge 0x1002d975
xor eax, eax
jmp 0x1002e82e
jmp 0x1002d980
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 0x1002da08
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.1002d0b0
add esp, 0x1c
jmp 0x1002d977
jmp 0x1002e81a
cmp dword [ebp - 0x14], 8
jge 0x1002da1a
xor eax, eax
jmp 0x1002e82e
jmp 0x1002da25
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 0x1002dab2
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.1002d0b0
add esp, 0x1c
jmp 0x1002da1c
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x14]
jl 0x1002dac4
xor eax, eax
jmp 0x1002e82e
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.1002d050
add esp, 0xc
jmp 0x1002e81a
cmp dword [ebp - 0x14], 8
jge 0x1002db06
xor eax, eax
jmp 0x1002e82e
jmp 0x1002db11
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 0x1002db53
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.1002d050
add esp, 0xc
jmp 0x1002db08
mov eax, dword [ebp - 0x1c]
add eax, 5
cmp eax, dword [ebp - 0x14]
jl 0x1002db65
xor eax, eax
jmp 0x1002e82e
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.1002d0b0
add esp, 0x1c
jmp 0x1002e81a
cmp dword [ebp - 0x14], 4
jge 0x1002dbef
xor eax, eax
jmp 0x1002e82e
xorps xmm0, xmm0
movss dword [ebp - 0x19c], xmm0
mov edx, dword [ebp - 0x14]
and edx, 1
je 0x1002dc1f
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 0x1002dc2a
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 0x1002dd27
cmp dword [ebp - 0x20], 0x1b
jne 0x1002dcac
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.1002d0b0
add esp, 0x1c
jmp 0x1002dd17
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.1002d0b0
add esp, 0x1c
xorps xmm0, xmm0
movss dword [ebp - 0x19c], xmm0
jmp 0x1002dc21
jmp 0x1002e81a
cmp dword [ebp - 0x24], 0
jne case.0x1002d5b5.28
mov edx, dword [ebp + 8]
cmp dword [edx + 0x7c], 0
je 0x1002dd90
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.1002d260
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 0x1002dda4
xor eax, eax
jmp 0x1002e82e
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 0x1002ddc9
xor eax, eax
jmp 0x1002e82e
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 0x1002de14
lea eax, [ebp - 0x180]
mov dword [ebp - 0x238], eax
jmp 0x1002de20
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.1002d180
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 0x1002de9f
xor eax, eax
jmp 0x1002e82e
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x28], 0
jmp 0x1002e81a
cmp dword [ebp - 0x10], 0
jg 0x1002dec2
xor eax, eax
jmp 0x1002e82e
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 0x1002e81a
mov eax, dword [ebp + 0x10]
push eax
call fcn.1002cf40
add esp, 4
mov eax, 1
jmp 0x1002e82e
lea ecx, [ebp - 0x194]
push ecx
call fcn.10029f80
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.0x1002df58
mov edx, dword [ebp - 0x23c]
jmp dword [edx*4 + 0x1002e928]
cmp dword [ebp - 0x14], 7
jge 0x1002df6c
xor eax, eax
jmp 0x1002e82e
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.1002d0b0
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 [0x10088240]
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.1002d0b0
add esp, 0x1c
jmp 0x1002e76c
cmp dword [ebp - 0x14], 0xd
jge 0x1002e0de
xor eax, eax
jmp 0x1002e82e
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.1002d0b0
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.1002d0b0
add esp, 0x1c
jmp 0x1002e76c
cmp dword [ebp - 0x14], 9
jge 0x1002e2da
xor eax, eax
jmp 0x1002e82e
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.1002d0b0
add esp, 0x1c
movss xmm0, dword [ebp - 0x1b8]
addss xmm0, dword [ebp - 0x1bc]
addss xmm0, dword [ebp - 0x1c8]
xorps xmm0, xmmword [0x10088240]
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.1002d0b0
add esp, 0x1c
jmp 0x1002e76c
cmp dword [ebp - 0x14], 0xb
jge 0x1002e499
xor eax, eax
jmp 0x1002e82e
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.10001ce0
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.10001ce0
add esp, 4
fstp dword [ebp - 0x248]
movss xmm0, dword [ebp - 0x244]
comiss xmm0, dword [ebp - 0x248]
jbe 0x1002e68d
movss xmm0, dword [ebp - 0x1d4]
xorps xmm0, xmmword [0x10088240]
movss dword [ebp - 0x1cc], xmm0
jmp 0x1002e6a4
movss xmm0, dword [ebp - 0x1d0]
xorps xmm0, xmmword [0x10088240]
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.1002d0b0
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.1002d0b0
add esp, 0x1c
jmp 0x1002e76c
xor eax, eax
jmp 0x1002e82e
jmp 0x1002e81a
cmp dword [ebp - 0x20], 0xff
je 0x1002e78d
cmp dword [ebp - 0x20], 0x1c
je 0x1002e78d
cmp dword [ebp - 0x20], 0x20
jge 0x1002e78d
xor eax, eax
jmp 0x1002e82e
cmp dword [ebp - 0x20], 0xff
jne 0x1002e7bd
push 4
lea edx, [ebp - 0x194]
push edx
call fcn.1002a060
add esp, 8
cvtsi2ss xmm0, eax
divss xmm0, dword [0x100881c8]
movss dword [ebp - 0x19c], xmm0
jmp 0x1002e7ec
push 0xffffffffffffffff
lea eax, [ebp - 0x194]
push eax
call fcn.1002a030
add esp, 8
lea ecx, [ebp - 0x194]
push ecx
call fcn.1002a2e0
add esp, 4
movsx edx, ax
cvtsi2ss xmm0, edx
movss dword [ebp - 0x19c], xmm0
cmp dword [ebp - 0x14], 0x30
jl 0x1002e7f6
xor eax, eax
jmp 0x1002e82e
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 0x1002e827
mov dword [ebp - 0x14], 0
jmp 0x1002d555
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x1002e85c]
call fcn.1006a0a0
pop eax
pop edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10068460
add esp, 0x248
cmp ebp, esp
call fcn.1006a100
mov esp, ebp
pop ebp
ret