Function at 0x10010cdcc
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r15
sub rsp, 0xf0
mov rsi, rcx
mov rcx, qword [0x1001653b8]
lea r15, [0x1001653b8]
cmp rcx, r15
je 0x10010ce23
test byte [rcx + 0x1c], 1
je 0x10010ce23
cmp byte [rcx + 0x19], 4
jb 0x10010ce23
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002fa0]
mov edx, 0x41
call fcn.10001c7b8
xor ebx, ebx
cmp rsi, rbx
jne 0x10010ce42
lea r8, [0x100005108]
lea rcx, [0x100012498]
mov edx, 0x552
call fcn.100099ad8
lea rax, [0x100012578]
mov r12d, 4
mov qword [rsp + 0x30], rax
lea rax, [0x100012580]
mov qword [rsp + 0x38], rax
lea rax, [0x100012588]
mov qword [rsp + 0x40], rax
lea rax, [0x100012590]
mov qword [rsp + 0x48], rax
lea rax, [0x100012598]
mov qword [rsp + 0x50], rax
lea rax, [0x1000125a0]
mov qword [rsp + 0x58], rax
lea rax, [0x1000125a8]
mov qword [rsp + 0x60], rax
lea rax, [0x1000125b0]
mov qword [rsp + 0x68], rax
lea rax, [0x1000125b8]
mov qword [rsp + 0x70], rax
lea rax, [0x1000125c0]
mov qword [rsp + 0x78], rax
lea rax, [0x1000125c8]
mov qword [rsp + 0x80], rax
lea rax, [0x1000125d0]
mov qword [rsp + 0x88], rax
lea rax, [0x1000125d8]
mov qword [rsp + 0x90], rax
lea rax, [0x1000125e0]
mov qword [rsp + 0x98], rax
lea rax, [0x1000125e8]
mov qword [rsp + 0xa0], rax
lea rax, [0x1000125f0]
mov qword [rsp + 0xa8], rax
lea rax, [0x1000125f8]
mov qword [rsp + 0xb0], rax
lea rax, [0x100012600]
mov qword [rsp + 0xb8], rax
lea rax, [0x100012608]
mov qword [rsp + 0xc0], rax
lea rax, [0x100012610]
mov qword [rsp + 0xc8], rax
lea rax, [0x100012618]
mov qword [rsp + 0xd0], rax
lea rax, [0x100012620]
mov qword [rsp + 0xd8], rax
lea rax, [0x100012628]
mov qword [rsp + 0xe0], rax
lea rax, [0x100012630]
mov qword [rsp + 0xe8], rax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov r13d, eax
cmp eax, ebx
jne 0x10010cffa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
movzx eax, ax
or eax, 0x80070000
cmp r11d, ebx
cmovle eax, r11d
mov ebx, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x10010d192
test byte [rcx + 0x1c], 1
je 0x10010d16c
cmp byte [rcx + 0x19], 2
jb 0x10010d16c
mov rcx, qword [rcx + 0x10]
lea edx, [r12 + 0x3e]
lea r8, [0x100002fa0]
mov r9d, eax
call fcn.10001c7dc
jmp 0x10010d165
mov rcx, qword [0x1001653b8]
mov edi, ebx
lea rbp, [rsp + 0x30]
test r13d, r12d
je 0x10010d04e
cmp rcx, r15
je 0x10010d03e
test byte [rcx + 0x1c], 1
je 0x10010d03e
cmp byte [rcx + 0x19], 5
jb 0x10010d03e
mov r9, qword [rbp]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002fa0]
mov edx, 0x44
call fcn.10001da24
mov rcx, qword [0x1001653b8]
inc edi
add r12d, r12d
add rbp, 8
cmp edi, 0x18
jb 0x10010d008
jmp 0x10010d083
cmp rcx, r15
je 0x10010d083
test byte [rcx + 0x1c], 1
je 0x10010d083
cmp byte [rcx + 0x19], 4
jb 0x10010d083
mov rcx, qword [rcx + 0x10]
mov r9d, edi
lea r8, [0x100002fa0]
mov r9, qword [rsp + r9*8 + 0x30]
mov edx, 0x43
call fcn.10001da24
mov rcx, qword [0x1001653b8]
cmp edi, 0x18
jne 0x10010d0c0
cmp rcx, r15
je 0x10010d0b6
test byte [rcx + 0x1c], 1
je 0x10010d0b6
cmp byte [rcx + 0x19], 4
jb 0x10010d0b6
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x2d]
lea r8, [0x100002fa0]
mov r9, rsi
call fcn.10001da24
mov rcx, qword [0x1001653b8]
mov ebx, 1
jmp 0x10010d16c
mov eax, edi
mov rdx, rsi
mov rdi, qword [rsp + rax*8 + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
cmp eax, ebx
jne 0x10010d130
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
movzx eax, ax
or eax, 0x80070000
cmp r11d, ebx
cmovle eax, r11d
mov ebx, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x10010d192
test byte [rcx + 0x1c], 1
je 0x10010d16c
cmp byte [rcx + 0x19], 2
jb 0x10010d16c
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
lea r8, [0x100002fa0]
mov edx, 0x46
mov r9, rdi
mov qword [rsp + 0x20], rsi
call fcn.10001e360
jmp 0x10010d165
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x10010d192
test byte [rcx + 0x1c], 1
je 0x10010d16c
cmp byte [rcx + 0x19], 4
jb 0x10010d16c
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002fa0]
mov edx, 0x47
mov r9, rdi
mov qword [rsp + 0x20], rsi
call fcn.10001df38
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x10010d192
test byte [rcx + 0x1c], 1
je 0x10010d192
cmp byte [rcx + 0x19], 4
jb 0x10010d192
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002fa0]
mov edx, 0x48
call fcn.10001c7b8
lea r11, [rsp + 0xf0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop r12
ret