Function at 0x18007c450
Capabilities:
Check for software breakpoints

Disassembly:
push rdi
sub rsp, 0x2c0
mov dword [rsp + 0x30], 0
lea rcx, str.ACGameDetect::Detect_HookD3D9::CheckD3D9HookFunction
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginMutation]
nop
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
je 0x18007ca25
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
cmp qword [rsp + 0x68], 0
je 0x18007c4d7
cmp qword [rsp + 0x60], 0
je 0x18007c4d7
cmp qword [rsp + 0x40], 0
je 0x18007c4d7
cmp qword [rsp + 0x48], 0
je 0x18007c4d7
cmp qword [rsp + 0x50], 0
jne 0x18007c725
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x34]
call fcn.18007c360
mov rcx, rax
call fcn.18007c0f0
mov rdx, rax
lea rcx, [rsp + 0x158]
call fcn.1800030c0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x80]
call fcn.180004bc0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x18007c5cd
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x35]
call fcn.18007c420
mov rcx, rax
call fcn.18007c1f0
mov rdx, rax
lea rcx, [rsp + 0x138]
call fcn.1800030c0
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x88]
call fcn.180004bc0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x18007c5cd
mov dword [rsp + 0x58], 0
jmp 0x18007c5d5
mov dword [rsp + 0x58], 1
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x18007c5fc
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x138]
call fcn.1800035f0
nop
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x18007c61a
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x158]
call fcn.1800035f0
nop
movzx eax, byte [rsp + 0x36]
test eax, eax
je 0x18007c634
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x18007c4d7
movabs rax, 0x1401a64d0
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x37]
call fcn.18007c3c0
mov rcx, rax
call fcn.18007c110
mov rdx, rax
lea rcx, [rsp + 0x178]
call fcn.1800030c0
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.180004bc0
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x178]
call fcn.1800035f0
nop
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x38]
call fcn.18007c3f0
mov rcx, rax
call fcn.18007c110
mov rdx, rax
lea rcx, [rsp + 0x198]
call fcn.1800030c0
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.180004bc0
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x198]
call fcn.1800035f0
nop
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
cmp eax, 0xe9
je 0x18007c772
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
cmp eax, 0x90
je 0x18007c772
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
cmp eax, 0xc3
je 0x18007c772
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
cmp eax, 0x66
je 0x18007c772
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
cmp eax, 0xcc
jne 0x18007c825
mov rcx, qword [0x180166810]
call fcn.180004120
nop
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x39]
call fcn.18007c390
mov rcx, rax
call fcn.18007c1d0
mov rdx, rax
lea rcx, [rsp + 0x1b8]
call fcn.1800030c0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.180004bc0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xb0]
mov r8d, 9
mov edx, 1
mov rcx, qword [0x180166810]
call fcn.180057660
nop
lea rcx, [rsp + 0x1b8]
call fcn.1800035f0
nop
call fcn.18004bbb0
nop
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0xe9
je 0x18007c872
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x90
je 0x18007c872
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0xc3
je 0x18007c872
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x66
je 0x18007c872
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0xcc
jne 0x18007c925
mov rcx, qword [0x180166810]
call fcn.180004120
nop
lea rax, [rsp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x3a]
call fcn.18007c240
mov rcx, rax
call fcn.18007c1b0
mov rdx, rax
lea rcx, [rsp + 0x1d8]
call fcn.1800030c0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.180004bc0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xc8]
mov r8d, 9
mov edx, 1
mov rcx, qword [0x180166810]
call fcn.180057660
nop
lea rcx, [rsp + 0x1d8]
call fcn.1800035f0
nop
call fcn.18004bbb0
nop
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
cmp eax, 0xe9
je 0x18007c972
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
cmp eax, 0x90
je 0x18007c972
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
cmp eax, 0xc3
je 0x18007c972
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
cmp eax, 0x66
je 0x18007c972
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
cmp eax, 0xcc
jne 0x18007ca25
mov rcx, qword [0x180166810]
call fcn.180004120
nop
lea rax, [rsp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x3b]
call fcn.18007c2d0
mov rcx, rax
call fcn.18007c150
mov rdx, rax
lea rcx, [rsp + 0x1f8]
call fcn.1800030c0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.180004bc0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xe0]
mov r8d, 9
mov edx, 1
mov rcx, qword [0x180166810]
call fcn.180057660
nop
lea rcx, [rsp + 0x1f8]
call fcn.1800035f0
nop
call fcn.18004bbb0
nop
lea rax, [fcn.18007c450]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0xe8]
lea rcx, [0x1801663f8]
call fcn.1800053a0
nop
mov dword [rsp + 0x70], 0x190
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xf0]
call fcn.180001880
mov rcx, rax
call fcn.180002ec0
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, qword [0x1801663e8]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x74]
mov ecx, dword [0x1801663f0]
add ecx, eax
mov eax, ecx
mov dword [0x1801663f0], eax
movss xmm0, dword [0x1801319a0]
movss dword [0x1801663e0], xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [0x1801663e8], rax
call qword [sym.imp.VMProtectSDK64.dll_VMProtectEnd]
nop
add rsp, 0x2c0
pop rdi
ret