Function at 0x14003df24
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14008e3a8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
movdqa xmm0, xmmword [0x140077cb0]
xor edi, edi
or rsi, 0xffffffffffffffff
mov word [rsp + 0x40], di
mov r8, rsi
mov r14, rdx
mov r15, rcx
movdqu xmmword [rsp + 0x50], xmm0
inc r8
cmp word [rdx + r8*2], di
jne 0x14003df72
lea rcx, [rsp + 0x40]
call fcn.14001d5a8
lea rcx, [rsp + 0x40]
call fcn.14003d84c
lea rcx, [rsp + 0x40]
mov bl, al
call fcn.140019930
test bl, bl
je 0x14003dfa7
mov al, 1
jmp 0x14003e216
mov ebx, 7
mov qword [rsp + 0x70], rdi
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x78], rbx
mov rcx, r15
mov word [rsp + 0x60], di
call fcn.14003d18c
test al, al
je 0x14003e209
mov qword [rsp + 0x30], rdi
mov r8, rsi
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x20], di
inc r8
cmp word [r14 + r8*2], di
jne 0x14003dfe2
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14001d5a8
mov r9, qword [rsp + 0x38]
lea rax, [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
mov r14d, 8
mov rdx, qword [rsp + 0x30]
cmp r9, r14
cmovae rax, rcx
cmp word [rax + rdx*2 - 2], 0x5c
jne 0x14003e09b
movdqa xmm0, xmmword [0x140077cb0]
lea r8, [rdx - 1]
cmp rdx, r8
mov word [rsp + 0x40], di
movdqu xmmword [rsp + 0x50], xmm0
cmovb r8, rdx
cmp r9, r14
lea rdx, [rsp + 0x20]
cmovae rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14001d5a8
lea rcx, [rsp + 0x20]
call fcn.140019930
movups xmm0, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x40]
mov word [rsp + 0x40], di
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x20], xmm0
movdqa xmm0, xmmword [0x140077cb0]
movdqu xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x30], xmm1
call fcn.140019930
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
cmp r9, r14
lea rdx, [rsp + 0x20]
cmovae rdx, rcx
cmp qword [rsp + 0x78], r14
lea rcx, [rsp + 0x60]
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14003e1fc
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14003d728
lea rcx, [rsp + 0x20]
mov r8b, al
call fcn.14003e23c
test al, al
jne 0x14003e14f
test r8b, r8b
je 0x14003e1ff
movdqa xmm0, xmmword [0x140077cb0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
mov word [rsp + 0x40], di
movdqu xmmword [rsp + 0x50], xmm0
call fcn.14003d600
test al, al
je 0x14003e140
cmp qword [rsp + 0x38], r14
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
cmovae rdx, qword [rsp + 0x20]
cmp qword [rsp + 0x58], r14
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
sete dil
lea rcx, [rsp + 0x40]
call fcn.140019930
jmp 0x14003e1ff
cmp qword [rsp + 0x38], r14
lea rax, [rsp + 0x20]
mov qword [rbp - 0x80], rdi
lea rdx, [rbp - 0x70]
cmovae rax, qword [rsp + 0x20]
lea rcx, [rbp - 0x80]
mov ebx, 0x104
mov r8d, ebx
mov eax, dword [rax]
mov dword [rbp - 0x80], eax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x14003e1ff
cmp eax, ebx
je 0x14003e1ff
lea rax, [rbp - 0x70]
inc rsi
cmp word [rax + rsi*2], di
jne 0x14003e18b
mov rax, qword [rsp + 0x30]
mov ebx, esi
lea rcx, [rax - 2]
add rcx, rbx
cmp rcx, qword [rsp + 0x70]
jne 0x14003e1ff
cmp qword [rsp + 0x78], r14
lea rcx, [rsp + 0x60]
mov r8d, ebx
lea rdx, [rbp - 0x70]
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x14003e1ff
cmp qword [rsp + 0x38], r14
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
cmovae rdx, qword [rsp + 0x20]
cmp qword [rsp + 0x78], r14
cmovae rax, qword [rsp + 0x60]
add rdx, 4
lea rcx, [rax + rbx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14003e1ff
mov dil, 1
lea rcx, [rsp + 0x20]
call fcn.140019930
lea rcx, [rsp + 0x60]
call fcn.140019930
mov al, dil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140075580
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret