Function at 0x1400a7420
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, [0x140148d14]
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 0x1400a74a7
lea edx, [r13 + 0x10]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12d, 1
test rbx, rbx
je 0x1400a75d6
cmp word [rbx], r13w
je 0x1400a75d6
lea rdx, [0x140160230]
mov rcx, rbx
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400a75d6
lea edx, [r12 + 0x5b]
mov rcx, rbx
call sub.msvcrt.dll_wcschr
test rax, rax
jne 0x1400a752d
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 0x1400a7524
lea r8, [rbp - 0x40]
mov rdx, rax
mov rcx, r14
call fcn.1400a7254
movzx eax, word [rbp - 0x40]
jmp 0x1400a75de
mov rcx, rbx
call sub.msvcrt.dll_wcslen
mov ecx, 0x5c
cmp word [rbx + rax*2 - 2], cx
lea rcx, [rbp - 0x40]
jne 0x1400a7563
mov rdx, rbx
call sub.msvcrt.dll_wcscpy
movzx eax, word [rbp - 0x40]
cmp ax, 0x61
movzx eax, ax
jb 0x1400a755d
sub eax, 0x20
mov word [rbp - 0x40], ax
jmp 0x1400a75e1
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 0x1400a7524
mov eax, 0x5c
movsxd rcx, esi
cmp word [rbx + rcx*2], ax
je 0x1400a7594
sub esi, r12d
jns 0x1400a7584
jmp 0x1400a7524
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 0x1400a75b9
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 0x1400a7524
movzx eax, r13w
mov word [rbp - 0x40], ax
mov esi, r12d
mov ecx, 0x41
test ax, ax
je 0x1400a764e
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 0x1400a764e
movsxd rcx, eax
lea rdx, [rbp - 0x40]
lea rdx, [rdx + rcx*2]
mov ecx, 0x5c
cmp word [rdx], cx
jne 0x1400a7645
mov word [rdx], r13w
sub rdx, 2
sub eax, r12d
jns 0x1400a763c
test esi, esi
je 0x1400a7846
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, [0x14064cfd0]
movdqa xmm0, xmmword [0x140160590]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x58], rax
mov eax, dword [0x14064d1dc]
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, [0x1401601f8]
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 0x1400a77bd
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 0x1400a7714
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [0x1405ccbb0], r13d
mov r14, qword [rbp + 0x8e0]
je 0x1400a7826
test dword [r14 + 0xc], 0x200
jne 0x1400a7826
mov rcx, qword [rdi]
lea rax, [0x14064cbc0]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov eax, dword [0x14064d1d8]
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 0x1400a79f3
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 0x1400a79f3
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 0x1400a78c3
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 0x1400a7889
test rbx, rbx
je 0x1400a79f3
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 0x1400a79c8
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 0x1400a79f3
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 0x1400a797b
mov rdx, qword [rbp - 0x68]
lea rax, [rbp + 0x1d0]
cmp rdx, rax
je 0x1400a7968
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 0x1400a7997
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 0x1400a7924
test rbx, rbx
je 0x1400a79f3
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 0x1400a7901
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.1400a7cb8
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