Function at 0x18000c7b0
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, 0x330
mov rax, qword [0x18005c010]
xor rax, rsp
mov qword [rsp + 0x328], rax
movsxd r13, dword [r8 + 0x3c]
mov r12, rdx
add r13, r8
mov dword [rsp + 0x20], 0x40
mov r14, r8
mov qword [rsp + 0x40], 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 + 0x48], rax
test rax, rax
je 0x18000ca8f
mov r9d, dword [r13 + 0x54]
mov ecx, eax
sub ecx, dword [r13 + 0x34]
mov r8, r14
mov dword [r13 + 0x34], eax
xor eax, eax
mov rdx, qword [rsp + 0x48]
mov dword [rsp + 0x320], ecx
mov rcx, qword [r12]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18000ca8f
movsxd rax, dword [r14 + 0x3c]
xor r11d, r11d
cmp dword [rax + r14 + 0xa0], r11d
je 0x18000c874
mov rax, qword [rax + r14 + 0xa0]
mov qword [rsp + 0x38], rax
mov esi, eax
mov r15d, dword [rsp + 0x3c]
jmp 0x18000c87a
mov esi, r11d
mov r15d, r11d
mov rbp, r11
mov dword [rsp + 0x30], r15d
mov edi, r11d
cmp r11w, word [r13 + 6]
jae 0x18000ca8f
mov rbx, r11
nop dword [rax]
nop word [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 0x18000c8c4
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]
mov rdx, r10
add rdx, qword [rsp + 0x48]
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18000ca8f
movzx eax, word [r13 + 6]
inc edi
add rbx, 0x28
mov r11d, 0
cmp edi, eax
jl 0x18000c8a0
test rbp, rbp
je 0x18000ca8f
xor r10d, r10d
mov ebx, r10d
test r15d, r15d
je 0x18000ca03
mov r9d, dword [rbp + 0x14]
mov r11d, 0x1000
mov r13d, dword [rsp + 0x320]
nop dword [rax]
mov r15d, ebx
add ebx, 8
mov eax, r9d
add rax, r14
add r15, rax
mov eax, dword [r15 + 4]
sub rax, 8
shr rax, 1
test eax, eax
je 0x18000c9f4
mov edx, r9d
mov esi, eax
nop word [rax + rax]
mov ecx, ebx
add ebx, 2
mov eax, edx
add rax, r14
movzx r8d, word [rcx + rax]
cmp r8w, r11w
jb 0x18000c9ea
mov rcx, qword [rsp + 0x48]
and r8d, 0xfff
mov edi, dword [r15]
add rcx, r8
add rdi, rcx
mov dword [rsp + 0x320], r10d
mov rcx, qword [r12]
lea r8, [rsp + 0x320]
mov rdx, rdi
mov qword [rsp + 0x20], r10
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [r12]
lea r8, [rsp + 0x320]
add dword [rsp + 0x320], r13d
xor eax, eax
mov rdx, rdi
mov qword [rsp + 0x20], rax
lea r9d, [rax + 4]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rbp + 0x14]
xor r10d, r10d
mov edx, r9d
mov r11d, 0x1000
sub rsi, 1
jne 0x18000c960
cmp ebx, dword [rsp + 0x30]
jb 0x18000c930
mov r13, qword [rsp + 0x40]
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x2c8
call fcn.180019360
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 0x18000ca8f
mov edx, dword [rsp + 0xf4]
lea r8, [rsp + 0x48]
mov rcx, qword [r12]
xor eax, eax
add rdx, 8
mov qword [rsp + 0x20], rax
lea r9d, [rax + 4]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18000ca8f
mov ecx, dword [r13 + 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 0x18000ca8f
mov rcx, qword [r12 + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
jmp 0x18000ca91
xor eax, eax
mov rcx, qword [rsp + 0x328]
xor rcx, rsp
call fcn.180015840
mov rbx, qword [rsp + 0x370]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret