Function at 0x140028980
Capabilities:
Allocate or change rwx memory
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov rax, qword [rsp + 0x158]
mov eax, dword [rax]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x158]
add rax, 4
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0x98]
mov ecx, eax
call fcn.140061cac
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x78], 0xffffffff
xor eax, eax
cmp eax, 1
je 0x140028abc
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x9c], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x9c]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x158]
call fcn.1400282b0
mov qword [rsp + 0x158], rax
cmp qword [rsp + 0x158], 0
jne 0x140028a94
mov dword [rsp + 0xd8], 0
mov dword [rsp + 0xdc], 0
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0xdc]
lea rcx, [rsp + 0xe0]
call fcn.14002c2e0
mov rdx, rax
mov rcx, qword [rsp + 0x150]
call fcn.14002c340
mov rax, qword [rsp + 0x150]
jmp 0x140028fe8
cmp dword [rsp + 0x9c], 0
jne 0x140028aa0
jmp 0x140028abc
mov eax, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x1400289f1
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 4
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
add rax, 0x108
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x40], 0
jne 0x140028b7d
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x6c], 5
jbe 0x140028b7d
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x98], 0
je 0x140028b7d
mov eax, dword [rsp + 0x38]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140028bdf
mov dword [0x140108eb4], 2
mov dword [rsp + 0xe8], 0
mov dword [rsp + 0xec], 0
lea r8, [rsp + 0xe8]
lea rdx, [rsp + 0xec]
lea rcx, [rsp + 0xf0]
call fcn.14002c2e0
mov rdx, rax
mov rcx, qword [rsp + 0x150]
call fcn.14002c340
mov rax, qword [rsp + 0x150]
jmp 0x140028fe8
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x3c]
mov r8d, eax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.140070600
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 2]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x68], rax
jae 0x140028c91
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x90]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x68]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0x40]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x130], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x130]
mov rcx, rax
call fcn.140070600
mov rax, qword [rsp + 0x68]
add rax, 0x28
mov qword [rsp + 0x68], rax
jmp 0x140028c26
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x40], rax
je 0x140028d47
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x98]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x9c]
mov dword [rsp + 0xa8], eax
mov r9d, dword [rsp + 0xa8]
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call fcn.140028ff0
movzx eax, al
test eax, eax
jne 0x140028d47
mov dword [rsp + 0xf8], 0
mov dword [rsp + 0xfc], 0
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0xfc]
lea rcx, [rsp + 0x100]
call fcn.14002c2e0
mov rdx, rax
mov rcx, qword [rsp + 0x150]
call fcn.14002c340
mov rax, qword [rsp + 0x150]
jmp 0x140028fe8
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x78]
mov edx, eax
mov rcx, qword [rsp + 0x40]
call fcn.140029140
movzx eax, al
test eax, eax
jne 0x140028db2
mov dword [rsp + 0x108], 0
mov dword [rsp + 0x10c], 0
lea r8, [rsp + 0x108]
lea rdx, [rsp + 0x10c]
lea rcx, [rsp + 0x110]
call fcn.14002c2e0
mov rdx, rax
mov rcx, qword [rsp + 0x150]
call fcn.14002c340
mov rax, qword [rsp + 0x150]
jmp 0x140028fe8
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x68], rax
jae 0x140028f83
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x24]
mov dword [rsp + 0xbc], eax
mov byte [rsp + 0xb5], 0
mov byte [rsp + 0xc8], 0
mov byte [rsp + 0xb4], 0
mov eax, dword [rsp + 0xbc]
and eax, 0x20000020
test eax, eax
je 0x140028e0e
mov byte [rsp + 0xb4], 1
mov eax, dword [rsp + 0xbc]
and eax, 0x40000000
test eax, eax
je 0x140028e26
mov byte [rsp + 0xb5], 1
mov eax, dword [rsp + 0xbc]
and eax, 0x80000000
test eax, eax
je 0x140028e3e
mov byte [rsp + 0xc8], 1
mov dword [rsp + 0xb0], 1
movzx eax, byte [rsp + 0xb4]
test eax, eax
je 0x140028e94
movzx eax, byte [rsp + 0xc8]
test eax, eax
je 0x140028e6e
mov dword [rsp + 0xb0], 0x40
jmp 0x140028e92
movzx eax, byte [rsp + 0xb5]
test eax, eax
je 0x140028e87
mov dword [rsp + 0xb0], 0x20
jmp 0x140028e92
mov dword [rsp + 0xb0], 0x10
jmp 0x140028ec4
movzx eax, byte [rsp + 0xb5]
test eax, eax
je 0x140028ec4
movzx eax, byte [rsp + 0xc8]
test eax, eax
je 0x140028eb9
mov dword [rsp + 0xb0], 4
jmp 0x140028ec4
mov dword [rsp + 0xb0], 2
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 8]
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
lea r9, [rsp + 0xac]
mov r8d, dword [rsp + 0xb0]
mov edx, eax
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140028f70
mov dword [0x140108eb4], 4
mov dword [rsp + 0x118], 0
mov dword [rsp + 0x11c], 0
lea r8, [rsp + 0x118]
lea rdx, [rsp + 0x11c]
lea rcx, [rsp + 0x120]
call fcn.14002c2e0
mov rdx, rax
mov rcx, qword [rsp + 0x150]
call fcn.14002c340
mov rax, qword [rsp + 0x150]
jmp 0x140028fe8
mov rax, qword [rsp + 0x68]
add rax, 0x28
mov qword [rsp + 0x68], rax
jmp 0x140028dbf
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [0x140108ec8], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x128]
call fcn.140070e30
mov rax, qword [rsp + 0x40]
mov qword [0x140108ec0], rax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0x150]
call fcn.14002c390
mov rax, qword [rsp + 0x150]
add rsp, 0x148
ret