Function at 0x1400fe830
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 [0x1402de400]
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 0x1400fe88c
mov rax, qword [rsi + 0x30]
mov byte [rcx + rax], 0x1f
inc dword [rsi + 0x38]
test rbp, rbp
je 0x1400fe936
cmp word [rbp], 0
je 0x1400fe936
mov r9, rbp
lea r8, [0x14023c578]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.1401e6fc4
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.1400019d0
mov rdi, rax
mov rdx, rax
lea rcx, [rsi + 0x30]
call fcn.1400e5380
test rdi, rdi
je 0x1400fe8fa
mov rcx, rdi
call fcn.1401e36c8
mov eax, dword [rsi + 0x38]
mov dword [rsi + 0x44], eax
cmp qword [rsi + 0x48], 0xffffffffffffffff
jne 0x1400fe91e
mov ecx, eax
mov rax, qword [rsi + 0x30]
mov byte [rcx + rax], 0x7f
inc dword [rsi + 0x38]
mov eax, 1
jmp 0x1400feb1f
mov ecx, dword [rsi + 0x38]
mov rax, qword [rsi + 0x30]
mov byte [rcx + rax], 1
inc dword [rsi + 0x38]
mov eax, 1
jmp 0x1400feb1f
lea rcx, [rsp + 0x40]
call fcn.140004b60
nop
mov edx, dword [rsi + 0x38]
mov ecx, dword [rsi + 0x3c]
lea rax, [rdx + 1]
cmp rax, rcx
ja 0x1400fe95b
mov rax, qword [rsi + 0x30]
mov byte [rdx + rax], 0
inc dword [rsi + 0x38]
lea rcx, [rsp + 0x40]
call fcn.1400fe4d0
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 0x1400feab0
xor r8d, r8d
lea rdx, str.desktop
lea rcx, [rsp + 0x40]
call fcn.140004db0
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.1400fe0d0
xor r8d, r8d
lea rdx, [0x14023c5c4]
lea rcx, [rsp + 0x40]
call fcn.140004db0
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.1400fe0d0
xor r8d, r8d
lea rdx, str.down
lea rcx, [rsp + 0x40]
call fcn.140004db0
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.1400fe0d0
xor r8d, r8d
lea rdx, [0x14023c5b8]
lea rcx, [rsp + 0x40]
call fcn.140004db0
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.1400fe0d0
xor r8d, r8d
lea rdx, str.music
lea rcx, [rsp + 0x40]
call fcn.140004db0
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.1400fe0d0
xor r8d, r8d
lea rdx, str.video
lea rcx, [rsp + 0x40]
call fcn.140004db0
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.1400fe0d0
mov ebx, edi
nop word [rax + rax]
lea r8d, [rbx + 0x41]
lea rdx, str._c:_
lea rcx, [rsp + 0x70]
call fcn.1401e462c
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
je 0x1400feb09
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.1400fdfc0
inc ebx
cmp ebx, 0x1a
jl 0x1400feac0
lea rcx, [rsp + 0x40]
call fcn.140004cd0
mov eax, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401e42a0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret