Function at 0x140004520
Capabilities:
Block operations on executable memory pages using arbitrary code guard
Check for debugger via api
Check for software breakpoints
Hide thread from debugger

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov dword [rbp - 0x60], 1
mov r8d, 4
lea rdx, [rbp - 0x60]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetProcessMitigationPolicy]
call fcn.140001be0
call fcn.140003c40
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call fcn.1400019b0
call fcn.140003c40
mov r8d, 0x30
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualLock]
call fcn.140003c40
call fcn.140001be0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, 0xffffffffffffffff
mov r8, rdx
call qword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
xor edi, edi
mov dword [rbp - 0x60], edi
call fcn.140003c40
mov eax, dword [rbp - 0x60]
mov eax, dword [rbp - 0x60]
inc eax
mov dword [rbp - 0x60], eax
call fcn.140003c40
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140004635
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x11
call rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call fcn.140003c40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0x1000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
call fcn.1400019b0
call fcn.140001be0
call fcn.140001650
test al, al
je 0x1400046ac
lea rdx, [0x1400084c0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004eb0
mov rcx, rax
lea rdx, [0x140005090]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x1400049fb
call fcn.140001be0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8d, 0x42
lea rdx, str.UioqkMuxqzmWnNcksqvoQlqwbaTWT_QnGwcIzmZmilqvoBpqaLwvbEiabmCzBqumFL
lea rcx, [rsp + 0x30]
call fcn.140005400
mov r8d, 8
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x58]
call fcn.140001d70
nop
call fcn.140003c40
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1400047bb
mov dword [rbp - 0x60], edi
call fcn.140003c40
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rbp - 0x60], 0
jne 0x1400047bb
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov esi, eax
mov dword [rbp - 0x60], edi
mov ecx, dword [rbp - 0x60]
mov ecx, dword [rbp - 0x60]
inc ecx
mov dword [rbp - 0x60], ecx
mov ecx, dword [rbp - 0x60]
cmp ecx, 0xf4240
jl 0x140004735
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov ebx, eax
call fcn.140003c40
sub ebx, esi
cmp ebx, 0x64
jg 0x1400047bb
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14000486e
mov qword [rbp - 0x60], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov r9d, 8
lea r8, [rbp - 0x60]
mov edx, 7
call rbx
test eax, eax
jne 0x140004873
cmp qword [rbp - 0x60], 0
je 0x140004873
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov r8d, 0x1d
lea rdx, str.Fgdwiigt_fgvgevgf__Gzkvkpi...
lea rcx, [rsp + 0x50]
call fcn.140005400
mov r8d, 2
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140001d70
nop
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140004807
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005bf0
lea rdx, [0x140005090]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400049b6
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003c40
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp], 0x100010
call fcn.140003c40
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400048d3
cmp qword [rbp + 0x18], 0
jne 0x1400047bb
cmp qword [rbp + 0x20], 0
jne 0x1400047bb
cmp qword [rbp + 0x28], 0
jne 0x1400047bb
cmp qword [rbp + 0x30], 0
jne 0x1400047bb
call fcn.140003c40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
mov r8d, 0x30
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000494e
nop dword [rax]
mov rdx, qword [rbp - 0x78]
cmp dword [rbp - 0x70], 0x1000
jne 0x140004932
test byte [rbp - 0x6c], 0x40
je 0x140004932
mov rax, qword [rsp + 0x70]
lea rcx, [rax + rdx]
cmp rax, rcx
jae 0x140004932
cmp byte [rax], 0xcc
je 0x1400047bb
inc rax
cmp rax, rcx
jb 0x140004921
add rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140004900
call fcn.1400019b0
call fcn.140003c40
call fcn.140001be0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call fcn.1400019b0
call fcn.140003c40
call fcn.140001be0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov dword [rbp - 0x60], 1
mov r8d, 4
lea rdx, [rbp - 0x60]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetProcessMitigationPolicy]
call fcn.140003fa0
call fcn.140003c40
call fcn.1400019b0
jmp 0x1400049bb
call fcn.1400063bc
mov edi, 1
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1400049f9
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400063bc
mov eax, edi
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.140006290
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret