Function at 0x1400028b0
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Resolve function by parsing pe exports
Resume thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5a0
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x590], rax
mov rax, qword [rsp + 0x5b8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rax, qword [rsp + 0x5b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140002943
xor eax, eax
jmp 0x140002d5a
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x5b8]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x5b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x1400029b1
xor eax, eax
jmp 0x140002d5a
mov rcx, qword [rsp + 0x5b8]
call fcn.140002310
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x34], 0
jmp 0x1400029f3
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x34], eax
jge 0x140002ac6
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
movsxd rcx, dword [rsp + 0x34]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x80], eax
jb 0x140002a5e
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x48]
add eax, dword [rcx + 8]
cmp dword [rsp + 0x80], eax
jae 0x140002a5e
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x5b8]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x48]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0x50]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rax, qword [rsp + 0x5b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jne 0x140002ac1
xor eax, eax
jmp 0x140002d5a
jmp 0x1400029e9
cmp qword [rsp + 0x58], 0
jne 0x140002ad5
xor eax, eax
jmp 0x140002d5a
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x30], eax
jae 0x140002c6a
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x5b8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x30]
add rax, 8
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x40], 0
jmp 0x140002b50
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x40], eax
jae 0x140002c65
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x5b8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x30]
add rax, 2
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x98]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
test eax, eax
jne 0x140002bab
jmp 0x140002b46
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov ecx, 0xfff
mov rdx, qword [rsp + 0x98]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
add rax, rcx
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x5b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x5b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
jmp 0x140002b46
jmp 0x140002add
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [rsp + 0xf0], 0x10000b
lea rdx, [rsp + 0xc0]
mov rax, qword [rsp + 0x5b0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x140002cb5
xor eax, eax
jmp 0x140002d5a
mov rax, qword [rsp + 0x38]
add rax, 0x30
mov rcx, qword [rsp + 0x148]
add rcx, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x5b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x140002cff
xor eax, eax
jmp 0x140002d5a
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0xc0]
mov rax, qword [rsp + 0x5b0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jne 0x140002d43
xor eax, eax
jmp 0x140002d5a
mov rax, qword [rsp + 0x5b0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov rcx, qword [rsp + 0x590]
xor rcx, rsp
call fcn.140015340
add rsp, 0x5a0
pop rdi
ret