Function at 0x140003c30
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, 0x530
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x528], rax
movsxd r13, dword [0x140040ccc]
lea rdi, [0x140040c90]
add r13, rdi
mov dword [rsp + 0x20], 0x40
mov r15, rcx
mov qword [rsp + 0x38], r13
mov rcx, qword [rcx]
xor edx, edx
mov r9d, 0x3000
mov r8d, dword [r13 + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
je 0x140003f0d
sub rax, qword [r13 + 0x30]
lea r14, [r13 + 0x30]
mov r9d, dword [r13 + 0x54]
mov r8, rdi
mov qword [rsp + 0x520], rax
mov rdx, r12
xor eax, eax
mov qword [r14], r12
mov rcx, qword [r15]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140003f0d
movsxd rbx, dword [0x140040ccc]
xor r11d, r11d
cmp dword [rbx + rdi + 0xb0], r11d
je 0x140003cfb
mov rbx, qword [rbx + rdi + 0xb0]
jmp 0x140003cfe
mov rbx, r11
mov rbp, r11
mov qword [rsp + 0x30], rbx
mov esi, r11d
cmp r11w, word [r13 + 6]
jae 0x140003f0d
mov rdi, r11
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 0x140003d44
mov ecx, dword [rdx + 8]
add ecx, r10d
cmp ebx, ecx
cmovb rbp, rdx
mov r8d, dword [rdx + 0x14]
lea rax, [0x140040c90]
mov r9d, dword [rdx + 0x10]
add r8, rax
mov rcx, qword [r15]
lea rdx, [r12 + r10]
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140003f0d
movzx eax, word [r13 + 6]
inc esi
add rdi, 0x28
mov r11d, 0
cmp esi, eax
jl 0x140003d20
test rbp, rbp
je 0x140003f0d
xor edx, edx
mov ebx, edx
cmp dword [rsp + 0x34], edx
jbe 0x140003e81
mov r13, qword [rsp + 0x520]
lea r8, [0x140040c90]
mov r9d, 0x1000
mov r14d, dword [rbp + 0x14]
mov eax, ebx
add ebx, 8
add r14, rax
add r14, r8
mov eax, dword [r14 + 4]
sub rax, 8
shr rax, 1
test eax, eax
je 0x140003e6d
mov esi, eax
nop word [rax + rax]
mov ecx, dword [rbp + 0x14]
mov eax, ebx
add ebx, 2
add rcx, rax
movzx eax, word [rcx + r8]
cmp ax, r9w
jb 0x140003e63
mov edi, dword [r14]
lea r8, [rsp + 0x520]
mov rcx, qword [r15]
and eax, 0xfff
add rax, r12
mov qword [rsp + 0x520], rdx
add rdi, rax
mov qword [rsp + 0x20], rdx
mov rdx, rdi
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [r15]
lea r8, [rsp + 0x520]
add qword [rsp + 0x520], r13
xor eax, eax
mov r9d, 8
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edx, edx
lea r8, [0x140040c90]
mov r9d, 0x1000
sub rsi, 1
jne 0x140003de0
cmp ebx, dword [rsp + 0x34]
jb 0x140003db1
mov r13, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call fcn.14002ca00
mov rcx, qword [r15 + 8]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x80], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140003f0d
mov rdx, qword [rsp + 0xd8]
xor eax, eax
mov rcx, qword [r15]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], rax
mov r8, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140003f0d
mov eax, dword [r13 + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, qword [r15 + 8]
add rax, r12
mov qword [rsp + 0xd0], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x140003f0d
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
jmp 0x140003f0f
xor eax, eax
mov rcx, qword [rsp + 0x528]
xor rcx, rsp
call fcn.14000a650
lea r11, [rsp + 0x530]
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