Function at 0x1004d741
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, 0x54
mov ecx, dword [eax]
mov dword [ebp - 0x8c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x88], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x3c
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.1004ae00
add esp, 0x14
mov ecx, dword [eax]
mov dword [ebp - 0xb4], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xb0], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x3c]
jge 0x1004e7c9
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 1
lea edx, [ebp - 0x44]
push edx
call fcn.1004a800
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.0x1004d6fe.1
mov eax, dword [ebp - 0x54]
movzx ecx, byte [eax + 0x1004e820]
jmp dword [ecx*4 + 0x1004e7d0]
cmp dword [ebp - 0x4c], 0
je 0x1004d719
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 edx, [ebp - 0x44]
push edx
call fcn.1004a8b0
add esp, 8
jmp 0x1004e7b7
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
jmp 0x1004e7b7
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 8], 2
jge 0x1004d768
xor eax, eax
jmp 0x1004e7cb
mov eax, dword [ebp - 8]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x184]
movss dword [esp], xmm0
mov ecx, dword [ebp - 8]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x188]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1004d1a0
add esp, 0xc
jmp 0x1004e7b7
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 8], 1
jge 0x1004d7b1
xor eax, eax
jmp 0x1004e7cb
mov eax, dword [ebp - 8]
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 + 0x10]
push ecx
call fcn.1004d1a0
add esp, 0xc
jmp 0x1004e7b7
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 8], 1
jge 0x1004d7f1
xor eax, eax
jmp 0x1004e7cb
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp - 8]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x184]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1004d1a0
add esp, 0xc
jmp 0x1004e7b7
cmp dword [ebp - 8], 2
jge 0x1004d82a
xor eax, eax
jmp 0x1004e7cb
jmp 0x1004d835
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 1
cmp edx, dword [ebp - 8]
jge 0x1004d872
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 + 0x10]
push edx
call fcn.1004d240
add esp, 0xc
jmp 0x1004d82c
jmp 0x1004e7b7
cmp dword [ebp - 8], 1
jge 0x1004d884
xor eax, eax
jmp 0x1004e7cb
jmp 0x1004d8cf
cmp dword [ebp - 8], 1
jge 0x1004d895
xor eax, eax
jmp 0x1004e7cb
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x1004d89f
jmp 0x1004d90b
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 + 0x10]
push edx
call fcn.1004d240
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
jl 0x1004d8d9
jmp 0x1004d90b
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x180]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1004d240
add esp, 0xc
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x1004d895
jmp 0x1004e7b7
cmp dword [ebp - 8], 4
jge 0x1004d91d
xor eax, eax
jmp 0x1004e7cb
jmp 0x1004d9db
cmp dword [ebp - 8], 4
jge 0x1004d934
xor eax, eax
jmp 0x1004e7cb
mov edx, dword [ebp - 4]
add edx, 3
cmp edx, dword [ebp - 8]
jl 0x1004d944
jmp 0x1004da97
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 5
jne 0x1004d962
mov ecx, dword [ebp - 4]
movss xmm0, dword [ebp + ecx*4 - 0x170]
movss dword [ebp - 0x80], xmm0
jmp 0x1004d96a
xorps xmm0, xmm0
movss dword [ebp - 0x80], xmm0
push ecx
movss xmm0, dword [ebp - 0x80]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x174]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x178]
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
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1004d2a0
add esp, 0x1c
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 3
cmp edx, dword [ebp - 8]
jl 0x1004d9eb
jmp 0x1004da97
mov eax, dword [ebp - 4]
movss xmm0, dword [ebp + eax*4 - 0x174]
movss dword [ebp - 0xa8], xmm0
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 5
jne 0x1004da1d
mov edx, dword [ebp - 4]
movss xmm0, dword [ebp + edx*4 - 0x170]
movss dword [ebp - 0x68], xmm0
jmp 0x1004da25
xorps xmm0, xmm0
movss dword [ebp - 0x68], xmm0
push ecx
movss xmm0, dword [ebp - 0xa8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x68]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x178]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x17c]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
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 + 0x10]
push eax
call fcn.1004d2a0
add esp, 0x1c
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
jmp 0x1004d934
jmp 0x1004e7b7
cmp dword [ebp - 8], 6
jge 0x1004daa9
xor eax, eax
jmp 0x1004e7cb
jmp 0x1004dab4
mov edx, dword [ebp - 4]
add edx, 6
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
cmp eax, dword [ebp - 8]
jge 0x1004db3c
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x16c]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x170]
movss dword [esp], xmm0
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 + 0x10]
push ecx
call fcn.1004d2a0
add esp, 0x1c
jmp 0x1004daab
jmp 0x1004e7b7
cmp dword [ebp - 8], 8
jge 0x1004db4e
xor eax, eax
jmp 0x1004e7cb
jmp 0x1004db59
mov edx, dword [ebp - 4]
add edx, 6
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov ecx, dword [ebp - 8]
sub ecx, 2
cmp eax, ecx
jge 0x1004dbe6
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x16c]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x170]
movss dword [esp], xmm0
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 + 0x10]
push edx
call fcn.1004d2a0
add esp, 0x1c
jmp 0x1004db50
mov eax, dword [ebp - 4]
add eax, 1
cmp eax, dword [ebp - 8]
jl 0x1004dbf8
xor eax, eax
jmp 0x1004e7cb
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 + 0x10]
push eax
call fcn.1004d240
add esp, 0xc
jmp 0x1004e7b7
cmp dword [ebp - 8], 8
jge 0x1004dc3a
xor eax, eax
jmp 0x1004e7cb
jmp 0x1004dc45
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov eax, dword [ebp - 8]
sub eax, 6
cmp edx, eax
jge 0x1004dc87
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 + 0x10]
push eax
call fcn.1004d240
add esp, 0xc
jmp 0x1004dc3c
mov ecx, dword [ebp - 4]
add ecx, 5
cmp ecx, dword [ebp - 8]
jl 0x1004dc99
xor eax, eax
jmp 0x1004e7cb
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x16c]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x170]
movss dword [esp], xmm0
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 + 0x10]
push edx
call fcn.1004d2a0
add esp, 0x1c
jmp 0x1004e7b7
cmp dword [ebp - 8], 4
jge 0x1004dd23
xor eax, eax
jmp 0x1004e7cb
xorps xmm0, xmm0
movss dword [ebp - 0x38], xmm0
mov eax, dword [ebp - 8]
and eax, 1
je 0x1004dd4d
mov ecx, dword [ebp - 4]
movss xmm0, dword [ebp + ecx*4 - 0x180]
movss dword [ebp - 0x38], xmm0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x1004dd58
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]
jge 0x1004de4c
cmp dword [ebp - 0x2c], 0x1b
jne 0x1004ddd7
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + edx*4 - 0x174]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + eax*4 - 0x178]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x17c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x38]
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 + 0x10]
push eax
call fcn.1004d2a0
add esp, 0x1c
jmp 0x1004de3f
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ebp + ecx*4 - 0x174]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
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
push ecx
movss xmm0, dword [ebp - 0x38]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1004d2a0
add esp, 0x1c
xorps xmm0, xmm0
movss dword [ebp - 0x38], xmm0
jmp 0x1004dd4f
jmp 0x1004e7b7
cmp dword [ebp - 0x6c], 0
jne case.0x1004d6fe.28
mov eax, dword [ebp + 8]
cmp dword [eax + 0x74], 0
je 0x1004deb5
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1a0]
push eax
call fcn.1004d430
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xbc], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x6c], 1
cmp dword [ebp - 8], 1
jge 0x1004dec9
xor eax, eax
jmp 0x1004e7cb
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cvttss2si eax, dword [ebp + edx*4 - 0x180]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x10], 0xa
jl 0x1004def1
xor eax, eax
jmp 0x1004e7cb
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 - 0x90]
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x2c], 0xa
jne 0x1004df33
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x70], eax
jmp 0x1004df3c
mov ecx, dword [ebp + 8]
add ecx, 0x48
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x94]
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.1004d350
add esp, 0x14
mov edx, dword [eax]
mov dword [ebp - 0xa4], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xa0], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
jne 0x1004dfac
xor eax, eax
jmp 0x1004e7cb
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x64], 0
jmp 0x1004e7b7
cmp dword [ebp - 0x10], 0
jg 0x1004dfcc
xor eax, eax
jmp 0x1004e7cb
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 0x1004e7b7
mov eax, dword [ebp + 0x10]
push eax
call fcn.1004d140
add esp, 4
mov eax, 1
jmp 0x1004e7cb
lea ecx, [ebp - 0x44]
push ecx
call fcn.1004a800
add esp, 4
movzx edx, al
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
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.0x1004e047
mov edx, dword [ebp - 0x58]
jmp dword [edx*4 + 0x1004e840]
cmp dword [ebp - 8], 7
jge 0x1004e05b
xor eax, eax
jmp 0x1004e7cb
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0x180]
movss dword [ebp - 0x1c], xmm0
mov edx, 4
shl edx, 0
movss xmm0, dword [ebp + edx - 0x180]
movss dword [ebp - 0x18], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0x180]
movss dword [ebp - 0xc], xmm0
mov ecx, 4
imul edx, ecx, 3
movss xmm0, dword [ebp + edx - 0x180]
movss dword [ebp - 0x14], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0x180]
movss dword [ebp - 0x28], xmm0
mov ecx, 4
imul edx, ecx, 5
movss xmm0, dword [ebp + edx - 0x180]
movss dword [ebp - 0x24], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0x180]
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.1004d2a0
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 [0x100bd000]
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.1004d2a0
add esp, 0x1c
jmp 0x1004e6f1
cmp dword [ebp - 8], 0xd
jge 0x1004e1a0
xor eax, eax
jmp 0x1004e7cb
mov ecx, 4
imul edx, ecx, 0
movss xmm0, dword [ebp + edx - 0x180]
movss dword [ebp - 0x1c], xmm0
mov eax, 4
shl eax, 0
movss xmm0, dword [ebp + eax - 0x180]
movss dword [ebp - 0x30], xmm0
mov ecx, 4
shl ecx, 1
movss xmm0, dword [ebp + ecx - 0x180]
movss dword [ebp - 0x18], xmm0
mov edx, 4
imul eax, edx, 3
movss xmm0, dword [ebp + eax - 0x180]
movss dword [ebp - 0xc], xmm0
mov ecx, 4
shl ecx, 2
movss xmm0, dword [ebp + ecx - 0x180]
movss dword [ebp - 0x14], xmm0
mov edx, 4
imul eax, edx, 5
movss xmm0, dword [ebp + eax - 0x180]
movss dword [ebp - 0x5c], xmm0
mov ecx, 4
imul edx, ecx, 6
movss xmm0, dword [ebp + edx - 0x180]
movss dword [ebp - 0x28], xmm0
mov eax, 4
imul ecx, eax, 7
movss xmm0, dword [ebp + ecx - 0x180]
movss dword [ebp - 0x60], xmm0
mov edx, 4
shl edx, 3
movss xmm0, dword [ebp + edx - 0x180]
movss dword [ebp - 0x24], xmm0
mov eax, 4
imul ecx, eax, 9
movss xmm0, dword [ebp + ecx - 0x180]
movss dword [ebp - 0x34], xmm0
mov edx, 4
imul eax, edx, 0xa
movss xmm0, dword [ebp + eax - 0x180]
movss dword [ebp - 0x20], xmm0
mov ecx, 4
imul edx, ecx, 0xb
movss xmm0, dword [ebp + edx - 0x180]
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.1004d2a0
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.1004d2a0
add esp, 0x1c
jmp 0x1004e6f1
cmp dword [ebp - 8], 9
jge 0x1004e354
xor eax, eax
jmp 0x1004e7cb
mov edx, 4
imul eax, edx, 0
movss xmm0, dword [ebp + eax - 0x180]
movss dword [ebp - 0x1c], xmm0
mov ecx, 4
shl ecx, 0
movss xmm0, dword [ebp + ecx - 0x180]
movss dword [ebp - 0x30], xmm0
mov edx, 4
shl edx, 1
movss xmm0, dword [ebp + edx - 0x180]
movss dword [ebp - 0x18], xmm0
mov eax, 4
imul ecx, eax, 3
movss xmm0, dword [ebp + ecx - 0x180]
movss dword [ebp - 0xc], xmm0
mov edx, 4
shl edx, 2
movss xmm0, dword [ebp + edx - 0x180]
movss dword [ebp - 0x14], xmm0
mov eax, 4
imul ecx, eax, 5
movss xmm0, dword [ebp + ecx - 0x180]
movss dword [ebp - 0x28], xmm0
mov edx, 4
imul eax, edx, 6
movss xmm0, dword [ebp + eax - 0x180]
movss dword [ebp - 0x24], xmm0
mov ecx, 4
imul edx, ecx, 7
movss xmm0, dword [ebp + edx - 0x180]
movss dword [ebp - 0x34], xmm0
mov eax, 4
shl eax, 3
movss xmm0, dword [ebp + eax - 0x180]
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.1004d2a0
add esp, 0x1c
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [ebp - 0xc]
addss xmm0, dword [ebp - 0x34]
xorps xmm0, xmmword [0x100bd000]
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.1004d2a0
add esp, 0x1c
jmp 0x1004e6f1
cmp dword [ebp - 8], 0xb
jge 0x1004e4d4
xor eax, eax
jmp 0x1004e7cb
mov eax, 4
imul ecx, eax, 0
movss xmm0, dword [ebp + ecx - 0x180]
movss dword [ebp - 0x1c], xmm0
mov edx, 4
shl edx, 0
movss xmm0, dword [ebp + edx - 0x180]
movss dword [ebp - 0x30], xmm0
mov eax, 4
shl eax, 1
movss xmm0, dword [ebp + eax - 0x180]
movss dword [ebp - 0x18], xmm0
mov ecx, 4
imul edx, ecx, 3
movss xmm0, dword [ebp + edx - 0x180]
movss dword [ebp - 0xc], xmm0
mov eax, 4
shl eax, 2
movss xmm0, dword [ebp + eax - 0x180]
movss dword [ebp - 0x14], xmm0
mov ecx, 4
imul edx, ecx, 5
movss xmm0, dword [ebp + edx - 0x180]
movss dword [ebp - 0x5c], xmm0
mov eax, 4
imul ecx, eax, 6
movss xmm0, dword [ebp + ecx - 0x180]
movss dword [ebp - 0x28], xmm0
mov edx, 4
imul eax, edx, 7
movss xmm0, dword [ebp + eax - 0x180]
movss dword [ebp - 0x60], xmm0
mov ecx, 4
shl ecx, 3
movss xmm0, dword [ebp + ecx - 0x180]
movss dword [ebp - 0x24], xmm0
mov edx, 4
imul eax, edx, 9
movss xmm0, dword [ebp + eax - 0x180]
movss dword [ebp - 0x34], xmm0
mov ecx, 4
imul edx, ecx, 0xa
movss xmm0, dword [ebp + edx - 0x180]
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
cvtss2sd xmm0, dword [ebp - 0x78]
andps xmm0, xmmword [0x100bcff0]
cvtss2sd xmm1, dword [ebp - 0x74]
andps xmm1, xmmword [0x100bcff0]
comisd xmm0, xmm1
jbe 0x1004e63c
movss xmm0, dword [ebp - 0x74]
xorps xmm0, xmmword [0x100bd000]
movss dword [ebp - 0x50], xmm0
jmp 0x1004e64d
movss xmm0, dword [ebp - 0x78]
xorps xmm0, xmmword [0x100bd000]
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.1004d2a0
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.1004d2a0
add esp, 0x1c
jmp 0x1004e6f1
xor eax, eax
jmp 0x1004e7cb
jmp 0x1004e7b7
cmp dword [ebp - 0x2c], 0xff
je 0x1004e71b
cmp dword [ebp - 0x2c], 0x1c
je 0x1004e71b
cmp dword [ebp - 0x2c], 0x20
jl 0x1004e714
cmp dword [ebp - 0x2c], 0xfe
jle 0x1004e71b
xor eax, eax
jmp 0x1004e7cb
cmp dword [ebp - 0x2c], 0xff
jne 0x1004e768
push 4
lea edx, [ebp - 0x44]
push edx
call fcn.1004a8d0
add esp, 8
mov dword [ebp - 0x7c], eax
cvtsi2sd xmm0, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x7c]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100bcfd0]
movsd qword [ebp - 0x188], xmm0
cvtsd2ss xmm0, qword [ebp - 0x188]
divss xmm0, dword [0x100bcf70]
movss dword [ebp - 0x38], xmm0
jmp 0x1004e78c
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
push ecx
call fcn.1004a8b0
add esp, 8
lea edx, [ebp - 0x44]
push edx
call fcn.1004aad0
add esp, 4
cwde
cvtsi2ss xmm0, eax
movss dword [ebp - 0x38], xmm0
cmp dword [ebp - 8], 0x30
jl 0x1004e796
xor eax, eax
jmp 0x1004e7cb
mov ecx, dword [ebp - 8]
movss xmm0, dword [ebp - 0x38]
movss dword [ebp + ecx*4 - 0x180], xmm0
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0
je 0x1004e7c4
mov dword [ebp - 8], 0
jmp 0x1004d6af
xor eax, eax
mov esp, ebp
pop ebp
ret