Function at 0x140096ee0
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 [0x14015c040]
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 0x140096f39
lea rdx, str.Debugger_detected:_IsDebuggerPresentCustom
jmp 0x1400971e7
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 0x140096f8c
cmp qword [rbp - 8], rsi
jne 0x140096f80
cmp qword [rbp], rsi
jne 0x140096f80
cmp qword [rbp + 8], rsi
jne 0x140096f80
cmp qword [rbp + 0x10], rsi
je 0x140096f8c
lea rdx, str.Debugger_detected:_CheckHardwareBreakpoints
jmp 0x1400971e7
call fcn.1400966b0
test al, al
je 0x140096fa1
lea rdx, str.Debugger_detected:_IsDebuggingWindowPresent
jmp 0x1400971e7
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 0x140096fcc
lea rdx, str.Debugger_detected:_CheckOutputDebugString
jmp 0x1400971e7
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 0x140096ffa
lea rdx, str.Debugger_detected:_CheckTimingDiscrepancies
jmp 0x1400971e7
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 0x1400971e0
inc rcx
cmp rcx, 0x1000
jb 0x140097013
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, [0x140141868]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14009706d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Debugger_detected:_CheckCheatEngineDriver
jmp 0x1400971e7
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, [0x140141878]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1400970b1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Debugger_detected:_Checkx64dbgDriver
jmp 0x1400971e7
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.14000c410
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.14000c410
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.14009a780
nop
lea r9, [fcn.140002620]
mov edx, 0x20
mov r8d, 2
lea rcx, [rsp + 0x50]
call fcn.140113c08
mov rbx, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x60]
cmp rbx, rdi
je 0x1400971a0
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14009716f
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 0x1400971b0
add rbx, 0x20
cmp rbx, rdi
jne 0x140097162
xor bl, bl
lea rcx, [rbp - 0x68]
call fcn.14009a960
movzx eax, bl
jmp 0x140097205
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.140089bd0
lea rdx, [0x140089db0]
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 0x1400971a2
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.140089bd0
lea rdx, [0x140089db0]
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.140113570
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