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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd48]
sub rsp, 0xe10
mov qword [rbp + 0x90], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xd00], rax
mov r12, r9
mov r13, r8
mov rbx, rdx
mov r14, qword [rbp + 0xd70]
lea rdi, [0x140023f10]
mov qword [rsp + 0x50], rdi
lea rax, [0x140024b30]
mov qword [rsp + 0x58], rax
lea rax, [0x140023ef0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x3f4
mov esi, 1
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x70], 0xff
xor r15d, r15d
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x77]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140052e50
nop
mov dword [rsp + 0x44], r15d
mov word [rbp + 0x2b0], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x2b2]
call sub.msvcrt.dll_memset
mov qword [rbp + 8], r15
lea rax, [0x140001d20]
mov qword [rbp], rax
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0x2b0]
call fcn.14007edcc
mov dword [rbp + 0x28], eax
mov qword [rsp + 0x50], rdi
lea rax, [0x140024b30]
mov qword [rsp + 0x58], rax
lea rax, [0x140023ef0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x3ff
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x77]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r8, [0x140024bc0]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140073c8c
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r15w
jne 0x1400c40dd
cmp word [rbx + rax*2 - 2], 0x5c
je 0x1400c4169
lea r8, [0x14000ca50]
mov edx, 0x104
lea rcx, [rbp + 0x2b0]
call fcn.14007ece8
mov dword [rbp + 0x28], eax
mov qword [rsp + 0x50], rdi
lea rbx, [0x140024b30]
mov qword [rsp + 0x58], rbx
lea rax, [0x140023ef0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x406
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r8, [0x140024c10]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140073c8c
jmp 0x1400c4170
lea rbx, [0x140024b30]
lea r9, [rsp + 0x44]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNamesForVolumeNameW]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
cmp eax, 0xea
je 0x1400c4211
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
lea rax, [0x140023ef0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x40e
mov edi, 6
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x72]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400c41ec
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x2b0]
lea r8, [0x140024c60]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.1400510b0
jmp 0x1400c476b
mov ebx, dword [rsp + 0x44]
lea rcx, [rbp]
call fcn.140073d14
lea rdx, [rbx*2 + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
mov qword [rbp + 8], rax
test rax, rax
jne 0x1400c4254
mov dword [rsp + 0x40], 0x8007000e
lea rdx, [0x140153178]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll__CxxThrowException
int3
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x44]
mov rdx, rax
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNamesForVolumeNameW]
mov edi, 6
mov ebx, 0x80070000
test eax, eax
jne 0x1400c430c
lea rsi, [0x140023f10]
mov qword [rsp + 0x50], rsi
lea rax, [0x140024b30]
mov qword [rsp + 0x58], rax
lea rax, [0x140023ef0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x41b
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x72]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400c42de
movzx eax, ax
or eax, ebx
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x2b0]
lea r8, [0x140024c60]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.1400510b0
lea rcx, [rbp]
call fcn.140073d14
mov qword [r14], r15
jmp 0x1400c431a
mov qword [rbp + 8], r15
mov qword [r14], rsi
lea rsi, [0x140023f10]
mov dword [rsp + 0x48], r15d
mov dword [rbp - 8], r15d
mov word [rbp + 0x4c0], r15w
mov r14d, 0x206
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0x4c2]
call sub.msvcrt.dll_memset
mov word [rbp + 0x6d0], r15w
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0x6d2]
call sub.msvcrt.dll_memset
mov word [rbp + 0x8e0], r15w
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0x8e2]
call sub.msvcrt.dll_memset
mov word [rbp + 0xaf0], r15w
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0xaf2]
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0xaf0]
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1400c4427
mov qword [rsp + 0x50], rsi
lea rax, [0x140024b30]
mov qword [rsp + 0x58], rax
lea rax, [0x140023ef0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x431
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400c4402
movzx eax, ax
or eax, ebx
lea rcx, [rbp + 0x2b0]
mov qword [rsp + 0x20], rcx
lea r9, [0x140024cd0]
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.1401027cc
int3
mov qword [rbp + 0x18], r15
lea rax, [0x14000d150]
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x10]
call fcn.1400c3f28
mov qword [rsp + 0x30], r15
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
lea r8, [rbp + 0x18]
mov edx, 0x1f6
xor ecx, ecx
call qword [sym.imp.srvcli.dll_NetShareEnum]
mov esi, eax
xor edx, edx
test eax, eax
je 0x1400c44de
lea rax, [0x140023f10]
mov qword [rsp + 0x50], rax
lea rax, [0x140024b30]
mov qword [rsp + 0x58], rax
lea rax, [0x140023ef0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x442
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
mov r9d, esi
lea r8, [0x140024d20]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.1400510b0
jmp 0x1400c4755
mov r15, qword [rbp + 0x18]
mov r14d, edx
cmp dword [rsp + 0x48], edx
jbe 0x1400c4752
mov eax, r14d
lea rcx, [rax + rax*8]
lea rsi, [r15 + rcx*8]
cmp dword [rsi + 8], edx
jne 0x1400c4712
mov r8d, 0x104
lea rdx, [rbp + 0x4c0]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNameW]
test eax, eax
jne 0x1400c45a2
lea rax, [0x140023f10]
mov qword [rsp + 0x50], rax
lea rax, [0x140024b30]
mov qword [rsp + 0x58], rax
lea rax, [0x140023ef0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x44d
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400c4580
movzx eax, ax
or eax, ebx
mov r9, qword [rsi + 0x28]
lea r8, [0x140024d60]
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.1400510b0
jmp 0x1400c4710
mov r8d, 0x104
lea rdx, [rbp + 0x6d0]
lea rcx, [rbp + 0x4c0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1400c4631
lea rax, [0x140023f10]
mov qword [rsp + 0x50], rax
lea rax, [0x140024b30]
mov qword [rsp + 0x58], rax
lea rax, [0x140023ef0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x459
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400c461e
movzx eax, ax
or eax, ebx
lea r9, [rbp + 0x4c0]
lea r8, [0x140024dc0]
jmp 0x1400c458b
mov r8d, 0x104
lea rdx, [rbp + 0x8e0]
lea rcx, [rbp + 0x6d0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1400c46c0
lea rax, [0x140023f10]
mov qword [rsp + 0x50], rax
lea rax, [0x140024b30]
mov qword [rsp + 0x58], rax
lea rax, [0x140023ef0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x45d
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400c46ad
movzx eax, ax
or eax, ebx
lea r9, [rbp + 0x6d0]
lea r8, [0x140024e30]
jmp 0x1400c458b
lea rdx, [rbp + 0xaf0]
lea rcx, [rbp + 0x8e0]
call qword [sym.imp.msvcrt.dll__wcsicmp]
xor edx, edx
test eax, eax
jne 0x1400c4712
mov qword [rbp + 0xa0], rsi
lea r8, [rbp + 0x4c0]
mov edx, 0x104
lea rcx, [rbp + 0xa8]
call fcn.14007edcc
test eax, eax
js 0x1400c473c
lea rdx, [rbp + 0xa0]
mov rcx, r13
call fcn.1400c1938
test eax, eax
je 0x1400c4722
xor edx, edx
inc r14d
cmp r14d, dword [rsp + 0x48]
jb 0x1400c44ef
jmp 0x1400c4752
mov dword [rsp + 0x40], 0x8007000e
lea rdx, [0x140153178]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll__CxxThrowException
int3
mov dword [rsp + 0x40], eax
lea rdx, [0x140153178]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll__CxxThrowException
int3
xor r15d, r15d
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x18], r15
mov qword [r12], rax
lea rcx, [rbp + 0x10]
call fcn.1400c1678
nop
lea rcx, [rbp]
call fcn.140070d4c
nop
lea rcx, [rbp + 0x20]
call fcn.140050f50
mov rcx, qword [rbp + 0xd00]
xor rcx, rsp
invalid
jrcxz 0x1400c471f