Function at 0x18001fe50
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rdi, r8
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x48], rdx
mov r13, rcx
mov dword [rsp + 0x30], 2
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [r11 - 0x78], xmm0
movups xmmword [r11 - 0x68], xmm0
mov qword [r11 - 0x58], rcx
test r13, r13
je 0x180020255
test rdx, rdx
je 0x180020255
mov word [rsp + 0x70], 0x501
mov byte [r11 - 0x7a], 1
mov r12d, 8
mov dword [rsp + 0x72], r12d
mov qword [rsp + 0x7e], r9
mov qword [r11 - 0x86], rdx
xor ebx, ebx
test r8, r8
je 0x18001ff21
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdx, eax
test eax, eax
jle 0x18001ff21
mov ecx, ebx
nop dword [rax]
rol ebx, 7
movsx eax, byte [rcx + rdi]
xor ebx, eax
inc rcx
cmp rcx, rdx
jl 0x18001ff10
mov dword [rsp + 0xaa], ebx
mov byte [rsp + 0x20], 1
mov r9, r13
xor r8d, r8d
xor edx, edx
call fcn.180007830
test al, al
je 0x180020255
movsxd rbx, dword [r13 + 0x3c]
add rbx, r13
mov qword [rsp + 0x50], rbx
movzx eax, word [rbx + 0x18]
mov ecx, 0x10b
cmp ax, cx
jne 0x1800200cb
mov ecx, dword [rbx + 0x80]
test ecx, ecx
je 0x180020255
mov edx, dword [rbx + 0x34]
add edx, ecx
mov r8b, 1
mov rcx, r13
call sym.TitanEngine.dll_ConvertVAtoFileOffset
mov r15, rax
mov eax, dword [r15 + 0x10]
test eax, eax
je 0x1800200bd
mov ecx, dword [r15]
mov r8d, dword [rbx + 0x34]
test ecx, ecx
lea rdx, [r8 + rcx]
jne 0x18001ffa0
lea rdx, [r8 + rax]
mov r8b, 1
mov rcx, r13
call sym.TitanEngine.dll_ConvertVAtoFileOffset
mov qword [rsp + 0x40], rax
mov r14d, dword [r15 + 0x10]
mov qword [rsp + 0x38], r14
mov rsi, rax
nop dword [rax]
test rsi, rsi
je 0x1800200af
mov eax, dword [rsi]
test eax, eax
je 0x1800200af
js 0x180020098
mov edx, dword [rbx + 0x34]
add rax, 2
add rdx, rax
mov r8b, 1
mov rcx, r13
call sym.TitanEngine.dll_ConvertVAtoFileOffset
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x180020098
mov rbx, qword [rsp + 0x48]
add rbx, r14
mov qword [rsp + 0x76], rbx
mov edi, r12d
lea r9, [rsp + 0x30]
lea r8d, [rax + 0x40]
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180020084
mov r8d, edi
mov rdx, rbx
lea rcx, [rsp + 0x94]
call fcn.18004c130
mov r8d, dword [rsp + 0x72]
lea rdx, [rsp + 0x7e]
lea rcx, [rsp + 0x86]
call fcn.18004c130
mov r12d, dword [rsp + 0x72]
mov r8d, r12d
lea rdx, [rsp + 0x7e]
mov rcx, qword [rsp + 0x76]
call fcn.18004c130
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov edx, r12d
mov rcx, qword [rsp + 0x76]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rdx, [rsp + 0x70]
call fcn.180021a10
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add r14, 4
mov qword [rsp + 0x38], r14
add rsi, 4
mov qword [rsp + 0x40], rsi
jmp 0x18001ffc0
add r15, 0x14
mov qword [rsp + 0x68], r15
jmp 0x18001ff81
mov al, 1
jmp 0x180020257
mov ecx, 0x20b
cmp ax, cx
jne 0x180020255
mov eax, dword [rbx + 0x90]
test eax, eax
je 0x180020255
mov edx, eax
add rdx, qword [rbx + 0x30]
mov r8b, 1
mov rcx, r13
call sym.TitanEngine.dll_ConvertVAtoFileOffset
mov r15, rax
nop dword [rax + rax]
mov eax, dword [r15 + 0x10]
test eax, eax
je 0x18002024d
mov ecx, dword [r15]
mov r8, qword [rbx + 0x30]
test ecx, ecx
je 0x180020130
lea rdx, [r8 + rcx]
mov r8b, 1
mov rcx, r13
call sym.TitanEngine.dll_ConvertVAtoFileOffset
mov qword [rsp + 0x60], rax
mov r14d, dword [r15]
jmp 0x180020148
lea rdx, [r8 + rax]
mov r8b, 1
mov rcx, r13
call sym.TitanEngine.dll_ConvertVAtoFileOffset
mov qword [rsp + 0x60], rax
mov r14d, dword [r15 + 0x10]
mov qword [rsp + 0x38], r14
mov rsi, rax
test rsi, rsi
je 0x18002023f
mov rax, qword [rsi]
test rax, rax
je 0x18002023f
js 0x180020228
lea rdx, [rax + 2]
add rdx, qword [rbx + 0x30]
mov r8b, 1
mov rcx, r13
call sym.TitanEngine.dll_ConvertVAtoFileOffset
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x180020228
mov rbx, qword [rsp + 0x48]
add rbx, r14
mov qword [rsp + 0x76], rbx
mov edi, r12d
lea r9, [rsp + 0x30]
lea r8d, [rax + 0x40]
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180020214
mov r8d, edi
mov rdx, rbx
lea rcx, [rsp + 0x94]
call fcn.18004c130
mov r8d, dword [rsp + 0x72]
lea rdx, [rsp + 0x7e]
lea rcx, [rsp + 0x86]
call fcn.18004c130
mov r12d, dword [rsp + 0x72]
mov r8d, r12d
lea rdx, [rsp + 0x7e]
mov rcx, qword [rsp + 0x76]
call fcn.18004c130
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov edx, r12d
mov rcx, qword [rsp + 0x76]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rdx, [rsp + 0x70]
call fcn.180021a10
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add r14, 8
mov qword [rsp + 0x38], r14
add rsi, 8
mov qword [rsp + 0x60], rsi
jmp 0x180020150
add r15, 0x14
mov qword [rsp + 0x68], r15
jmp 0x180020100
mov al, 1
jmp 0x180020257
xor al, al
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.180049ad0
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret