Function at 0x18004cee0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x57]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
mov rsi, rcx
xor ebx, ebx
mov ecx, ebx
mov r9, qword [0x18021b848]
test r9, r9
jne 0x18004d3c0
mov eax, ebx
cmp rax, 0x150
jge 0x18004cf36
cmp qword [rdx + rax*8], r8
je 0x18004cf2c
inc ecx
inc rax
jmp 0x18004cf17
movsxd r9, ecx
mov qword [0x18021b848], r9
test r9, r9
jne 0x18004d3c0
movsd xmm0, qword [0x1800f7438]
movsd qword [rbp - 0x71], xmm0
mov eax, dword [0x1800f7440]
mov dword [rbp - 0x69], eax
mov r14d, dword [0x18011b098]
movdqa xmm6, xmmword [0x180106680]
cmp byte [0x1800f7443], bl
je 0x18004d0a0
mov r8d, ebx
cmp r14d, 2
jl 0x18004d058
movdqa xmm3, xmmword [0x180106c70]
movdqa xmm2, xmmword [0x180106550]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801065e0]
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180106750]
movd xmm0, dword [0x1800f7438]
xorps xmm2, xmm0
movd dword [rbp - 0x71], xmm2
movdqa xmm2, xmmword [0x180106570]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801065e0]
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180106750]
movd xmm0, dword [rbp - 0x6d]
xorps xmm2, xmm0
movd dword [rbp - 0x6d], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x71]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x18004d070
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
lea rax, [rbp - 0x71]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x18004d0c0
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x11]
call fcn.180013470
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x18004d0f0
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.180013470
nop
movups xmm0, xmmword [0x1800f7090]
movups xmmword [rbp - 0x71], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18004d27c
cmp r14d, 2
jl 0x18004d23f
movdqa xmm4, xmmword [0x180106550]
movdqa xmm3, xmmword [0x180106c70]
movdqa xmm5, xmmword [0x1801065e0]
movdqa xmm0, xmmword [0x180106750]
movdqa xmmword [rbp - 0x51], xmm0
lea rcx, [rbp - 0x6d]
mov edx, dword [rbp - 0x51]
nop dword [rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x18004d160
jmp 0x18004d27c
lea r8, [rbp - 0x71]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
sub al, cl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x10
jl 0x18004d250
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
lea rax, [rbp - 0x71]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x18004d290
mov r8, rdi
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x51]
call fcn.180013470
nop
lea r9, [rbp - 0x31]
lea r8, [rbp - 0x51]
lea rcx, [rbp - 0x71]
call fcn.180022a00
nop
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x71]
lea rcx, [rbp + 0xf]
call fcn.180022a00
xor edx, edx
lea rcx, [rbp + 0xf]
call fcn.180028ef0
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 0xf
jbe 0x18004d315
inc rdx
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004d30f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004d3e3
call fcn.1800b51d8
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x18004d351
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004d34b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004d3e9
call fcn.1800b51d8
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x18004d389
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004d383
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004d3ef
call fcn.1800b51d8
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x18004d3c0
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004d3bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004d3dd
call fcn.1800b51d8
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800bb0e4
nop
call fcn.1800bb0e4
nop
call fcn.1800bb0e4
nop
call fcn.1800bb0e4
int3