Function at 0x1400cfac4
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, [0x14015ce88]
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 0x1400cfb4b
lea edx, [r13 + 0x10]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.DLL_SendMessageW]
mov r12d, 1
test rbx, rbx
je 0x1400cfc7a
cmp word [rbx], r13w
je 0x1400cfc7a
lea rdx, [0x1401743d8]
mov rcx, rbx
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400cfc7a
lea edx, [r12 + 0x5b]
mov rcx, rbx
call sub.msvcrt.dll_wcschr
test rax, rax
jne 0x1400cfbd1
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 0x1400cfbc8
lea r8, [rbp - 0x40]
mov rdx, rax
mov rcx, r14
call fcn.1400cf8f8
movzx eax, word [rbp - 0x40]
jmp 0x1400cfc82
mov rcx, rbx
call sub.msvcrt.dll_wcslen
mov ecx, 0x5c
cmp word [rbx + rax*2 - 2], cx
lea rcx, [rbp - 0x40]
jne 0x1400cfc07
mov rdx, rbx
call sub.msvcrt.dll_wcscpy
movzx eax, word [rbp - 0x40]
cmp ax, 0x61
movzx eax, ax
jb 0x1400cfc01
sub eax, 0x20
mov word [rbp - 0x40], ax
jmp 0x1400cfc85
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 0x1400cfbc8
mov eax, 0x5c
movsxd rcx, esi
cmp word [rbx + rcx*2], ax
je 0x1400cfc38
sub esi, r12d
jns 0x1400cfc28
jmp 0x1400cfbc8
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 0x1400cfc5d
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 0x1400cfbc8
movzx eax, r13w
mov word [rbp - 0x40], ax
mov esi, r12d
mov ecx, 0x41
test ax, ax
je 0x1400cfcf2
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 0x1400cfcf2
movsxd rcx, eax
lea rdx, [rbp - 0x40]
lea rdx, [rdx + rcx*2]
mov ecx, 0x5c
cmp word [rdx], cx
jne 0x1400cfce9
mov word [rdx], r13w
sub rdx, 2
sub eax, r12d
jns 0x1400cfce0
test esi, esi
je 0x1400cfeea
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, [0x1408c1830]
movdqa xmm0, xmmword [0x140174720]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x58], rax
mov eax, dword [0x1408c1a3c]
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, [0x1401743a0]
lea rcx, [rbp + 0x3e0]
mov r12d, eax
call sub.msvcrt.dll_wcscpy
mov ebx, r13d
mov rsi, r13
mov r14d, 0x41
bt r12d, ebx
jae 0x1400cfe61
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 0x1400cfdb8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [0x140841110], r13d
mov r14, qword [rbp + 0x8e0]
je 0x1400cfeca
test dword [r14 + 0xc], 0x200
jne 0x1400cfeca
mov rcx, qword [rdi]
lea rax, [0x1408c1420]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov eax, dword [0x1408c1a38]
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 0x1400d0097
mov rcx, qword [rdi]
mov dword [rbp - 0x80], 0x14
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 0x1400d0097
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 0x1400cff67
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 0x1400cff2d
test rbx, rbx
je 0x1400d0097
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], 0x15
mov dword [rbp - 0x60], 0x104
lea rsi, [rbp - 0x40]
cmp word [rbp - 0x40], r13w
je 0x1400d006c
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 0x1400d0097
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 0x1400d001f
mov rdx, qword [rbp - 0x68]
lea rax, [rbp + 0x1d0]
cmp rdx, rax
je 0x1400d000c
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 0x1400d003b
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 0x1400cffc8
test rbx, rbx
je 0x1400d0097
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 0x1400cffa5
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.1400d035c
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