Function at 0x140002620
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Resume thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x350
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov rax, qword [rsp + 0x368]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x50]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x34]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov edx, ecx
mov rax, qword [rsp + 0x360]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400026b2
xor eax, eax
jmp 0x14000288b
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x368]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x360]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x1400026f6
xor eax, eax
jmp 0x14000288b
mov dword [rsp + 0x30], 0
jmp 0x14000270a
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x30], eax
jge 0x1400027a9
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x368]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x60]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0x40]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rax, qword [rsp + 0x360]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x1400027a4
xor eax, eax
jmp 0x14000288b
jmp 0x140002700
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x2cc
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x10000b
lea rdx, [rsp + 0x70]
mov rax, qword [rsp + 0x360]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400027eb
xor eax, eax
jmp 0x14000288b
mov rax, qword [rsp + 0x38]
add rax, 0x34
mov ecx, dword [rsp + 0x114]
add rcx, 8
mov qword [rsp + 0x20], 0
mov r9d, 4
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x360]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x140002834
xor eax, eax
jmp 0x14000288b
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x120], eax
lea rdx, [rsp + 0x70]
mov rax, qword [rsp + 0x360]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jne 0x140002874
xor eax, eax
jmp 0x14000288b
mov rax, qword [rsp + 0x360]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.140015340
add rsp, 0x350
pop rdi
ret