Function at 0x18000f018
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xb0
mov rcx, qword [0x18002bc58]
xor ebx, ebx
mov qword [rbp - 0x39], rbx
mov r13, r9
mov qword [rbp - 0x49], rbx
mov edi, r8d
mov r12, rdx
mov r15, 0xffffffff80000001
mov esi, ebx
test rcx, rcx
je 0x18000f419
lea edx, [rbx + 8]
mov r8d, 0x118
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x21], rax
mov r14, rax
test rax, rax
je 0x18000f419
not edi
lea r9, [rbp - 0x19]
mov ecx, edi
mov dword [rax + 0x108], edi
call fcn.1800128f4
mov ecx, 0x351
call fcn.18000de50
mov qword [rbp - 0x59], rax
mov rdi, rax
test r12, r12
je 0x18000f297
mov rax, qword [0x18002b140]
mov rcx, r12
mov rdx, qword [rax + 0x110]
mov rax, qword [0x18002b0d0]
mov rdx, qword [rdx]
call qword [rax + pe_nt_image_headers64]
test eax, eax
jne 0x18000f297
mov rax, qword [0x18002b0d0]
lea rdx, [rbp - 0x41]
mov rcx, r12
mov qword [rbp - 0x41], rbx
mov r15, 0xffffffff80000003
call qword [rax + 0x40]
mov rcx, qword [rbp - 0x41]
mov rdi, r14
mov r12, qword [rbp - 0x59]
test rcx, rcx
je 0x18000f31d
xor r9d, r9d
lea rdx, [0x18002538c]
mov r8, r12
call fcn.18000d5ec
mov qword [rbp - 0x29], rax
test rax, rax
je 0x18000f3e3
mov rdx, rax
lea rcx, [rbp - 0x31]
mov rax, qword [0x18002b0d0]
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, r15
call qword [rax + 0x28]
test eax, eax
je 0x18000f23a
mov ecx, 0x1610
call fcn.18000de90
mov rcx, qword [rbp + 0x57]
lea rdx, [0x180025194]
xor r9d, r9d
mov qword [rbp - 0x51], rax
mov r8, rax
call fcn.18000d68c
lea rcx, [rbp - 0x51]
mov qword [rbp - 0x49], rax
call fcn.18000de2c
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x51], rax
test rax, rax
je 0x18000f1ee
mov ecx, ebx
jmp 0x18000f1a0
inc ecx
inc rax
cmp byte [rax], bl
jne 0x18000f19b
lea r14d, [rcx + 1]
mov rcx, qword [0x18002bc58]
test rcx, rcx
je 0x18000f1eb
mov r8d, r14d
mov edx, 8
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x18000f1eb
mov r8, qword [rbp - 0x51]
or r9d, 0xffffffff
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x18000f1ee
mov rsi, rbx
mov rax, qword [0x18002b0d0]
mov rdx, rsi
mov r8, qword [rbp - 0x49]
mov rcx, r15
mov qword [rbp - 0x51], rsi
call qword [rax + 0x60]
test eax, eax
jne 0x18000f219
mov rax, qword [rbp + 0x77]
test rax, rax
je 0x18000f219
mov dword [rax], 1
mov rsi, 0xfffffffffffffffe
lea rcx, [rbp - 0x49]
mov rdx, rsi
call fcn.18000c864
mov rdx, rsi
lea rcx, [rbp - 0x51]
call fcn.18000c864
jmp 0x18000f248
mov rax, qword [0x18002b0d0]
mov rcx, qword [rbp - 0x31]
call qword [rax + 0x38]
mov rcx, qword [rbp - 0x41]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rbx
lea r9, [0x18002538c]
mov r8, r12
mov qword [rsp + 0x20], rax
lea rdx, [0x18002538c]
call fcn.18000d5ec
mov rdx, qword [0x18002b0d8]
mov rsi, rax
mov rcx, qword [rbp - 0x41]
mov qword [rbp - 0x49], rax
call qword [rdx + 0x70]
or rdx, 0xffffffffffffffff
lea rcx, [rbp - 0x29]
call fcn.18000c864
jmp 0x18000f31d
mov rcx, qword [0x18002b140]
cmp dword [rcx + 0x218], 3
jne 0x18000f2f9
mov rax, qword [0x18002b0d0]
lea rdx, [rbp - 0x51]
mov qword [rbp - 0x51], rbx
mov r15, 0xffffffff80000003
mov rcx, qword [rcx + 0x110]
mov rcx, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x18000f316
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rbx
lea r9, [0x18002538c]
mov qword [rsp + 0x20], rax
mov r8, rdi
lea rdx, [0x18002538c]
call fcn.18000d5ec
jmp 0x18000f30f
xor r9d, r9d
lea r8, [rbp - 0x19]
lea rdx, [0x18002538c]
mov rcx, rdi
call fcn.18000d5ec
mov rsi, rax
mov qword [rbp - 0x49], rax
mov r12, qword [rbp - 0x59]
mov rdi, r14
lea rax, [0x18002bb7c]
cmp r12, rax
je 0x18000f336
or rdx, 0xffffffffffffffff
lea rcx, [rbp - 0x59]
call fcn.18000c864
lea rax, [rbp - 0x39]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rax, qword [0x18002b0d0]
mov rdx, rsi
mov rcx, r15
call qword [rax + 0x28]
test eax, eax
je 0x18000f387
mov rax, qword [0x18002b0d0]
lea r8, [rbp - 0x59]
mov rdx, rsi
mov qword [rbp - 0x59], rbx
mov rcx, r15
call qword [rax + 0x50]
test eax, eax
jne 0x18000f3e3
test r13, r13
je 0x18000f381
mov dword [r13], ebx
mov rcx, qword [rbp - 0x59]
jmp 0x18000f398
test r13, r13
je 0x18000f394
mov dword [r13], 1
mov rcx, qword [rbp - 0x39]
mov rax, qword [0x18002b0d0]
call qword [rax + 0x38]
test rsi, rsi
je 0x18000f3e3
mov qword [rdi + 0x110], r15
mov eax, ebx
cmp byte [rsi], bl
je 0x18000f3c0
mov rcx, rsi
inc rcx
inc eax
cmp byte [rcx], bl
jne 0x18000f3b7
mov dword [rdi], eax
test eax, eax
je 0x18000f407
mov eax, ebx
and eax, 3
mov ecx, ebx
inc ebx
mov al, byte [rax + rdi + 0x108]
xor al, byte [rcx + rsi]
mov byte [rcx + rdi + 4], al
cmp ebx, dword [rdi]
jb 0x18000f3c6
jmp 0x18000f407
mov edx, 0x118
lea rcx, [rbp - 0x21]
call fcn.18000c864
xorps xmm0, xmm0
mov rdi, rbx
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
or rdx, 0xffffffffffffffff
lea rcx, [rbp - 0x49]
call fcn.18000c864
mov rax, rdi
jmp 0x18000f41b
xor eax, eax
lea r11, [rsp + 0xb0]
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