Function at 0x18004f8c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x4f]
sub rsp, 0xd0
xor ebx, ebx
mov rsi, rcx
mov rcx, qword [0x18020bb80]
mov r9d, ebx
test rcx, rcx
jne 0x18004fe04
mov eax, ebx
cmp rax, 0x150
jge 0x18004f911
cmp qword [rdx + rax*8], r8
je 0x18004f907
inc r9d
inc rax
jmp 0x18004f8f1
movsxd rcx, r9d
mov qword [0x18020bb80], rcx
test rcx, rcx
jne 0x18004fe04
cmp byte [0x1800eb32b], bl
movsd xmm0, qword [0x1800eb320]
mov eax, dword [0x1800eb328]
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], r14
mov r14d, dword [0x18010c088]
movaps xmmword [rsp + 0xc0], xmm6
movsd qword [rbp - 0x61], xmm0
mov dword [rbp - 0x59], eax
je 0x18004fab4
mov r8d, ebx
cmp r14d, 2
jl 0x18004fa69
movdqa xmm2, xmmword [0x1800fab00]
mov r8d, 8
movdqa xmm3, xmmword [0x1800fab20]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1800fad80]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fabc0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x1800eb320]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800fac70]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800fac90]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x61], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fabc0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x5d]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800fac70]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800fac90]
xorps xmm2, xmm0
movd dword [rbp - 0x5d], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x61]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x18004fa80
xorps xmm0, xmm0
lea rax, [rbp - 0x61]
xorps xmm1, xmm1
mov rdi, 0xffffffffffffffff
movups xmmword [rbp - 1], xmm0
mov r8, rdi
movdqu xmmword [rbp + 0xf], xmm1
inc r8
cmp byte [rax + r8], bl
jne 0x18004fad1
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 1]
call fcn.1800140a0
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x21], xmm0
mov r8, rdi
movdqu xmmword [rbp - 0x11], xmm1
nop dword [rax]
inc r8
cmp byte [rsi + r8], bl
jne 0x18004fb00
mov rdx, rsi
lea rcx, [rbp - 0x21]
call fcn.1800140a0
movups xmm0, xmmword [0x1800ebab8]
movups xmmword [rbp - 0x61], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18004fcaf
cmp r14d, 2
jl 0x18004fc77
movdqa xmm0, xmmword [0x1800fac90]
lea rcx, [rbp - 0x5d]
movdqa xmm5, xmmword [0x1800fab00]
movdqa xmm4, xmmword [0x1800fad80]
movdqa xmm6, xmmword [0x1800fabc0]
movdqa xmmword [rbp - 0x41], xmm0
mov edx, dword [rbp - 0x41]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800fac70]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800fac70]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x18004fb70
jmp 0x18004fcaf
lea r8, [rbp - 0x61]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x10
jl 0x18004fc80
movaps xmm6, xmmword [rsp + 0xc0]
lea rax, [rbp - 0x61]
mov r14, qword [rsp + 0xe8]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x41], xmm0
movdqu xmmword [rbp - 0x31], xmm1
inc rdi
cmp byte [rax + rdi], 0
jne 0x18004fcd2
mov r8, rdi
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x41]
call fcn.1800140a0
lea r9, [rbp - 0x21]
lea r8, [rbp - 0x41]
lea rcx, [rbp - 0x61]
call fcn.180022f30
lea r9, [rbp - 1]
lea r8, [rbp - 0x61]
lea rcx, [rbp + 0x1f]
call fcn.180022f30
xor edx, edx
lea rcx, [rbp + 0x1f]
call fcn.180029810
mov rdx, qword [rbp - 0x49]
mov rdi, qword [rsp + 0xe0]
cmp rdx, 0xf
jbe 0x18004fd5b
mov rcx, qword [rbp - 0x61]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004fd56
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fe19
call fcn.1800b4d3c
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x18004fd96
mov rcx, qword [rbp - 0x41]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004fd91
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fe19
call fcn.1800b4d3c
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x18004fdcd
mov rcx, qword [rbp - 0x21]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004fdc8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fe19
call fcn.1800b4d3c
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x18004fe04
mov rcx, qword [rbp - 1]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004fdff
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fe19
call fcn.1800b4d3c
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800bbacc
int3