Function at 0x180009790
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r15d, dword [rsp + 0x80]
lea r12d, [r9 - 0x727]
mov rsi, qword [rsp + 0x78]
mov ebx, r15d
xor ebx, 0x67e
mov r14d, edx
mov edi, r9d
mov ebp, r9d
mov ecx, r15d
xor edi, 0x2ea5
xor r8d, 0x7e8
xor r14d, 0x541
lea eax, [rbx + 0x59e]
xor ebp, 0x839
xor ecx, 0x2a27
cmp ecx, eax
jge 0x180009817
lea rax, [0x18000b350]
xor r12d, 0xf18
mov qword [0x1802690b8], rax
jmp 0x180009886
mov eax, ebx
and eax, edi
cmp dword [rsi + 0x24], eax
jae 0x180009886
mov rax, qword [section..data]
mov ecx, dword [rax + 0x14]
xor ecx, 0x2c59
add ecx, 0x3084
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rax, qword [section..data]
mov ecx, dword [0x1802690fc]
mov edx, dword [0x180269018]
sub ecx, ebp
imul edx, dword [0x1802690f8]
and ecx, dword [rax + 0x14]
lea eax, [r15 - 0x2a9]
imul eax, ebp
imul r8d, r14d, 0x2a27
xor edx, r14d
imul r9d, eax, 0x3084
mov dword [rsp + 0x20], r9d
mov r9, rsi
call fcn.180002d54
mov r8d, eax
lea ecx, [rdi + 0x31f7]
cmp r14d, ecx
je 0x180009bea
lea ecx, [r8 - 0x752]
cmp ebp, ecx
jle 0x180009bbe
mov rcx, qword [section..data]
xor r14d, r14d
mov r9d, r14d
mov ecx, dword [rcx + 0xb8]
mov rax, qword [0x1802690b8]
mov edx, dword [r9 + rax]
add r9, 4
imul edx, dword [0x180269064]
mov eax, dword [rsi + 0xec]
add eax, 0xffd8a5ce
add ecx, eax
add dword [rsi + 0x6c], ecx
mov eax, dword [0x18026905c]
mov rcx, qword [section..data]
add eax, 0xd2a0b035
add dword [rcx + 0x64], eax
movsxd rcx, dword [rsi + 0x74]
mov rax, qword [rsi + 0xb0]
mov byte [rcx + rax], dl
inc dword [rsi + 0x74]
mov eax, dword [rsi + 0x1c]
sub eax, dword [0x18026907c]
xor eax, 0xfffb646e
sub dword [rsi + 0x98], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0x38]
mov eax, 0xfff331c7
xor ecx, dword [0x180269034]
sub eax, ecx
add dword [rsi + 0x14], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0xec]
xor ecx, dword [rsi + 0xf0]
xor ecx, 0x18c85d
mov dword [rsi + 0xf0], ecx
mov rax, qword [section..data]
mov ecx, dword [rax + 0x38]
xor ecx, dword [0x180269034]
mov eax, dword [0x1802690e8]
xor ecx, 1
mov dword [0x180269034], ecx
dec eax
mov ecx, dword [rsi + 0x10c]
sub ecx, dword [0x180269018]
add ecx, eax
mov eax, 0xfffbc45e
mov dword [0x1802690e8], ecx
mov ecx, dword [0x180269048]
xor ecx, dword [0x1802690e0]
sub eax, ecx
add dword [rsi + 0x24], eax
mov eax, dword [rsi + 0x38]
mov rcx, qword [section..data]
dec eax
or dword [0x180269074], eax
mov eax, dword [rcx + 0x4c]
xor eax, dword [0x18026911c]
xor eax, 0x2d5f4fcb
mov dword [0x18026911c], eax
cmp r9, 0x1f890
jl 0x1800098b1
xor r8d, 0xf9
lea ecx, [rdi + 0x269c]
mov r9d, r8d
mov eax, ebp
mov r8d, r12d
xor eax, 0x1e2
lea r12, [0x180269010]
mov dword [rsp + 0x20], eax
mov rdx, r12
call fcn.18000a038
mov r9d, eax
mov edx, dword [0x1802690fc]
mov eax, 0x18c868
lea ecx, [rdx - 0x18c85d]
or edx, ecx
mov rcx, qword [section..data]
sub eax, edx
mov dword [0x1802690fc], edx
sub eax, dword [rsi + 0x10c]
add dword [rcx + 0x94], eax
mov rdx, qword [section..data]
mov eax, dword [0x180269034]
add eax, 0x17151c
mov ecx, dword [rdx + 0xf0]
sub ecx, dword [rdx + 0x14]
add ecx, eax
mov eax, dword [0x1802690ac]
mov dword [0x180269034], ecx
add eax, 0xffe00ffd
mov ecx, dword [rsi + 0x10c]
add ecx, eax
add dword [rdx + 0x94], ecx
movzx ecx, byte [rsi + 0x54]
mov rax, qword [0x1802690b8]
movzx edx, byte [r14 + rax]
add r14, 4
mov rax, qword [section..data]
imul edx, ecx
movsxd rcx, dword [rax + 0x74]
mov rax, qword [rsi + 0xb0]
mov byte [rcx + rax], dl
mov rax, qword [section..data]
inc dword [rax + 0x74]
mov eax, 0x3b2b8
mov rcx, qword [section..data]
sub eax, dword [rcx + 0xd8]
add dword [0x180269100], eax
mov eax, 0xa
sub eax, dword [rcx + 8]
add dword [rsi + 0x64], eax
mov eax, 0xb
mov rcx, qword [section..data]
sub eax, dword [rcx + 0x10c]
add dword [0x18026902c], eax
mov eax, dword [0x180269108]
dec eax
or dword [0x1802690e0], eax
mov eax, dword [0x180269048]
xor eax, 1
or dword [0x1802690c8], eax
mov eax, dword [rcx + 0xec]
xor eax, 0x18c85d
sub dword [0x1802690ac], eax
mov eax, dword [rcx + 0x6c]
xor eax, dword [0x180269034]
add eax, 0x6d248
add dword [rcx + 0x1c], eax
mov eax, dword [rsi + 0xec]
mov r8, qword [section..data]
sub eax, 0x18c85d
xor dword [0x1802690a8], eax
mov ecx, dword [rsi + 0x9c]
add ecx, 0xffe00ffe
add ecx, dword [rsi + 8]
add dword [r8 + 0xf8], ecx
cmp r14, 0x377a0
jl 0x1800099fe
xor edi, 0x2f66
mov dword [rsp + 0x28], r15d
add r9d, 0x47e
mov dword [rsp + 0x20], edi
lea r8d, [rbx - 0x17b]
mov qword [0x180269110], r12
lea ecx, [rbp - 0x457]
mov rdx, r12
call fcn.180009578
mov ecx, dword [0x18026907c]
mov ebx, eax
cmp dword [0x180269018], ecx
jb 0x180009ba7
mov rdx, qword [section..data]
mov ecx, dword [rdx + 0x94]
sub dword [rdx + 0x24], ecx
jmp 0x180009bea
mov rax, qword [section..data]
mov rcx, qword [rsi + 0xc0]
mov qword [rax + 0x80], rcx
jmp 0x180009bea
mov edi, dword [0x1802690a8]
jmp 0x180009bd3
mov ecx, 0x2d36
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
inc edi
mov rax, qword [section..data]
mov ecx, dword [rax + 0x94]
add ecx, dword [0x180269038]
cmp edi, ecx
jne 0x180009bc6
mov rbp, qword [rsp + 0x58]
xor ebx, 0x1aa3
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret