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

Disassembly:
push rdi
sub rsp, 0x2b0
mov rax, qword [0x180208090]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x180146dcd
mov eax, dword [rsp + 0x20]
jmp 0x180147082
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlImageDirectoryEntryToData
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x180146e00
mov eax, dword [rsp + 0x20]
jmp 0x180147082
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlImageNtHeader
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x180146e39
mov eax, dword [rsp + 0x20]
jmp 0x180147082
lea r9, [rsp + 0x24]
mov r8w, 1
mov dl, 1
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x180146e64
mov eax, dword [rsp + 0x20]
jmp 0x180147082
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 4]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 8]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0xc]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x10]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x14]
mov dword [rsp + 0x54], eax
mov r8d, 0x104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x90]
test eax, eax
je 0x180146f44
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.1801470b0
test eax, eax
je 0x180146f44
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180146f6e
mov eax, dword [rsp + 0x20]
jmp 0x180147082
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x28]
mov eax, dword [rdx + rax + 0x88]
cmp dword [rcx + 0x50], eax
jbe 0x180146f9e
mov dword [rsp + 0x20], 1
mov eax, dword [rsp + 0x20]
jmp 0x180147082
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov edx, 0x1000
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180146fc6
mov eax, dword [rsp + 0x20]
jmp 0x180147082
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax + 0x88], edx
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
mov edx, dword [rsp + 0x44]
mov dword [rcx + rax + 0x8c], edx
mov eax, 8
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x28]
mov edx, dword [rsp + 0x48]
mov dword [rcx + rax + 0x88], edx
mov eax, 8
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x28]
mov edx, dword [rsp + 0x4c]
mov dword [rcx + rax + 0x8c], edx
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x28]
mov edx, dword [rsp + 0x50]
mov dword [rcx + rax + 0x88], edx
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x28]
mov edx, dword [rsp + 0x54]
mov dword [rcx + rax + 0x8c], edx
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov edx, 0x1000
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0x20], 1
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1800d8050
add rsp, 0x2b0
pop rdi
ret