Function at 0x1400c5b94
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov r14d, r9d
mov rsi, r8
mov rdi, rdx
lea r13, [0x140023f10]
mov qword [rsp + 0x30], r13
lea rbx, [0x140027720]
mov qword [rsp + 0x38], rbx
lea rax, [0x140023ef0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0xbbc
mov r12d, 1
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x50], 0xff
xor r15d, r15d
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x77]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140052e50
nop
mov rax, qword [0x14000f240]
mov qword [rbp + 0x58], rax
movzx eax, word [0x14000f248]
mov word [rbp + 0x60], ax
test rdi, rdi
jne 0x1400c5cba
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], rbx
lea rax, [0x140023ef0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0xbca
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x77]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r9d, r9d
lea r8, [0x140027778]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400510b0
xor edx, edx
jmp 0x1400c5f4d
mov r8d, 0xe
lea rdx, [0x140023e48]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x1400c5db8
add rdi, 0x1c
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], rbx
lea rax, [0x140023ef0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0xbd3
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rdi
lea r8, [0x1400277a0]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400510b0
mov rdx, r14
mov r8, rdi
mov rcx, rsi
call fcn.1400cec38
mov dword [rbp - 0x18], eax
test eax, eax
jns 0x1400c5f4a
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], rbx
lea rax, [0x140023ef0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0xbd8
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r14d
mov r9, rsi
lea r8, [0x1400277c8]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1401010d8
jmp 0x1400c5cb3
lea rax, [rbp + 0x58]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], r15w
jne 0x1400c5dc3
lea rdx, [rbp + 0x58]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsncmp]
test eax, eax
je 0x1400c5e36
mov qword [rsp + 0x30], r13
lea rax, [0x140027720]
mov qword [rsp + 0x38], rax
lea rax, [0x140023ef0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0xbe5
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rdi
lea r8, [0x1400277f8]
jmp 0x1400c5ca5
lea rax, [rbp + 0x58]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x1400c5e3a
lea rbx, [rdi + rbx*2]
mov qword [rsp + 0x30], r13
lea rdi, [0x140027720]
mov qword [rsp + 0x38], rdi
lea rax, [0x140023ef0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0xbec
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rbx
lea r8, [0x140027830]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400510b0
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_QueryDosDeviceW]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
test eax, eax
lea rax, [0x140023ef0]
mov qword [rsp + 0x40], rax
jne 0x1400c5f25
mov dword [rsp + 0x48], 0xbf2
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x140027850]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400510b0
jmp 0x1400c5cb3
mov dword [rsp + 0x48], 0xbf8
call sub.msvcrt.dll_memset
mov r9, rsi
lea r8, [0x1400277a0]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400510b0
mov dl, r12b
lea rcx, [rbp - 0x20]
call fcn.140074628
mov bl, al
lea rcx, [rbp - 0x20]
call fcn.140050f50
mov al, bl
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.14005dc70
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret