Function at 0x14000691a
Capabilities:
Get disk information

Disassembly:
jmp 0x14005ec60
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x8f0
mov rdi, rsp
mov ecx, 0x23c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x900]
mov qword [rsp + 0x8d8], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x8e8], rax
mov dword [rsp + 0x20], 0x3fe
lea rdx, [rsp + 0x40]
mov ecx, 0x3fe
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [rsp + 0x844], eax
cmp dword [rsp + 0x844], 0
jne 0x14005ecd2
xor al, al
jmp 0x14005ef66
lea rax, [rsp + 0x40]
mov qword [rsp + 0x848], rax
mov edx, 8
lea rcx, [rsp + 0x858]
call fcn.140004aac
lea rcx, [rsp + 0x858]
call fcn.1400012bc
nop
cmp dword [rsp + 0x844], 0x3fe
jbe 0x14005ee1a
mov eax, dword [rsp + 0x844]
add eax, 2
mov eax, eax
mov qword [rsp + 0x8e0], rax
mov eax, 2
mov rcx, qword [rsp + 0x8e0]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140007ce3
mov qword [rsp + 0x8b0], rax
mov rax, qword [rsp + 0x8b0]
mov qword [rsp + 0x868], rax
mov rdx, qword [rsp + 0x868]
lea rcx, [rsp + 0x858]
call fcn.140007c1b
mov rdx, qword [rsp + 0x868]
mov ecx, dword [rsp + 0x844]
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [rsp + 0x870], eax
cmp dword [rsp + 0x870], 0
je 0x14005edaa
mov eax, dword [rsp + 0x844]
cmp dword [rsp + 0x870], eax
jbe 0x14005edcc
mov byte [rsp + 0x8b8], 0
lea rcx, [rsp + 0x858]
call fcn.14000207c
movzx eax, byte [rsp + 0x8b8]
jmp 0x14005ef66
mov eax, dword [rsp + 0x870]
xor ecx, ecx
mov rdx, qword [rsp + 0x868]
mov word [rdx + rax*2], cx
mov eax, dword [rsp + 0x870]
inc eax
mov eax, eax
xor ecx, ecx
mov rdx, qword [rsp + 0x868]
mov word [rdx + rax*2], cx
mov eax, dword [rsp + 0x870]
mov dword [rsp + 0x844], eax
mov rax, qword [rsp + 0x868]
mov qword [rsp + 0x848], rax
jmp 0x14005ee8a
mov eax, dword [rsp + 0x844]
shl rax, 1
mov qword [rsp + 0x8c0], rax
cmp qword [rsp + 0x8c0], 0x800
jae 0x14005ee3c
jmp 0x14005ee41
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0x8c0]
mov word [rsp + rcx + 0x40], ax
mov eax, dword [rsp + 0x844]
inc eax
mov eax, eax
shl rax, 1
mov qword [rsp + 0x8c8], rax
cmp qword [rsp + 0x8c8], 0x800
jae 0x14005ee76
jmp 0x14005ee7b
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0x8c8]
mov word [rsp + rcx + 0x40], ax
mov dword [rsp + 0x874], 0
mov dword [rsp + 0x878], 0
jmp 0x14005eeb2
mov eax, dword [rsp + 0x878]
inc eax
mov dword [rsp + 0x878], eax
mov eax, dword [rsp + 0x844]
cmp dword [rsp + 0x878], eax
jae 0x14005ef49
mov eax, dword [rsp + 0x878]
mov rcx, qword [rsp + 0x848]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x14005ef44
mov eax, dword [rsp + 0x878]
cmp dword [rsp + 0x874], eax
je 0x14005ef44
mov eax, dword [rsp + 0x874]
mov rcx, qword [rsp + 0x848]
lea rax, [rcx + rax*2]
mov rdx, rax
lea rcx, [rsp + 0x880]
call fcn.140001faa
nop
lea rdx, [rsp + 0x880]
mov rcx, qword [rsp + 0x900]
call fcn.140005506
nop
lea rcx, [rsp + 0x880]
call fcn.1400073ce
mov eax, dword [rsp + 0x878]
inc eax
mov dword [rsp + 0x874], eax
jmp 0x14005eea2
mov byte [rsp + 0x8d0], 1
lea rcx, [rsp + 0x858]
call fcn.14000207c
movzx eax, byte [rsp + 0x8d0]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f76b8]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x8e8]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x8f0
pop rdi
ret