Function at 0x140025970
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 [0x14007c668]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r14d, ecx
lea rcx, [rbp - 0x10]
call fcn.14000a6c0
nop
lea rcx, [rbp - 0x30]
call fcn.14000a6c0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x50]
call fcn.14003fab0
lea rdx, [rbp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x103
ja 0x140025d2c
lea rdi, [rbp + 0x50]
cmp word [rbp + 0x50], 0
je 0x140025d2c
lea r15, [0x14008b014]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x140025d05
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14000a680
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140002940
mov r9d, 1
lea r8, [0x1400770bc]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140014e40
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000a6e0
lea rcx, [rsp + 0x20]
call fcn.140002990
lea rcx, [rsp + 0x70]
call fcn.140009de0
mov rdx, r15
sub rdx, rax
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x140025a8c
add rax, 2
test cx, cx
jne 0x140025a76
xor eax, eax
jmp 0x140025a91
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140025b21
cmp r14d, 1
jne 0x140025cfb
lea rdx, str.SYSTEM
lea rcx, [rbp + 0x30]
call fcn.14000a680
nop
lea rdx, str.SOFTWARE
lea rcx, [rbp + 0x10]
call fcn.14000a680
nop
lea rcx, [rbp + 0x10]
call fcn.140009de0
mov rbx, rax
lea rcx, [rbp + 0x30]
call fcn.140009de0
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.140025d70
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140025af4
lea rcx, [rbp + 0x10]
call fcn.140002990
nop
lea rcx, [rbp + 0x30]
call fcn.140002990
nop
lea rcx, [rsp + 0x70]
call fcn.140002990
jmp 0x140025d1a
test r14d, r14d
jne 0x140025cfb
lea r8, str.WindowsSystem32configSOFTWARE
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.14000a290
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.14000a6e0
lea rcx, [rsp + 0x20]
call fcn.140002990
lea r8, str.WindowsSystem32configSYSTEM
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.14000a290
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14000a6e0
lea rcx, [rsp + 0x20]
call fcn.140002990
lea rcx, [rbp - 0x10]
call fcn.14001f4f0
test eax, eax
je 0x140025cde
lea rcx, [rbp - 0x30]
call fcn.14001f4f0
test eax, eax
je 0x140025cde
lea r8, [rsp + 0x70]
lea rdx, str.bf1a281b_ad7b_4476_ac95_f47682990ce7
lea rcx, [rsp + 0x20]
call fcn.1400158e0
nop
lea r8, str._Windows_System32_config_SYSTEM
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14000a1c0
nop
lea rcx, [rsp + 0x20]
call fcn.140002990
lea r8, [rsp + 0x70]
lea rdx, str.bf1a281b_ad7b_4476_ac95_f47682990ce7
lea rcx, [rsp + 0x50]
call fcn.1400158e0
nop
lea r8, str._Windows_System32_config_SOFTWARE
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14000a1c0
nop
lea rcx, [rsp + 0x50]
call fcn.140002990
lea rcx, [rbp - 0x10]
call fcn.140009de0
mov rbx, rax
lea rcx, [rbp - 0x70]
call fcn.140009de0
mov rdx, rbx
mov rcx, rax
call fcn.14001e830
mov esi, eax
lea rcx, [rbp - 0x30]
call fcn.140009de0
mov rbx, rax
lea rcx, [rbp - 0x50]
call fcn.140009de0
mov rdx, rbx
mov rcx, rax
call fcn.14001e830
test esi, esi
jne 0x140025c83
test eax, eax
jne 0x140025c9c
lea rcx, [rbp - 0x70]
call fcn.140009de0
mov rbx, rax
lea rcx, [rbp - 0x50]
call fcn.140009de0
lea r9, [rsp + 0x70]
lea r8d, [r14 + 1]
mov rdx, rbx
mov rcx, rax
call fcn.140025d70
jmp 0x140025c87
test eax, eax
jne 0x140025c98
lea rcx, [rbp - 0x50]
call fcn.140009de0
mov rcx, rax
call fcn.140035b20
test esi, esi
jne 0x140025cad
lea rcx, [rbp - 0x70]
call fcn.140009de0
mov rcx, rax
call fcn.140035b20
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140025cb4
lea rcx, [rbp - 0x70]
call fcn.140002990
nop
lea rcx, [rbp - 0x50]
call fcn.140002990
nop
lea rcx, [rsp + 0x70]
call fcn.140002990
jmp 0x140025d1a
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140025ce5
lea rcx, [rsp + 0x70]
call fcn.140002990
jmp 0x140025d1a
lea rcx, [rsp + 0x70]
call fcn.140002990
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140025d10
lea rdi, [rdi + rbx*2]
add rdi, 2
cmp word [rdi], 0
jne 0x140025a06
lea rcx, [rbp - 0x30]
call fcn.140002990
nop
lea rcx, [rbp - 0x10]
call fcn.140002990
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14003e040
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