Function at 0x1400172c0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x370
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140064d98]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r14d, ecx
lea rcx, [rbp - 0x18]
call fcn.140001e50
nop
lea rcx, [rbp - 0x38]
call fcn.140001e50
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x50]
call fcn.14002d420
lea rdx, [rbp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x103
ja 0x14001767c
lea rdi, [rbp + 0x50]
cmp word [rbp + 0x50], 0
je 0x14001767c
lea r15, [0x14006d6fc]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x140017651
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140001e10
nop
mov r9d, 1
lea r8, [0x14006309c]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x20]
call fcn.1400095b0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140001e90
lea rcx, [rsp + 0x20]
call fcn.140001e70
lea rcx, [rsp + 0x68]
call fcn.140005da0
mov rdx, r15
sub rdx, rax
nop dword [rax]
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x1400173d6
add rax, 2
test cx, cx
jne 0x1400173c0
xor eax, eax
jmp 0x1400173db
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14001746d
cmp r14d, 1
jne 0x140017647
lea rdx, str.SYSTEM
lea rcx, [rbp + 0x28]
call fcn.140001e10
nop
lea rdx, str.SOFTWARE
lea rcx, [rbp + 8]
call fcn.140001e10
nop
lea rcx, [rbp + 8]
call fcn.140005da0
mov rbx, rax
lea rcx, [rbp + 0x28]
call fcn.140005da0
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.1400176c0
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140017440
lea rcx, [rbp + 8]
call fcn.140001e70
nop
lea rcx, [rbp + 0x28]
call fcn.140001e70
nop
lea rcx, [rsp + 0x68]
call fcn.140001e70
jmp 0x14001766a
test r14d, r14d
jne 0x140017647
lea r8, str.WindowsSystem32configSOFTWARE
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x20]
call fcn.1400017c0
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140001e90
lea rcx, [rsp + 0x20]
call fcn.140001e70
lea r8, str.WindowsSystem32configSYSTEM
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x20]
call fcn.1400017c0
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140001e90
lea rcx, [rsp + 0x20]
call fcn.140001e70
lea rcx, [rbp - 0x18]
call fcn.140011550
test eax, eax
je 0x14001762a
lea rcx, [rbp - 0x38]
call fcn.140011550
test eax, eax
je 0x14001762a
lea r8, [rsp + 0x68]
lea rdx, str.bf1a281b_ad7b_4476_ac95_f47682990ce7
lea rcx, [rsp + 0x20]
call fcn.140009d70
nop
lea r8, str._Windows_System32_config_SYSTEM
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400016f0
nop
lea rcx, [rsp + 0x20]
call fcn.140001e70
lea r8, [rsp + 0x68]
lea rdx, str.bf1a281b_ad7b_4476_ac95_f47682990ce7
lea rcx, [rsp + 0x48]
call fcn.140009d70
nop
lea r8, str._Windows_System32_config_SOFTWARE
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400016f0
nop
lea rcx, [rsp + 0x48]
call fcn.140001e70
lea rcx, [rbp - 0x18]
call fcn.140005da0
mov rbx, rax
lea rcx, [rbp - 0x78]
call fcn.140005da0
mov rdx, rbx
mov rcx, rax
call fcn.140010a50
mov esi, eax
lea rcx, [rbp - 0x38]
call fcn.140005da0
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.140005da0
mov rdx, rbx
mov rcx, rax
call fcn.140010a50
test esi, esi
jne 0x1400175cf
test eax, eax
jne 0x1400175e8
lea rcx, [rbp - 0x78]
call fcn.140005da0
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.140005da0
lea r9, [rsp + 0x68]
lea r8d, [r14 + 1]
mov rdx, rbx
mov rcx, rax
call fcn.1400176c0
jmp 0x1400175d3
test eax, eax
jne 0x1400175e4
lea rcx, [rbp - 0x58]
call fcn.140005da0
mov rcx, rax
call fcn.1400249c0
test esi, esi
jne 0x1400175f9
lea rcx, [rbp - 0x78]
call fcn.140005da0
mov rcx, rax
call fcn.1400249c0
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140017600
lea rcx, [rbp - 0x78]
call fcn.140001e70
nop
lea rcx, [rbp - 0x58]
call fcn.140001e70
nop
lea rcx, [rsp + 0x68]
call fcn.140001e70
jmp 0x14001766a
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140017631
lea rcx, [rsp + 0x68]
call fcn.140001e70
jmp 0x14001766a
lea rcx, [rsp + 0x68]
call fcn.140001e70
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140017660
lea rdi, [rdi + rbx*2]
add rdi, 2
cmp word [rdi], 0
jne 0x140017356
lea rcx, [rbp - 0x38]
call fcn.140001e70
nop
lea rcx, [rbp - 0x18]
call fcn.140001e70
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14002ba20
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret