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

Disassembly:
jmp 0x140108010
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x10e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6c8]
mov rax, qword [0x1409d3c80]
xor rax, rbp
mov qword [rbp + 0x668], rax
lea rcx, [0x1409f310a]
call fcn.1400e5ded
nop
mov rax, qword [rbp + 0x698]
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 rcx, qword [rbp + 0x48]
mov ecx, dword [rcx + 0x34]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov edx, ecx
mov rax, qword [rbp + 0x690]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1401080c3
xor eax, eax
jmp 0x1401082b2
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0x698]
mov rdx, qword [rbp + 8]
mov rax, qword [rbp + 0x690]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jne 0x140108101
xor eax, eax
jmp 0x1401082b2
mov dword [rbp + 0x84], 0
jmp 0x14010811b
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x84], eax
jge 0x1401081c4
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x48]
lea rax, [rcx + rax + 0x18]
movsxd rcx, dword [rbp + 0x84]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 0xa8]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rbp + 0x698]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rbp + 0xa8]
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 + 0x690]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
jne 0x1401081bf
xor eax, eax
jmp 0x1401082b2
jmp 0x14010810d
lea rax, [rbp + 0xf0]
mov rdi, rax
xor eax, eax
mov ecx, 0x2cc
rep stosb byte [rdi], al
mov dword [rbp + 0xf0], 0x10000b
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x690]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
mov dword [rbp + 0x3d4], eax
cmp dword [rbp + 0x3d4], 0
jne 0x14010820f
xor eax, eax
jmp 0x1401082b2
mov rax, qword [rbp + 0x48]
add rax, 0x34
mov ecx, dword [rbp + 0x194]
add rcx, 8
mov qword [rsp + 0x20], 0
mov r9d, 4
mov r8, rax
mov rdx, rcx
mov rax, qword [rbp + 0x690]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x3f4], eax
cmp dword [rbp + 0x3f4], 0
jne 0x140108259
xor eax, eax
jmp 0x1401082b2
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov dword [rbp + 0x1a0], eax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x690]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
mov dword [rbp + 0x414], eax
cmp dword [rbp + 0x414], 0
jne 0x14010829b
xor eax, eax
jmp 0x1401082b2
mov rax, qword [rbp + 0x690]
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, [0x1402ba8b0]
call fcn.1400e4d5d
mov rax, rdi
mov rcx, qword [rbp + 0x668]
xor rcx, rbp
call fcn.1400e2d2d
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret