Function at 0x18004ebf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov rax, qword [0x180111040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, rdx
mov r15, rcx
mov qword [rbp - 9], rdx
xor r13d, r13d
mov rcx, r8
call fcn.1800579d0
mov r12, rax
mov esi, r13d
mov rcx, qword [0x180210b78]
test rcx, rcx
jne 0x18004ecba
mov edi, r13d
nop dword [rax]
mov r10, qword [rbx]
mov rdx, qword [rbx + 8]
sub rdx, r10
sar rdx, 3
movsxd rax, esi
cmp rax, rdx
jae 0x18004ecba
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, 0x400
mov rdx, r12
mov rcx, qword [rdi + r10]
call fcn.18004e1a0
mov r14, rax
test rax, rax
je 0x18004eca8
mov rcx, qword [rbx]
mov rcx, qword [rdi + rcx]
call fcn.18004e440
movsxd rcx, eax
mov ecx, dword [rcx + r14]
shr rcx, 3
mov qword [0x180210b78], rcx
jmp 0x18004ecaf
mov rcx, qword [0x180210b78]
inc esi
add rdi, 8
test rcx, rcx
je 0x18004ec50
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x18004ecce
mov qword [rbx + 8], rax
mov rcx, qword [0x180210b78]
test rcx, rcx
jne 0x18004f1ad
movsd xmm0, qword [0x1800eea50]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1800eea58]
mov dword [rsp + 0x38], eax
mov esi, dword [0x180111088]
cmp byte [0x1800eea5b], cl
je 0x18004ee53
mov r8d, r13d
cmp esi, 2
jl 0x18004ee11
movdqa xmm4, xmmword [0x1800fde60]
movdqa xmm2, xmmword [0x1800fdbc0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fdc20]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800fdd30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800fdd60]
movd xmm0, dword [0x1800eea50]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x1800fdbe0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fdc20]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800fdd30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800fdd60]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x18004ee20
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea rax, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x18004ee71
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x49]
call fcn.180013880
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [r15 + r8], 0
jne 0x18004eea0
mov rdx, r15
lea rcx, [rbp - 0x69]
call fcn.180013880
nop
movups xmm0, xmmword [0x1800ee358]
movups xmmword [rsp + 0x30], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18004f053
cmp esi, 2
jl 0x18004f017
movdqa xmm5, xmmword [0x1800fdbc0]
mov edx, r13d
movdqa xmm4, xmmword [0x1800fde60]
movdqa xmm6, xmmword [0x1800fdc20]
movdqa xmm0, xmmword [0x1800fdd60]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x34]
mov r8d, dword [rsp + 0x50]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x1800fdd30]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800fdd30]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x18004ef10
jmp 0x18004f053
lea r9, [rsp + 0x30]
mov r8d, r13d
nop
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x18004f020
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x79], xmm1
lea rax, [rsp + 0x30]
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x18004f070
mov r8, rdi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180013880
nop
lea r9, [rbp - 0x69]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180022270
nop
lea r9, [rbp - 0x49]
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x29]
call fcn.180022270
xor edx, edx
lea rcx, [rbp - 0x29]
call fcn.180028c40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x18004f0fc
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004f0f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004f22c
call fcn.1800b5538
nop
mov rdx, qword [rbp - 0x71]
cmp rdx, 0xf
jbe 0x18004f139
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004f133
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004f232
call fcn.1800b5538
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x18004f175
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004f16f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004f238
call fcn.1800b5538
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x18004f1ad
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004f1a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004f220
call fcn.1800b5538
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x18004f1f1
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x18004f1e1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18004f226
mov rcx, r8
call fcn.1800b5538
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1800b51a0
mov rbx, qword [rsp + 0x148]
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800bc39c
nop
call fcn.1800bc39c
nop
call fcn.1800bc39c
nop
call fcn.1800bc39c
nop
call fcn.1800bc39c
int3