Function at 0x18004dab0
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 - 0x4f]
sub rsp, 0xe0
mov r14, rcx
mov qword [rax + 8], r15
mov rcx, r8
mov rdi, rdx
call fcn.180055db0
mov r8, qword [0x1802097d0]
xor ebx, ebx
mov r15, rax
test r8, r8
jne 0x18004db38
xor esi, esi
nop
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
sub rdx, rcx
movsxd rax, ebx
sar rdx, 3
cmp rax, rdx
jae 0x18004db38
mov rcx, qword [rsi + rcx]
mov r9b, 1
mov r8d, 0x32
mov dword [rsp + 0x20], 0xffffffff
mov rdx, r15
call fcn.18004ca20
inc ebx
mov qword [0x1802097d0], rax
add rsi, 8
mov r8, rax
test rax, rax
je 0x18004daf0
mov rax, qword [rdi]
mov r15, qword [rsp + 0x100]
cmp rax, qword [rdi + 8]
je 0x18004db54
mov qword [rdi + 8], rax
mov r8, qword [0x1802097d0]
test r8, r8
je 0x18004db72
mov rax, qword gs:[0x60]
sub r8, qword [rax + 0x10]
mov qword [0x1802097d0], r8
jmp 0x18004e06e
cmp byte [0x1800e9311], 0
movups xmm0, xmmword [0x1800e9300]
movzx eax, word [0x1800e9310]
mov esi, dword [0x18010a088]
movups xmmword [rbp - 0x79], xmm0
mov word [rbp - 0x69], ax
movaps xmmword [rsp + 0xd0], xmm6
je 0x18004dd1e
xor ecx, ecx
cmp esi, 2
jl 0x18004dce4
movdqa xmm0, xmmword [0x1800f8e40]
lea rdx, [rbp - 0x75]
movdqa xmm5, xmmword [0x1800f8c90]
movdqa xmm4, xmmword [0x1800f8e20]
movdqa xmm6, xmmword [0x1800f8d20]
movdqa xmmword [rbp - 0x59], xmm0
mov r8d, dword [rbp - 0x59]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1800f8e10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x18004dbe0
cmp ecx, 0x12
jge 0x18004dd1e
movsxd rax, ecx
lea r8, [rbp - 0x79]
add r8, rax
nop
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x37
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x12
jl 0x18004dcf0
xorps xmm0, xmm0
lea rax, [rbp - 0x79]
xorps xmm1, xmm1
mov rbx, 0xffffffffffffffff
movups xmmword [rbp - 0x19], xmm0
mov r8, rbx
movdqu xmmword [rbp - 9], xmm1
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18004dd40
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x19]
call fcn.180013f10
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x39], xmm0
mov r8, rbx
movdqu xmmword [rbp - 0x29], xmm1
nop dword [rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x18004dd70
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.180013f10
movups xmm0, xmmword [0x1800e9348]
movups xmmword [rbp - 0x79], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18004df22
cmp esi, 2
jl 0x18004dee1
movdqa xmm0, xmmword [0x1800f8e40]
lea rcx, [rbp - 0x75]
movdqa xmm5, xmmword [0x1800f8c90]
xor edx, edx
movdqa xmm4, xmmword [0x1800f8e20]
movdqa xmm6, xmmword [0x1800f8d20]
movdqa xmmword [rbp - 0x59], xmm0
mov r8d, dword [rbp - 0x59]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x1800f8e10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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
psrad xmm1, 1
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x18004dde0
jmp 0x18004df22
lea r9, [rbp - 0x79]
xor r8d, r8d
nop dword [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x37
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x10
jl 0x18004def0
movaps xmm6, xmmword [rsp + 0xd0]
lea rax, [rbp - 0x79]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x59], xmm0
movdqu xmmword [rbp - 0x49], xmm1
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18004df40
mov r8, rbx
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x59]
call fcn.180013f10
lea r9, [rbp - 0x39]
lea r8, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.1800210c0
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x79]
lea rcx, [rbp + 7]
call fcn.1800210c0
xor edx, edx
lea rcx, [rbp + 7]
call fcn.1800279c0
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x18004dfc1
mov rcx, qword [rbp - 0x79]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004dfbc
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004e0d6
call fcn.1800b2a4c
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x18004dffc
mov rcx, qword [rbp - 0x59]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004dff7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004e0d6
call fcn.1800b2a4c
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x18004e037
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e032
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004e0d6
call fcn.1800b2a4c
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x18004e06e
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e069
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004e0d6
call fcn.1800b2a4c
mov rcx, qword [rdi]
test rcx, rcx
je 0x18004e0be
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x18004e0a2
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18004e0d6
mov rcx, r8
call fcn.1800b2a4c
mov qword [rdi], 0
mov qword [rdi + 8], 0
mov qword [rdi + 0x10], 0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800b96fc
int3