Function at 0x18000d650
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2310]
mov eax, 0x2410
call fcn.180014a60
sub rsp, rax
mov qword [rbp + 0x18], 0xfffffffffffffffe
lea rcx, [rbp - 8]
call fcn.18000ec24
nop
lea rdi, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rdi, qword [rbp - 8]
mov rdx, rdi
lea rcx, [rbp + 0x58]
call fcn.1800060ec
nop
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.18000e3c8
mov r10, rax
mov dword [rsp + 0x50], 0x39
mov ecx, dword [rsp + 0x50]
xor ecx, 0x5b
mov byte [rsp + 0x54], cl
mov ecx, dword [rsp + 0x50]
inc cl
xor ecx, 0x53
mov byte [rsp + 0x55], cl
mov ecx, dword [rsp + 0x50]
add cl, 2
xor ecx, 0x49
mov byte [rsp + 0x56], cl
mov eax, dword [rsp + 0x50]
add al, 3
xor eax, 0x44
mov byte [rsp + 0x57], al
mov eax, dword [rsp + 0x50]
add al, 4
xor eax, 0x5d
mov byte [rsp + 0x58], al
mov eax, dword [rsp + 0x50]
add al, 5
xor eax, 0x20
mov byte [rsp + 0x59], al
xor eax, eax
mov byte [rsp + 0x5a], al
mov al, byte [rsp + 0x54]
xor esi, esi
mov edx, esi
movsx eax, byte [rsp + rdx + 0x54]
mov ecx, dword [rsp + 0x50]
add cl, dl
xor ecx, eax
mov byte [rsp + rdx + 0x54], cl
inc rdx
cmp rdx, 6
jb 0x18000d710
mov byte [rsp + 0x5a], sil
lea rax, [rsp + 0x54]
or r14, 0xffffffffffffffff
mov r9, r14
inc r9
cmp byte [rax + r9], sil
jne 0x18000d73b
lea r8, [rsp + 0x54]
mov rcx, r10
call fcn.180009260
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
lea rcx, [rbp - 0x68]
call fcn.18000de50
nop
mov r12d, 0x1000
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x18000d7c1
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, r12
jb 0x18000d7bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000d7bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180013bb4
movdqa xmm0, xmmword [0x18001afa0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], sil
lea rcx, [rbp + 0x58]
call fcn.180005b3c
mov r8d, 0x104
lea rdx, [rbp + 0x100]
xor ecx, ecx
call qword [0x180021e70]
mov qword [rbp + 0x2350], rsi
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x2358]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, str.pipe_atsvc
lea r8, str.localhost
lea rdx, str.ncacn_np
xor ecx, ecx
call qword [0x180021de0]
test eax, eax
je 0x18000d83a
mov rbx, rsi
jmp 0x18000d8a1
lea rdx, [rbp + 0x2350]
mov rcx, qword [rbp + 0x2358]
call qword [0x180021c68]
mov qword [rsp + 0x68], 1
mov dword [rsp + 0x74], 3
mov dword [rsp + 0x70], esi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor edx, edx
lea r9d, [rdx + 0xa]
lea r8d, [rdx + 6]
mov rcx, qword [rbp + 0x2350]
call qword [0x180021db0]
lea rcx, [rbp + 0x2358]
call qword [0x180021d98]
mov rbx, qword [rbp + 0x2350]
mov qword [rbp + 0x2368], rsi
mov qword [rbp + 0x2360], rsi
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x78]
call fcn.1800060ec
nop
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
mov qword [rbp + 0x20], r14
mov r15d, 0x5c
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x18000d912
dec rcx
mov qword [rbp + 0x28], rcx
mov rax, r14
cmp rcx, r14
cmovb rax, rcx
lea r9, [rdx + rax*2]
jmp 0x18000d904
cmp r9, rdx
je 0x18000d912
sub r9, 2
cmp word [r9], r15w
jne 0x18000d8fb
sub r9, rdx
sar r9, 1
jmp 0x18000d915
mov r9, r14
cmp r9, r14
je 0x18000d92d
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.18000db30
jmp 0x18000d93d
lea rdx, [0x180019ddc]
lea rcx, [rbp - 0x48]
call fcn.1800060ec
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rax, qword [rbp - 0x48]
lea r8, [0x180021f20]
cmp qword [0x180021f38], 8
cmovae r8, qword [0x180021f20]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov rdx, r12
lea rcx, [rbp + 0x310]
call fcn.18000d5ec
lea rcx, [rbp - 0x48]
call fcn.180005b3c
nop
lea rcx, [rsp + 0x78]
call fcn.180005b3c
lea rdx, [rbp + 0x310]
lea rcx, [rbp + 0x78]
call fcn.1800060ec
nop
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x98]
call fcn.18000e3c8
mov rcx, rax
call fcn.18000de50
nop
lea rcx, [rbp + 0x78]
call fcn.180005b3c
mov dword [rsp + 0x5c], 0x64
mov eax, dword [rsp + 0x5c]
xor eax, r15d
mov byte [rsp + 0x60], al
mov eax, dword [rsp + 0x5c]
inc al
xor eax, 0x43
mov byte [rsp + 0x61], al
mov eax, dword [rsp + 0x5c]
add al, 2
xor eax, 0x6f
mov byte [rsp + 0x62], al
mov eax, dword [rsp + 0x5c]
add al, 3
xor eax, 0x72
mov byte [rsp + 0x63], al
mov eax, dword [rsp + 0x5c]
add al, 4
xor eax, 0x70
mov byte [rsp + 0x64], al
xor eax, eax
mov byte [rsp + 0x65], al
mov al, byte [rsp + 0x60]
mov rdx, rsi
movsx eax, byte [rsp + rdx + 0x60]
mov ecx, dword [rsp + 0x5c]
add cl, dl
xor ecx, eax
mov byte [rsp + rdx + 0x60], cl
inc rdx
cmp rdx, 5
jb 0x18000da25
mov byte [rsp + 0x65], sil
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x38]
call fcn.1800037a0
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0xb8]
call fcn.18000e2f0
nop
cmp qword [rax + 0x18], 8
jb 0x18000da6e
mov rax, qword [rax]
lea rcx, [rbp + 0x2360]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x2368]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, [rbp + 0x310]
mov rdx, rax
mov rcx, rbx
call fcn.18000d114
nop
lea rcx, [rbp + 0xb8]
call fcn.180005b3c
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x18000daf8
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, r12
jb 0x18000daf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000daf3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180013bb4
lea rdx, [0x18001ab70]
lea rcx, [rbp + 0xd8]
call fcn.1800037a0
mov rcx, rax
call fcn.18000de50
nop
lea rcx, [rbp - 8]
call fcn.180005b3c
add rsp, 0x2410
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret