Function at 0x10007761c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x70
lea rdx, [0x100022d08]
xor r14d, r14d
mov rsi, rcx
mov ebx, r14d
call fcn.100075e14
cmp al, r14b
je 0x100077b11
mov rcx, qword [rsi + 0x38]
mov eax, r14d
cmp rcx, r14
je 0x100077663
cmp word [rcx], r14w
setne al
cmp al, r14b
je 0x100077b11
mov rdi, r14
cmp rcx, r14
je 0x1000778b7
call fcn.10007e894
mov rdi, rax
cmp rax, r14
je 0x1000778b7
mov edx, 0x2e
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcsrchr]
mov rdi, rax
cmp rax, r14
je 0x1000778b7
add rdi, 2
je 0x1000778b7
lea rdx, [0x100031640]
mov rcx, rdi
call fcn.10007d3c0
cmp al, r14b
jne 0x1000776d9
lea rdx, [0x100031648]
mov rcx, rdi
call fcn.10007d3c0
cmp al, r14b
je 0x1000778b7
lea rdx, [rsi + 0x38]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], r14d
mov word [rsp + 0x3c], r14w
call fcn.10007d4d0
lea rcx, [rsp + 0x60]
call fcn.10007d40c
mov r11, qword [rsi + 0x38]
mov eax, 0x5c
mov r12w, word [r11]
cmp ax, r12w
jne 0x100077718
lea r12d, [rax - 0x1a]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.10007578c
cmp eax, r14d
mov ebx, eax
jl 0x1000778a3
lea rdx, [0x1000062c0]
mov rcx, rsi
call fcn.100075804
cmp eax, r14d
mov ebx, eax
jl 0x1000778a3
lea rcx, [rsp + 0x50]
call fcn.10007d40c
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rsi
call fcn.100075298
cmp eax, r14d
mov ebx, eax
jl 0x100077899
mov r13, qword [rsp + 0x50]
mov rcx, r13
call fcn.10007756c
cmp eax, r14d
je 0x1000777b2
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.100075ea0
lea rcx, [rsp + 0x50]
call fcn.10007d970
lea rcx, [rsp + 0x60]
call fcn.10007d970
lea rcx, [rsp + 0x30]
call fcn.10007d970
xor eax, eax
jmp 0x100077b13
mov rbp, qword [rsp + 0x60]
or ebx, 0xffffffff
mov edi, ebx
cmp rbp, r14
je 0x1000777d7
lea r8d, [rbx + 5]
lea rdx, [0x100031650]
mov rcx, rbp
call qword [sym.imp.msvcrt.dll__wcsnicmp]
jmp 0x1000777d9
mov eax, ebx
cmp eax, r14d
jne 0x10007782e
movzx ecx, word [rbp + 8]
call qword [sym.imp.msvcrt.dll_iswdigit]
cmp eax, r14d
je 0x10007782e
lea rcx, [rsp + 0x40]
call fcn.10007d40c
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x40]
mov r8d, ebx
call fcn.10007d57c
cmp eax, r14d
jl 0x100077824
mov rcx, qword [rsp + 0x40]
cmp rcx, r14
je 0x100077821
call qword [sym.imp.msvcrt.dll__wtol]
mov edi, eax
jmp 0x100077824
mov edi, r14d
lea rcx, [rsp + 0x40]
call fcn.10007d970
lea rcx, [rsp + 0x40]
call fcn.10007d40c
movzx r9d, r12w
lea r8, [0x100022d78]
lea rcx, [rsp + 0x40]
cmp edi, ebx
je 0x100077863
lea rdx, [0x100031660]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], edi
call fcn.10007db7c
jmp 0x100077874
lea rdx, [0x100031698]
mov qword [rsp + 0x20], r13
call fcn.10007db7c
cmp eax, r14d
mov ebx, eax
jl 0x10007788f
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, rsi
call fcn.100075394
mov ebx, eax
lea rcx, [rsp + 0x40]
call fcn.10007d970
lea rcx, [rsp + 0x50]
call fcn.10007d970
lea rcx, [rsp + 0x60]
call fcn.10007d970
lea rcx, [rsp + 0x30]
jmp 0x100077b0c
mov rcx, rsi
call fcn.1000754ac
cmp eax, 4
jne 0x100077a41
mov rcx, qword [rsi + 0x38]
call fcn.10007ea00
cmp al, r14b
je 0x100077a41
lea rcx, [rsp + 0x60]
call fcn.10007d40c
lea rcx, [rsp + 0x30]
call fcn.10007d40c
mov rdx, qword [rsi + 0x38]
lea rcx, [rsp + 0x60]
mov r8d, 2
call fcn.10007d57c
cmp eax, r14d
mov ebx, eax
jl 0x100077a32
mov r13d, 0x104
lea rcx, [rsp + 0x30]
mov edx, r13d
mov dword [rsp + 0xa8], r13d
call fcn.10007d51c
cmp eax, r14d
mov ebx, eax
jl 0x100077a32
mov rdi, qword [rsp + 0x30]
mov r12, qword [rsp + 0x60]
lea r8, [rsp + 0xa8]
mov rdx, rdi
mov rcx, r12
call sub.MPR.dll_WNetGetConnectionW
cmp eax, 0xea
jne 0x10007798a
mov edx, dword [rsp + 0xa8]
lea rcx, [rsp + 0x30]
call fcn.10007d51c
cmp eax, r14d
mov ebx, eax
jl 0x100077a32
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0xa8]
mov rcx, r12
call sub.MPR.dll_WNetGetConnectionW
jmp 0x1000779bc
cmp eax, r14d
je 0x100077a01
mov r8d, r13d
mov rdx, rdi
mov rcx, r12
mov dword [rsp + 0xa8], r13d
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, r14d
jne 0x1000779cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x57
cmp eax, r14d
cmove eax, ecx
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r14d
cmovle ebx, eax
jmp 0x100077a01
lea rdx, [0x1000316c8]
lea rcx, [rsp + 0x30]
call fcn.10007e05c
cmp eax, r14d
jne 0x1000779fc
lea r8, [rdi + 0xe]
lea rdx, [0x100030cd0]
lea rcx, [rsp + 0x30]
call fcn.10007db7c
mov ebx, eax
jmp 0x100077a01
mov ebx, 0xc00d1327
cmp ebx, r14d
jl 0x100077a32
mov rdx, qword [rsi + 0x38]
lea rcx, [rsp + 0x30]
or r8d, 0xffffffff
add rdx, 4
call fcn.10007d7d4
cmp eax, r14d
mov ebx, eax
jl 0x100077a32
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.100075ea0
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.10007d970
jmp 0x100077b07
cmp rdi, r14
je 0x100077b11
lea rdx, [0x1000316d8]
mov rcx, rdi
call fcn.10007d3c0
cmp al, r14b
je 0x100077b11
mov rbx, qword [rsi + 0x38]
lea rdx, [0x1000316f0]
mov r8d, 7
lea rcx, [rbx + 2]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r14d
jne 0x100077aa1
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0xb0]
mov rdx, rbx
mov rcx, rsi
call fcn.100077b34
mov ebx, eax
jmp 0x100077aa6
mov ebx, 0x80070057
cmp ebx, r14d
jl 0x100077b11
lea rcx, [rsi + 0x28]
lea rdx, [0x100022d48]
or r8d, 0xffffffff
call fcn.10007d57c
cmp eax, r14d
mov ebx, eax
jl 0x100077b11
lea rcx, [rsp + 0x60]
call fcn.10007d40c
mov r9d, dword [rsp + 0xa8]
mov r8d, dword [rsp + 0xb0]
lea rdx, [0x1000316e0]
lea rcx, [rsp + 0x60]
call fcn.10007db7c
cmp eax, r14d
mov ebx, eax
jl 0x100077b07
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.100075ea0
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.10007d970
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret