Function at 0x180012064
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x260
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdx, r8
mov r12d, 0xf
mov qword [rsp + 0x50], r12
and qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r8
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x30]
call fcn.1800026f8
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x228]
call fcn.18003b668
nop
cmp qword [rsp + 0x50], 0x10
jb 0x1800120f5
mov rcx, qword [rsp + 0x38]
call fcn.180043070
mov qword [rsp + 0x50], r12
and qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
and dword [rsp + 0x60], 0xfffffe00
and qword [rsp + 0x68], 0
and qword [rsp + 0x70], 0
and qword [rsp + 0x78], 0
lea rcx, [rsp + 0xd8]
call fcn.180025a4c
nop
mov r9b, 1
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x228]
mov rcx, rax
call fcn.180025b50
nop
lea rcx, [rsp + 0xd8]
call fcn.18002a288
lea rdx, str.action
lea rcx, [rsp + 0x58]
call fcn.18002c6ac
mov rcx, rax
lea rdx, [rsp + 0x200]
call fcn.18002b4dc
nop
lea rdx, str.content
lea rcx, [rsp + 0x58]
call fcn.18002c6ac
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.18002b190
nop
lea rdx, [0x180068a54]
lea rcx, [rsp + 0x200]
call fcn.180008d90
test al, al
je 0x180012374
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
lea rdx, [0x180068a5c]
lea rcx, [rsp + 0x88]
call fcn.18002c6ac
mov rcx, rax
lea rdx, [rsp + 0x1d8]
call fcn.18002b4dc
nop
lea rdx, str.letter
lea rcx, [rsp + 0x88]
call fcn.18002c6ac
mov rcx, rax
call fcn.18002b69c
mov ebx, eax
mov dil, 0x6f
movsx ecx, dil
sub ecx, 0x61
movzx edx, cl
bt esi, edx
jae 0x18001221e
inc dil
cmp dil, 0x7a
jl 0x180012201
jmp 0x180012353
movsx r8d, dil
movsx edx, al
lea rcx, [0x180068a60]
call fcn.18003c460
lea r8, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 0x10
cmovae r8, qword [rsp + 0x1e0]
xor r9d, r9d
mov dl, dil
mov cl, bl
call fcn.18003b0cc
test eax, eax
jne 0x1800122ee
mov ecx, dword [0x180086788]
cmp ecx, 0x1391
jne 0x180012277
lea rdi, [0x180067f38]
jmp 0x1800122d4
cmp ecx, 0x1392
jne 0x180012288
lea rdi, [0x180067f48]
jmp 0x1800122d4
cmp ecx, 0x1393
jne 0x180012299
lea rdi, [0x180067f60]
jmp 0x1800122d4
cmp ecx, 0x1394
jne 0x1800122aa
lea rdi, [0x180067f88]
jmp 0x1800122d4
cmp ecx, 0x1395
jne 0x1800122bb
lea rdi, [0x180067f98]
jmp 0x1800122d4
cmp ecx, 0x1396
jne 0x1800122cc
lea rdi, [0x180067fb0]
jmp 0x1800122d4
call fcn.180004350
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, rdi
lea rcx, str.UvsMountVirtualDevice_error__uvserr:_s__syserr:_d
call fcn.18003c460
jmp 0x180012353
movsx eax, dil
movzx r8d, ax
lea rdx, [0x180068160]
lea rcx, [rsp + 0xb0]
call fcn.18002132c
cmp qword [rax + 0x20], 8
jb 0x180012317
mov r9, qword [rax + 8]
jmp 0x18001231b
lea r9, [rax + 8]
and dword [rsp + 0x20], 0
lea r8, str.mounted
lea rdx, str.SoftwareWOW6432Nodeprojonepodlpusbmgr_
mov rcx, 0xffffffff80000002
call fcn.1800217ac
cmp qword [rsp + 0xd0], 8
jb 0x180012353
mov rcx, qword [rsp + 0xb8]
call fcn.180043070
nop
cmp qword [rsp + 0x1f8], 0x10
jb 0x180012419
mov rcx, qword [rsp + 0x1e0]
call fcn.180043070
jmp 0x180012419
lea rdx, [0x180068b68]
lea rcx, [rsp + 0x200]
call fcn.180008d90
test al, al
je 0x180012419
lea rdx, str.letters
lea rcx, [rsp + 0x88]
call fcn.18002c6ac
mov rcx, rax
lea rdx, [rsp + 0x1d8]
call fcn.18002b4dc
nop
xor edi, edi
mov rax, qword [rsp + 0x1f0]
test rax, rax
je 0x180012400
cmp rdi, rax
jbe 0x1800123ce
call fcn.180043018
lea rax, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 0x10
cmovae rax, qword [rsp + 0x1e0]
mov cl, byte [rax + rdi]
call fcn.18003ee54
inc rdi
mov rax, qword [rsp + 0x1f0]
cmp rdi, rax
jne 0x1800123c4
cmp qword [rsp + 0x1f8], 0x10
jb 0x180012419
mov rcx, qword [rsp + 0x1e0]
call fcn.180043070
nop
lea rcx, [rsp + 0x88]
call fcn.18002b33c
nop
cmp qword [rsp + 0x220], 0x10
jb 0x18001243f
mov rcx, qword [rsp + 0x208]
call fcn.180043070
mov qword [rsp + 0x220], r12
and qword [rsp + 0x218], 0
mov byte [rsp + 0x208], 0
lea rcx, [rsp + 0x58]
call fcn.18002b33c
nop
cmp qword [rsp + 0x248], 0x10
jb 0x18001247b
mov rcx, qword [rsp + 0x230]
call fcn.180043070
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180042bb0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret