Function at 0x18000ec4c
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 [0x18002aad8]
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 0x18000f04d
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 0x18000f04d
not edi
lea r9, [rbp - 0x19]
mov ecx, edi
mov dword [rax + 0x108], edi
call fcn.180011f58
mov ecx, 0xdbe
call fcn.18000daa4
mov qword [rbp - 0x59], rax
mov rdi, rax
test r12, r12
je 0x18000eecb
mov rax, qword [0x180029fc0]
mov rcx, r12
mov rdx, qword [rax + 0x110]
mov rax, qword [0x180029f50]
mov rdx, qword [rdx]
call qword [rax + 0xf8]
test eax, eax
jne 0x18000eecb
mov rax, qword [0x180029f50]
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 0x18000ef51
xor r9d, r9d
lea rdx, [0x1800241d8]
mov r8, r12
call fcn.18000d23c
mov qword [rbp - 0x29], rax
test rax, rax
je 0x18000f017
mov rdx, rax
lea rcx, [rbp - 0x31]
mov rax, qword [0x180029f50]
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, r15
call qword [rax + 0x28]
test eax, eax
je 0x18000ee6e
mov ecx, 0x8be
call fcn.18000dae4
mov rcx, qword [rbp + 0x57]
lea rdx, [0x180024184]
xor r9d, r9d
mov qword [rbp - 0x51], rax
mov r8, rax
call fcn.18000d2dc
lea rcx, [rbp - 0x51]
mov qword [rbp - 0x49], rax
call fcn.18000da80
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x51], rax
test rax, rax
je 0x18000ee22
mov ecx, ebx
jmp 0x18000edd4
inc ecx
inc rax
cmp byte [rax], bl
jne 0x18000edcf
lea r14d, [rcx + 1]
mov rcx, qword [0x18002aad8]
test rcx, rcx
je 0x18000ee1f
mov r8d, r14d
mov edx, 8
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x18000ee1f
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 0x18000ee22
mov rsi, rbx
mov rax, qword [0x180029f50]
mov rdx, rsi
mov r8, qword [rbp - 0x49]
mov rcx, r15
mov qword [rbp - 0x51], rsi
call qword [rax + 0x60]
test eax, eax
jne 0x18000ee4d
mov rax, qword [rbp + 0x77]
test rax, rax
je 0x18000ee4d
mov dword [rax], 1
mov rsi, 0xfffffffffffffffe
lea rcx, [rbp - 0x49]
mov rdx, rsi
call fcn.18000c7c0
mov rdx, rsi
lea rcx, [rbp - 0x51]
call fcn.18000c7c0
jmp 0x18000ee7c
mov rax, qword [0x180029f50]
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, [0x1800241d8]
mov r8, r12
mov qword [rsp + 0x20], rax
lea rdx, [0x1800241d8]
call fcn.18000d23c
mov rdx, qword [0x180029f58]
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.18000c7c0
jmp 0x18000ef51
mov rcx, qword [0x180029fc0]
cmp dword [rcx + 0x218], 3
jne 0x18000ef2d
mov rax, qword [0x180029f50]
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 0x18000ef4a
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rbx
lea r9, [0x1800241d8]
mov qword [rsp + 0x20], rax
mov r8, rdi
lea rdx, [0x1800241d8]
call fcn.18000d23c
jmp 0x18000ef43
xor r9d, r9d
lea r8, [rbp - 0x19]
lea rdx, [0x1800241d8]
mov rcx, rdi
call fcn.18000d23c
mov rsi, rax
mov qword [rbp - 0x49], rax
mov r12, qword [rbp - 0x59]
mov rdi, r14
lea rax, [0x18002a9fc]
cmp r12, rax
je 0x18000ef6a
or rdx, 0xffffffffffffffff
lea rcx, [rbp - 0x59]
call fcn.18000c7c0
lea rax, [rbp - 0x39]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rax, qword [0x180029f50]
mov rdx, rsi
mov rcx, r15
call qword [rax + 0x28]
test eax, eax
je 0x18000efbb
mov rax, qword [0x180029f50]
lea r8, [rbp - 0x59]
mov rdx, rsi
mov qword [rbp - 0x59], rbx
mov rcx, r15
call qword [rax + 0x50]
test eax, eax
jne 0x18000f017
test r13, r13
je 0x18000efb5
mov dword [r13], ebx
mov rcx, qword [rbp - 0x59]
jmp 0x18000efcc
test r13, r13
je 0x18000efc8
mov dword [r13], 1
mov rcx, qword [rbp - 0x39]
mov rax, qword [0x180029f50]
call qword [rax + 0x38]
test rsi, rsi
je 0x18000f017
mov qword [rdi + 0x110], r15
mov eax, ebx
cmp byte [rsi], bl
je 0x18000eff4
mov rcx, rsi
inc rcx
inc eax
cmp byte [rcx], bl
jne 0x18000efeb
mov dword [rdi], eax
test eax, eax
je 0x18000f03b
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 0x18000effa
jmp 0x18000f03b
mov edx, 0x118
lea rcx, [rbp - 0x21]
call fcn.18000c7c0
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.18000c7c0
mov rax, rdi
jmp 0x18000f04f
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