Function at 0x180006c7c
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 r13
push r14
sub rsp, 0x50
mov r14d, dword [rsp + 0x90]
lea esi, [rdx - 0x582]
mov eax, esi
lea ebx, [rdx - 0x9b4]
mov ebp, r8d
lea r13d, [rdx - 0x8f7]
xor eax, 0xe86
add r14d, 0xabf
xor ebp, 0x2f3a
mov rdi, rcx
cmp ebp, eax
jg 0x180006f1d
mov eax, r13d
xor eax, 0x3c97
cmp r14d, eax
je 0x180007074
mov rax, qword [section..data]
add esi, 0xabf
xor dword [rax + 0x68], 0x7af33
cmp dword [rcx + 0x140], 0xaf21
jb 0x180006d4e
mov r8d, dword [rcx + 0x94]
mov r9d, dword [rcx + 0x50]
xor ecx, ecx
xor r8d, dword [0x1800e8058]
xor r9d, dword [0x1800e80e8]
xor r8d, 0x3001
mov edx, dword [0x1800e8078]
add r9d, 0x3f
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rcx, [rax + 0x3800]
mov rax, qword [section..data]
mov qword [rax + 0xf8], rcx
cmp dword [rdi + 0x58], 0xe1cd
je 0x180006d63
mov dword [0x1800e80ac], 0x648
jmp 0x180006d76
mov rax, qword [section..data]
mov ecx, dword [rax + 0x94]
sub dword [rdi + 0xac], ecx
lea eax, [rsi - 0x148]
mov r9d, esi
mov dword [rsp + 0x28], eax
lea r8d, [r13 + 0x5d9]
xor ebp, 0x25c3
lea ecx, [rbx + 0xd7c]
xor r9d, 0x2f38
mov dword [rsp + 0x20], ebp
lea rdx, [0x1800e8010]
call fcn.180001ee4
mov rdx, qword [section..data]
mov eax, dword [0x1800e8060]
cmp dword [rdx + 0x40], eax
jae 0x180006ddc
mov ecx, dword [rdx + 0x34]
sub ecx, dword [rdx + 0x1c]
sub ecx, dword [0x1800e80d0]
mov eax, dword [rdx + 0xe0]
imul eax, ecx
mov dword [rdx + 0xe0], eax
jmp 0x180006de6
mov dword [rdi + 0x98], 0x2eb11b5f
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x114]
cmp dword [rcx + 0x6c], eax
ja 0x180006e08
lea rax, [0x180021750]
mov qword [rdi + 0xc8], rax
jmp 0x180006e13
add eax, 0x11e4c
mov dword [rcx + 0xac], eax
xor r9d, r9d
mov eax, dword [rdi + 0x11c]
add eax, dword [rdi + 0xdc]
mov rcx, qword [section..data]
xor eax, 0x279b49
sub dword [rcx + 0x54], eax
mov eax, dword [rdi + 0xac]
mov ecx, dword [rdi + 0xe0]
inc ecx
imul eax, ecx
mov dword [rdi + 0xac], eax
mov rcx, qword [section..data]
mov rax, qword [rcx + 0xc8]
mov r8d, dword [rax + r9]
add r9, 4
imul r8d, dword [rcx + 0x98]
movsxd rcx, dword [0x1800e80ac]
mov eax, dword [0x1800e8064]
or dword [0x1800e80ec], eax
mov rax, qword [0x1800e80e0]
mov edx, r8d
shr edx, 8
mov byte [rcx + rax], dl
inc dword [0x1800e80ac]
mov edx, dword [0x1800e8024]
mov ecx, dword [0x1800e8148]
mov rax, qword [0x1800e80e0]
add ecx, 0xc8b27
add ecx, edx
xor edx, ecx
mov dword [0x1800e8024], edx
movsxd rcx, dword [rdi + 0x9c]
mov byte [rcx + rax], r8b
inc dword [rdi + 0x9c]
mov ecx, dword [0x1800e80f0]
mov eax, dword [rdi + 0x88]
sub eax, 0x2881c03
imul ecx, eax
mov dword [0x1800e80f0], ecx
mov rcx, qword [section..data]
mov eax, dword [rdi + 0xac]
dec eax
xor dword [rcx + 0x7c], eax
mov eax, dword [rdi + 0xc0]
sub eax, dword [rdi + 0xe0]
mov rcx, qword [section..data]
xor eax, 1
or dword [rcx + 0xac], eax
cmp r9, 0xc39f0
jl 0x180006e16
jmp 0x180007074
mov eax, esi
mov r12d, r14d
or eax, ebx
add eax, dword [rcx + 0xdc]
cmp r14d, eax
je 0x180007048
mov ecx, dword [0x1800e804c]
mov eax, ecx
xor eax, 0x2181
add eax, 0x224e
cmp r14d, eax
jbe 0x180007031
mov rax, qword [section..data]
mov r8d, esi
imul ebx, dword [rdi + 0x28], 0x2fd2
mov edx, dword [rdi + 0x1c]
mov r11d, dword [0x1800e8150]
or edx, r14d
mov r10d, dword [rax + 0xdc]
sub edx, ecx
mov r9d, dword [0x1800e8094]
or r10d, r13d
xor r8d, dword [rsp + 0x90]
sub r10d, 0x224e
add r11d, dword [0x1800e80e8]
or ebx, ebp
mov qword [rsp + 0x30], rdi
or r9d, ebp
mov dword [rsp + 0x28], r10d
xor r8d, 0x25c3
mov ecx, ebx
mov dword [rsp + 0x20], r11d
call fcn.1800064ac
mov rcx, qword [section..data]
mov ebx, eax
mov ecx, dword [rcx + 0x80]
sub ecx, 0x25c3
imul ecx, esi
call qword [sym.imp.KERNEL32.dll_CreateActCtxA]
mov qword [rsp + 0x48], 0x25f9
mov edx, 0x3a1e
mov qword [rsp + 0x40], 0x1320
mov ecx, 0x1393
mov qword [rsp + 0x38], 0xa73
mov r9d, 0x518
mov dword [rsp + 0x30], 0x31e5
mov r8d, 0x2d6d
mov qword [rsp + 0x28], 0x1486
mov qword [rsp + 0x20], 0x58
call fcn.1800011d0
mov ecx, dword [0x1800e804c]
mov dword [0x1801b24b0], eax
mov eax, esi
add r12d, 4
or eax, ebx
add eax, dword [rdi + 0xdc]
cmp r12d, eax
jne 0x180006f39
mov edx, dword [0x1800e812c]
jmp 0x180007060
mov eax, 0x25c3
sub eax, r13d
add dword [rcx + 0x138], eax
inc edx
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x30]
add eax, dword [rdi + 0x138]
cmp edx, eax
jbe 0x180007050
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
lea eax, [rsi - 0xe34]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret