Function at 0x1400c2dc8
Capabilities:
Get disk information
Get file system object information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x8d8]
sub rsp, 0x9b0
mov r14, qword [rcx + 0x20]
xor r13d, r13d
mov rdi, rcx
lea rbx, [0x14019c58c]
or r15d, 0xffffffff
test rdx, rdx
cmovne rbx, rdx
lea r8d, [r13 + 0x50]
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rbp + 0x8e0], r14
mov esi, r13d
call sub.msvcrt.dll_memset
lea r8d, [r13 + 0x38]
lea rcx, [rbp - 0x80]
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, qword [r14 + 0x220]
test rcx, rcx
je 0x1400c2e4f
lea edx, [r13 + 0x10]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12d, 1
test rbx, rbx
je 0x1400c2f7e
cmp word [rbx], r13w
je 0x1400c2f7e
lea rdx, [0x1401b3b00]
mov rcx, rbx
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400c2f7e
lea edx, [r12 + 0x5b]
mov rcx, rbx
call sub.msvcrt.dll_wcschr
test rax, rax
jne 0x1400c2ed5
lea rcx, [r14 + 0x10]
mov rdx, rbx
call sub.msvcrt.dll_wcscpy
mov rcx, qword [rdi]
lea r8d, [r12 + 8]
xor r9d, r9d
mov edx, 0x110a
mov word [rbp - 0x40], r13w
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400c2ecc
lea r8, [rbp - 0x40]
mov rdx, rax
mov rcx, r14
call fcn.1400c2bfc
movzx eax, word [rbp - 0x40]
jmp 0x1400c2f86
mov rcx, rbx
call sub.msvcrt.dll_wcslen
mov ecx, 0x5c
cmp word [rbx + rax*2 - 2], cx
lea rcx, [rbp - 0x40]
jne 0x1400c2f0b
mov rdx, rbx
call sub.msvcrt.dll_wcscpy
movzx eax, word [rbp - 0x40]
cmp ax, 0x61
movzx eax, ax
jb 0x1400c2f05
sub eax, 0x20
mov word [rbp - 0x40], ax
jmp 0x1400c2f89
xor edx, edx
mov r8d, 0x104
call sub.msvcrt.dll_memset
mov rcx, rbx
call sub.msvcrt.dll_wcslen
mov rsi, rax
test eax, eax
js 0x1400c2ecc
mov eax, 0x5c
movsxd rcx, esi
cmp word [rbx + rcx*2], ax
je 0x1400c2f3c
sub esi, r12d
jns 0x1400c2f2c
jmp 0x1400c2ecc
lea eax, [rsi + 1]
lea rcx, [rbp - 0x40]
mov rdx, rbx
movsxd r8, eax
add r8, r8
call sub.msvcrt.dll_memcpy
movzx eax, word [rbp - 0x40]
cmp ax, 0x61
movzx eax, ax
jb 0x1400c2f61
sub eax, 0x20
mov word [rbp - 0x40], ax
movsxd rax, esi
lea rdx, [rbx + 2]
lea rdx, [rdx + rax*2]
lea rcx, [r14 + 0x10]
call sub.msvcrt.dll_wcscpy
jmp 0x1400c2ecc
movzx eax, r13w
mov word [rbp - 0x40], ax
mov esi, r12d
mov ecx, IsNetDrive
test ax, ax
je 0x1400c2ff6
movzx r15d, ax
sub r15d, ecx
lea rcx, [rbp - 0x3a]
call sub.msvcrt.dll_wcslen
lea rdx, [rbp - 0x3a]
lea rcx, [rbp - 0x40]
lea r8, [rax*2 + 2]
call sub.msvcrt.dll_memmove
lea rcx, [rbp - 0x40]
call sub.msvcrt.dll_wcslen
lea rcx, [rbp - 0x40]
mov word [rbp + rax*2 - 0x3e], r13w
call sub.msvcrt.dll_wcslen
test eax, eax
js 0x1400c2ff6
movsxd rcx, eax
lea rdx, [rbp - 0x40]
lea rdx, [rdx + rcx*2]
mov ecx, 0x5c
cmp word [rdx], cx
jne 0x1400c2fed
mov word [rdx], r13w
sub rdx, 2
sub eax, r12d
jns 0x1400c2fe4
test esi, esi
je 0x1400c31ee
mov rcx, qword [rdi]
mov r9, 0xffffffffffff0000
xor r8d, r8d
mov edx, 0x1101
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi]
lea rax, [0x1409084f0]
movdqa xmm0, xmmword [0x1401b3e60]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x58], rax
mov eax, dword [0x1409086fc]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x1132
mov dword [rsp + 0x40], 0x67
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], r12d
mov qword [rsp + 0x70], 0xfffb
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, r12d
mov qword [r14 + 0x218], rax
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0xffffffffffff0002
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea rdx, [0x1401b3ac8]
lea rcx, [rbp + 0x3e0]
mov r12d, eax
call sub.msvcrt.dll_wcscpy
mov ebx, r13d
mov rsi, r13
mov r14d, IsNetDrive
bt r12d, ebx
jae 0x1400c3165
lea eax, [r14 + rbx]
lea r8, [rbp + 0x5f0]
lea rcx, [rbp + 0x3e0]
mov r9d, 0x2b8
xor edx, edx
mov word [rbp + 0x1d0], r13w
mov word [rbp + 0x3e0], ax
mov qword [rsp + 0x70], rsi
mov word [rbp + 0x808], r13w
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rbp + 0x5f8]
lea r8, [rbp + 0x5f0]
lea rcx, [rbp + 0x3e0]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea rdx, [rbp + 0x600]
lea rcx, [rbp + 0x1d0]
call sub.msvcrt.dll_wcscpy
mov rcx, qword [rdi]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x1132
call qword [sym.imp.USER32.dll_SendMessageW]
inc ebx
inc rsi
cmp ebx, 0x1f
jle 0x1400c30bc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [0x1408863a0], r13d
mov r14, qword [rbp + 0x8e0]
je 0x1400c31ce
test dword [r14 + 0xc], 0x200
jne 0x1400c31ce
mov rcx, qword [rdi]
lea rax, [0x1409080e0]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov eax, dword [0x1409086f8]
xor r8d, r8d
mov edx, 0x1132
mov qword [rsp + 0x70], 0xfd
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [r14 + 0x218]
mov rcx, qword [rdi]
mov eax, 0x1102
mov r8d, eax
mov edx, eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12d, 1
cmp r15d, 0xffffffff
je 0x1400c339b
mov rcx, qword [rdi]
mov dword [rbp - 0x80], SafeArrayPutElement
mov r9, qword [r14 + 0x218]
mov r14d, 0x110a
mov r8d, 4
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test rax, rax
je 0x1400c339b
movsxd rsi, r15d
lea r15d, [r14 + 0x34]
mov rcx, qword [rdi]
lea r9, [rbp - 0x80]
xor r8d, r8d
mov edx, r15d
mov qword [rbp - 0x78], rbx
call qword [sym.imp.USER32.dll_SendMessageW]
movzx eax, byte [rbp - 0x50]
cmp rax, rsi
je 0x1400c326b
mov rcx, qword [rdi]
mov r9, rbx
mov r8, r12
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test rax, rax
jne 0x1400c3231
test rbx, rbx
je 0x1400c339b
mov rcx, qword [rdi]
mov r14d, 0x1102
mov r9, rbx
mov r8d, r14d
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp - 0x80], SafeArrayPutElement
mov dword [rbp - 0x60], 0x104
lea rsi, [rbp - 0x40]
cmp word [rbp - 0x40], r13w
je 0x1400c3370
mov rcx, qword [rdi]
mov r9, rbx
mov edx, 0x110a
mov r8d, 4
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test rax, rax
je 0x1400c339b
mov rcx, qword [rdi]
lea rax, [rbp + 0x1d0]
lea r9, [rbp - 0x80]
xor r8d, r8d
mov edx, r15d
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x78], rbx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [rbp - 0x50], 0xfc
jne 0x1400c3323
mov rdx, qword [rbp - 0x68]
lea rax, [rbp + 0x1d0]
cmp rdx, rax
je 0x1400c3310
lea rcx, [rbp + 0x1d0]
call sub.msvcrt.dll_wcscpy
lea rdx, [rbp + 0x1d0]
mov rcx, rsi
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x1400c333f
mov rcx, qword [rdi]
mov r9, rbx
mov r8, r12
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test rax, rax
jne 0x1400c32cc
test rbx, rbx
je 0x1400c339b
mov rcx, qword [rdi]
mov r9, rbx
mov r8, r14
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
call sub.msvcrt.dll_wcslen
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r13w
jne 0x1400c32a9
mov rcx, qword [rdi]
mov r9, rbx
xor r8d, r8d
mov edx, 0x1114
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi]
mov r9, rbx
mov edx, 0x110b
mov r8d, 9
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, rdi
call fcn.1400c3660
lea r11, [rsp + 0x9b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret