Function at 0x1003fd60
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100b700c]
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, 0x58
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, 0x40
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 - 0x208]
push eax
call fcn.1003d3b0
add esp, 0x14
mov ecx, dword [eax]
mov dword [ebp - 0x1e0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1dc], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x180], ecx
mov edx, dword [ebp - 0x1dc]
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x17c]
cmp ecx, dword [ebp - 0x178]
jge 0x100412e1
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x194], 1
lea edx, [ebp - 0x180]
push edx
call fcn.1003cdb0
add esp, 4
movzx eax, al
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x198]
sub edx, 1
mov dword [ebp - 0x198], edx
cmp dword [ebp - 0x198], 0x1e
ja case.0x1003fe9d.1
mov eax, dword [ebp - 0x198]
jmp dword [eax*4 + 0x100412f4]
cmp dword [ebp - 0x188], 0
je 0x1003fec4
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.1003ce60
add esp, 8
jmp 0x100412c9
mov eax, dword [ebp - 0x144]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x184]
mov dword [ebp - 0x184], eax
jmp 0x100412c9
mov dword [ebp - 0x188], 0
cmp dword [ebp - 0x144], 2
jge 0x1003ff2b
xor eax, eax
jmp 0x100412e3
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.1003f900
add esp, 0xc
jmp 0x100412c9
mov dword [ebp - 0x188], 0
cmp dword [ebp - 0x144], 1
jge 0x1003ff80
xor eax, eax
jmp 0x100412e3
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.1003f900
add esp, 0xc
jmp 0x100412c9
mov dword [ebp - 0x188], 0
cmp dword [ebp - 0x144], 1
jge 0x1003ffc9
xor eax, eax
jmp 0x100412e3
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.1003f900
add esp, 0xc
jmp 0x100412c9
cmp dword [ebp - 0x144], 2
jge 0x10040008
xor eax, eax
jmp 0x100412e3
jmp 0x10040019
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 0x10040062
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.1003f9a0
add esp, 0xc
jmp 0x1004000a
jmp 0x100412c9
cmp dword [ebp - 0x144], 1
jge 0x10040077
xor eax, eax
jmp 0x100412e3
jmp 0x100400d7
cmp dword [ebp - 0x144], 1
jge 0x1004008b
xor eax, eax
jmp 0x100412e3
mov edx, dword [ebp - 0x140]
cmp edx, dword [ebp - 0x144]
jl 0x1004009e
jmp 0x10040125
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.1003f9a0
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 0x100400e7
jmp 0x10040125
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.1003f9a0
add esp, 0xc
mov eax, dword [ebp - 0x140]
add eax, 1
mov dword [ebp - 0x140], eax
jmp 0x1004008b
jmp 0x100412c9
cmp dword [ebp - 0x144], 4
jge 0x1004013a
xor eax, eax
jmp 0x100412e3
jmp 0x10040225
cmp dword [ebp - 0x144], 4
jge 0x10040154
xor eax, eax
jmp 0x100412e3
mov ecx, dword [ebp - 0x140]
add ecx, 3
cmp ecx, dword [ebp - 0x144]
jl 0x1004016a
jmp 0x100402fb
mov edx, dword [ebp - 0x144]
sub edx, dword [ebp - 0x140]
cmp edx, 5
jne 0x10040194
mov eax, dword [ebp - 0x140]
movss xmm0, dword [ebp + eax*4 - 0xb4]
movss dword [ebp - 0x1b0], xmm0
jmp 0x1004019f
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.1003fa00
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 0x1004023b
jmp 0x100402fb
mov edx, dword [ebp - 0x144]
sub edx, dword [ebp - 0x140]
cmp edx, 5
jne 0x10040265
mov eax, dword [ebp - 0x140]
movss xmm0, dword [ebp + eax*4 - 0xb4]
movss dword [ebp - 0x1b4], xmm0
jmp 0x10040270
xorps xmm0, xmm0
movss dword [ebp - 0x1b4], xmm0
mov ecx, dword [ebp - 0x140]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0xb8]
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.1003fa00
add esp, 0x1c
mov eax, dword [ebp - 0x140]
add eax, 4
mov dword [ebp - 0x140], eax
jmp 0x10040154
jmp 0x100412c9
cmp dword [ebp - 0x144], 6
jge 0x10040310
xor eax, eax
jmp 0x100412e3
jmp 0x10040321
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 0x100403c5
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.1003fa00
add esp, 0x1c
jmp 0x10040312
jmp 0x100412c9
cmp dword [ebp - 0x144], 8
jge 0x100403da
xor eax, eax
jmp 0x100412e3
jmp 0x100403eb
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 0x10040494
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.1003fa00
add esp, 0x1c
jmp 0x100403dc
mov edx, dword [ebp - 0x140]
add edx, 1
cmp edx, dword [ebp - 0x144]
jl 0x100404ac
xor eax, eax
jmp 0x100412e3
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.1003f9a0
add esp, 0xc
jmp 0x100412c9
cmp dword [ebp - 0x144], 8
jge 0x100404f7
xor eax, eax
jmp 0x100412e3
jmp 0x10040508
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 0x10040556
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.1003f9a0
add esp, 0xc
jmp 0x100404f9
mov eax, dword [ebp - 0x140]
add eax, 5
cmp eax, dword [ebp - 0x144]
jl 0x1004056e
xor eax, eax
jmp 0x100412e3
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.1003fa00
add esp, 0x1c
jmp 0x100412c9
cmp dword [ebp - 0x144], 4
jge 0x1004060d
xor eax, eax
jmp 0x100412e3
xorps xmm0, xmm0
movss dword [ebp - 0x174], xmm0
mov edx, dword [ebp - 0x144]
and edx, 1
je 0x10040649
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 0x1004065a
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 0x10040778
cmp dword [ebp - 0x168], 0x1b
jne 0x100406f1
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.1003fa00
add esp, 0x1c
jmp 0x10040768
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.1003fa00
add esp, 0x1c
xorps xmm0, xmm0
movss dword [ebp - 0x174], xmm0
jmp 0x1004064b
jmp 0x100412c9
cmp dword [ebp - 0x1b8], 0
jne case.0x1003fe9d.28
mov edx, dword [ebp + 8]
cmp dword [edx + 0x78], 0
je 0x100407e4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x214]
push edx
call fcn.1003fb90
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x1ec], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1e8], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1c4], ecx
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], 1
cmp dword [ebp - 0x144], 1
jge 0x100407fe
xor eax, eax
jmp 0x100412e3
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 - 0x1c8], eax
cmp dword [ebp - 0x14c], 0xa
jl 0x10040832
xor eax, eax
jmp 0x100412e3
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
cmp dword [ebp - 0x168], 0xa
jne 0x10040880
lea edx, [ebp - 0x1c4]
mov dword [ebp - 0x1a4], edx
jmp 0x1004088c
mov eax, dword [ebp + 8]
add eax, 0x4c
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1c8]
push ecx
mov edx, dword [ebp - 0x1a4]
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 - 0x220]
push eax
call fcn.1003fab0
add esp, 0x14
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
cmp dword [ebp - 0x178], 0
jne 0x1004090b
xor eax, eax
jmp 0x100412e3
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x194], 0
jmp 0x100412c9
cmp dword [ebp - 0x14c], 0
jg 0x10040934
xor eax, eax
jmp 0x100412e3
mov ecx, dword [ebp - 0x14c]
sub ecx, 1
mov dword [ebp - 0x14c], ecx
imul edx, dword [ebp - 0x14c], 0xc
lea eax, [ebp + edx - 0x13c]
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 dword [ebp - 0x194], 0
jmp 0x100412c9
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1003f8a0
add esp, 4
mov eax, 1
jmp 0x100412e3
lea edx, [ebp - 0x180]
push edx
call fcn.1003cdb0
add esp, 4
movzx eax, al
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x19c]
sub edx, 0x22
mov dword [ebp - 0x19c], edx
cmp dword [ebp - 0x19c], 3
ja case.default.0x100409d6
mov eax, dword [ebp - 0x19c]
jmp dword [eax*4 + 0x10041370]
cmp dword [ebp - 0x144], 7
jge 0x100409ed
xor eax, eax
jmp 0x100412e3
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 - 0x154], xmm0
mov ecx, 4
shl ecx, 1
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x148], xmm0
mov edx, 4
imul eax, edx, 3
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x150], xmm0
mov ecx, 4
shl ecx, 2
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x164], xmm0
mov edx, 4
imul eax, edx, 5
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x160], xmm0
mov ecx, 4
imul edx, ecx, 6
movss xmm0, dword [ebp + edx - 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 eax, dword [ebp + 0x10]
push eax
call fcn.1003fa00
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 [0x100b2210]
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 ecx, dword [ebp + 0x10]
push ecx
call fcn.1003fa00
add esp, 0x1c
jmp 0x100411f6
cmp dword [ebp - 0x144], 0xd
jge 0x10040b62
xor eax, eax
jmp 0x100412e3
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 - 0x16c], 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 - 0x1a0], xmm0
mov edx, 4
imul eax, edx, 6
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x164], xmm0
mov ecx, 4
imul edx, ecx, 7
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x190], xmm0
mov eax, 4
shl eax, 3
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x160], xmm0
mov ecx, 4
imul edx, ecx, 9
movss xmm0, dword [ebp + edx - 0xc4]
movss dword [ebp - 0x170], xmm0
mov eax, 4
imul ecx, eax, 0xa
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x15c], xmm0
mov edx, 4
imul eax, edx, 0xb
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x18c], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a0]
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 - 0x16c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x158]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1003fa00
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 - 0x170]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x160]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x190]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x164]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003fa00
add esp, 0x1c
jmp 0x100411f6
cmp dword [ebp - 0x144], 9
jge 0x10040d61
xor eax, eax
jmp 0x100412e3
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 - 0x16c], 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 - 0x164], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0xc4]
movss dword [ebp - 0x160], xmm0
mov edx, 4
imul eax, edx, 7
movss xmm0, dword [ebp + eax - 0xc4]
movss dword [ebp - 0x170], xmm0
mov ecx, 4
shl ecx, 3
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
movss xmm0, dword [ebp - 0x16c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x158]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003fa00
add esp, 0x1c
movss xmm0, dword [ebp - 0x16c]
addss xmm0, dword [ebp - 0x148]
addss xmm0, dword [ebp - 0x170]
xorps xmm0, xmmword [0x100b2210]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x15c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x170]
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.1003fa00
add esp, 0x1c
jmp 0x100411f6
cmp dword [ebp - 0x144], 0xb
jge 0x10040f23
xor eax, eax
jmp 0x100412e3
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 - 0x16c], 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 - 0x1a0], 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 - 0x190], 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 - 0x170], xmm0
mov edx, 4
imul eax, edx, 0xa
movss xmm0, dword [ebp + eax - 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 - 0x16c]
addss xmm0, dword [ebp - 0x148]
addss xmm0, dword [ebp - 0x1a0]
addss xmm0, dword [ebp - 0x190]
addss xmm0, dword [ebp - 0x170]
movss dword [ebp - 0x1a8], xmm0
push ecx
movss xmm0, dword [ebp - 0x1ac]
movss dword [esp], xmm0
call fcn.10023ad0
add esp, 4
fstp dword [ebp - 0x1d0]
movss xmm0, dword [ebp - 0x1d0]
push ecx
movss xmm1, dword [ebp - 0x1a8]
movss dword [esp], xmm1
movss dword [ebp - 0x1d4], xmm0
call fcn.10023ad0
add esp, 4
fstp dword [ebp - 0x1f0]
movss xmm0, dword [ebp - 0x1d4]
comiss xmm0, dword [ebp - 0x1f0]
jbe 0x10041117
movss xmm0, dword [ebp - 0x1a8]
xorps xmm0, xmmword [0x100b2210]
movss dword [ebp - 0x18c], xmm0
jmp 0x1004112e
movss xmm0, dword [ebp - 0x1ac]
xorps xmm0, xmmword [0x100b2210]
movss dword [ebp - 0x15c], xmm0
push ecx
movss xmm0, dword [ebp - 0x1a0]
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 - 0x16c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x158]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1003fa00
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 - 0x170]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x160]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x190]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x164]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003fa00
add esp, 0x1c
jmp 0x100411f6
xor eax, eax
jmp 0x100412e3
jmp 0x100412c9
cmp dword [ebp - 0x168], 0xff
je 0x1004122c
cmp dword [ebp - 0x168], 0x1c
je 0x1004122c
cmp dword [ebp - 0x168], 0x20
jl 0x10041225
cmp dword [ebp - 0x168], 0xfe
jle 0x1004122c
xor eax, eax
jmp 0x100412e3
cmp dword [ebp - 0x168], 0xff
jne 0x1004125f
push 4
lea eax, [ebp - 0x180]
push eax
call fcn.1003ce80
add esp, 8
cvtsi2ss xmm0, eax
divss xmm0, dword [0x100b21c4]
movss dword [ebp - 0x174], xmm0
jmp 0x1004128c
push 0xffffffffffffffff
lea ecx, [ebp - 0x180]
push ecx
call fcn.1003ce60
add esp, 8
lea edx, [ebp - 0x180]
push edx
call fcn.1003d080
add esp, 4
cwde
cvtsi2ss xmm0, eax
movss dword [ebp - 0x174], xmm0
cmp dword [ebp - 0x144], 0x30
jl 0x10041299
xor eax, eax
jmp 0x100412e3
mov ecx, dword [ebp - 0x144]
movss xmm0, dword [ebp - 0x174]
movss dword [ebp + ecx*4 - 0xc4], xmm0
mov edx, dword [ebp - 0x144]
add edx, 1
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x194], 0
cmp dword [ebp - 0x194], 0
je 0x100412dc
mov dword [ebp - 0x144], 0
jmp 0x1003fe31
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100584af
mov esp, ebp
pop ebp
ret