Function at 0x140047350
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1400e90c0]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r12, rcx
xor r13d, r13d
lea rdx, [rbp - 0x80]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x1400473f4
lea rdx, str.Failed_to_get_logical_drives.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14004b0c0
lea rdx, [0x14004b2a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400b7bd0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rsi, [rbp - 0x80]
cmp word [rbp - 0x80], r13w
je 0x1400473c4
mov r14d, 0x5c
movzx ebx, byte [rsp + 0x30]
mov ecx, 0xa
movabs rdx, 0x7fffffffffffffff
movabs rax, 0x7ffffffffffffffe
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x140047440
cmp rdi, rax
ja 0x14004769b
cmp rdi, 7
ja 0x140047485
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 7
add rdi, rdi
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rdi + 0x38], r13w
jmp 0x140047524
mov r15, rdi
or r15, 7
cmp r15, rax
jbe 0x14004749a
mov r15, rax
lea rcx, [rdx + rdx]
jmp 0x1400474bb
cmp r15, 0xa
cmovb r15, rcx
lea rcx, [r15 + 1]
cmp rcx, rdx
ja 0x140047695
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400474e7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140047695
mov rcx, rax
call fcn.1400b81f4
test rax, rax
je 0x140047680
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1400474f9
test rcx, rcx
je 0x1400474f6
call fcn.1400b81f4
mov r14, rax
jmp 0x1400474f9
mov r14, r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
add rdi, rdi
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + r14], r13w
mov r14d, 0x5c
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140047560
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 7
cmova rax, qword [rsp + 0x38]
mov dword [rax + rcx*2], 0x5c
lea rax, [rsp + 0x38]
jmp 0x140047583
mov qword [rsp + 0x20], 1
lea r9, [0x1400d3cac]
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.14004b900
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400475f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400475f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047687
call fcn.1400b7e8c
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r13w
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140046fe0
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rsi + rax*2], 0
jne 0x140047620
lea rsi, [rsi + rax*2]
add rsi, 2
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140047671
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004766c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004768e
call fcn.1400b7e8c
cmp word [rsi], 0
je 0x1400473c4
jmp 0x14004740a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140032380
int3
call fcn.14003afb0
int3