Function at 0x1400fc540
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r15, rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov qword [rbp - 0x68], rbx
lea rdx, [rbp - 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edx, eax
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400fc885
lea rdi, [rbp - 0x60]
cmp word [rbp - 0x60], bx
je 0x1400fc65d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x1400fc5ca
cmp eax, 6
jne 0x1400fc633
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140030cb0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, qword [rbp - 0x68]
je 0x1400fc61a
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], rbx
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], bx
add qword [rbp - 0x70], 0x20
jmp 0x1400fc629
lea r8, [rsp + 0x68]
lea rcx, [rbp - 0x78]
call fcn.140057020
nop
lea rcx, [rsp + 0x68]
call fcn.1400166f0
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x1400fc640
lea rdi, [rdi + rax*2]
add rdi, 2
cmp word [rdi], 0
jne 0x1400fc5b7
mov rdi, qword [rbp - 0x78]
mov r14, qword [rbp - 0x70]
cmp rdi, r14
je 0x1400fc739
nop
mov rcx, rdi
call fcn.1400b3360
test al, al
je 0x1400fc6d1
lea r8, [0x140435438]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14001e470
nop
or ebx, 1
mov dword [rsp + 0x40], ebx
mov rcx, rax
call fcn.1400b3360
test al, al
jne 0x1400fc6cc
lea r8, [0x14043bf08]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14001e470
nop
or ebx, 2
mov dword [rsp + 0x40], ebx
mov rcx, rax
call fcn.1400b3360
test al, al
je 0x1400fc6d1
mov sil, 1
jmp 0x1400fc6d4
xor sil, sil
test bl, 2
je 0x1400fc6e7
and ebx, 0xfffffffd
lea rcx, [rsp + 0x68]
call fcn.1400166f0
nop
test bl, 1
je 0x1400fc6f9
and ebx, 0xfffffffe
lea rcx, [rsp + 0x48]
call fcn.1400166f0
test sil, sil
jne 0x1400fc70d
add rdi, 0x20
cmp rdi, r14
jne 0x1400fc670
jmp 0x1400fc739
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140045ec0
lea rcx, [r15 + 0x58]
mov rdx, rax
call fcn.14002d920
lea rcx, [rsp + 0x48]
call fcn.1400166f0
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x1400fc79a
mov rax, qword [rcx]
mov r10, qword [rax + 0x20]
lea rdx, [r15 + 0x58]
cmp qword [rdx + 0x18], 7
jbe 0x1400fc757
mov rdx, qword [rdx]
lea rax, [r15 + 0x18]
cmp qword [rax + 0x18], 7
jbe 0x1400fc765
mov rax, qword [rax]
mov qword [rsp + 0x38], rdx
lea rdx, str.SysDrive:__s
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9d, 0x40
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonSystemRootPath_Windows.cpp
lea rdx, str.mb::common::io::SystemRootPath::InitWinPE
call r10
lea r8, str.WINDOWS
lea rdx, [r15 + 0x58]
lea rcx, [rsp + 0x48]
call fcn.14001e470
nop
mov rcx, rax
call fcn.1400b3360
movzx ebx, al
lea rcx, [rsp + 0x48]
call fcn.1400166f0
lea rdx, [r15 + 0x58]
lea rcx, [rsp + 0x48]
test bl, bl
je 0x1400fc7db
lea r8, str.WINDOWS
jmp 0x1400fc811
lea r8, str.WINNT
call fcn.14001e470
nop
mov rcx, rax
call fcn.1400b3360
movzx ebx, al
lea rcx, [rsp + 0x48]
call fcn.1400166f0
test bl, bl
je 0x1400fc831
lea r8, str.WINNT
lea rdx, [r15 + 0x58]
lea rcx, [rsp + 0x48]
call fcn.14001e470
lea rcx, [r15 + 0x38]
mov rdx, rax
call fcn.14002d920
lea rcx, [rsp + 0x48]
call fcn.1400166f0
jmp 0x1400fc8d8
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x1400fc8d8
mov rax, qword [rcx]
mov r10, qword [rax + 0x18]
lea rax, [r15 + 0x18]
cmp qword [rax + 0x18], 7
jbe 0x1400fc853
mov rax, qword [rax]
lea rdx, str.No_system_root_found_
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x4c
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonSystemRootPath_Windows.cpp
lea rdx, str.mb::common::io::SystemRootPath::InitWinPE
call r10
jmp 0x1400fc8d8
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x1400fc8d8
mov rax, qword [rcx]
mov r10, qword [rax + 0x20]
lea rax, [r15 + 0x18]
cmp qword [rax + 0x18], 7
jbe 0x1400fc8a3
mov rax, qword [rax]
mov dword [rsp + 0x38], edx
lea rdx, str.Failed_to_get_the_logical_drive_strings_on_this_system__ret___d.
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x34
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonSystemRootPath_Windows.cpp
lea rdx, str.mb::common::io::SystemRootPath::InitWinPE
call r10
nop
lea rcx, [rbp - 0x78]
call fcn.1400307e0
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1402b5c00
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret