Function at 0x180004120
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1801b0058]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov dword [rcx], 0x2bc
mov qword [rcx + 4], 0x1c2
mov dword [rcx + 0xc], ebp
mov dword [rcx + 0x10], edx
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 + 0x20], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
lea ecx, [rbp + 0x40]
call fcn.1800eb950
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 + 0x20], rdi
mov ecx, 0x200
call fcn.1800eb950
mov rbx, rax
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call fcn.1800ee490
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 0x1800042b4
mov ecx, 0x200
call fcn.1800eb950
mov rbx, rax
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call fcn.1800ee490
mov rcx, qword [rsi + 0x110]
mov qword [rsi + 0x110], rbx
test rcx, rcx
je 0x1800042b4
mov edx, 0x200
call fcn.1800ebddc
mov rax, qword [rdi]
mov byte [rax], 0
mov rax, qword [rdi]
mov byte [rax + 0x1ff], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0xc
mov qword [rsp + 0x58], 0xf
movsd xmm0, qword [str.file_browser]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x180154ae8]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1800044e0
lea rcx, [rsp + 0x40]
call fcn.180003580
nop
mov rdx, rax
mov rcx, rsi
call fcn.180004810
nop
lea rcx, [rsp + 0x40]
call fcn.18000b4a0
mov rbx, qword [rsi + 0x80]
mov rdi, qword [rsi + 0x88]
cmp rbx, rdi
je 0x18000435f
nop dword [rax]
mov rcx, rbx
call fcn.180009ad0
add rbx, 0x20
cmp rbx, rdi
jne 0x180004340
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
nop word [rax + rax]
mov ecx, ebx
mov edi, 1
shl edi, cl
test r14d, edi
je 0x1800043b6
lea eax, [rbx + 0x41]
mov byte [rsp + 0x20], al
mov word [rsp + 0x21], 0x5c3a
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 2
ja 0x1800043b6
or ebp, edi
inc ebx
cmp ebx, 0x1a
jl 0x180004380
mov dword [rsi + 0x118], ebp
mov rax, rsi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800eb930
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret