Function at 0x14008f2f0
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14025dcd8]
xor rax, rsp
mov qword [rbp + 0xa0], rax
lea rcx, [0x140250b58]
call fcn.14002dab0
mov dword [rbp - 0x40], 0x50
mov dword [rbp - 0x3c], 3
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov qword [rbp - 0x38], rax
xor r14d, r14d
mov qword [rbp - 0x30], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm1
lea rax, str.someclass
mov qword [rbp], rax
mov qword [rbp + 8], r14
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], r14
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], Ordinal_101
mov dword [rsp + 0x30], Ordinal_101
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov r9d, 0xcf0000
lea r8, str.Dummy_Window
mov rdx, qword [rbp]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov r13, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
lea rdx, [rbp - 0x60]
lea rcx, [0x14024e070]
call sub.dxgi.dll_CreateDXGIFactory
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0x38]
lea r8, [rbp - 0x80]
xor edx, edx
call r9
cmp eax, 0x887a0002
jne 0x14008f426
lea rcx, str.No_adapters_found_n
call fcn.14002dab0
mov rbx, qword [rsp + 0x70]
jmp 0x14008f9b3
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.14008df90
lea r9, [rbp - 0x78]
lea r8, [0x140250b28]
mov edx, 0xc000
mov rcx, qword [rbp - 0x80]
call sub.d3d12.dll_Ordinal_101
test eax, eax
jns 0x14008f5d5
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, str.Cannot_create_DX12_device_n
call fcn.14002dab0
mov dword [rbp - 0x80], 0xb000
mov dword [rbp - 0x7c], 0xb100
mov dword [rbp + 0x80], Ordinal_101
mov dword [rbp + 0x84], Ordinal_101
mov dword [rbp + 0x88], 0x3c
mov dword [rbp + 0x8c], 1
mov qword [rbp + 0x90], 0x1c
movups xmm0, xmmword [rbp + 0x80]
movaps xmmword [rbp + 0x30], xmm0
movsd xmm1, qword [rbp + 0x90]
movsd qword [rbp + 0x40], xmm1
mov dword [rbp + 0x48], r14d
mov qword [rbp + 0x4c], 1
mov dword [rbp + 0x54], 0x20
mov dword [rbp + 0x58], 1
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 1
mov dword [rbp + 0x70], 2
lea rax, [rbp - 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
test eax, eax
js 0x14008f5b5
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x40]
lea r8, [0x140260f40]
lea rdx, [0x14008ead0]
mov rcx, rbx
call fcn.140060560
test eax, eax
jne 0x14008f5bf
mov rcx, rbx
call fcn.1400607f0
test eax, eax
jne 0x14008f5bf
lea rcx, str.Created_DX11_hook_n
call fcn.14002dab0
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x70]
jmp 0x14008f9b3
lea rcx, str.Failed_hooking_IDXGISwapChain_Present_for_DX11_n
call fcn.14002dab0
mov rbx, qword [rsp + 0x70]
jmp 0x14008f9b3
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x60], rax
mov rbx, qword [rsp + 0x70]
cmp rbx, qword [rsp + 0x78]
je 0x14008f607
lea rcx, [0x140250d18]
mov qword [rbx], rcx
mov qword [rbx + 8], rax
mov qword [rbx + 0x38], rbx
add rbx, 0x40
mov qword [rsp + 0x70], rbx
jmp 0x14008f61e
lea r8, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14008e0c0
mov rbx, qword [rsp + 0x70]
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], r14
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
lea r9, [rbp - 0x58]
lea r8, [0x14024e110]
lea rdx, [rbp + 0x80]
call qword [rax + 0x40]
test eax, eax
jns 0x14008f65d
lea rcx, str.Cannot_create_command_queue_n
call fcn.14002dab0
jmp 0x14008f9b3
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x60], rax
cmp rbx, qword [rsp + 0x78]
je 0x14008f68a
lea rcx, [0x140250d48]
mov qword [rbx], rcx
mov qword [rbx + 8], rax
mov qword [rbx + 0x38], rbx
add rbx, 0x40
mov qword [rsp + 0x70], rbx
jmp 0x14008f6a1
lea r8, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14008e1f0
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
lea r9, [rbp - 0x70]
lea r8, [0x14024e120]
xor edx, edx
call qword [rax + 0x48]
test eax, eax
jns 0x14008f6cd
lea rcx, str.Cannot_create_command_allocator_n
call fcn.14002dab0
jmp 0x14008f9b3
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x60], rax
cmp rbx, qword [rsp + 0x78]
je 0x14008f6fa
lea rcx, [0x140250d78]
mov qword [rbx], rcx
mov qword [rbx + 8], rax
mov qword [rbx + 0x38], rbx
add rbx, 0x40
mov qword [rsp + 0x70], rbx
jmp 0x14008f711
lea r8, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14008e320
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x30], rdx
lea rdx, [0x14024e130]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r14
mov r9, qword [rbp - 0x70]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x60]
test eax, eax
jns 0x14008f753
lea rcx, str.Cannot_create_command_list_n
call fcn.14002dab0
jmp 0x14008f9b3
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x60], rax
cmp rbx, qword [rsp + 0x78]
je 0x14008f780
lea rcx, [0x140250da8]
mov qword [rbx], rcx
mov qword [rbx + 8], rax
mov qword [rbx + 0x38], rbx
add rbx, 0x40
mov qword [rsp + 0x70], rbx
jmp 0x14008f797
lea r8, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14008e450
mov rbx, qword [rsp + 0x70]
mov dword [rbp + 0x10], Ordinal_101
mov dword [rbp + 0x14], Ordinal_101
mov dword [rbp + 0x18], 0x3c
mov dword [rbp + 0x1c], 1
mov qword [rbp + 0x20], 0x1c
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x30], xmm0
movsd xmm1, qword [rbp + 0x20]
movsd qword [rbp + 0x40], xmm1
mov dword [rbp + 0x48], r14d
mov qword [rbp + 0x4c], 1
mov dword [rbp + 0x54], 0x20
mov dword [rbp + 0x58], 2
mov qword [rbp + 0x60], r13
mov dword [rbp + 0x68], 1
mov dword [rbp + 0x6c], 4
mov dword [rbp + 0x70], 2
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
lea r9, [rbp - 0x68]
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x58]
call qword [rax + 0x50]
test eax, eax
js 0x14008f9b3
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x60], rax
cmp rbx, qword [rsp + 0x78]
je 0x14008f84b
lea rcx, [0x140250dd8]
mov qword [rbx], rcx
mov qword [rbx + 8], rax
mov qword [rbx + 0x38], rbx
add rbx, 0x40
mov qword [rsp + 0x70], rbx
jmp 0x14008f862
lea r8, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14008e580
mov rbx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r12d, eax
mov qword [0x14025e500], r14
xor edx, edx
lea ecx, [rdx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r14, rax
lea rsi, [0x14025e100]
cmp rax, 0xffffffffffffffff
je 0x14008f921
mov dword [rbp + 0x10], 0x1c
lea rdx, [rbp + 0x10]
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x14008f918
cmp dword [rbp + 0x10], 0x10
jb 0x14008f901
mov r8d, dword [rbp + 0x18]
cmp r8d, r12d
je 0x14008f901
cmp dword [rbp + 0x1c], r15d
jne 0x14008f901
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
mov rdx, qword [0x14025e500]
mov ecx, dword [rbp + 0x18]
mov dword [rsi + rdx*4], ecx
inc rdx
mov qword [0x14025e500], rdx
test rax, rax
je 0x14008f901
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x10], 0x1c
lea rdx, [rbp + 0x10]
mov rcx, r14
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x14008f8b0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x68]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x40]
lea r8, [0x140260f40]
lea rdx, [0x14008ead0]
mov rcx, rdi
call fcn.140060560
test eax, eax
jne 0x14008f9a4
mov rcx, rdi
call fcn.1400607f0
test eax, eax
jne 0x14008f9a4
xor r14d, r14d
cmp qword [0x14025e500], r14
jbe 0x14008f99b
nop
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x14008f988
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r14d
add rsi, 4
movsxd rax, r14d
cmp rax, qword [0x14025e500]
jb 0x14008f960
lea rcx, str.Created_DX12_hook_n
jmp 0x14008f9ab
lea rcx, str.Failed_hooking_IDXGISwapChain_Present_for_DX12_n
call fcn.14002dab0
xor r14d, r14d
mov rsi, qword [rsp + 0x68]
mov rdi, rsi
cmp rsi, rbx
je 0x14008f9dc
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14008fa8f
mov rax, qword [rcx]
call qword [rax + 0x10]
add rdi, 0x40
cmp rdi, rbx
jne 0x14008f9c0
mov rcx, r13
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassA]
nop
test rsi, rsi
je 0x14008fa5f
mov rdi, rsi
cmp rsi, rbx
je 0x14008fa23
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14008fa1a
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r14
add rdi, 0x40
cmp rdi, rbx
jne 0x14008fa01
mov rdx, qword [rsp + 0x78]
sub rdx, rsi
and rdx, 0xffffffffffffffc0
mov rax, rsi
cmp rdx, 0x1000
jb 0x14008fa57
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008fa57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14008ff00
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14008fda0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
nop
int3