Function at 0x1400cf010
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push rbp
push rsi
lea rbp, [rsp - 0x918]
sub rsp, 0xa18
mov rax, qword [0x14012c040]
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.1400166a0
lea rdx, [0x140016b50]
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 0x1400cf082
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.1400166a0
jmp 0x1400cf652
lea rdx, [rbp + 0x7d0]
mov dword [rbp + 0x7d0], 0x130
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1400cf0c1
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.1400166a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400cf652
mov qword [rsp + 0xa30], rbx
mov qword [rsp + 0xa40], r14
mov edx, dword [rbp + 0x7d8]
mov ecx, 0x18
mov dword [0x140130b40], edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400cf154
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 0x1400cf14b
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 0x1400cf208
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400cf120
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov edx, dword [0x140130b40]
mov ecx, 0x18
mov qword [0x140130b48], rax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400cf1d3
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 0x1400cf1ca
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 0x1400cf218
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400cf1a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp qword [0x140130b48], 0
mov qword [0x140130b58], rax
je 0x1400cf1eb
test rax, rax
jne 0x1400cf225
lea rdx, [rbp + 0x7d0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400cf0d1
jmp 0x1400cf2a8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x68]
jmp 0x1400cf156
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x68]
jmp 0x1400cf1d5
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.1400166a0
lea rdx, [0x140016b50]
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.140016b90
mov edx, dword [0x140130b40]
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, [0x1401072e0]
call fcn.140016b90
lea rdx, [0x140010c20]
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 [0x140130b48]
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, [0x1401072dc]
call fcn.140016b90
cmp qword [0x140130b48], 0
movabs r14, 0x7fffffffffffffff
mov qword [rsp + 0xa38], rdi
mov qword [rsp + 0xa10], r15
jne 0x1400cf55a
movabs r15, 0x7ffffffff1194d7e
nop word [rax + rax]
cmp qword [0x140130b58], 0
jne 0x1400cf55a
lea rcx, [rsp + 0x48]
call fcn.140011600
mov rax, qword [rsp + 0x48]
cmp rax, r15
jg 0x1400cf30f
add rax, 0xee6b280
mov qword [rsp + 0x40], rax
jmp 0x1400cf314
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x40]
call fcn.140018db0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400cf603
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400cf5eb
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [rsp + 0x58]
mov ecx, 0x18
mov dword [0x140130b40], edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400cf3e9
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 0x1400cf3e0
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 0x1400cf4a8
lea rdx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400cf3b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov edx, dword [0x140130b40]
mov ecx, 0x18
mov qword [0x140130b48], rax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400cf475
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 0x1400cf46c
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 0x1400cf4ba
lea rdx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400cf440
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp qword [0x140130b48], 0
mov qword [0x140130b58], rax
je 0x1400cf48d
test rax, rax
jne 0x1400cf4c9
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400cf360
jmp 0x1400cf54c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x3a8]
jmp 0x1400cf3eb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x3a8]
jmp 0x1400cf477
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.1400166a0
lea rdx, [0x140016b50]
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.140016b90
mov edx, dword [0x140130b40]
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, [0x1401072e0]
call fcn.140016b90
lea rdx, [0x140010c20]
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 [0x140130b48]
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, [0x1401072dc]
call fcn.140016b90
cmp qword [0x140130b48], 0
je 0x1400cf2e0
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 [0x140130b50], rax
cmp rax, 0xffffffffffffffff
jne 0x1400cf629
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.1400166a0
movabs rbx, 0x7ffffffffa0a1efe
nop dword [rax]
lea rcx, [rsp + 0x48]
call fcn.140011600
mov rax, qword [rsp + 0x48]
cmp rax, rbx
jg 0x1400cf618
add rax, 0x5f5e100
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.140018db0
jmp 0x1400cf5c0
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.1400166a0
mov rcx, rdi
jmp 0x1400cf62c
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.1400166a0
jmp 0x1400cf632
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], r14
call fcn.140018db0
jmp 0x1400cf5c0
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.1400c86b0
add rsp, 0xa18
pop rsi
pop rbp
ret