Function at 0x14002e460
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x528
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov rcx, qword [rsp + 0x530]
call fcn.140003fd0
cmp eax, 2
jge 0x14002e4a5
xor eax, eax
jmp 0x14002e78d
mov rcx, qword [rsp + 0x530]
call fcn.140003fd0
cmp eax, 2
jne 0x14002e4e4
mov rcx, qword [rsp + 0x530]
call fcn.1400583e0
lea rdx, [0x1402e200c]
mov rcx, qword [rsp + 0x530]
call fcn.140003af0
mov eax, 1
jmp 0x14002e78d
mov rcx, qword [rsp + 0x530]
call fcn.140003fd0
cmp eax, 3
jne 0x14002e50d
mov rcx, qword [rsp + 0x530]
call fcn.1400583e0
mov eax, 1
jmp 0x14002e78d
mov rdx, qword [rsp + 0x530]
lea rcx, [rsp + 0x30]
call fcn.140007200
nop
mov r8d, 3
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x530]
call fcn.1400581c0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140003250
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14004f470
nop
lea rcx, [rsp + 0x60]
call fcn.1400031c0
lea rcx, [rsp + 0xa0]
call fcn.1400550f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
je 0x14002e598
cmp dword [rsp + 0x20], 1
jne 0x14002e757
lea rax, [rsp + 0x300]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x38], 0x104
lea rcx, [rsp + 0xa0]
call fcn.1400550f0
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 0x14002e631
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
je 0x14002e62c
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax]
call fcn.14026f9f4
test rax, rax
jbe 0x14002e62c
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xa0]
call fcn.1400550f0
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140006760
jmp 0x14002e757
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x200
jae 0x14002e64c
jmp 0x14002e651
call fcn.14026431c
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.1400580c0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400550f0
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.1400049b0
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x100]
cmp eax, 0x5c
jne 0x14002e757
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0x100]
cmp eax, 0x5c
jne 0x14002e757
mov r8d, 2
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xa0]
call fcn.1400580c0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400550f0
lea r8, [rsp + 0x100]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140006760
nop
lea rcx, [rsp + 0xe0]
call fcn.1400049b0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x530]
call fcn.140007070
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0xa0]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x30]
call fcn.1400031c0
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x528
ret