Function at 0x1400a52b0
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 qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x490]
sub rsp, 0x590
mov rax, qword [0x1400dc040]
xor rax, rsp
mov qword [rbp + 0x480], rax
xor esi, esi
mov dword [rbp - 0x70], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rbp - 0x70], esi
je 0x1400a5309
lea rdx, str.Debugger_detected:_IsDebuggerPresentCustom
jmp 0x1400a55b7
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x20], 0x100010
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400a535c
cmp qword [rbp - 8], rsi
jne 0x1400a5350
cmp qword [rbp], rsi
jne 0x1400a5350
cmp qword [rbp + 8], rsi
jne 0x1400a5350
cmp qword [rbp + 0x10], rsi
je 0x1400a535c
lea rdx, str.Debugger_detected:_CheckHardwareBreakpoints
jmp 0x1400a55b7
call fcn.1400a4a80
test al, al
je 0x1400a5371
lea rdx, str.Debugger_detected:_IsDebuggingWindowPresent
jmp 0x1400a55b7
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 0x1400a539c
lea rdx, str.Debugger_detected:_CheckOutputDebugString
jmp 0x1400a55b7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x3e8
jae 0x1400a53ca
lea rdx, str.Debugger_detected:_CheckTimingDiscrepancies
jmp 0x1400a55b7
mov edx, 0x1000
mov r9d, 0x40
mov r8d, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, rsi
cmp byte [rcx + rax], 0xcc
je 0x1400a55b0
inc rcx
cmp rcx, 0x1000
jb 0x1400a53e3
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [0x1400c7e58]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1400a543d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Debugger_detected:_CheckCheatEngineDriver
jmp 0x1400a55b7
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [0x1400c7e48]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1400a5481
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Debugger_detected:_Checkx64dbgDriver
jmp 0x1400a55b7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x60], xmm1
mov r8d, 0xe
lea rdx, str..CEDRIVER72
lea rcx, [rsp + 0x50]
call fcn.14000e1f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x80], xmm1
mov r8d, 0xa
lea rdx, str..x64dbg
lea rcx, [rsp + 0x70]
call fcn.14000e1f0
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.1400a71c0
nop
lea r9, [fcn.140003a20]
mov edx, 0x20
mov r8d, 2
lea rcx, [rsp + 0x50]
call fcn.1400b41c8
mov rbx, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x60]
cmp rbx, rdi
je 0x1400a5570
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400a553f
mov rcx, qword [rbx]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
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 0x1400a5580
add rbx, 0x20
cmp rbx, rdi
jne 0x1400a5532
xor bl, bl
lea rcx, [rbp - 0x68]
call fcn.1400a7300
movzx eax, bl
jmp 0x1400a55d5
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.140097fc0
lea rdx, [0x1400981a0]
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 bl, 1
jmp 0x1400a5572
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.140097fc0
lea rdx, [0x1400981a0]
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, 1
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.1400b3ed0
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret