Function at 0x140003268
Capabilities:
Allocate or change rwx memory
Check for debugger via api
Check for outputdebugstring error
Check for software breakpoints
Check for time delay via gettickcount
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x4a8]
sub rsp, 0x5a0
mov rax, qword [0x140129040]
xor rax, rsp
mov qword [rbp + 0x490], rax
xor r14d, r14d
mov dword [rsp + 0x40], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x40], r14d
je 0x1400032eb
lea rdx, str.Debugger_detected:_IsDebuggerPresentCustom
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400071a4
lea rdx, [0x140007314]
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]
mov eax, 1
jmp 0x1400035a3
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x10], 0x100010
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14000333b
cmp qword [rbp + 8], r14
jne 0x140003332
cmp qword [rbp + 0x10], r14
jne 0x140003332
cmp qword [rbp + 0x18], r14
jne 0x140003332
cmp qword [rbp + 0x20], r14
je 0x14000333b
lea rdx, str.Debugger_detected:_CheckHardwareBreakpoints
jmp 0x1400032c5
call fcn.140002a94
test al, al
je 0x140003350
lea rdx, str.Debugger_detected:_IsDebuggingWindowPresent
jmp 0x1400032c5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, str.Anti_debugging_test
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14000337b
lea rdx, str.Debugger_detected:_CheckOutputDebugString
jmp 0x1400032c5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov edi, 0x3e8
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, edi
jae 0x1400033a8
lea rdx, str.Debugger_detected:_CheckTimingDiscrepancies
jmp 0x1400032c5
mov edi, 0x1000
mov r9d, 0x40
mov r8d, edi
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, r14
mov ebx, 1
cmp byte [rcx + rax], 0xcc
je 0x14000357e
add rcx, rbx
cmp rcx, rdi
jb 0x1400033c8
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [0x1401053e8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14000341f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Debugger_detected:_CheckCheatEngineDriver
jmp 0x140003585
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [0x1401053f8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x140003464
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Debugger_detected:_Checkx64dbgDriver
jmp 0x140003585
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x70], xmm1
mov r8d, 0xe
lea rdx, str..CEDRIVER72
lea rcx, [rbp - 0x80]
call fcn.140007730
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm1
mov r8d, 0xa
lea rdx, str..x64dbg
lea rcx, [rbp - 0x60]
call fcn.140007730
nop
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140005f90
nop
lea r9, [fcn.140006134]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rbp - 0x80]
call fcn.1400e26bc
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
jmp 0x14000353c
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14000350f
mov rcx, qword [rdi]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x140003550
add rdi, 0x20
cmp rdi, rsi
jne 0x140003502
mov bl, r14b
lea rcx, [rsp + 0x60]
call fcn.140006abc
jmp 0x1400035a1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Debugger_detected:_CheckProgramDriver
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400071a4
lea rdx, [0x140007314]
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]
jmp 0x140003544
lea rdx, str.Debugger_detected:_CheckSoftwareBreakpoints
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400071a4
lea rdx, [0x140007314]
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]
mov al, bl
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.1400e2660
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret