Function at 0x1402cb910
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14045d5f0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor edi, edi
or rsi, 0xffffffffffffffff
mov r12d, 7
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x40], di
cmp word [rdx], di
jne 0x1402cb96d
mov r8d, edi
jmp 0x1402cb97a
mov r8, rsi
inc r8
cmp word [rdx + r8*2], di
jne 0x1402cb970
lea rcx, [rsp + 0x40]
call fcn.14000ef50
lea rcx, [rsp + 0x40]
call fcn.1402cb320
xor r8d, r8d
lea rcx, [rsp + 0x40]
mov dl, 1
mov bl, al
call fcn.14000e6a0
test bl, bl
je 0x1402cb9aa
mov al, 1
jmp 0x1402cbc15
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov rcx, r15
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
call fcn.1402cae50
test al, al
je 0x1402cbc03
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
cmp word [r14], di
jne 0x1402cb9e8
mov r8, rdi
jmp 0x1402cb9f5
mov r8, rsi
inc r8
cmp word [r14 + r8*2], di
jne 0x1402cb9eb
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14000ef50
mov r8, qword [rsp + 0x38]
lea rax, [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
cmp r8, 8
mov r9, qword [rsp + 0x30]
cmovae rax, rcx
cmp word [rax + r9*2 - 2], 0x5c
jne 0x1402cba82
dec r9
mov qword [rsp + 0x58], r12
xor r8d, r8d
mov qword [rsp + 0x50], rdi
lea rdx, [rsp + 0x20]
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.14000ee00
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov dl, 1
call fcn.14000e6a0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14000d5b0
xor r8d, r8d
lea rcx, [rsp + 0x40]
mov dl, 1
call fcn.14000e6a0
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
cmp r8, 8
lea rdx, [rsp + 0x20]
cmovae rdx, rcx
cmp qword [rsp + 0x78], 8
lea rcx, [rsp + 0x60]
cmovae rcx, qword [rsp + 0x60]
call fcn.1402fa870
test eax, eax
je 0x1402cbbf1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.1402cb240
lea rcx, [rsp + 0x20]
mov r8b, al
call fcn.1402cbc40
test al, al
jne 0x1402cbb39
test r8b, r8b
je 0x1402cbbf4
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x40], di
call fcn.1402cb160
test al, al
je 0x1402cbb25
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
cmovae rdx, qword [rsp + 0x20]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call fcn.1402fa870
test eax, eax
sete dil
xor r8d, r8d
lea rcx, [rsp + 0x40]
mov dl, 1
call fcn.14000e6a0
jmp 0x1402cbbf4
xor eax, eax
mov word [rbp - 0x80], di
cmp qword [rsp + 0x38], 8
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x7e], eax
lea rcx, [rbp - 0x80]
mov word [rbp - 0x7a], ax
mov ebx, 0x104
lea rax, [rsp + 0x20]
mov r8d, ebx
cmovae rax, qword [rsp + 0x20]
mov eax, dword [rax]
mov dword [rbp - 0x80], eax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x1402cbbf4
cmp eax, ebx
je 0x1402cbbf4
lea rax, [rbp - 0x70]
inc rsi
cmp word [rax + rsi*2], di
jne 0x1402cbb7f
mov rax, qword [rsp + 0x30]
mov ebx, esi
lea rcx, [rax - 2]
add rcx, rbx
cmp rcx, qword [rsp + 0x70]
jne 0x1402cbbf4
cmp qword [rsp + 0x78], 8
lea rcx, [rsp + 0x60]
mov r8d, ebx
lea rdx, [rbp - 0x70]
cmovae rcx, qword [rsp + 0x60]
call fcn.1402fa9f0
test eax, eax
jne 0x1402cbbf4
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
cmovae rdx, qword [rsp + 0x20]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
add rdx, 4
lea rcx, [rax + rbx*2]
call fcn.1402fa870
test eax, eax
jne 0x1402cbbf4
mov dil, 1
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov dl, 1
call fcn.14000e6a0
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov dl, 1
call fcn.14000e6a0
mov al, dil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1402e0100
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret