Function at 0x140103aa0
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 [0x14049f3c0]
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 0x140103de5
lea rdi, [rbp - 0x60]
cmp word [rbp - 0x60], bx
je 0x140103bbd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x140103b2a
cmp eax, 6
jne 0x140103b93
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140031ed0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, qword [rbp - 0x68]
je 0x140103b7a
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 0x140103b89
lea r8, [rsp + 0x68]
lea rcx, [rbp - 0x78]
call fcn.140058fe0
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 0x140103ba0
lea rdi, [rdi + rax*2]
add rdi, 2
cmp word [rdi], 0
jne 0x140103b17
mov rdi, qword [rbp - 0x78]
mov r14, qword [rbp - 0x70]
cmp rdi, r14
je 0x140103c99
nop
mov rcx, rdi
call fcn.1400ba570
test al, al
je 0x140103c31
lea r8, [0x14043e9a0]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14001f690
nop
or ebx, 1
mov dword [rsp + 0x40], ebx
mov rcx, rax
call fcn.1400ba570
test al, al
jne 0x140103c2c
lea r8, str.WINNT
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14001f690
nop
or ebx, 2
mov dword [rsp + 0x40], ebx
mov rcx, rax
call fcn.1400ba570
test al, al
je 0x140103c31
mov sil, 1
jmp 0x140103c34
xor sil, sil
test bl, 2
je 0x140103c47
and ebx, 0xfffffffd
lea rcx, [rsp + 0x68]
call fcn.1400166f0
nop
test bl, 1
je 0x140103c59
and ebx, 0xfffffffe
lea rcx, [rsp + 0x48]
call fcn.1400166f0
test sil, sil
jne 0x140103c6d
add rdi, 0x20
cmp rdi, r14
jne 0x140103bd0
jmp 0x140103c99
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140047e80
lea rcx, [r15 + 0x58]
mov rdx, rax
call fcn.14002eb40
lea rcx, [rsp + 0x48]
call fcn.1400166f0
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x140103cfa
mov rax, qword [rcx]
mov r10, qword [rax + 0x20]
lea rdx, [r15 + 0x58]
cmp qword [rdx + 0x18], 7
jbe 0x140103cb7
mov rdx, qword [rdx]
lea rax, [r15 + 0x18]
cmp qword [rax + 0x18], 7
jbe 0x140103cc5
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.14001f690
nop
mov rcx, rax
call fcn.1400ba570
movzx ebx, al
lea rcx, [rsp + 0x48]
call fcn.1400166f0
lea rdx, [r15 + 0x58]
lea rcx, [rsp + 0x48]
test bl, bl
je 0x140103d3b
lea r8, str.WINDOWS
jmp 0x140103d71
lea r8, [0x140445580]
call fcn.14001f690
nop
mov rcx, rax
call fcn.1400ba570
movzx ebx, al
lea rcx, [rsp + 0x48]
call fcn.1400166f0
test bl, bl
je 0x140103d91
lea r8, [0x140445580]
lea rdx, [r15 + 0x58]
lea rcx, [rsp + 0x48]
call fcn.14001f690
lea rcx, [r15 + 0x38]
mov rdx, rax
call fcn.14002eb40
lea rcx, [rsp + 0x48]
call fcn.1400166f0
jmp 0x140103e38
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x140103e38
mov rax, qword [rcx]
mov r10, qword [rax + 0x18]
lea rax, [r15 + 0x18]
cmp qword [rax + 0x18], 7
jbe 0x140103db3
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 0x140103e38
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x140103e38
mov rax, qword [rcx]
mov r10, qword [rax + 0x20]
lea rax, [r15 + 0x18]
cmp qword [rax + 0x18], 7
jbe 0x140103e03
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.140031a00
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1402ba9b0
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