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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x530
mov rax, qword [0x18005c010]
xor rax, rsp
mov qword [rsp + 0x528], rax
movsxd r13, dword [r8 + 0x3c]
mov r12, rdx
add r13, r8
mov dword [rsp + 0x20], 0x40
mov r14, r8
mov qword [rsp + 0x48], r13
xor edx, edx
mov r9d, 0x3000
mov rcx, qword [r12]
mov r8d, dword [r13 + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x38], rax
mov r15, rax
test rax, rax
je 0x18000cda4
sub rax, qword [r13 + 0x30]
mov r8, r14
mov r9d, dword [r13 + 0x54]
mov rdx, r15
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [r13 + 0x30], r15
mov rcx, qword [r12]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18000cda4
movsxd rax, dword [r14 + 0x3c]
xor r11d, r11d
cmp dword [rax + r14 + 0xb0], r11d
je 0x18000cb8f
mov rax, qword [rax + r14 + 0xb0]
mov qword [rsp + 0x520], rax
mov eax, dword [rsp + 0x524]
mov esi, dword [rsp + 0x520]
mov dword [rsp + 0x30], eax
jmp 0x18000cb97
mov esi, r11d
mov dword [rsp + 0x30], r11d
mov rbp, r11
mov edi, r11d
cmp r11w, word [r13 + 6]
jae 0x18000cda4
mov rbx, r11
nop dword [rax + rax]
movzx edx, word [r13 + 0x14]
add rdx, 0x18
add rdx, rbx
add rdx, r13
mov r10d, dword [rdx + 0xc]
cmp esi, r10d
jb 0x18000cbd4
mov ecx, dword [rdx + 8]
add ecx, r10d
cmp esi, ecx
cmovb rbp, rdx
mov r8d, dword [rdx + 0x14]
mov r9d, dword [rdx + 0x10]
add r8, r14
mov rcx, qword [r12]
lea rdx, [r15 + r10]
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18000cda4
movzx eax, word [r13 + 6]
inc edi
add rbx, 0x28
mov r11d, 0
cmp edi, eax
jl 0x18000cbb0
test rbp, rbp
je 0x18000cda4
xor r9d, r9d
mov ebx, r9d
cmp dword [rsp + 0x30], ebx
jbe 0x18000cd15
mov r8d, dword [rbp + 0x14]
mov r10d, 0x1000
mov r13, r15
nop word [rax + rax]
mov r15d, ebx
add ebx, 8
mov eax, r8d
add rax, r14
add r15, rax
mov eax, dword [r15 + 4]
sub rax, 8
shr rax, 1
test eax, eax
je 0x18000cd01
mov edx, r8d
mov esi, eax
nop word [rax + rax]
mov ecx, ebx
add ebx, 2
mov eax, edx
add rax, r14
movzx eax, word [rcx + rax]
cmp ax, r10w
jb 0x18000ccf7
mov edi, dword [r15]
lea r8, [rsp + 0x520]
mov rcx, qword [r12]
and eax, 0xfff
add rax, r13
mov qword [rsp + 0x520], r9
add rdi, rax
mov qword [rsp + 0x20], r9
mov rdx, rdi
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x40]
lea r8, [rsp + 0x520]
add qword [rsp + 0x520], rax
mov rdx, rdi
mov rcx, qword [r12]
xor eax, eax
mov qword [rsp + 0x20], rax
lea r9d, [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8d, dword [rbp + 0x14]
xor r9d, r9d
mov edx, r8d
mov r10d, 0x1000
sub rsi, 1
jne 0x18000cc70
cmp ebx, dword [rsp + 0x30]
jb 0x18000cc40
mov r13, qword [rsp + 0x48]
mov r15, qword [rsp + 0x38]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call fcn.180019360
mov rcx, qword [r12 + 8]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x80], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x18000cda4
mov rdx, qword [rsp + 0xd8]
lea r8, [r13 + 0x30]
mov rcx, qword [r12]
xor eax, eax
add rdx, 0x10
mov qword [rsp + 0x20], rax
lea r9d, [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18000cda4
mov eax, dword [r13 + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, qword [r12 + 8]
add rax, r15
mov qword [rsp + 0xd0], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x18000cda4
mov rcx, qword [r12 + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
jmp 0x18000cda6
xor eax, eax
mov rcx, qword [rsp + 0x528]
xor rcx, rsp
call fcn.180015840
mov rbx, qword [rsp + 0x570]
add rsp, 0x530
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret