Function at 0x10040f00
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, dword [eax]
mov dword [ebp - 0x88], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x84], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x80], 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 - 0x194]
push eax
call fcn.1003e810
add esp, 0x14
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xac], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x3c]
jge 0x100420d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 1
lea edx, [ebp - 0x44]
push edx
call fcn.1003e5a0
add esp, 4
movzx eax, al
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
sub edx, 1
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 0x1e
ja case.0x10040ff4.1
mov eax, dword [ebp - 0x54]
jmp dword [eax*4 + 0x100420d8]
cmp dword [ebp - 0x4c], 0
je 0x1004100f
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x48]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.1003e710
add esp, 8
jmp 0x100420be
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
jmp 0x100420be
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 8], 2
jge 0x1004105e
xor eax, eax
jmp 0x100420d2
mov edx, dword [ebp - 8]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x18c]
movss dword [esp], xmm0
mov eax, dword [ebp - 8]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x190]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1003ee40
add esp, 0xc
jmp 0x100420be
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 8], 1
jge 0x100410a7
xor eax, eax
jmp 0x100420d2
mov edx, dword [ebp - 8]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x18c]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1003ee40
add esp, 0xc
jmp 0x100420be
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 8], 1
jge 0x100410e7
xor eax, eax
jmp 0x100420d2
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 8]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x18c]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003ee40
add esp, 0xc
jmp 0x100420be
cmp dword [ebp - 8], 2
jge 0x10041120
xor eax, eax
jmp 0x100420d2
jmp 0x1004112b
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 1
cmp ecx, dword [ebp - 8]
jge 0x10041168
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x184]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x188]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1003ede0
add esp, 0xc
jmp 0x10041122
jmp 0x100420be
cmp dword [ebp - 8], 1
jge 0x1004117a
xor eax, eax
jmp 0x100420d2
jmp 0x100411c5
cmp dword [ebp - 8], 1
jge 0x1004118b
xor eax, eax
jmp 0x100420d2
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jl 0x10041195
jmp 0x10041201
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x188]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1003ede0
add esp, 0xc
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x100411cf
jmp 0x10041201
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x188]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003ede0
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x1004118b
jmp 0x100420be
cmp dword [ebp - 8], 4
jge 0x10041213
xor eax, eax
jmp 0x100420d2
jmp 0x100412d1
cmp dword [ebp - 8], 4
jge 0x1004122a
xor eax, eax
jmp 0x100420d2
mov ecx, dword [ebp - 4]
add ecx, 3
cmp ecx, dword [ebp - 8]
jl 0x1004123a
jmp 0x1004138d
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 4]
cmp edx, 5
jne 0x10041258
mov eax, dword [ebp - 4]
movss xmm0, dword [ebp + eax*4 - 0x178]
movss dword [ebp - 0x7c], xmm0
jmp 0x10041260
xorps xmm0, xmm0
movss dword [ebp - 0x7c], xmm0
push ecx
movss xmm0, dword [ebp - 0x7c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x17c]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x180]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x184]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x188]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003ed30
add esp, 0x1c
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
cmp ecx, dword [ebp - 8]
jl 0x100412e1
jmp 0x1004138d
mov edx, dword [ebp - 4]
movss xmm0, dword [ebp + edx*4 - 0x17c]
movss dword [ebp - 0xa4], xmm0
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 5
jne 0x10041313
mov ecx, dword [ebp - 4]
movss xmm0, dword [ebp + ecx*4 - 0x178]
movss dword [ebp - 0x68], xmm0
jmp 0x1004131b
xorps xmm0, xmm0
movss dword [ebp - 0x68], xmm0
push ecx
movss xmm0, dword [ebp - 0xa4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x68]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x180]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x184]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x188]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003ed30
add esp, 0x1c
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
jmp 0x1004122a
jmp 0x100420be
cmp dword [ebp - 8], 6
jge 0x1004139f
xor eax, eax
jmp 0x100420d2
jmp 0x100413aa
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 5
cmp edx, dword [ebp - 8]
jge 0x10041432
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x174]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x178]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x17c]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x180]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x184]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x188]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1003ed30
add esp, 0x1c
jmp 0x100413a1
jmp 0x100420be
cmp dword [ebp - 8], 8
jge 0x10041444
xor eax, eax
jmp 0x100420d2
jmp 0x1004144f
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 5
mov eax, dword [ebp - 8]
sub eax, 2
cmp edx, eax
jge 0x100414dc
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x174]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x178]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x17c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x180]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x184]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x188]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1003ed30
add esp, 0x1c
jmp 0x10041446
mov edx, dword [ebp - 4]
add edx, 1
cmp edx, dword [ebp - 8]
jl 0x100414ee
xor eax, eax
jmp 0x100420d2
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x184]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x188]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003ede0
add esp, 0xc
jmp 0x100420be
cmp dword [ebp - 8], 8
jge 0x10041530
xor eax, eax
jmp 0x100420d2
jmp 0x1004153b
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov edx, dword [ebp - 8]
sub edx, 6
cmp ecx, edx
jge 0x1004157d
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x184]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x188]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003ede0
add esp, 0xc
jmp 0x10041532
mov eax, dword [ebp - 4]
add eax, 5
cmp eax, dword [ebp - 8]
jl 0x1004158f
xor eax, eax
jmp 0x100420d2
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x174]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x178]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x17c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x180]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x184]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x188]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1003ed30
add esp, 0x1c
jmp 0x100420be
cmp dword [ebp - 8], 4
jge 0x10041619
xor eax, eax
jmp 0x100420d2
xorps xmm0, xmm0
movss dword [ebp - 0x38], xmm0
mov edx, dword [ebp - 8]
and edx, 1
je 0x10041643
mov eax, dword [ebp - 4]
movss xmm0, dword [ebp + eax*4 - 0x188]
movss dword [ebp - 0x38], xmm0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x1004164e
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 3
cmp eax, dword [ebp - 8]
jge 0x10041742
cmp dword [ebp - 0x2c], 0x1b
jne 0x100416cd
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x17c]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x180]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x184]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x38]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x188]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003ed30
add esp, 0x1c
jmp 0x10041735
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x17c]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x180]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x184]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x188]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x38]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1003ed30
add esp, 0x1c
xorps xmm0, xmm0
movss dword [ebp - 0x38], xmm0
jmp 0x10041645
jmp 0x100420be
cmp dword [ebp - 0x6c], 0
jne case.0x10040ff4.28
mov edx, dword [ebp + 8]
cmp dword [edx + 0x78], 0
je 0x100417a8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1a0]
push edx
call fcn.1003ea30
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0xbc], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xb8], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x6c], 1
cmp dword [ebp - 8], 1
jge 0x100417bc
xor eax, eax
jmp 0x100420d2
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cvttss2si eax, dword [ebp + edx*4 - 0x188]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x10], 0xa
jl 0x100417e4
xor eax, eax
jmp 0x100420d2
imul ecx, dword [ebp - 0x10], 0xc
lea edx, [ebp + ecx - 0x224]
mov eax, dword [ebp - 0x44]
mov dword [edx], eax
mov ecx, dword [ebp - 0x40]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x3c]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x2c], 0xa
jne 0x10041826
lea eax, [ebp - 0x88]
mov dword [ebp - 0x70], eax
jmp 0x1004182f
mov ecx, dword [ebp + 8]
add ecx, 0x4c
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x70]
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 - 0x1ac]
push ecx
call fcn.1003fcb0
add esp, 0x14
mov edx, dword [eax]
mov dword [ebp - 0xc8], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc4], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
jne 0x1004189f
xor eax, eax
jmp 0x100420d2
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x64], 0
jmp 0x100420be
cmp dword [ebp - 0x10], 0
jg 0x100418bf
xor eax, eax
jmp 0x100420d2
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
imul ecx, dword [ebp - 0x10], 0xc
lea edx, [ebp + ecx - 0x224]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x40], ecx
mov edx, dword [edx + 8]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x64], 0
jmp 0x100420be
mov eax, dword [ebp + 0x10]
push eax
call fcn.1003ecd0
add esp, 4
mov eax, 1
jmp 0x100420d2
lea ecx, [ebp - 0x44]
push ecx
call fcn.1003e5a0
add esp, 4
movzx edx, al
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
sub ecx, 0x22
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 3
ja case.default.0x1004193a
mov edx, dword [ebp - 0x58]
jmp dword [edx*4 + 0x10042154]
cmp dword [ebp - 8], 7
jge 0x1004194e
xor eax, eax
jmp 0x100420d2
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0x188]
movss dword [ebp - 0x1c], xmm0
mov edx, 4
shl edx, 0
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0x18], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0x188]
movss dword [ebp - 0xc], xmm0
mov ecx, 4
imul edx, ecx, 3
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0x14], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0x188]
movss dword [ebp - 0x28], xmm0
mov ecx, 4
imul edx, ecx, 5
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0x24], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0x188]
movss dword [ebp - 0x20], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1c]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003ed30
add esp, 0x18
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0xc]
xorps xmm0, xmmword [0x100acdd0]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x24]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1003ed30
add esp, 0x1c
jmp 0x10042019
cmp dword [ebp - 8], 0xd
jge 0x10041a93
xor eax, eax
jmp 0x100420d2
mov ecx, 4
imul edx, ecx, 0
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0x1c], xmm0
mov eax, 4
shl eax, 0
movss xmm0, dword [ebp + eax - 0x188]
movss dword [ebp - 0x30], xmm0
mov ecx, 4
shl ecx, 1
movss xmm0, dword [ebp + ecx - 0x188]
movss dword [ebp - 0x18], xmm0
mov edx, 4
imul eax, edx, 3
movss xmm0, dword [ebp + eax - 0x188]
movss dword [ebp - 0xc], xmm0
mov ecx, 4
shl ecx, 2
movss xmm0, dword [ebp + ecx - 0x188]
movss dword [ebp - 0x14], xmm0
mov edx, 4
imul eax, edx, 5
movss xmm0, dword [ebp + eax - 0x188]
movss dword [ebp - 0x5c], xmm0
mov ecx, 4
imul edx, ecx, 6
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0x28], xmm0
mov eax, 4
imul ecx, eax, 7
movss xmm0, dword [ebp + ecx - 0x188]
movss dword [ebp - 0x60], xmm0
mov edx, 4
shl edx, 3
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0x24], xmm0
mov eax, 4
imul ecx, eax, 9
movss xmm0, dword [ebp + ecx - 0x188]
movss dword [ebp - 0x34], xmm0
mov edx, 4
imul eax, edx, 0xa
movss xmm0, dword [ebp + eax - 0x188]
movss dword [ebp - 0x20], xmm0
mov ecx, 4
imul edx, ecx, 0xb
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0x50], xmm0
push ecx
movss xmm0, dword [ebp - 0x5c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x30]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1c]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1003ed30
add esp, 0x18
movss xmm0, dword [ebp - 0x50]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x24]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x60]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1003ed30
add esp, 0x1c
jmp 0x10042019
cmp dword [ebp - 8], 9
jge 0x10041c47
xor eax, eax
jmp 0x100420d2
mov edx, 4
imul eax, edx, 0
movss xmm0, dword [ebp + eax - 0x188]
movss dword [ebp - 0x1c], xmm0
mov ecx, 4
shl ecx, 0
movss xmm0, dword [ebp + ecx - 0x188]
movss dword [ebp - 0x30], xmm0
mov edx, 4
shl edx, 1
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0x18], xmm0
mov eax, 4
imul ecx, eax, 3
movss xmm0, dword [ebp + ecx - 0x188]
movss dword [ebp - 0xc], xmm0
mov edx, 4
shl edx, 2
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0x14], xmm0
mov eax, 4
imul ecx, eax, 5
movss xmm0, dword [ebp + ecx - 0x188]
movss dword [ebp - 0x28], xmm0
mov edx, 4
imul eax, edx, 6
movss xmm0, dword [ebp + eax - 0x188]
movss dword [ebp - 0x24], xmm0
mov ecx, 4
imul edx, ecx, 7
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0x34], xmm0
mov eax, 4
shl eax, 3
movss xmm0, dword [ebp + eax - 0x188]
movss dword [ebp - 0x20], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x30]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1c]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1003ed30
add esp, 0x1c
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [ebp - 0xc]
addss xmm0, dword [ebp - 0x34]
xorps xmm0, xmmword [0x100acdd0]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x24]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1003ed30
add esp, 0x1c
jmp 0x10042019
cmp dword [ebp - 8], 0xb
jge 0x10041dc7
xor eax, eax
jmp 0x100420d2
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0x188]
movss dword [ebp - 0x1c], xmm0
mov edx, 4
shl edx, 0
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0x30], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0x188]
movss dword [ebp - 0x18], xmm0
mov ecx, 4
imul edx, ecx, 3
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0xc], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0x188]
movss dword [ebp - 0x14], xmm0
mov ecx, 4
imul edx, ecx, 5
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0x5c], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0x188]
movss dword [ebp - 0x28], xmm0
mov edx, 4
imul eax, edx, 7
movss xmm0, dword [ebp + eax - 0x188]
movss dword [ebp - 0x60], xmm0
mov ecx, 4
shl ecx, 3
movss xmm0, dword [ebp + ecx - 0x188]
movss dword [ebp - 0x24], xmm0
mov edx, 4
imul eax, edx, 9
movss xmm0, dword [ebp + eax - 0x188]
movss dword [ebp - 0x34], xmm0
mov ecx, 4
imul edx, ecx, 0xa
movss xmm0, dword [ebp + edx - 0x188]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [ebp - 0x18]
addss xmm0, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x28]
addss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [ebp - 0xc]
addss xmm0, dword [ebp - 0x5c]
addss xmm0, dword [ebp - 0x60]
addss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x74], xmm0
push ecx
movss xmm0, dword [ebp - 0x78]
movss dword [esp], xmm0
call fcn.1002ebc0
add esp, 4
fstp dword [ebp - 0x98]
movss xmm0, dword [ebp - 0x98]
push ecx
movss xmm1, dword [ebp - 0x74]
movss dword [esp], xmm1
movss dword [ebp - 0x9c], xmm0
call fcn.1002ebc0
add esp, 4
fstp dword [ebp - 0xa0]
movss xmm0, dword [ebp - 0x9c]
comiss xmm0, dword [ebp - 0xa0]
jbe 0x10041f64
movss xmm0, dword [ebp - 0x74]
xorps xmm0, xmmword [0x100acdd0]
movss dword [ebp - 0x50], xmm0
jmp 0x10041f75
movss xmm0, dword [ebp - 0x78]
xorps xmm0, xmmword [0x100acdd0]
movss dword [ebp - 0x20], xmm0
push ecx
movss xmm0, dword [ebp - 0x5c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x30]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x1c]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1003ed30
add esp, 0x18
movss xmm0, dword [ebp - 0x50]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x24]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x60]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1003ed30
add esp, 0x1c
jmp 0x10042019
xor eax, eax
jmp 0x100420d2
jmp 0x100420be
cmp dword [ebp - 0x2c], 0xff
je 0x10042043
cmp dword [ebp - 0x2c], 0x1c
je 0x10042043
cmp dword [ebp - 0x2c], 0x20
jl 0x1004203c
cmp dword [ebp - 0x2c], 0xfe
jle 0x10042043
xor eax, eax
jmp 0x100420d2
cmp dword [ebp - 0x2c], 0xff
jne 0x1004206d
push 4
lea edx, [ebp - 0x44]
push edx
call fcn.1003e5e0
add esp, 8
cvtsi2ss xmm0, eax
divss xmm0, dword [0x100bf150]
movss dword [ebp - 0x38], xmm0
jmp 0x10042093
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
push eax
call fcn.1003e710
add esp, 8
lea ecx, [ebp - 0x44]
push ecx
call fcn.1003e8d0
add esp, 4
movsx edx, ax
cvtsi2ss xmm0, edx
movss dword [ebp - 0x38], xmm0
cmp dword [ebp - 8], 0x30
jl 0x1004209d
xor eax, eax
jmp 0x100420d2
mov eax, dword [ebp - 8]
movss xmm0, dword [ebp - 0x38]
movss dword [ebp + eax*4 - 0x188], xmm0
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0
je 0x100420cb
mov dword [ebp - 8], 0
jmp 0x10040fac
xor eax, eax
mov esp, ebp
pop ebp
ret