Function at 0x1400cf060
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push rbp
push rsi
lea rbp, [rsp - 0x918]
sub rsp, 0xa18
mov rax, qword [0x14012e040]
xor rax, rsp
mov qword [rbp + 0x900], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Waiting_for_CS:2...
call fcn.1400166e0
lea rdx, [0x140016b90]
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]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400cf0d2
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_take_a_snapshot_of_the_processes._n
call fcn.1400166e0
jmp 0x1400cf6a2
lea rdx, [rbp + 0x7d0]
mov dword [rbp + 0x7d0], 0x130
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1400cf111
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_gather_information_on_the_first_process._n
call fcn.1400166e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400cf6a2
mov qword [rsp + 0xa30], rbx
mov qword [rsp + 0xa40], r14
mov edx, dword [rbp + 0x7d8]
mov ecx, 0x18
mov dword [0x140132b40], edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400cf1a4
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x434
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1400cf19b
nop dword [rax]
lea rdx, str.client.dll
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x1400cf258
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400cf170
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov edx, dword [0x140132b40]
mov ecx, 0x18
mov qword [0x140132b48], rax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400cf223
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x434
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1400cf21a
lea rdx, str.matchmaking.dll
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x1400cf268
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400cf1f3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp qword [0x140132b48], 0
mov qword [0x140132b58], rax
je 0x1400cf23b
test rax, rax
jne 0x1400cf275
lea rdx, [rbp + 0x7d0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400cf121
jmp 0x1400cf2f8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x68]
jmp 0x1400cf1a6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x68]
jmp 0x1400cf225
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.CS:2_Found_
call fcn.1400166e0
lea rdx, [0x140016b90]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.Process_ID:
call fcn.140016bd0
mov edx, dword [0x140132b40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1401082e0]
call fcn.140016bd0
lea rdx, [0x140010c60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [0x140132b48]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x1401082dc]
call fcn.140016bd0
cmp qword [0x140132b48], 0
movabs r14, 0x7fffffffffffffff
mov qword [rsp + 0xa38], rdi
mov qword [rsp + 0xa10], r15
jne 0x1400cf5aa
movabs r15, 0x7ffffffff1194d7e
nop word [rax + rax]
cmp qword [0x140132b58], 0
jne 0x1400cf5aa
lea rcx, [rsp + 0x48]
call fcn.140011640
mov rax, qword [rsp + 0x48]
cmp rax, r15
jg 0x1400cf35f
add rax, 0xee6b280
mov qword [rsp + 0x40], rax
jmp 0x1400cf364
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x40]
call fcn.140018df0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400cf653
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400cf63b
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [rsp + 0x58]
mov ecx, 0x18
mov dword [0x140132b40], edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400cf439
xor edx, edx
lea rcx, [rbp + 0x394]
mov r8d, 0x434
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x390]
mov dword [rbp + 0x390], 0x438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1400cf430
lea rdx, str.client.dll
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x1400cf4f8
lea rdx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400cf400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov edx, dword [0x140132b40]
mov ecx, 0x18
mov qword [0x140132b48], rax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400cf4c5
xor edx, edx
lea rcx, [rbp + 0x394]
mov r8d, 0x434
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x390]
mov dword [rbp + 0x390], 0x438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1400cf4bc
nop
lea rdx, str.matchmaking.dll
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x1400cf50a
lea rdx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400cf490
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp qword [0x140132b48], 0
mov qword [0x140132b58], rax
je 0x1400cf4dd
test rax, rax
jne 0x1400cf519
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400cf3b0
jmp 0x1400cf59c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x3a8]
jmp 0x1400cf43b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x3a8]
jmp 0x1400cf4c7
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.CS:2_Found_
call fcn.1400166e0
lea rdx, [0x140016b90]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.Process_ID:
call fcn.140016bd0
mov edx, dword [0x140132b40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1401082e0]
call fcn.140016bd0
lea rdx, [0x140010c60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [0x140132b48]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x1401082dc]
call fcn.140016bd0
cmp qword [0x140132b48], 0
je 0x1400cf330
mov qword [rsp + 0x30], 0
lea rcx, str..VCKD
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x140132b50], rax
cmp rax, 0xffffffffffffffff
jne 0x1400cf679
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Failed_to_create_handle_to_VisionCloudKernelDriver_n
call fcn.1400166e0
movabs rbx, 0x7ffffffffa0a1efe
nop dword [rax]
lea rcx, [rsp + 0x48]
call fcn.140011640
mov rax, qword [rsp + 0x48]
cmp rax, rbx
jg 0x1400cf668
add rax, 0x5f5e100
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.140018df0
jmp 0x1400cf610
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_gather_information_on_the_first_process._n
call fcn.1400166e0
mov rcx, rdi
jmp 0x1400cf67c
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_take_a_snapshot_of_the_processes._n
call fcn.1400166e0
jmp 0x1400cf682
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], r14
call fcn.140018df0
jmp 0x1400cf610
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0xa38]
mov r15, qword [rsp + 0xa10]
mov rbx, qword [rsp + 0xa30]
mov r14, qword [rsp + 0xa40]
mov rcx, qword [rbp + 0x900]
xor rcx, rsp
call fcn.1400c8700
add rsp, 0xa18
pop rsi
pop rbp
ret