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

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1403ee900]
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 0x14013408d
mov eax, dword [rsp + 0x34]
jmp 0x14013429e
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 0x1401340cf
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x34]
jmp 0x14013429e
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 0x140134147
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 8
jge 0x140134187
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 0x14013413d
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 0x140134208
mov dword [rsp + 0x34], 1
cmp dword [rsp + 0x34], 0
jne 0x140134274
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 0x140134252
mov dword [rsp + 0x34], 0
jmp 0x140134274
cmp qword [rsp + 0x68], 0
je 0x140134264
mov dword [rsp + 0x48], 1
jmp 0x14013426c
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.140248f60
add rsp, 0x88
ret