Function at 0x180009fe0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3e30]
mov eax, 0x3f30
call fcn.180029e20
sub rsp, rax
mov rax, qword [0x180074020]
xor rax, rsp
mov qword [rbp + 0x3e20], rax
mov rsi, rcx
xor ebx, ebx
call qword [0x1800767e0]
mov qword [rsp + 0x68], rax
mov rcx, rax
call qword [0x1800767d8]
mov r14, rax
test rax, rax
je 0x18000a5b3
mov rcx, rax
call qword [0x1800767d0]
mov r13, rax
test rax, rax
je 0x18000a5a5
mov qword [rbp + 0x3dc0], rbx
mov qword [rbp + 0x3dc8], 7
mov word [rbp + 0x3db0], bx
lea r8d, [rbx + 0x34]
lea rdx, str.c67695d800fa1280031af917e02456bf939666ccff370bef80f6
lea rcx, [rbp + 0x3db0]
call fcn.1800081a0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x3db0]
call fcn.18001b330
nop
lea rdx, [rbp + 0x3e00]
mov rcx, rax
call fcn.18001b580
nop
cmp qword [rax + 0x18], 0x10
jb 0x18000a0b5
mov rax, qword [rax]
mov rcx, rax
call qword [0x1800767c8]
mov rdi, rax
mov rdx, qword [rbp + 0x3e18]
cmp rdx, 0x10
jb 0x18000a102
inc rdx
mov rcx, qword [rbp + 0x3e00]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a0fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a5fb
call fcn.1800295b0
mov qword [rbp + 0x3e10], rbx
mov qword [rbp + 0x3e18], 0xf
mov byte [rbp + 0x3e00], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x18000a15c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a157
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a601
call fcn.1800295b0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], bx
mov rdx, qword [rbp + 0x3dc8]
cmp rdx, 8
jb 0x18000a1b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3db0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a1ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a607
call fcn.1800295b0
test rdi, rdi
je 0x18000a320
mov qword [rbp + 0x3dc0], rbx
mov qword [rbp + 0x3dc8], 7
mov word [rbp + 0x3db0], bx
mov r8d, 0x44
lea rdx, str.9115d5bc0aa009ccea55167b63627857c2b213ff8748228b1234664d67444b7d9eee
lea rcx, [rbp + 0x3db0]
call fcn.1800081a0
nop
lea rdx, [rbp + 0x3dd8]
lea rcx, [rbp + 0x3db0]
call fcn.18001b330
nop
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.18001b580
nop
cmp qword [rax + 0x18], 0x10
jb 0x18000a21a
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call qword [0x180076830]
mov rdi, rax
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x18000a264
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a25f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a60d
call fcn.1800295b0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp + 0x3df0]
cmp rdx, 8
jb 0x18000a2ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3dd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a2b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a613
call fcn.1800295b0
mov qword [rbp + 0x3de8], rbx
mov qword [rbp + 0x3df0], 7
mov word [rbp + 0x3dd8], bx
mov rdx, qword [rbp + 0x3dc8]
cmp rdx, 8
jb 0x18000a319
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3db0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a314
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a619
call fcn.1800295b0
test rdi, rdi
je 0x18000a320
call rdi
xor ecx, ecx
call qword [0x1800767c0]
mov edi, eax
mov ecx, 1
call qword [0x1800767c0]
mov r12d, eax
mov r8d, eax
mov edx, edi
mov rcx, r14
call qword [0x1800767b8]
mov r15, rax
test rax, rax
je 0x18000a59c
mov rdx, rax
mov rcx, r13
call qword [0x1800767b0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r12d
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [0x1800767a8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x3e00], xmm0
movups xmmword [rbp + 0x3e10], xmm0
lea r8, [rbp + 0x3e00]
mov edx, 0x20
mov rcx, r15
call qword [0x1800767a0]
mov dword [rbp + 0x3dd8], 0x28
mov eax, dword [rbp + 0x3e04]
mov dword [rbp + 0x3ddc], eax
mov ecx, dword [rbp + 0x3e08]
mov dword [rbp + 0x3de0], ecx
mov qword [rbp + 0x3de4], 0x180001
mov qword [rbp + 0x3dec], rbx
mov qword [rbp + 0x3df4], rbx
mov dword [rbp + 0x3dfc], ebx
lea eax, [rax + rax*2]
lea eax, [rax*8 + 0x1f]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
imul eax, ecx
shl eax, 2
movsxd rdi, eax
mov rcx, rdi
call fcn.1800295b8
mov qword [rsp + 0x58], rax
mov rcx, rdi
call fcn.1800295b8
mov rdi, rax
mov dword [rsp + 0x30], ebx
lea rax, [rbp + 0x3dd8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
mov rdx, r15
mov rcx, r14
call qword [0x180076798]
cmp qword [rsi + 0x18], 8
jb 0x18000a45f
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rsi
call qword [0x180076888]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18000a573
mov dword [rsp + 0x50], ebx
mov eax, 0x1e
mov word [rbp - 0x50], ax
lea rcx, [rbp - 0x50]
call fcn.18000a620
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov ecx, dword [rbp + 0x3e08]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rbp + 0x3e04]
mov r8, rdi
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp - 0x50]
call fcn.18000bd40
mov dword [rbp + 0x3dd0], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x3dd0]
movsxd r12, dword [rsp + 0x50]
mov r8d, r12d
mov rdx, rdi
mov rcx, rsi
call qword [0x180076880]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp + 0x3db0], xmm0
lea rcx, [rbp + 0x3db0]
call fcn.180008320
nop
mov r8, qword [rbp + 0x3db0]
test r8, r8
je 0x18000a5e5
mov edx, dword [rbp + 0x3db8]
test r12d, r12d
jle 0x18000a567
nop dword [rax + rax]
movzx ecx, byte [rbp + 0x3db8]
movzx eax, byte [rbx + rdi]
xor rcx, rax
mov eax, edx
shr eax, 8
mov edx, dword [r8 + rcx*4]
xor edx, eax
mov dword [rbp + 0x3db8], edx
inc rbx
cmp rbx, r12
jl 0x18000a540
not edx
mov ebx, edx
mov rcx, r8
call fcn.1800295b0
mov rcx, rdi
call fcn.1800295b0
mov rcx, qword [rsp + 0x58]
call fcn.1800295b0
mov rdx, qword [rsp + 0x60]
mov rcx, r13
call qword [0x1800767b0]
mov rcx, r15
call qword [0x180076790]
mov rcx, r13
call qword [0x180076788]
mov rdx, r14
mov rcx, qword [rsp + 0x68]
call qword [0x180076780]
mov eax, ebx
mov rcx, qword [rbp + 0x3e20]
xor rcx, rsp
call fcn.1800292f0
lea r11, [rsp + 0x3f30]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rsp + 0x50], ebx
lea rdx, [0x180072588]
lea rcx, [rsp + 0x50]
call fcn.18002aee4
nop
call fcn.18002e0ec
nop
call fcn.18002e0ec
nop
call fcn.18002e0ec
nop
call fcn.18002e0ec
nop
call fcn.18002e0ec
nop
call fcn.18002e0ec
int3