Function at 0x14001f800
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x528
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov rcx, qword [rsp + 0x530]
call fcn.140004a80
cmp eax, 2
jge 0x14001f845
xor eax, eax
jmp 0x14001fb2d
mov rcx, qword [rsp + 0x530]
call fcn.140004a80
cmp eax, 2
jne 0x14001f884
mov rcx, qword [rsp + 0x530]
call fcn.140048820
lea rdx, [0x14013bbdc]
mov rcx, qword [rsp + 0x530]
call fcn.140003ca0
mov eax, 1
jmp 0x14001fb2d
mov rcx, qword [rsp + 0x530]
call fcn.140004a80
cmp eax, 3
jne 0x14001f8ad
mov rcx, qword [rsp + 0x530]
call fcn.140048820
mov eax, 1
jmp 0x14001fb2d
mov rdx, qword [rsp + 0x530]
lea rcx, [rsp + 0x30]
call fcn.140004cb0
nop
mov r8d, 3
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x530]
call fcn.140048770
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140004640
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140011ed0
nop
lea rcx, [rsp + 0x60]
call fcn.140001910
lea rcx, [rsp + 0xa0]
call fcn.140045590
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
je 0x14001f938
cmp dword [rsp + 0x20], 1
jne 0x14001faf7
lea rax, [rsp + 0x300]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x38], 0x104
lea rcx, [rsp + 0xa0]
call fcn.140045590
lea r9, [rsp + 0x38]
mov r8, qword [rsp + 0x28]
mov edx, 2
mov rcx, rax
call sub.MPR.dll_WNetGetUniversalNameW
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14001f9d1
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
je 0x14001f9cc
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax]
call fcn.1400e9024
test rax, rax
jbe 0x14001f9cc
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xa0]
call fcn.140045590
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140003570
jmp 0x14001faf7
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x200
jae 0x14001f9ec
jmp 0x14001f9f1
call fcn.1400dc820
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rsp + rcx + 0x100], ax
mov dword [rsp + 0x3c], 0xff
mov r8d, 2
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xa0]
call fcn.140048670
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140045590
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x100]
mov rcx, rax
call sub.MPR.dll_WNetGetConnectionW
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0xc0]
call fcn.140006ee0
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x100]
cmp eax, 0x5c
jne 0x14001faf7
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0x100]
cmp eax, 0x5c
jne 0x14001faf7
mov r8d, 2
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xa0]
call fcn.140048670
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140045590
lea r8, [rsp + 0x100]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140003570
nop
lea rcx, [rsp + 0xe0]
call fcn.140006ee0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x530]
call fcn.140004b30
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0xa0]
call fcn.140006ee0
nop
lea rcx, [rsp + 0x30]
call fcn.140001910
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x528
ret