Function at 0x140003600
Capabilities:
Check for debugger via api
Check for software breakpoints
Hide thread from debugger

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
call fcn.1400019d0
mov r8d, 0x30
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualLock]
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 - 0x80], edi
mov eax, dword [rbp - 0x80]
mov eax, dword [rbp - 0x80]
inc eax
mov dword [rbp - 0x80], eax
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 0x1400036ba
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
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0x1000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
call fcn.1400019d0
call fcn.140001670
test al, al
je 0x140003727
lea rdx, [0x1400074b0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400042a0
mov rcx, rax
lea rdx, [0x140004480]
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 0x140003df7
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.1400047f0
mov r8d, 8
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x58]
call fcn.140001bc0
nop
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140003d0a
mov dword [rbp - 0x80], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rbp - 0x80], 0
jne 0x140003d0a
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov ebx, eax
mov dword [rbp - 0x80], edi
mov eax, dword [rbp - 0x80]
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbp - 0x80]
inc eax
mov dword [rbp - 0x80], eax
mov eax, dword [rbp - 0x80]
cmp eax, 0xf4240
jl 0x1400037b0
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
sub eax, ebx
cmp eax, 0x64
jg 0x140003d0a
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 0x14000382a
mov qword [rbp - 0x80], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov r9d, 8
lea r8, [rbp - 0x80]
mov edx, 7
call rbx
test eax, eax
jne 0x14000382a
cmp qword [rbp - 0x80], 0
jne 0x140003d0a
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp], 0x100010
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 0x140003885
cmp qword [rbp + 0x18], 0
jne 0x140003d0a
cmp qword [rbp + 0x20], 0
jne 0x140003d0a
cmp qword [rbp + 0x28], 0
jne 0x140003d0a
cmp qword [rbp + 0x30], 0
jne 0x140003d0a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003901
nop dword [rax]
mov rdx, qword [rsp + 0x68]
cmp dword [rsp + 0x70], 0x1000
jne 0x1400038e5
test byte [rsp + 0x74], 0x40
je 0x1400038e5
mov rax, qword [rsp + 0x50]
lea rcx, [rdx + rax]
cmp rax, rcx
jae 0x1400038e5
cmp byte [rax], 0xcc
je 0x140003d0a
inc rax
cmp rax, rcx
jb 0x1400038d4
add rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1400038b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
xor r8d, r8d
lea rdx, [0x1400074b0]
lea rcx, [rbp - 0x78]
call fcn.1400047f0
nop
call fcn.1400019d0
call fcn.1400019d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8d, 0xb
lea rdx, str.Ngxgn:_Jctf
lea rcx, [rsp + 0x30]
call fcn.1400047f0
mov r8d, 2
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140001bc0
nop
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14000397a
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.140004fe0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400039cb
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400057ac
lea rdx, [0x140007964]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400042a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8d, 0x10
lea rdx, str.Gpvgt_rcuuyqtf:
lea rcx, [rsp + 0x30]
call fcn.1400047f0
mov r8d, 2
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140001bc0
nop
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140003a2a
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.140004fe0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003a7b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400057ac
call fcn.1400019d0
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov ecx, eax
cmp al, 0xd
je 0x140003b23
mov rbx, qword [rbp - 0x68]
cmp cl, 8
jne 0x140003acd
test rbx, rbx
je 0x140003b12
lea rdx, [0x14000797c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400042a0
lea rcx, [rbx - 1]
mov qword [rbp - 0x68], rcx
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rax, qword [rbp - 0x78]
mov byte [rax + rcx], 0
jmp 0x140003b0e
mov rdx, qword [rbp - 0x60]
cmp rbx, rdx
jae 0x140003af5
lea rax, [rbx + 1]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x78]
mov byte [rax + rbx], cl
mov byte [rax + rbx + 1], 0
jmp 0x140003b02
movzx r9d, cl
lea rcx, [rbp - 0x78]
call fcn.140004a10
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004620
mov rbx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
movzx ecx, al
cmp al, 0xd
jne 0x140003a94
lea rdx, [0x140004480]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
call fcn.1400019d0
lea rcx, [rbp - 0x78]
call fcn.140001db0
test al, al
je 0x140003c06
call fcn.1400019d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8d, 0x56
lea rdx, str.Eqpitcvwncvkqpu____Aqw_Etcemgf_og._FO_og_qp_fkueqtf__cxkuq.__vq_igv_aqwt_hktuv_tgyctf_
lea rcx, [rsp + 0x30]
call fcn.1400047f0
mov r8d, 2
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140001bc0
nop
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140003b9e
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.140004fe0
lea rdx, [0x140004480]
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 [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003cb8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003cb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003cb3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400019d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8d, 0x12
lea rdx, str.Kpeqttgev_rcuuyqtf
lea rcx, [rsp + 0x30]
call fcn.1400047f0
mov r8d, 2
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140001bc0
nop
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140003c57
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.140004fe0
lea rdx, [0x140004480]
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 [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003cb8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003cb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003cb3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400057ac
call fcn.1400019d0
call fcn.1400019d0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140003db7
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400057ac
jmp 0x140003db7
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
mov r8d, 0x1d
lea rdx, str.Fgdwiigt_fgvgevgf__Gzkvkpi...
lea rcx, [rbp - 0x78]
call fcn.1400047f0
mov r8d, 2
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x50]
call fcn.140001bc0
nop
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140003d51
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.140004fe0
lea rdx, [0x140004480]
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 [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003db2
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003dad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003dad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400057ac
mov edi, 1
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140003df5
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003df0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003df0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400057ac
mov eax, edi
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.140005680
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret