Function at 0x140039568
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 rsi, qword [rcx + 0x20]
lea rbx, [0x1400afc20]
xor r13d, r13d
mov qword [rbp + 0x8e0], rsi
mov rdi, rcx
or r15d, 0xffffffff
test rdx, rdx
lea rcx, [rsp + 0x30]
mov r14d, r13d
cmovne rbx, rdx
lea r8d, [r13 + 0x50]
xor edx, edx
call fcn.14001eb70
xor edx, edx
lea r8d, [r13 + 0x38]
lea rcx, [rbp - 0x80]
call fcn.14001eb70
mov rcx, qword [rsi + 0x220]
test rcx, rcx
je 0x1400395ef
xor r9d, r9d
lea edx, [r13 + 0x10]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12d, 1
test rbx, rbx
je 0x140039710
cmp word [rbx], r13w
je 0x140039710
lea rdx, [0x1400ac428]
mov rcx, rbx
call fcn.14001b940
test eax, eax
je 0x140039710
lea edx, [r12 + 0x5b]
mov rcx, rbx
call fcn.14001fd18
test rax, rax
jne 0x140039675
lea rcx, [rsi + 0x10]
mov rdx, rbx
call fcn.140091cdc
mov rcx, qword [rdi]
lea r8d, [r12 + 8]
xor r9d, r9d
mov word [rbp - 0x40], r13w
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14003966c
lea r8, [rbp - 0x40]
mov rdx, rax
mov rcx, rsi
call fcn.14003939c
movzx eax, word [rbp - 0x40]
jmp 0x140039718
mov rcx, rbx
call fcn.140016160
mov ecx, 0x5c
cmp word [rbx + rax*2 - 2], cx
lea rcx, [rbp - 0x40]
jne 0x1400396a7
mov rdx, rbx
call fcn.140091cdc
movzx eax, word [rbp - 0x40]
cmp eax, 0x61
jb 0x1400396a1
sub eax, 0x20
mov word [rbp - 0x40], ax
jmp 0x14003971b
xor edx, edx
mov r8d, 0x104
call fcn.14001eb70
mov rcx, rbx
call fcn.140016160
test eax, eax
js 0x14003966c
mov ecx, 0x5c
mov r14d, eax
cmp word [rbx + r14*2], cx
je 0x1400396d6
sub eax, r12d
jns 0x1400396c5
jmp 0x14003966c
inc eax
lea rcx, [rbp - 0x40]
movsxd r8, eax
mov rdx, rbx
add r8, r8
call fcn.14001f620
movzx eax, word [rbp - 0x40]
cmp eax, 0x61
jb 0x1400396f6
sub eax, 0x20
lea rdx, [rbx + 2]
mov word [rbp - 0x40], ax
lea rdx, [rdx + r14*2]
lea rcx, [rsi + 0x10]
call fcn.140091cdc
jmp 0x14003966c
movzx eax, r13w
mov word [rbp - 0x40], ax
mov r14d, r12d
mov ecx, 0x41
test ax, ax
je 0x140039788
movzx r15d, ax
sub r15d, ecx
lea rcx, [rbp - 0x3a]
call fcn.140016160
lea rdx, [rbp - 0x3a]
lea rcx, [rbp - 0x40]
lea r8, [rax*2 + 2]
call fcn.14001f620
lea rcx, [rbp - 0x40]
call fcn.140016160
lea rcx, [rbp - 0x40]
mov word [rbp + rax*2 - 0x3e], r13w
call fcn.140016160
test eax, eax
js 0x140039788
movsxd rcx, eax
lea rdx, [rbp - 0x40]
lea rdx, [rdx + rcx*2]
mov ecx, 0x5c
cmp word [rdx], cx
jne 0x14003977f
mov word [rdx], r13w
sub rdx, 2
sub eax, r12d
jns 0x140039776
test r14d, r14d
je 0x140039982
mov rcx, qword [rdi]
mov r9, 0xffffffffffff0000
xor r8d, r8d
mov edx, 0x1101
call qword [sym.imp.USER32.dll_SendMessageW]
movdqa xmm0, xmmword [0x1400b5820]
lea rax, [0x140395e10]
mov rcx, qword [rdi]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov eax, dword [0x14039601c]
mov edx, 0x1132
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
movdqa xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x67
mov dword [rsp + 0x6c], r12d
mov qword [rsp + 0x70], 0xfffb
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsi + 0x218], rax
mov ecx, r12d
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, [0x1400b5458]
mov r12d, eax
lea rcx, [rbp + 0x3e0]
call fcn.140091cdc
mov ebx, r13d
mov r14, r13
mov esi, 0x41
bt r12d, ebx
jae 0x1400398f6
lea eax, [rsi + rbx]
mov word [rbp + 0x1d0], r13w
mov r9d, 0x2b8
mov word [rbp + 0x3e0], ax
lea r8, [rbp + 0x5f0]
mov qword [rsp + 0x70], r14
xor edx, edx
mov word [rbp + 0x808], r13w
lea rcx, [rbp + 0x3e0]
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rbp + 0x5f8]
lea r8, [rbp + 0x5f0]
mov r9d, 0x2b8
mov dword [rsp + 0x64], eax
xor edx, edx
mov dword [rsp + 0x68], eax
lea rcx, [rbp + 0x3e0]
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea rdx, [rbp + 0x600]
lea rcx, [rbp + 0x1d0]
call fcn.140091cdc
mov rcx, qword [rdi]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x1132
call qword [sym.imp.USER32.dll_SendMessageW]
inc ebx
inc r14
cmp ebx, 0x1f
jle 0x14003984e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [0x140391830], r13d
mov rsi, qword [rbp + 0x8e0]
je 0x14003995e
test dword [rsi + 0xc], 0x200
jne 0x14003995e
mov rcx, qword [rdi]
lea rax, [0x140395a00]
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0x30]
mov eax, dword [0x140396018]
xor r8d, r8d
mov edx, 0x1132
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], 0xfd
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rsi + 0x218]
mov r14d, 0x1102
mov rcx, qword [rdi]
mov r8d, r14d
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12d, 1
jmp 0x140039988
mov r14d, 0x1102
cmp r15d, 0xffffffff
je 0x140039b25
mov rcx, qword [rdi]
mov edx, 0x110a
mov dword [rbp - 0x80], 0x14
mov r8d, 4
mov r9, qword [rsi + 0x218]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test rax, rax
je 0x140039b25
movsxd rsi, r15d
mov r15d, 0x113e
mov rcx, qword [rdi]
lea r9, [rbp - 0x80]
xor r8d, r8d
mov qword [rbp - 0x78], rbx
mov edx, r15d
call qword [sym.imp.USER32.dll_SendMessageW]
movzx eax, byte [rbp - 0x50]
mov r9, rbx
mov rcx, qword [rdi]
cmp rax, rsi
je 0x140039a0a
mov r8, r12
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test rax, rax
jne 0x1400399c9
jmp 0x140039b25
mov r8, r14
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
lea rsi, [rbp - 0x40]
mov dword [rbp - 0x80], 0x15
mov dword [rbp - 0x60], 0x104
cmp word [rbp - 0x40], r13w
je 0x140039afa
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 0x140039b25
mov rcx, qword [rdi]
lea rax, [rbp + 0x1d0]
lea r9, [rbp - 0x80]
mov qword [rbp - 0x68], rax
xor r8d, r8d
mov qword [rbp - 0x78], rbx
mov edx, r15d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [rbp - 0x50], 0xfc
jne 0x140039aad
mov rdx, qword [rbp - 0x68]
lea rax, [rbp + 0x1d0]
cmp rdx, rax
je 0x140039a9a
lea rcx, [rbp + 0x1d0]
call fcn.140091cdc
lea rdx, [rbp + 0x1d0]
mov rcx, rsi
call fcn.14001b5dc
test eax, eax
je 0x140039ac9
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 0x140039a56
test rbx, rbx
je 0x140039b25
mov rcx, qword [rdi]
mov r9, rbx
mov r8, r14
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
call fcn.140016160
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r13w
jne 0x140039a33
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.140039de8
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