Function at 0x180003330
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x180078040]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x68], rdx
xor r15d, r15d
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x180003583
cmp qword [rcx + 0x10], r15
je 0x180003583
cmp byte [0x18007b424], r15b
je 0x1800033c0
mov eax, dword [0x18007b420]
test eax, eax
je 0x1800033c0
imul eax, eax, 7
mov dword [0x18007b420], eax
test eax, eax
je 0x1800033c0
sub eax, 0x62
mov dword [0x18007b420], eax
test eax, eax
je 0x1800033c0
add eax, 0x1e
mov dword [0x18007b420], eax
mov dword [rbp - 0x70], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
mov rcx, qword [rcx + 0x10]
inc rcx
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.1800384b4
mov r14, rax
mov r8, qword [rbx]
mov rdx, r8
cmp qword [r8 + 0x18], 7
jbe 0x180003417
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
add r8, r8
mov rcx, r14
call fcn.18005d920
mov rax, qword [rbx]
mov rcx, qword [rax + 0x10]
mov word [r14 + rcx*2], r15w
movdqa xmm0, xmmword [0x18006d770]
movdqu xmmword [rsp + 0x50], xmm0
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x51], al
inc rcx
cmp rcx, 0xe
jb 0x180003450
mov byte [rsp + 0x5f], 0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
lea rax, [rsp + 0x51]
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x180003480
mov r8, rdi
lea rdx, [rsp + 0x51]
lea rcx, [rbp]
call fcn.180004c10
lea rcx, [rbp]
call fcn.1800016d0
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
xor ecx, ecx
call rax
mov edi, eax
mov rcx, r14
call fcn.180037fe0
cmp byte [0x18007b424], 0
je 0x180003517
mov ecx, dword [0x18007b420]
test ecx, ecx
je 0x180003517
imul ecx, ecx, 7
mov dword [0x18007b420], ecx
test ecx, ecx
je 0x180003517
sub ecx, 0x62
mov dword [0x18007b420], ecx
test ecx, ecx
je 0x180003517
add ecx, 0x1e
mov dword [0x18007b420], ecx
test edi, edi
je 0x180003571
lea r9, [rbp + 0x2a]
mov r8d, dword [rbp - 0x80]
nop dword [rax]
nop word [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x180003530
lea r8, [rbp + 0x2a]
mov rdx, r9
mov rcx, rsi
call fcn.180005730
jmp 0x1800035a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rsi
call fcn.18000d600
jmp 0x1800035a4
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
xor r8d, r8d
lea rdx, [0x18006d58c]
mov rcx, rsi
call fcn.180004ae0
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800035f4
mov rdx, qword [rbx + 8]
call fcn.180004e10
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x1800035e4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000361a
mov rcx, r8
call fcn.180037fe0
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov rax, rsi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180037fc0
mov rbx, qword [rsp + 0x180]
add rsp, 0x140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.18003ef50
int3