Function at 0x140004fd0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400a1040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rcx
mov qword [rsp + 0x40], rcx
xor ebp, ebp
mov dword [rcx], 0x2bc
mov qword [rcx + 4], 0x1c2
mov qword [rcx + 0xc], rbp
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
mov qword [rcx + 0x28], rbp
mov qword [rcx + 0x30], 0xf
mov byte [rcx + 0x18], bpl
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], rbp
mov qword [rcx + 0x50], 0xf
mov byte [rcx + 0x38], bpl
mov dword [rcx + 0x58], ebp
mov byte [rcx + 0x5c], bpl
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], rbp
mov qword [rcx + 0x78], 0xf
mov byte [rcx + 0x60], bpl
mov qword [rcx + 0x80], rbp
mov qword [rcx + 0x88], rbp
mov qword [rcx + 0x90], rbp
movups xmmword [rcx + 0xa0], xmm0
mov qword [rcx + 0xb0], rbp
mov qword [rcx + 0xb8], 7
mov word [rcx + 0xa0], bp
lea rbx, [rcx + 0xc0]
mov qword [rsp + 0x50], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
lea ecx, [rbp + 0x40]
call fcn.140082b18
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rsi + 0xd0], rbp
mov qword [rsi + 0xd8], rbp
mov qword [rsi + 0xe0], rbp
lea rdi, [rsi + 0xe8]
mov qword [rsp + 0x50], rdi
mov ecx, 0x200
call fcn.140082b18
mov rbx, rax
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rdi], rbx
xorps xmm0, xmm0
movups xmmword [rsi + 0xf0], xmm0
mov qword [rsi + 0x100], rbp
mov qword [rsi + 0x108], 0xf
mov byte [rsi + 0xf0], bpl
mov qword [rsi + 0x110], rbp
test byte [rsi + 0x10], 0x40
je 0x140005162
mov ecx, 0x200
call fcn.140082b18
mov rbx, rax
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsi + 0x110]
mov qword [rsi + 0x110], rbx
test rcx, rcx
je 0x140005162
mov edx, 0x200
call fcn.1400829f0
mov rax, qword [rdi]
mov byte [rax], 0
mov rax, qword [rdi]
mov byte [rax + 0x1ff], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
mov r8d, 0xc
lea rdx, str.file_browser
lea rcx, [rsp + 0x20]
call fcn.140013f60
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140005520
lea rcx, [rsp + 0x20]
call fcn.140004e70
nop
mov rdx, rax
mov rcx, rsi
call fcn.140007ce0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140005204
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400829f0
mov rcx, qword [rsi + 0x80]
mov rdx, qword [rsi + 0x88]
cmp rcx, rdx
je 0x14000522a
call fcn.140013840
mov rax, qword [rsi + 0x80]
mov qword [rsi + 0x88], rax
mov dword [rsi + 0x98], ebp
mov byte [rsi + 0x9c], 0
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov r14d, eax
mov ebx, ebp
mov ecx, ebx
mov edi, 1
shl edi, cl
test r14d, edi
je 0x140005278
lea eax, [rbx + 0x41]
mov byte [rsp + 0x50], al
mov word [rsp + 0x51], 0x5c3a
mov byte [rsp + 0x53], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 2
ja 0x140005278
or ebp, edi
inc ebx
cmp ebx, 0x1a
jl 0x140005242
mov dword [rsi + 0x118], ebp
mov rax, rsi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400829d0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret