Function at 0x18003ed20
Capabilities:
Encrypt data using speck

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [r11 - 0x208]
sub rsp, 0x2d0
movaps xmmword [r11 - 0x48], xmm6
movaps xmmword [r11 - 0x68], xmm8
movaps xmmword [r11 - 0x78], xmm9
movaps xmmword [r11 - 0x88], xmm10
movaps xmmword [r11 - 0x98], xmm11
movaps xmmword [r11 - 0xa8], xmm12
movaps xmmword [r11 - 0xb8], xmm13
movaps xmmword [r11 - 0xc8], xmm14
movaps xmmword [r11 - 0xd8], xmm15
mov rax, qword [0x18011e040]
xor rax, rsp
mov qword [rbp + 0x120], rax
movups xmm0, xmmword [rcx + 0x70]
mov rbx, r8
xor r8d, r8d
movups xmm1, xmmword [rcx + 0x50]
mov dword [rsp + 0x70], r8d
mov r12d, r8d
mov dword [rsp + 0x78], r8d
mov r14d, r8d
mov dword [rsp + 0x7c], r8d
mov r8d, edx
mov dword [rbp - 0x80], edx
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x78], rcx
lea rcx, [rsp + 0x60]
movaps xmmword [r11 - 0x58], xmm7
mov dword [rsp + 0x74], 1
movups xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x70], xmm1
call fcn.18003cbf0
movss xmm13, dword [rbp - 0x28]
xorps xmm8, xmm8
movss xmm14, dword [rbp - 0x2c]
xor r10d, r10d
movss xmm15, dword [rbp - 0x30]
movups xmm2, xmmword [rax]
movss xmm11, dword [rbp - 0x34]
movss xmm10, dword [rbp - 0x38]
movdqa xmm0, xmm2
movss xmm12, dword [rbp - 0x3c]
movdqa xmm1, xmm2
movss xmm9, dword [rbp - 0x40]
movq rdx, xmm2
movss xmm6, dword [rbp - 0x20]
psrldq xmm0, 0xc
movd r8d, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 8
psrldq xmm1, 8
movaps xmmword [rsp + 0x60], xmm2
movq qword [rsp + 0x68], xmm0
mov dword [rsp + 0x44], r8d
movd r13d, xmm1
mov qword [rsp + 0x50], rdx
mov rax, qword [rsp + 0x68]
lea r9, sym.XINPUT1_3.dll_Ordinal_9
movss xmm5, dword [0x180109de0]
mov r11d, 0x46b
movss xmm4, dword [0x180109e10]
shr rax, 0x20
cmp r13d, eax
jge 0x18003f100
movsxd rax, r13d
mov edi, r10d
inc r13d
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x68], r13d
movzx r15d, byte [rax + rdx]
movzx esi, r15b
lea eax, [rsi - 1]
cmp eax, 0x1e
ja case.0x18003eebf.2
cdqe
mov ecx, dword [r9 + rax*4 + 0x3fc28]
add rcx, r9
jmp rcx
cmp dword [rsp + 0x74], 0
mov edi, dword [rsp + 0x70]
je 0x18003eeda
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov dword [rsp + 0x70], edi
lea eax, [rdi + 7]
mov dword [rsp + 0x74], r10d
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, r13d
mov r13d, eax
cmp eax, r8d
jg 0x18003ef03
test eax, eax
js 0x18003ef03
mov dword [rsp + 0x68], eax
jmp 0x18003efcb
mov r13d, r8d
mov dword [rsp + 0x68], r8d
jmp 0x18003efcb
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
add dword [rsp + 0x70], eax
jmp 0x18003efcb
mov dword [rsp + 0x74], r10d
cmp r14d, 2
jl 0x18003f100
mov rcx, rbx
call fcn.18003e9f0
movsxd rax, r14d
movss xmm2, dword [rbp + rax*4 - 0x48]
addss xmm2, dword [rbx + 0x10]
movss xmm0, dword [rbp + rax*4 - 0x44]
addss xmm0, dword [rbx + 0x14]
cmp dword [rbx], 0
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 8], xmm2
movss dword [rbx + 0x14], xmm0
movss dword [rbx + 0xc], xmm0
cvttss2si r8d, xmm0
cvttss2si edx, xmm2
je 0x18003ef7d
mov rcx, rbx
call fcn.18003e980
jmp 0x18003efc0
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
add rcx, qword [rbx + 0x28]
mov byte [rcx + 0xc], 1
mov word [rcx], dx
mov word [rcx + 2], r8w
xor r8d, r8d
mov dword [rcx + 4], r8d
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov word [rcx + rax + 8], r8w
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov word [rcx + rax + 0xa], r8w
inc dword [rbx + 0x30]
xor r10d, r10d
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x40]
mov eax, r10d
test ecx, ecx
cmove eax, r14d
mov r14d, eax
jmp 0x18003ee58
mov dword [rsp + 0x74], r10d
cmp r14d, 1
jl 0x18003f100
mov rcx, rbx
call fcn.18003e9f0
movss xmm2, dword [rbx + 0x10]
addss xmm2, xmm8
movsxd rax, r14d
jmp 0x18003ef46
mov dword [rsp + 0x74], r10d
cmp r14d, 1
jl 0x18003f100
mov rcx, rbx
call fcn.18003e9f0
movss xmm0, dword [rbx + 0x14]
movsxd rax, r14d
addss xmm0, xmm8
movss xmm2, dword [rbp + rax*4 - 0x44]
addss xmm2, dword [rbx + 0x10]
jmp 0x18003ef51
cmp r14d, 2
jl 0x18003f100
mov eax, dword [rbx + 0x30]
lea r11, [rbp - 0x40]
mov edi, 1
nop dword [rax + rax]
cmp dword [rbx], 0
movss xmm1, dword [rbx + 0x10]
addss xmm1, dword [r11]
movss xmm0, dword [r11 + 4]
addss xmm0, dword [rbx + 0x14]
movss dword [rbx + 0x10], xmm1
cvttss2si edx, xmm1
movss dword [rbx + 0x14], xmm0
cvttss2si r8d, xmm0
je 0x18003f09a
mov rcx, rbx
call fcn.18003e980
xor r10d, r10d
jmp 0x18003f0db
cdqe
imul rcx, rax, 0xe
add rcx, qword [rbx + 0x28]
mov byte [rcx + 0xc], 2
mov word [rcx], dx
mov word [rcx + 2], r8w
mov dword [rcx + 4], 0
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov word [rcx + rax + 8], r10w
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov word [rcx + rax + 0xa], r10w
inc dword [rbx + 0x30]
add edi, 2
mov eax, dword [rbx + 0x30]
add r11, 8
cmp edi, r14d
jl 0x18003f060
jmp 0x18003efc6
cmp r14d, 1
jge 0x18003f1f2
xor eax, eax
movaps xmm7, xmmword [rsp + 0x2b0]
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1800ac6b0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp r14d, 1
jl 0x18003f100
cmp dword [rbx], 0
movss xmm0, dword [rbx + 0x14]
addss xmm0, xmm8
movsxd rax, edi
movss xmm1, dword [rbp + rax*4 - 0x40]
addss xmm1, dword [rbx + 0x10]
movss dword [rbx + 0x14], xmm0
cvttss2si r8d, xmm0
movss dword [rbx + 0x10], xmm1
cvttss2si edx, xmm1
je 0x18003f1aa
mov rcx, rbx
call fcn.18003e980
xor r10d, r10d
jmp 0x18003f1ed
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
add rcx, qword [rbx + 0x28]
mov byte [rcx + 0xc], 2
mov word [rcx], dx
mov word [rcx + 2], r8w
mov dword [rcx + 4], 0
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov word [rcx + rax + 8], r10w
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov word [rcx + rax + 0xa], r10w
inc dword [rbx + 0x30]
inc edi
cmp edi, r14d
jge 0x18003efc6
cmp dword [rbx], 0
movss xmm1, dword [rbx + 0x10]
addss xmm1, xmm8
movsxd rax, edi
movss xmm0, dword [rbp + rax*4 - 0x40]
addss xmm0, dword [rbx + 0x14]
movss dword [rbx + 0x10], xmm1
cvttss2si edx, xmm1
movss dword [rbx + 0x14], xmm0
cvttss2si r8d, xmm0
je 0x18003f238
mov rcx, rbx
call fcn.18003e980
xor r10d, r10d
jmp 0x18003f27b
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
add rcx, qword [rbx + 0x28]
mov byte [rcx + 0xc], 2
mov word [rcx], dx
mov word [rcx + 2], r8w
mov dword [rcx + 4], 0
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov word [rcx + rax + 8], r10w
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov word [rcx + rax + 0xa], r10w
inc dword [rbx + 0x30]
inc edi
cmp edi, r14d
jl 0x18003f16d
jmp 0x18003efc6
cmp r14d, 4
jl 0x18003f100
jmp 0x18003f2f9
cmp r14d, 4
jl 0x18003f100
mov eax, r14d
sub eax, edi
cmp eax, 5
jne 0x18003f2b9
movsxd rax, edi
movss xmm0, dword [rbp + rax*4 - 0x30]
jmp 0x18003f2bd
movaps xmm0, xmm8
movsxd rax, edi
mov rcx, rbx
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [rbp + rax*4 - 0x38]
movss xmm0, dword [rbp + rax*4 - 0x34]
movss xmm3, dword [rbp + rax*4 - 0x3c]
movss xmm2, dword [rbp + rax*4 - 0x40]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm1
movaps xmm1, xmm8
call fcn.18003ea60
add edi, 4
lea eax, [rdi + 3]
cmp eax, r14d
jge 0x18003efc3
movsxd rcx, edi
mov eax, r14d
sub eax, edi
movss xmm1, dword [rbp + rcx*4 - 0x34]
cmp eax, 5
jne 0x18003f320
movss xmm0, dword [rbp + rcx*4 - 0x30]
jmp 0x18003f324
movaps xmm0, xmm8
movss xmm3, dword [rbp + rcx*4 - 0x3c]
movaps xmm2, xmm8
movss dword [rsp + 0x30], xmm1
movss xmm1, dword [rbp + rcx*4 - 0x40]
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rbp + rcx*4 - 0x38]
mov rcx, rbx
movss dword [rsp + 0x20], xmm0
call fcn.18003ea60
add edi, 4
lea eax, [rdi + 3]
cmp eax, r14d
jl 0x18003f2a4
jmp 0x18003efc3
cmp r14d, 6
jl 0x18003f100
mov esi, 5
lea rdi, [rbp - 0x30]
nop dword [rax + rax]
movss xmm0, dword [rdi + 4]
mov rcx, rbx
movss xmm1, dword [rdi]
movss xmm3, dword [rdi - 8]
movss xmm2, dword [rdi - 0xc]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rdi - 4]
movss dword [rsp + 0x28], xmm1
movss xmm1, dword [rdi - 0x10]
movss dword [rsp + 0x20], xmm0
call fcn.18003ea60
add esi, 6
lea rdi, [rdi + 0x18]
cmp esi, r14d
jl 0x18003f380
jmp 0x18003efc3
cmp r14d, 8
jl 0x18003f100
lea r12d, [r14 - 2]
cmp r12d, 5
jle 0x18003f447
mov r15d, 5
lea rsi, [rbp - 0x30]
nop word [rax + rax]
movss xmm0, dword [rsi + 4]
mov rcx, rbx
movss xmm1, dword [rsi]
movss xmm3, dword [rsi - 8]
movss xmm2, dword [rsi - 0xc]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsi - 4]
movss dword [rsp + 0x28], xmm1
movss xmm1, dword [rsi - 0x10]
movss dword [rsp + 0x20], xmm0
call fcn.18003ea60
add edi, 6
lea rsi, [rsi + 0x18]
add r15d, 6
mov eax, edi
cmp r15d, r12d
jl 0x18003f3f0
inc eax
cmp eax, r14d
jge 0x18003f100
xor r10d, r10d
cmp dword [rbx], 0
movsxd rax, edi
movss xmm1, dword [rbp + rax*4 - 0x40]
addss xmm1, dword [rbx + 0x10]
movss xmm0, dword [rbp + rax*4 - 0x3c]
addss xmm0, dword [rbx + 0x14]
movss dword [rbx + 0x10], xmm1
cvttss2si edx, xmm1
movss dword [rbx + 0x14], xmm0
cvttss2si r8d, xmm0
je 0x18003f490
mov rcx, rbx
call fcn.18003e980
mov r12d, dword [rsp + 0x78]
xor r10d, r10d
inc dword [rbx + 0x30]
jmp 0x18003efc6
movsxd rax, dword [rbx + 0x30]
mov r12d, dword [rsp + 0x78]
imul rcx, rax, 0xe
add rcx, qword [rbx + 0x28]
mov byte [rcx + 0xc], 2
mov word [rcx], dx
mov word [rcx + 2], r8w
mov dword [rcx + 4], 0
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov word [rcx + rax + 8], r10w
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov word [rcx + rax + 0xa], r10w
inc dword [rbx + 0x30]
jmp 0x18003efc6
cmp r14d, 8
jl 0x18003f100
lea r15d, [r14 - 6]
cmp r15d, 1
jle 0x18003f5b3
mov ecx, dword [rbx + 0x30]
lea r11, [rbp - 0x40]
mov esi, 1
nop dword [rax]
nop dword [rax + rax]
cmp dword [rbx], 0
movss xmm1, dword [rbx + 0x10]
addss xmm1, dword [r11]
movss xmm0, dword [r11 + 4]
addss xmm0, dword [rbx + 0x14]
movss dword [rbx + 0x10], xmm1
cvttss2si edx, xmm1
movss dword [rbx + 0x14], xmm0
cvttss2si r8d, xmm0
je 0x18003f54a
mov rcx, rbx
call fcn.18003e980
xor r10d, r10d
jmp 0x18003f58c
movsxd rax, ecx
imul rcx, rax, 0xe
add rcx, qword [rbx + 0x28]
mov byte [rcx + 0xc], 2
mov word [rcx], dx
mov word [rcx + 2], r8w
mov dword [rcx + 4], 0
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov word [rcx + rax + 8], r10w
movsxd rax, dword [rbx + 0x30]
imul rcx, rax, 0xe
mov rax, qword [rbx + 0x28]
mov word [rcx + rax + 0xa], r10w
inc dword [rbx + 0x30]
add edi, 2
mov ecx, dword [rbx + 0x30]
add esi, 2
add r11, 8
mov eax, edi
cmp esi, r15d
jl 0x18003f510
add eax, 5
cmp eax, r14d
jge 0x18003f100
movsxd rax, edi
mov rcx, rbx
movss xmm0, dword [rbp + rax*4 - 0x2c]
movss xmm2, dword [rbp + rax*4 - 0x30]
movss xmm3, dword [rbp + rax*4 - 0x38]
movss xmm1, dword [rbp + rax*4 - 0x40]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rbp + rax*4 - 0x34]
movss dword [rsp + 0x28], xmm2
movss xmm2, dword [rbp + rax*4 - 0x3c]
movss dword [rsp + 0x20], xmm0
call fcn.18003ea60
jmp 0x18003efc3
cmp r14d, 4
jl 0x18003f100
mov eax, r14d
movaps xmm5, xmm8
and eax, 1
je 0x18003f613
movaps xmm5, xmm9
lea esi, [rax + 3]
cmp esi, r14d
jge 0x18003efd0
lea rdi, [rbp - 0x34]
lea rdi, [rdi + rax*4]
nop word [rax + rax]
movss xmm0, dword [rdi]
movss xmm1, dword [rdi - 0xc]
cmp r15b, 0x1b
jne 0x18003f64b
movaps xmm2, xmm0
movaps xmm4, xmm1
movaps xmm0, xmm8
jmp 0x18003f655
movaps xmm4, xmm5
movaps xmm2, xmm8
movaps xmm5, xmm1
movss xmm3, dword [rdi - 8]
movaps xmm1, xmm4
movss dword [rsp + 0x30], xmm0
mov rcx, rbx
movss xmm0, dword [rdi - 4]
movss dword [rsp + 0x28], xmm2
movaps xmm2, xmm5
movss dword [rsp + 0x20], xmm0
call fcn.18003ea60
add esi, 4
add rdi, 0x10
movaps xmm5, xmm8
cmp esi, r14d
jl 0x18003f630
jmp 0x18003efc3
cmp dword [rsp + 0x7c], 0
mov rdi, qword [rbp - 0x78]
jne 0x18003f6d6
cmp dword [rdi + 0x9c], 0
je 0x18003f6c8
mov r8d, dword [rbp - 0x80]
lea rcx, [rbp - 0x50]
mov rdx, rdi
call fcn.18003eb50
xor r10d, r10d
mov r11d, 0x46b
movups xmm2, xmmword [rax]
movups xmmword [rbp - 0x60], xmm2
mov dword [rsp + 0x7c], 1
jmp 0x18003f6d6
mov rdi, qword [rbp - 0x78]
cmp r14d, 1
jl 0x18003f100
dec r14d
cmp r12d, 0xa
jge 0x18003f100
movaps xmm0, xmmword [rsp + 0x60]
movsxd rax, r12d
inc r12d
add rax, rax
mov dword [rsp + 0x78], r12d
movups xmmword [rbp + rax*8 + 0x80], xmm0
movsxd rax, r14d
cvttss2si r8d, dword [rbp + rax*4 - 0x40]
lea rax, [rbp - 0x60]
cmp esi, 0xa
je 0x18003f71f
lea rax, [rdi + 0x60]
movups xmm1, xmmword [rax]
mov rax, qword [rax + 8]
shr rax, 0x20
movaps xmmword [rsp + 0x60], xmm1
test eax, eax
psrldq xmm1, 0xc
movd r9d, xmm1
mov ecx, r9d
cmovns ecx, r10d
mov r10, qword [rsp + 0x60]
mov dword [rsp + 0x68], ecx
cmp ecx, r9d
jl 0x18003f754
xor al, al
jmp 0x18003f762
movsxd rax, ecx
inc ecx
mov dword [rsp + 0x68], ecx
movzx eax, byte [rax + r10]
movzx edx, al
cmp ecx, r9d
jl 0x18003f76e
xor al, al
jmp 0x18003f77c
movsxd rax, ecx
inc ecx
mov dword [rsp + 0x68], ecx
movzx eax, byte [rax + r10]
shl edx, 8
movzx eax, al
or edx, eax
cmp edx, 0x846c
jb 0x18003f793
mov eax, 0x8000
jmp 0x18003f7a2
cmp edx, 0x4d8
mov eax, 0x6b
cmovae eax, r11d
add r8d, eax
js 0x18003f7ca
cmp r8d, edx
jge 0x18003f7ca
movaps xmm0, xmmword [rsp + 0x60]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.18003cbf0
xor r10d, r10d
jmp 0x18003f7d5
xor r10d, r10d
mov qword [rbp - 0x70], r10
mov qword [rbp - 0x68], r10
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rsp + 0x60], xmm0
psrldq xmm0, 8
movq rax, xmm0
shr rax, 0x20
test eax, eax
je 0x18003f100
mov rdx, qword [rsp + 0x60]
mov ecx, r10d
mov r8d, dword [rsp + 0x6c]
test ecx, ecx
mov eax, r10d
mov dword [rsp + 0x68], r10d
cmove eax, r14d
mov dword [rsp + 0x44], r8d
mov r14d, eax
mov qword [rsp + 0x50], rdx
mov r13d, r10d
jmp 0x18003ee58
test r12d, r12d
jle 0x18003f100
dec r12d
mov ecx, r10d
movsxd rax, r12d
add rax, rax
mov dword [rsp + 0x78], r12d
test ecx, ecx
movups xmm2, xmmword [rbp + rax*8 + 0x80]
mov eax, r10d
cmove eax, r14d
movdqa xmm0, xmm2
movaps xmmword [rsp + 0x60], xmm2
psrldq xmm0, 0xc
movdqa xmm1, xmm2
movd r8d, xmm0
movq rdx, xmm2
movdqa xmm0, xmm2
psrldq xmm1, 8
psrldq xmm0, 8
mov r14d, eax
movq qword [rsp + 0x68], xmm0
mov dword [rsp + 0x44], r8d
movd r13d, xmm1
mov qword [rsp + 0x50], rdx
jmp 0x18003ee58
mov rax, qword [rsp + 0x68]
shr rax, 0x20
cmp r13d, eax
jl 0x18003f8a9
xor al, al
jmp 0x18003f8b8
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x68], r13d
movzx eax, byte [rax + rdx]
movzx ecx, al
sub ecx, 0x22
je 0x18003fa63
sub ecx, 1
je 0x18003f9f1
sub ecx, 1
je 0x18003f97a
cmp ecx, 1
jne 0x18003f100
cmp r14d, 0xb
jl 0x18003f100
movss xmm6, dword [rbp - 0x18]
movaps xmm2, xmm10
addss xmm2, xmm9
movaps xmm3, xmm11
addss xmm3, xmm12
movaps xmm7, xmm6
addss xmm2, xmm15
addss xmm3, xmm14
addss xmm2, xmm13
addss xmm3, dword [rbp - 0x24]
addss xmm2, dword [rbp - 0x20]
addss xmm3, dword [rbp - 0x1c]
movaps xmm1, xmm2
movaps xmm0, xmm3
andps xmm1, xmm5
andps xmm0, xmm5
comiss xmm1, xmm0
jbe 0x18003f93a
movaps xmm6, xmm3
xorps xmm6, xmm4
jmp 0x18003f940
movaps xmm7, xmm2
xorps xmm7, xmm4
movss dword [rsp + 0x30], xmm14
movaps xmm3, xmm10
movss dword [rsp + 0x28], xmm15
movaps xmm2, xmm12
movaps xmm1, xmm9
movss dword [rsp + 0x20], xmm11
mov rcx, rbx
call fcn.18003ea60
movss dword [rsp + 0x30], xmm6
movss dword [rsp + 0x28], xmm7
jmp 0x18003fa3a
cmp r14d, 9
jl 0x18003f100
movss dword [rsp + 0x30], xmm8
movaps xmm3, xmm10
movss dword [rsp + 0x28], xmm15
movaps xmm2, xmm12
movaps xmm1, xmm9
movss dword [rsp + 0x20], xmm11
mov rcx, rbx
call fcn.18003ea60
movss xmm0, dword [rbp - 0x24]
movaps xmm3, xmm11
addss xmm3, xmm12
movaps xmm2, xmm8
movaps xmm1, xmm14
mov rcx, rbx
addss xmm3, xmm0
xorps xmm3, xmmword [0x180109e10]
movss dword [rsp + 0x30], xmm3
movaps xmm3, xmm13
movss dword [rsp + 0x28], xmm6
movss dword [rsp + 0x20], xmm0
call fcn.18003ea60
jmp 0x18003efc3
cmp r14d, 0xd
jl 0x18003f100
movss dword [rsp + 0x30], xmm14
movaps xmm3, xmm10
movss dword [rsp + 0x28], xmm15
movaps xmm2, xmm12
movaps xmm1, xmm9
movss dword [rsp + 0x20], xmm11
mov rcx, rbx
call fcn.18003ea60
movss xmm3, dword [rbp - 0x14]
movss xmm0, dword [rbp - 0x18]
movss dword [rsp + 0x30], xmm3
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rbp - 0x1c]
movaps xmm1, xmm13
movss xmm3, dword [rbp - 0x20]
mov rcx, rbx
movss xmm2, dword [rbp - 0x24]
movss dword [rsp + 0x20], xmm0
call fcn.18003ea60
movaps xmm6, xmm3
jmp 0x18003efc3
cmp r14d, 7
jl 0x18003f100
movss dword [rsp + 0x30], xmm8
movaps xmm3, xmm12
movss dword [rsp + 0x28], xmm11
movaps xmm2, xmm8
movaps xmm1, xmm9
movss dword [rsp + 0x20], xmm10
mov rcx, rbx
call fcn.18003ea60
movaps xmm3, xmm10
movss dword [rsp + 0x30], xmm8
xorps xmm3, xmmword [0x180109e10]
movaps xmm2, xmm8
movss dword [rsp + 0x28], xmm13
movaps xmm1, xmm15
movss dword [rsp + 0x20], xmm3
mov rcx, rbx
movaps xmm3, xmm14
call fcn.18003ea60
jmp 0x18003efc3
cmp esi, 0xff
je 0x18003fb32
test esi, 0xffffffe0
jne 0x18003fae7
cmp esi, 0x1c
jne 0x18003f100
lea eax, [r13 - 1]
cmp eax, r8d
jg 0x18003faf8
mov dword [rsp + 0x68], eax
test eax, eax
jns 0x18003fafd
mov dword [rsp + 0x68], r8d
lea rcx, [rsp + 0x60]
call fcn.18003c820
mov rdx, qword [rsp + 0x60]
xor r10d, r10d
mov r8d, dword [rsp + 0x6c]
mov r13d, dword [rsp + 0x68]
movsx ecx, ax
mov dword [rsp + 0x44], r8d
mov qword [rsp + 0x50], rdx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
jmp 0x18003fbbc
cmp r13d, r8d
jl 0x18003fb3b
xor al, al
jmp 0x18003fb4a
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x68], r13d
movzx eax, byte [rax + rdx]
movzx ecx, al
cmp r13d, r8d
jl 0x18003fb56
xor al, al
jmp 0x18003fb65
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x68], r13d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
cmp r13d, r8d
jl 0x18003fb76
xor al, al
jmp 0x18003fb85
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x68], r13d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
cmp r13d, r8d
jl 0x18003fb96
xor al, al
jmp 0x18003fba5
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x68], r13d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x180109848]
cmp r14d, 0x30
jge 0x18003f100
movsxd rax, r14d
mov ecx, r10d
inc r14d
test ecx, ecx
movss dword [rbp + rax*4 - 0x40], xmm0
mov eax, r10d
movss xmm13, dword [rbp - 0x28]
cmove eax, r14d
movss xmm14, dword [rbp - 0x2c]
mov r14d, eax
movss xmm15, dword [rbp - 0x30]
movss xmm11, dword [rbp - 0x34]
movss xmm10, dword [rbp - 0x38]
movss xmm12, dword [rbp - 0x3c]
movss xmm9, dword [rbp - 0x40]
movss xmm6, dword [rbp - 0x20]
jmp 0x18003ee58
mov rcx, rbx
call fcn.18003e9f0
mov eax, 1
jmp 0x18003f102