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

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140280480]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x34], 0
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x8000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140181791
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140252548]
call fcn.1400464b0
mov eax, dword [rsp + 0x34]
jmp 0x1401819ca
mov r9d, 0x40
mov r8d, 0x203000
mov edx, 0x1000000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1401817e7
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.VirtualAlloc_failed._Last_error:__u_n
call fcn.1400464b0
mov eax, dword [rsp + 0x34]
jmp 0x1401819ca
mov rax, qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], 0
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0x51
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0x48
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0xb9
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
jmp 0x14018185f
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 8
jge 0x14018189f
mov eax, dword [rsp + 0x44]
movzx ecx, al
mov rax, qword [rsp + 0x58]
shr rax, cl
and rax, 0xff
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x44]
add eax, 8
mov dword [rsp + 0x44], eax
jmp 0x140181855
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0xff
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], Ordinal_211
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0x59
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0xc3
mov edx, 0x1000000
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetWriteWatch]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
call qword [rsp + 0x60]
cmp eax, 1
jne 0x140181920
mov dword [rsp + 0x34], 1
cmp dword [rsp + 0x34], 0
jne 0x1401819a0
mov qword [rsp + 0x68], 0x1000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8d, 0x1000
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWriteWatch]
test eax, eax
je 0x14018197e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetWriteWatch_failed._Last_error:__u_n
call fcn.1400464b0
mov dword [rsp + 0x34], 0
jmp 0x1401819a0
cmp qword [rsp + 0x68], 0
je 0x140181990
mov dword [rsp + 0x48], 1
jmp 0x140181998
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x34], eax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140183e40
add rsp, 0x88
ret