Function at 0x140032940
Capabilities:
Enumerate network shares
Get disk information

Disassembly:
push r15
sub rsp, 0x3a0
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str._System_Scanner__Running_checks_to_detect_localhost_environments..._n
nop dword [rax + rax]
call fcn.1400322b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xor edx, edx
lea rax, [rsp + 0x48]
xor r15d, r15d
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov dword [rsp + 0x40], r15d
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.MPR.dll_WNetOpenEnumA]
test eax, eax
je 0x1400329dc
lea rcx, str.WNetOpenEnum
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x140032c66
mov qword [rsp + 0x3b0], rbx
mov qword [rsp + 0x3b8], rbp
mov qword [rsp + 0x3c0], rsi
mov qword [rsp + 0x398], rdi
mov qword [rsp + 0x390], r14
nop dword [rax]
nop dword [rax + rax]
mov ecx, 0x4000
mov dword [rsp + 0x50], 0x4000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140032c31
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x50]
mov r8, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.MPR.dll_WNetEnumResourceA]
test eax, eax
jne 0x140032c22
mov edx, dword ds:[rsp + 0x40]
mov edi, r15d
test edx, edx
je 0x140032afb
nop dword [rax + rax]
mov eax, edi
lea r14, [rax + rax*2]
add r14, r14
mov rax, qword [rbp + r14*8 + 0x18]
test rax, rax
je 0x140032af1
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x140032a90
inc rbx
lea rcx, [rbx + rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [rbp + r14*8 + 0x18]
mov r9d, 0xffffffff
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8d, 2
lea rdx, [0x140059d78]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
nop dword [rax]
test eax, eax
je 0x140032b16
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [rsp + 0x40]
inc edi
cmp edi, edx
jb 0x140032a70
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [rsp + 0x40], r15d
ja 0x140032a10
jmp 0x140032c08
mov rdx, qword [rbp + r14*8 + 0x18]
lea rcx, str.Found_network_share:__s._Check_if_there_are_cheats_on_this_drive._n
call fcn.140003c80
lea rcx, str.Drive_s_:
call fcn.1400322b0
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov r14d, eax
movzx ebx, r15w
movzx ecx, bx
bt r14d, ecx
jae 0x140032bd4
lea edi, [rcx + 0x41]
mov edx, 4
mov r9d, edi
lea r8, str._c:_
lea rcx, [rsp + 0x58]
call fcn.1400328e0
lea r8, [rsp + 0x54]
mov dword [rsp + 0x54], 0x104
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MPR.dll_WNetGetConnectionW]
test eax, eax
jne 0x140032bd4
mov qword ss:[rsp + 0x38], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r15
lea r8, [rsp + 0x170]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, edi
lea rcx, str._c:
call fcn.140003c80
inc bx
cmp bx, 0x1a
jb 0x140032b40
lea rcx, [0x140059270]
call fcn.1400322b0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MPR.dll_WNetCloseEnum]
test eax, eax
je 0x140032c3e
lea rcx, [0x140059da0]
nop
jmp 0x140032c38
lea rcx, str.WNetEnumResource
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x140032bff
lea rcx, [0x140059cd8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov rdi, qword [rsp + 0x398]
mov rsi, qword [rsp + 0x3c0]
mov rbp, qword [rsp + 0x3b8]
mov rbx, qword [rsp + 0x3b0]
mov r14, qword [rsp + 0x390]
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.1400493d0
add rsp, 0x3a0
pop r15
ret
jmp 0x140032940