Function at 0x1004baf0
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1019c880]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x188], 1
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x1b8], 0
mov eax, dword [ebp + 8]
add eax, 0x5c
mov ecx, dword [eax]
mov dword [ebp - 0x1c4], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c0], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x1bc], 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 - 0x210]
push eax
call fcn.100491a0
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 - 0x180], ecx
mov edx, dword [ebp - 0x1e0]
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x17c]
cmp ecx, dword [ebp - 0x178]
jge 0x1004d083
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x1a0], 1
lea edx, [ebp - 0x180]
push edx
call fcn.10048f30
add esp, 4
movzx eax, al
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x190], ecx
mov edx, dword [ebp - 0x190]
sub edx, 1
mov dword [ebp - 0x190], edx
cmp dword [ebp - 0x190], 0x1e
ja case.0x1004bc2d.1
mov eax, dword [ebp - 0x190]
jmp dword [eax*4 + 0x1004d094]
cmp dword [ebp - 0x188], 0
je 0x1004bc54
mov eax, dword [ebp - 0x144]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x184]
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x184]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
lea ecx, [ebp - 0x180]
push ecx
call fcn.100490a0
add esp, 8
jmp 0x1004d06b
mov eax, dword [ebp - 0x144]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x184]
mov dword [ebp - 0x184], eax
jmp 0x1004d06b
mov dword [ebp - 0x188], 0
cmp dword [ebp - 0x144], 2
jge 0x1004bcbb
xor eax, eax
jmp 0x1004d085
mov edx, dword [ebp - 0x144]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xc8]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x144]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xcc]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.100497e0
add esp, 0xc
jmp 0x1004d06b
mov dword [ebp - 0x188], 0
cmp dword [ebp - 0x144], 1
jge 0x1004bd10
xor eax, eax
jmp 0x1004d085
mov edx, dword [ebp - 0x144]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xc8]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.100497e0
add esp, 0xc
jmp 0x1004d06b
mov dword [ebp - 0x188], 0
cmp dword [ebp - 0x144], 1
jge 0x1004bd59
xor eax, eax
jmp 0x1004d085
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x144]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xc8]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.100497e0
add esp, 0xc
jmp 0x1004d06b
cmp dword [ebp - 0x144], 2
jge 0x1004bd98
xor eax, eax
jmp 0x1004d085
jmp 0x1004bda9
mov eax, dword [ebp - 0x140]
add eax, 2
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
add ecx, 1
cmp ecx, dword [ebp - 0x144]
jge 0x1004bdf2
mov edx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xc0]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xc4]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10049780
add esp, 0xc
jmp 0x1004bd9a
jmp 0x1004d06b
cmp dword [ebp - 0x144], 1
jge 0x1004be07
xor eax, eax
jmp 0x1004d085
jmp 0x1004be67
cmp dword [ebp - 0x144], 1
jge 0x1004be1b
xor eax, eax
jmp 0x1004d085
mov edx, dword [ebp - 0x140]
cmp edx, dword [ebp - 0x144]
jl 0x1004be2e
jmp 0x1004beb5
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xc4]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10049780
add esp, 0xc
mov edx, dword [ebp - 0x140]
add edx, 1
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x144]
jl 0x1004be77
jmp 0x1004beb5
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xc4]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.10049780
add esp, 0xc
mov eax, dword [ebp - 0x140]
add eax, 1
mov dword [ebp - 0x140], eax
jmp 0x1004be1b
jmp 0x1004d06b
cmp dword [ebp - 0x144], 4
jge 0x1004beca
xor eax, eax
jmp 0x1004d085
jmp 0x1004bfb5
cmp dword [ebp - 0x144], 4
jge 0x1004bee4
xor eax, eax
jmp 0x1004d085
mov ecx, dword [ebp - 0x140]
add ecx, 3
cmp ecx, dword [ebp - 0x144]
jl 0x1004befa
jmp 0x1004c09b
mov edx, dword [ebp - 0x144]
sub edx, dword [ebp - 0x140]
cmp edx, 5
jne 0x1004bf24
mov eax, dword [ebp - 0x140]
movss xmm0, dword [ebp + eax*4 - 0xb4]
movss dword [ebp - 0x1b0], xmm0
jmp 0x1004bf2f
xorps xmm0, xmm0
movss dword [ebp - 0x1b0], xmm0
push ecx
movss xmm0, dword [ebp - 0x1b0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xb8]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xbc]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xc0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xc4]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.100496d0
add esp, 0x1c
mov eax, dword [ebp - 0x140]
add eax, 4
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
add ecx, 3
cmp ecx, dword [ebp - 0x144]
jl 0x1004bfcb
jmp 0x1004c09b
mov edx, dword [ebp - 0x140]
movss xmm0, dword [ebp + edx*4 - 0xb8]
movss dword [ebp - 0x1d4], xmm0
mov eax, dword [ebp - 0x144]
sub eax, dword [ebp - 0x140]
cmp eax, 5
jne 0x1004c00c
mov ecx, dword [ebp - 0x140]
movss xmm0, dword [ebp + ecx*4 - 0xb4]
movss dword [ebp - 0x1b4], xmm0
jmp 0x1004c017
xorps xmm0, xmm0
movss dword [ebp - 0x1b4], xmm0
push ecx
movss xmm0, dword [ebp - 0x1d4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1b4]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xbc]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xc0]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xc4]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.100496d0
add esp, 0x1c
mov eax, dword [ebp - 0x140]
add eax, 4
mov dword [ebp - 0x140], eax
jmp 0x1004bee4
jmp 0x1004d06b
cmp dword [ebp - 0x144], 6
jge 0x1004c0b0
xor eax, eax
jmp 0x1004d085
jmp 0x1004c0c1
mov ecx, dword [ebp - 0x140]
add ecx, 6
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x140]
add edx, 5
cmp edx, dword [ebp - 0x144]
jge 0x1004c165
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xb0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xb4]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xb8]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xbc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xc0]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xc4]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.100496d0
add esp, 0x1c
jmp 0x1004c0b2
jmp 0x1004d06b
cmp dword [ebp - 0x144], 8
jge 0x1004c17a
xor eax, eax
jmp 0x1004d085
jmp 0x1004c18b
mov ecx, dword [ebp - 0x140]
add ecx, 6
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x140]
add edx, 5
mov eax, dword [ebp - 0x144]
sub eax, 2
cmp edx, eax
jge 0x1004c234
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xb0]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xb4]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xb8]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xbc]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xc0]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xc4]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.100496d0
add esp, 0x1c
jmp 0x1004c17c
mov edx, dword [ebp - 0x140]
add edx, 1
cmp edx, dword [ebp - 0x144]
jl 0x1004c24c
xor eax, eax
jmp 0x1004d085
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xc0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xc4]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.10049780
add esp, 0xc
jmp 0x1004d06b
cmp dword [ebp - 0x144], 8
jge 0x1004c297
xor eax, eax
jmp 0x1004d085
jmp 0x1004c2a8
mov eax, dword [ebp - 0x140]
add eax, 2
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
add ecx, 1
mov edx, dword [ebp - 0x144]
sub edx, 6
cmp ecx, edx
jge 0x1004c2f6
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xc0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xc4]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.10049780
add esp, 0xc
jmp 0x1004c299
mov eax, dword [ebp - 0x140]
add eax, 5
cmp eax, dword [ebp - 0x144]
jl 0x1004c30e
xor eax, eax
jmp 0x1004d085
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xb0]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xb4]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xb8]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xbc]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xc0]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xc4]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.100496d0
add esp, 0x1c
jmp 0x1004d06b
cmp dword [ebp - 0x144], 4
jge 0x1004c3ad
xor eax, eax
jmp 0x1004d085
xorps xmm0, xmm0
movss dword [ebp - 0x174], xmm0
mov edx, dword [ebp - 0x144]
and edx, 1
je 0x1004c3e9
mov eax, dword [ebp - 0x140]
movss xmm0, dword [ebp + eax*4 - 0xc4]
movss dword [ebp - 0x174], xmm0
mov ecx, dword [ebp - 0x140]
add ecx, 1
mov dword [ebp - 0x140], ecx
jmp 0x1004c3fa
mov edx, dword [ebp - 0x140]
add edx, 4
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
add eax, 3
cmp eax, dword [ebp - 0x144]
jge 0x1004c518
cmp dword [ebp - 0x170], 0x1b
jne 0x1004c491
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xb8]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xbc]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xc0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x174]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xc4]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.100496d0
add esp, 0x1c
jmp 0x1004c508
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xb8]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xbc]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + edx*4 - 0xc0]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + eax*4 - 0xc4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x174]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.100496d0
add esp, 0x1c
xorps xmm0, xmm0
movss dword [ebp - 0x174], xmm0
jmp 0x1004c3eb
jmp 0x1004d06b
cmp dword [ebp - 0x1b8], 0
jne case.0x1004bc2d.28
mov edx, dword [ebp + 8]
cmp dword [edx + 0x7c], 0
je 0x1004c584
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x21c]
push edx
call fcn.100493c0
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x1f0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1ec], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1c4], ecx
mov edx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], 1
cmp dword [ebp - 0x144], 1
jge 0x1004c59e
xor eax, eax
jmp 0x1004d085
mov ecx, dword [ebp - 0x144]
sub ecx, 1
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x144]
cvttss2si eax, dword [ebp + edx*4 - 0xc4]
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x14c], 0xa
jl 0x1004c5d2
xor eax, eax
jmp 0x1004d085
imul ecx, dword [ebp - 0x14c], 0xc
lea edx, [ebp + ecx - 0x13c]
mov eax, dword [ebp - 0x180]
mov dword [edx], eax
mov ecx, dword [ebp - 0x17c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x178]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x14c]
add ecx, 1
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1f8], edx
cmp dword [ebp - 0x170], 0xa
jne 0x1004c62c
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1a4], eax
jmp 0x1004c638
mov ecx, dword [ebp + 8]
add ecx, 0x50
mov dword [ebp - 0x1a4], ecx
mov edx, dword [ebp - 0x1f8]
push edx
mov eax, dword [ebp - 0x1a4]
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 - 0x228]
push ecx
call fcn.1004a730
add esp, 0x14
mov edx, dword [eax]
mov dword [ebp - 0x204], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x200], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x1fc], edx
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x17c], ecx
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x178], edx
cmp dword [ebp - 0x178], 0
jne 0x1004c6b7
xor eax, eax
jmp 0x1004d085
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x1a0], 0
jmp 0x1004d06b
cmp dword [ebp - 0x14c], 0
jg 0x1004c6e0
xor eax, eax
jmp 0x1004d085
mov eax, dword [ebp - 0x14c]
sub eax, 1
mov dword [ebp - 0x14c], eax
imul ecx, dword [ebp - 0x14c], 0xc
lea edx, [ebp + ecx - 0x13c]
mov eax, dword [edx]
mov dword [ebp - 0x180], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x17c], ecx
mov edx, dword [edx + 8]
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x1a0], 0
jmp 0x1004d06b
mov eax, dword [ebp + 0x10]
push eax
call fcn.10049670
add esp, 4
mov eax, 1
jmp 0x1004d085
lea ecx, [ebp - 0x180]
push ecx
call fcn.10048f30
add esp, 4
movzx edx, al
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
sub ecx, 0x22
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x194], 3
ja case.default.0x1004c782
mov edx, dword [ebp - 0x194]
jmp dword [edx*4 + 0x1004d110]
cmp dword [ebp - 0x144], 7
jge 0x1004c799
xor eax, eax
jmp 0x1004d085
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x158], xmm0
mov edx, 4
shl edx, 0
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x154], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x148], xmm0
mov ecx, 4
imul edx, ecx, 3
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x150], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x164], xmm0
mov ecx, 4
imul edx, ecx, 5
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x160], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x15c], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x150]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x148]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x154]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x158]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.100496d0
add esp, 0x18
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x15c]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x148]
xorps xmm0, xmmword [0x10166ad0]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x160]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x164]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.100496d0
add esp, 0x1c
jmp 0x1004cfa2
cmp dword [ebp - 0x144], 0xd
jge 0x1004c90e
xor eax, eax
jmp 0x1004d085
mov ecx, 4
imul edx, ecx, 0
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x158], xmm0
mov eax, 4
shl eax, 0
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x168], xmm0
mov ecx, 4
shl ecx, 1
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x154], xmm0
mov edx, 4
imul eax, edx, 3
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x148], xmm0
mov ecx, 4
shl ecx, 2
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x150], xmm0
mov edx, 4
imul eax, edx, 5
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x198], xmm0
mov ecx, 4
imul edx, ecx, 6
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x164], xmm0
mov eax, 4
imul ecx, eax, 7
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x19c], xmm0
mov edx, 4
shl edx, 3
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x160], xmm0
mov eax, 4
imul ecx, eax, 9
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x16c], xmm0
mov edx, 4
imul eax, edx, 0xa
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x15c], xmm0
mov ecx, 4
imul edx, ecx, 0xb
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x18c], xmm0
push ecx
movss xmm0, dword [ebp - 0x198]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x150]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x148]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x154]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x168]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x158]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.100496d0
add esp, 0x18
movss xmm0, dword [ebp - 0x18c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x15c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x16c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x160]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x19c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x164]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.100496d0
add esp, 0x1c
jmp 0x1004cfa2
cmp dword [ebp - 0x144], 9
jge 0x1004cb0d
xor eax, eax
jmp 0x1004d085
mov edx, 4
imul eax, edx, 0
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x158], xmm0
mov ecx, 4
shl ecx, 0
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x168], xmm0
mov edx, 4
shl edx, 1
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x154], xmm0
mov eax, 4
imul ecx, eax, 3
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x148], xmm0
mov edx, 4
shl edx, 2
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x150], xmm0
mov eax, 4
imul ecx, eax, 5
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x164], xmm0
mov edx, 4
imul eax, edx, 6
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x160], xmm0
mov ecx, 4
imul edx, ecx, 7
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x16c], xmm0
mov eax, 4
shl eax, 3
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x15c], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x150]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x148]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x154]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x168]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x158]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.100496d0
add esp, 0x1c
movss xmm0, dword [ebp - 0x168]
addss xmm0, dword [ebp - 0x148]
addss xmm0, dword [ebp - 0x16c]
xorps xmm0, xmmword [0x10166ad0]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x15c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x16c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x160]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x164]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.100496d0
add esp, 0x1c
jmp 0x1004cfa2
cmp dword [ebp - 0x144], 0xb
jge 0x1004cccf
xor eax, eax
jmp 0x1004d085
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x158], xmm0
mov edx, 4
shl edx, 0
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x168], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x154], xmm0
mov ecx, 4
imul edx, ecx, 3
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x148], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x150], xmm0
mov ecx, 4
imul edx, ecx, 5
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x198], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x164], xmm0
mov edx, 4
imul eax, edx, 7
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x19c], xmm0
mov ecx, 4
shl ecx, 3
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x160], xmm0
mov edx, 4
imul eax, edx, 9
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x16c], xmm0
mov ecx, 4
imul edx, ecx, 0xa
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x18c], xmm0
movss xmm0, dword [ebp - 0x18c]
movss dword [ebp - 0x15c], xmm0
movss xmm0, dword [ebp - 0x158]
addss xmm0, dword [ebp - 0x154]
addss xmm0, dword [ebp - 0x150]
addss xmm0, dword [ebp - 0x164]
addss xmm0, dword [ebp - 0x160]
movss dword [ebp - 0x1ac], xmm0
movss xmm0, dword [ebp - 0x168]
addss xmm0, dword [ebp - 0x148]
addss xmm0, dword [ebp - 0x198]
addss xmm0, dword [ebp - 0x19c]
addss xmm0, dword [ebp - 0x16c]
movss dword [ebp - 0x1a8], xmm0
push ecx
movss xmm0, dword [ebp - 0x1ac]
movss dword [esp], xmm0
call fcn.100395a0
add esp, 4
fstp dword [ebp - 0x1cc]
movss xmm0, dword [ebp - 0x1cc]
push ecx
movss xmm1, dword [ebp - 0x1a8]
movss dword [esp], xmm1
movss dword [ebp - 0x1d0], xmm0
call fcn.100395a0
add esp, 4
fstp dword [ebp - 0x1f4]
movss xmm0, dword [ebp - 0x1d0]
comiss xmm0, dword [ebp - 0x1f4]
jbe 0x1004cec3
movss xmm0, dword [ebp - 0x1a8]
xorps xmm0, xmmword [0x10166ad0]
movss dword [ebp - 0x18c], xmm0
jmp 0x1004ceda
movss xmm0, dword [ebp - 0x1ac]
xorps xmm0, xmmword [0x10166ad0]
movss dword [ebp - 0x15c], xmm0
push ecx
movss xmm0, dword [ebp - 0x198]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x150]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x148]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x154]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x168]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x158]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.100496d0
add esp, 0x18
movss xmm0, dword [ebp - 0x18c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x15c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x16c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x160]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x19c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x164]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.100496d0
add esp, 0x1c
jmp 0x1004cfa2
xor eax, eax
jmp 0x1004d085
jmp 0x1004d06b
cmp dword [ebp - 0x170], 0xff
je 0x1004cfcc
cmp dword [ebp - 0x170], 0x1c
je 0x1004cfcc
cmp dword [ebp - 0x170], 0x20
jge 0x1004cfcc
xor eax, eax
jmp 0x1004d085
cmp dword [ebp - 0x170], 0xff
jne 0x1004cfff
push 4
lea edx, [ebp - 0x180]
push edx
call fcn.10048f70
add esp, 8
cvtsi2ss xmm0, eax
divss xmm0, dword [0x1016aa14]
movss dword [ebp - 0x174], xmm0
jmp 0x1004d02e
push 0xffffffffffffffff
lea eax, [ebp - 0x180]
push eax
call fcn.100490a0
add esp, 8
lea ecx, [ebp - 0x180]
push ecx
call fcn.10049260
add esp, 4
movsx edx, ax
cvtsi2ss xmm0, edx
movss dword [ebp - 0x174], xmm0
cmp dword [ebp - 0x144], 0x30
jl 0x1004d03b
xor eax, eax
jmp 0x1004d085
mov eax, dword [ebp - 0x144]
movss xmm0, dword [ebp - 0x174]
movss dword [ebp + eax*4 - 0xc4], xmm0
mov ecx, dword [ebp - 0x144]
add ecx, 1
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x1a0], 0
je 0x1004d07e
mov dword [ebp - 0x144], 0
jmp 0x1004bbc1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011118e
mov esp, ebp
pop ebp
ret