Function at 0x140001ac0
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov ebx, 0xa
nop word [rax + rax]
lea rcx, str.get_good__get_0x666.cc_n
call fcn.140001010
sub rbx, 1
jne 0x140001ae0
xorps xmm0, xmm0
mov qword [rsp + 0x50], rbx
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x50]
lea edx, [rbx + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140001b6c
lea r8, [rsp + 0x5c]
mov dword [rsp + 0x58], 1
lea rdx, str.SeDebugPrivilege
mov dword [rsp + 0x64], 2
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140001b61
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.wait_for_hg64..._n
call fcn.140001010
nop dword [rax + rax]
xor edx, edx
mov dword [rsp + 0x70], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x70]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140001be8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140001be8
nop dword [rax]
lea rdx, str.hg64.exe
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140001bfe
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140001bc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001b80
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x78], 0
je 0x140001bf1
xor edx, edx
mov dword [rsp + 0x70], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x70]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140001be8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140001be8
nop word [rax + rax]
lea rdx, str.HG64.exe
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140001c7d
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140001c50
jmp 0x140001be8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x78], 0
je 0x140001bf1
lea rcx, str.found_n
call fcn.140001010
xor edx, edx
mov dword [rsp + 0x70], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x70]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140001d0c
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140001d0c
nop word [rax + rax]
lea rdx, str.hg64.exe
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140001dbf
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140001ce0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov dword [rsp + 0x70], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x70]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140001d79
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140001d79
lea rdx, str.HG64.exe
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140001dd4
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140001d51
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140001ed0
lea rdx, [0x1400120a0]
mov rcx, rax
call fcn.140001070
mov rcx, rbx
test al, al
jne 0x140001de1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001ed6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x78]
test r8d, r8d
jne 0x140001d85
jmp 0x140001d15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x78]
jmp 0x140001d85
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.wait_for_game..._n
call fcn.140001010
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.Warface
lea rcx, str.CryENGINE
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x140001e44
nop word [rax + rax]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.Warface
lea rcx, str.CryENGINE
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x140001e20
lea rcx, str.found_n
call fcn.140001010
lea rdx, str.Warface
lea rcx, str.CryENGINE
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [rbp + 0x1d8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rbp + 0x1d8]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140001ed0
lea rdx, [0x1400050a0]
mov rcx, rax
call fcn.140001070
mov rcx, rbx
test al, al
je 0x140001db4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
xor eax, eax
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x2b0
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x2c0]
mov eax, 1
add rsp, 0x2b0
pop rbp
ret