Function at 0x100077da8
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x100086110]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
lea rdx, [0x100022d08]
mov rbp, rcx
call fcn.100075e14
xor r14d, r14d
cmp al, r14b
jne 0x100077dfe
lea rdx, [0x100022d88]
mov rcx, rbp
call fcn.100075e14
mov edx, 0x800
cmp al, r14b
je 0x100077e03
mov edx, 0x104
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
lea r12d, [rax + 1]
mov eax, edx
not rcx
sub rcx, r12
cmp rcx, rax
jae 0x1000781e1
mov rcx, qword [rbp + 0x28]
call fcn.10007e90c
lea rdx, [0x100022d08]
mov rcx, rbp
movzx r13d, ax
mov word [rsp + 0x50], ax
lea eax, [r12 + 0x2d]
mov word [rsp + 0x52], ax
mov word [rsp + 0x54], ax
mov word [rsp + 0x56], r13w
mov word [rsp + 0x58], r14w
call fcn.100075e14
lea r15d, [r12 + 2]
cmp al, r14b
je 0x100077ee8
lea rdi, [0x100029f84]
mov rsi, rbx
mov rcx, r15
repe cmpsw word [rsi], word [rdi]
je 0x100077ede
lea rdx, [rsp + 0x52]
mov r8, r15
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcsncmp]
cmp eax, r14d
je 0x100077ede
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, r14
jne 0x100077ede
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
sub rcx, r12
cmp rcx, r15
jb 0x100077ed9
lea rcx, [rbx + rcx*2 - 6]
lea rdx, [rsp + 0x50]
mov r8, r15
call qword [sym.imp.msvcrt.dll_wcsncmp]
mov r12d, r14d
cmp eax, r14d
setne r12b
cmp r12d, r14d
jne 0x100077ee8
mov edi, 0xc00d132b
jmp 0x1000781e6
lea rdx, [0x100022d08]
mov rcx, rbp
call fcn.100075e14
mov r12d, 2
cmp al, r14b
je 0x100077f3d
mov rcx, rbx
call fcn.10007e9a8
cmp al, r14b
je 0x100077fd0
lea r8d, [r12 + 2]
lea rdx, [0x100031710]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcsncmp]
cmp eax, r14d
je 0x100077fd0
add rbx, 4
mov edi, r14d
jmp 0x100078183
lea rdx, [0x100022d48]
mov rcx, rbp
call fcn.100075e14
cmp al, r14b
jne 0x100077fb6
lea rdx, [0x100022c48]
mov rcx, rbp
call fcn.100075e14
cmp al, r14b
jne 0x100077f35
lea rdx, [0x100022d78]
mov rcx, rbp
call fcn.100075e14
cmp al, r14b
je 0x100078043
cmp word [rbx], 0x41
mov edi, 0xc00d1327
jb 0x100077f8e
cmp word [rbx], 0x5a
jbe 0x100077fa2
cmp word [rbx], 0x61
jb 0x1000781e6
cmp word [rbx], 0x7a
ja 0x1000781e6
cmp word [rbx + 2], r13w
jne 0x10007803c
add rbx, 4
jmp 0x100078008
add rbx, r12
movzx ecx, word [rbx]
call qword [sym.imp.msvcrt.dll_iswdigit]
cmp eax, r14d
jne 0x100077fb3
cmp word [rbx], r13w
je 0x100077fda
cmp word [rbx], r14w
je 0x100077ff1
mov edi, 0xc00d1327
jmp 0x1000781e6
cmp word [rbx], r14w
je 0x100077ff1
add rbx, r12
movzx ecx, word [rbx]
call qword [sym.imp.msvcrt.dll_iswdigit]
cmp eax, r14d
jne 0x100077fe0
movzx eax, word [rbx]
mov edi, 0xc00d1327
neg ax
sbb ecx, ecx
and edi, ecx
jmp 0x10007817e
add rbx, r12
movzx ecx, word [rbx]
call qword [sym.imp.msvcrt.dll_iswdigit]
cmp eax, r14d
jne 0x100078005
cmp word [rbx], r13w
jne 0x10007802d
add rbx, r12
movzx ecx, word [rbx]
call qword [sym.imp.msvcrt.dll_iswdigit]
cmp eax, r14d
jne 0x10007801c
cmp word [rbx], r14w
jne 0x1000781e6
jmp 0x100077f35
cmp word [rbx + 2], r14w
jmp 0x100078031
lea rdx, [0x100022d88]
mov rcx, rbp
call fcn.100075e14
cmp al, r14b
je 0x100078123
lea rcx, [rsp + 0x30]
mov edi, 0xc00d1327
call fcn.10007d40c
lea rcx, [rsp + 0x30]
mov r8d, r15d
mov rdx, rbx
call fcn.10007d57c
cmp eax, r14d
jl 0x100078117
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x100078117
lea rdx, [0x100023f50]
lea rcx, [rsp + 0x40]
call fcn.10007e54c
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.10007e54c
mov rcx, qword [rsp + 0x20]
cmp rcx, r14
je 0x1000780c9
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
jmp 0x1000780cc
mov esi, r14d
mov rcx, qword [rsp + 0x40]
cmp rcx, r14
je 0x1000780de
call qword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x1000780e1
mov eax, r14d
add eax, r12d
cmp esi, eax
jne 0x100078103
lea rdx, [0x100023f50]
lea rcx, [rsp + 0x20]
mov r8d, r12d
call fcn.10007e108
cmp eax, r12d
cmove edi, r14d
lea rcx, [rsp + 0x20]
call fcn.10007d970
lea rcx, [rsp + 0x40]
call fcn.10007d970
lea rcx, [rsp + 0x30]
call fcn.10007d970
jmp 0x10007817e
lea rdx, [0x100022dc8]
mov rcx, rbp
call fcn.100075e14
cmp al, r14b
jne 0x10007815a
lea rdx, [0x100022de8]
mov rcx, rbp
call fcn.100075e14
cmp al, r14b
jne 0x10007815a
cmp word [rbx], r13w
jne 0x100077fd0
jmp 0x100077f35
lea rdx, [0x100031720]
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r14d
je 0x100077f35
mov edi, 0xc00d1327
cmp edi, r14d
jl 0x1000781e6
cmp rbx, r14
je 0x1000781e6
mov rcx, qword [rbp + 0x28]
lea rdx, [0x100031700]
call fcn.10007d3c0
cmp al, r14b
jne 0x1000781d9
mov rcx, qword [rbp + 0x28]
call fcn.10007e950
cmp rax, r14
je 0x1000781e6
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcspbrk]
cmp rax, r14
je 0x1000781e6
mov edi, 0xc00d1325
jmp 0x1000781e6
movzx ecx, word [rbx]
call qword [sym.imp.SHLWAPI.dll_PathGetCharTypeW]
cmp eax, r14d
je 0x1000781bc
cmp eax, 4
je 0x1000781bc
add rbx, r12
cmp word [rbx], r14w
jne 0x1000781c3
jmp 0x1000781e6
mov edi, 0xc00d1331
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.10007fa70
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret