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

Disassembly:
push rbx
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x530
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x528], rax
movsxd r13, dword [rdx + 0x3c]
mov r12, rdx
add r13, rdx
mov dword [rsp + 0x20], 0x40
mov r15, rcx
mov qword [rsp + 0x48], r13
mov rcx, qword [rcx]
xor edx, edx
mov r9d, 0x3000
mov r8d, dword [r13 + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, dword [r13 + 0x54]
mov r8, r12
mov r14, rax
mov qword [rsp + 0x38], rax
sub rax, qword [r13 + 0x30]
mov rdx, r14
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [r13 + 0x30], r14
mov rcx, qword [r15]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movsxd rbx, dword [r12 + 0x3c]
cmp dword [rbx + r12 + 0xb0], 0
je 0x140001472
mov rbx, qword [rbx + r12 + 0xb0]
mov qword [rsp + 0x30], rbx
jmp 0x140001477
mov rbx, qword [rsp + 0x30]
xor r11d, r11d
mov qword [rsp + 0x580], rdi
mov esi, r11d
mov ebp, r11d
cmp r11w, word [r13 + 6]
jae 0x1400014f6
mov edi, r11d
nop dword [rax]
nop word [rax + rax]
movzx edx, word [r13 + 0x14]
add rdx, 0x18
add rdx, rdi
add rdx, r13
mov r10d, dword [rdx + 0xc]
cmp ebx, r10d
jb 0x1400014c4
mov ecx, dword [rdx + 8]
add ecx, r10d
cmp ebx, ecx
cmovb rsi, rdx
mov r8d, dword [rdx + 0x14]
mov r9d, dword [rdx + 0x10]
add r8, r12
mov rcx, qword [r15]
lea rdx, [r14 + r10]
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [r13 + 6]
inc ebp
add rdi, 0x28
mov r11d, 0
cmp ebp, eax
jl 0x1400014a0
cmp dword [rsp + 0x34], 0
mov ebx, r11d
jbe 0x1400015d2
mov r13, r14
nop word [rax + rax]
mov eax, dword [rsi + 0x14]
add rax, r12
mov ebp, ebx
add rbp, rax
add ebx, 8
mov eax, dword [rbp + 4]
sub rax, 8
shr rax, 1
test eax, eax
je 0x1400015be
mov r14d, eax
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsi + 0x14]
lea r8, [rsp + 0x520]
mov edi, dword [rbp]
add rax, r12
mov ecx, ebx
mov r9d, 8
add ebx, 2
mov qword [rsp + 0x20], r11
movzx eax, word [rcx + rax]
mov rcx, qword [r15]
and eax, 0xfff
add rax, r13
mov qword [rsp + 0x520], r11
add rdi, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x40]
lea r8, [rsp + 0x520]
add qword [rsp + 0x520], rax
mov r9d, 8
mov rcx, qword [r15]
xor eax, eax
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r11d, 0
sub r14, 1
jne 0x140001540
cmp ebx, dword [rsp + 0x34]
jb 0x140001510
mov r13, qword [rsp + 0x48]
mov r14, qword [rsp + 0x38]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [r15 + 8]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x80], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rdx, qword [rsp + 0xd8]
lea r8, [r13 + 0x30]
mov rcx, qword [r15]
xor eax, eax
add rdx, 0x10
mov qword [rsp + 0x20], rax
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [r13 + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, qword [r15 + 8]
add rax, r14
mov qword [rsp + 0xd0], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rdi, qword [rsp + 0x580]
mov eax, 1
mov rcx, qword [rsp + 0x528]
xor rcx, rsp
call fcn.140001bb0
add rsp, 0x530
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret