Function at 0x1401029f0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x290
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x2c0], rbx
mov rax, qword [0x1402e0068]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbp, rdx
mov rsi, rcx
mov edx, dword [rcx + 0x10]
mov rax, qword [rcx + 8]
mov qword [rcx + 0x30], rax
mov dword [rcx + 0x3c], edx
mov ecx, dword [rcx + 0x38]
mov edx, dword [rsi + 0x3c]
lea rax, [rcx + 1]
cmp rax, rdx
ja 0x140102a4c
mov rax, qword [rsi + 0x30]
mov byte [rcx + rax], 0x1f
inc dword [rsi + 0x38]
test rbp, rbp
je 0x140102af6
cmp word [rbp], 0
je 0x140102af6
mov r9, rbp
lea r8, [0x14023f428]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.1401e9e04
xor edi, edi
mov word [rsp + 0x276], di
lea rdx, [rsi + 0x50]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsi + 0x48], rax
mov rcx, rbp
call fcn.140001a20
mov rdi, rax
mov rdx, rax
lea rcx, [rsi + 0x30]
call fcn.1400e98e0
test rdi, rdi
je 0x140102aba
mov rcx, rdi
call fcn.1401e64f8
mov eax, dword [rsi + 0x38]
mov dword [rsi + 0x44], eax
cmp qword [rsi + 0x48], 0xffffffffffffffff
jne 0x140102ade
mov ecx, eax
mov rax, qword [rsi + 0x30]
mov byte [rcx + rax], 0x7f
inc dword [rsi + 0x38]
mov eax, 1
jmp 0x140102cdf
mov ecx, dword [rsi + 0x38]
mov rax, qword [rsi + 0x30]
mov byte [rcx + rax], 1
inc dword [rsi + 0x38]
mov eax, 1
jmp 0x140102cdf
lea rcx, [rsp + 0x40]
call fcn.140004bb0
nop
mov edx, dword [rsi + 0x38]
mov ecx, dword [rsi + 0x3c]
lea rax, [rdx + 1]
cmp rax, rcx
ja 0x140102b1b
mov rax, qword [rsi + 0x30]
mov byte [rdx + rax], 0
inc dword [rsi + 0x38]
lea rcx, [rsp + 0x40]
call fcn.140102690
mov ecx, dword [rsi + 0x38]
mov dword [rsi + 0x44], ecx
movzx r8d, al
or r8b, 1
mov edx, ecx
mov rcx, qword [rsi + 0x30]
mov byte [rdx + rcx], r8b
inc dword [rsi + 0x38]
xor edi, edi
test eax, eax
je 0x140102c70
xor r8d, r8d
lea rdx, str.desktop
lea rcx, [rsp + 0x40]
call fcn.140004e60
mov rdx, rax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8b, 3
mov rcx, rsi
call fcn.140102290
xor r8d, r8d
lea rdx, [0x14023f474]
lea rcx, [rsp + 0x40]
call fcn.140004e60
mov rdx, rax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8b, 4
mov rcx, rsi
call fcn.140102290
xor r8d, r8d
lea rdx, str.down
lea rcx, [rsp + 0x40]
call fcn.140004e60
mov rdx, rax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8b, 5
mov rcx, rsi
call fcn.140102290
xor r8d, r8d
lea rdx, [0x14023f468]
lea rcx, [rsp + 0x40]
call fcn.140004e60
mov rdx, rax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8b, 7
mov rcx, rsi
call fcn.140102290
xor r8d, r8d
lea rdx, str.music
lea rcx, [rsp + 0x40]
call fcn.140004e60
mov rdx, rax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8b, 8
mov rcx, rsi
call fcn.140102290
xor r8d, r8d
lea rdx, str.video
lea rcx, [rsp + 0x40]
call fcn.140004e60
mov rdx, rax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8b, 9
mov rcx, rsi
call fcn.140102290
mov ebx, edi
nop word [rax + rax]
lea r8d, [rbx + 0x41]
lea rdx, str._c:_
lea rcx, [rsp + 0x70]
call fcn.1401e7114
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
je 0x140102cc9
mov word [rsp + 0x74], di
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8b, 2
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140102180
inc ebx
cmp ebx, 0x1a
jl 0x140102c80
lea rcx, [rsp + 0x40]
call fcn.140004d80
mov eax, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401e6720
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret