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

Disassembly:
jmp 0x140027780
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 [0x1401069c0]
xor rax, rbp
mov qword [rbp + 0x7a8], rax
lea rcx, [0x140111131]
call fcn.140016149
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 0x14002782c
xor eax, eax
jmp 0x140027c4a
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 0x14002788e
xor eax, eax
jmp 0x140027c4a
mov rcx, qword [rbp + 0x7d8]
call fcn.140015be5
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xc8], 0
mov dword [rbp + 0xe4], 0
jmp 0x1400278c6
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 0x1400279ab
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 0x14002793c
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 0x14002793c
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 0x1400279a6
xor eax, eax
jmp 0x140027c4a
jmp 0x1400278b8
cmp qword [rbp + 0xc8], 0
jne 0x1400279bc
xor eax, eax
jmp 0x140027c4a
mov dword [rbp + 0x144], 0
mov eax, dword [rbp + 0xac]
cmp dword [rbp + 0x144], eax
jae 0x140027b63
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 0x140027a47
mov eax, dword [rbp + 0x1a4]
inc eax
mov dword [rbp + 0x1a4], eax
mov eax, dword [rbp + 0x184]
cmp dword [rbp + 0x1a4], eax
jae 0x140027b5e
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 0x140027aab
jmp 0x140027a39
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 0x140027a39
jmp 0x1400279c6
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 0x140027bae
xor eax, eax
jmp 0x140027c4a
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 0x140027bf1
xor eax, eax
jmp 0x140027c4a
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 0x140027c33
xor eax, eax
jmp 0x140027c4a
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, [0x140047450]
call fcn.140015e15
mov rax, rdi
mov rcx, qword [rbp + 0x7a8]
xor rcx, rbp
call fcn.140015825
lea rsp, [rbp + 0x7b8]
pop rdi
pop rbp
ret