Function at 0x140005fd0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14000f008]
xor rax, rsp
mov qword [rbp], rax
mov r15, rdx
mov rbx, rcx
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14000623f
lea rdx, str.PeekMessageW
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0xa
lea rdx, str.user32.dll
lea rcx, [rsp + 0x30]
call fcn.1400050d0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140007660
mov rsi, qword [rax]
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400060ab
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400060a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400060a6
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 [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400060fe
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400060f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400060f9
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 [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
sub rsi, rdi
add rsi, r14
je 0x14000623f
mov word [rbp - 0x60], 0x4800
mov byte [rbp - 0x5e], 0xb8
mov dword [rbp - 0x55], 0xbeefba48
mov dword [rbp - 0x51], 0xbeefdead
mov dword [rbp - 0x4d], 0x8948dead
mov dword [rbp - 0x49], 0xefba4810
mov dword [rbp - 0x45], 0xefdeadbe
mov dword [rbp - 0x41], 0x48deadbe
mov dword [rbp - 0x3d], 0x48085089
mov dword [rbp - 0x39], 0xadbeefb8
mov dword [rbp - 0x35], 0xadbeefde
mov dword [rbp - 0x31], 0xc2c748de
mov dword [rbp - 0x2d], 1
mov dword [rbp - 0x29], 0x28ec8348
mov dword [rbp - 0x25], 0x8348d0ff
mov dword [rbp - 0x21], 0xb84828c4
mov dword [rbp - 0x1d], 0xdeadbeef
mov dword [rbp - 0x19], 0xdeadbeef
mov dword [rbp - 0x15], 0xc30100c6
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
lea r8d, [rdx + 0x4f]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x14000623f
mov qword [rbp - 0x5d], rsi
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 8]
lea r8, [rbp - 0x53]
mov rdx, rsi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
lea rdx, [rsi + 8]
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 8]
lea r8, [rbp - 0x46]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x1d], rdi
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 0x4f]
lea r8, [rbp - 0x60]
mov rdx, rdi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
mov rcx, qword [rbx + 8]
test eax, eax
jne 0x140006269
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_VirtualFreeEx]
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400088a0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov dword [rbp - 0x10], 0x25ff
mov word [rbp - 0xc], r12w
lea rax, [rdi + 1]
mov qword [rbp - 0xa], rax
mov dword [rbp - 0x74], 0x40
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8d, [r9 - 0x30]
mov rdx, rsi
call qword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9d, 0xe
lea r8, [rbp - 0x10]
mov rdx, rsi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
mov rcx, qword [rbx + 8]
test eax, eax
jne 0x1400062f5
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x74]
mov r8d, 0x10
mov rdx, rsi
call qword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbx + 8]
jmp 0x140006239
mov qword [rbp - 0x70], r12
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [rbp - 0x70]
lea rdx, [rsi + 6]
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
je 0x14000623f
mov rax, qword [rbp - 0xa]
cmp qword [rbp - 0x70], rax
jne 0x140006335
mov ecx, 1
call qword [sym.imp.KERNEL32.DLL_Sleep]
mov rcx, qword [rbx + 8]
jmp 0x1400062f9
mov byte [rbp - 0x78], r12b
mov qword [rsp + 0x20], r12
mov r9d, 1
lea r8, [rbp - 0x78]
mov rdx, rdi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
je 0x14000623f
nop dword [rax]
cmp byte [rbp - 0x78], r12b
jne 0x140006396
mov ecx, 1
call qword [sym.imp.KERNEL32.DLL_Sleep]
mov qword [rsp + 0x20], r12
mov r9d, 1
lea r8, [rbp - 0x78]
mov rdx, rdi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
jne 0x140006360
jmp 0x14000623f
lea rcx, [rbp - 0x74]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rbp - 0x74]
mov r8d, 0x10
mov rdx, rsi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_VirtualFreeEx]
mov eax, 1
jmp 0x140006241