Function at 0x1400063e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x14000f008]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r15, rdx
mov rbx, rcx
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400066e7
lea rdx, str.PeekMessageW
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
mov r8d, 0xa
lea rdx, str.user32.dll
lea rcx, [rbp - 0x69]
call fcn.1400050d0
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140007660
mov rdi, qword [rax]
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1400064b7
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400064b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400064b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400088fc
movdqa xmm0, xmmword [0x14000aa00]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140006506
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006501
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006501
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400088fc
movdqa xmm0, xmmword [0x14000aa00]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
sub rdi, rsi
add rdi, r14
je 0x1400066e7
mov dword [rbp - 1], 0xe5895500
mov byte [rbp + 3], 0xb8
mov dword [rbp + 8], 0xadbeefba
mov dword [rbp + 0xc], 0xba1089de
mov dword [rbp + 0x10], 0xdeadbeef
mov dword [rbp + 0x14], 0xb8045089
mov dword [rbp + 0x18], 0xdeadbeef
mov dword [rbp + 0x1c], 0x16a006a
mov dword [rbp + 0x20], 0xd0ff006a
mov dword [rbp + 0x24], 0xadbeefb8
mov dword [rbp + 0x28], 0x100c6de
mov dword [rbp + 0x2c], 0xc35dec89
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
lea r8d, [rdx + 0x31]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x1400066e7
mov dword [rbp + 4], edi
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [rbp + 9]
mov rdx, rdi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
lea rdx, [rdi + 4]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [rbp + 0x10]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
mov dword [rbp + 0x18], r15d
mov dword [rbp + 0x25], esi
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 0x31]
lea r8, [rbp - 1]
mov rdx, rsi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
test eax, eax
je 0x1400066e7
mov byte [rbp + 0x37], 0xb8
mov word [rbp + 0x3c], 0xe0ff
lea eax, [rsi + 1]
mov dword [rbp + 0x38], eax
mov dword [rbp - 9], 0x40
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 0x40]
lea r8d, [r14 + 7]
mov rdx, rdi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 7]
lea r8, [rbp + 0x37]
mov rdx, rdi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
test eax, eax
je 0x1400066e7
mov dword [rbp - 0xd], r14d
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rbp - 0xd]
mov rdx, rdi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
je 0x1400066e7
mov eax, dword [rbp + 0x37]
cmp dword [rbp - 0xd], eax
jne 0x140006692
mov ecx, 1
call qword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x14000665d
mov byte [rbp - 0x11], r14b
mov qword [rsp + 0x20], r14
mov r9d, 1
lea r8, [rbp - 0x11]
mov rdx, rsi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
je 0x1400066e7
cmp byte [rbp - 0x11], r14b
jne 0x140006712
mov ecx, 1
call qword [sym.imp.KERNEL32.DLL_Sleep]
mov qword [rsp + 0x20], r14
mov r9d, 1
lea r8, [rbp - 0x11]
mov rdx, rsi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
jne 0x1400066b6
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400088a0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, [rbp - 9]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rbp - 9]
mov r8d, 7
mov rdx, rdi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_VirtualFreeEx]
mov eax, 1
jmp 0x1400066e9