Function at 0x14001b6d0
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x290
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x14012c028]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rdi, [rsp + 0x70]
mov rcx, rdi
call fcn.14001c420
cmp byte [rdi + 0x17], 0
jns 0x14001b70a
mov rdi, qword [rsp + 0x70]
lea rdx, [0x14011e7e0]
mov r8d, 4
mov rcx, rdi
call fcn.140096d1c
xor ecx, ecx
test eax, eax
sete cl
movzx eax, byte [rsp + 0x87]
test al, al
jns 0x14001b739
mov rdx, qword [rsp + 0x78]
jmp 0x14001b73e
mov edx, eax
and edx, 0x7f
lea r8, [rcx*4 + 5]
cmp rdx, r8
jb 0x14001bad4
shl rcx, 2
test al, al
jns 0x14001b75e
mov rax, qword [rsp + 0x70]
jmp 0x14001b763
lea rax, [rsp + 0x70]
lea rcx, [rax + rcx*2]
lea rdx, str.pipe_
mov r8d, 5
call fcn.140096d1c
test eax, eax
sete dil
mov al, byte [rsp + 0x87]
test al, al
jns 0x14001b794
mov rcx, qword [rsp + 0x70]
call fcn.140096334
test dil, dil
jne 0x14001badb
xorps xmm0, xmm0
lea rdi, [rsp + 0x50]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rcx, rbx
mov rdx, rdi
call fcn.140089830
test al, al
je 0x14001bae0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140114940]
movaps xmmword [rbx], xmm0
mov rcx, rbx
mov rdx, rsi
call fcn.14001c420
mov al, byte [rbx + 0x17]
movzx r9d, al
test r9b, r9b
jns 0x14001ba9e
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001bafe
mov rbx, qword [rsp + 0x30]
cmp word [rbx + rcx*2 - 2], 0x5c
je 0x14001bae4
test al, al
jns 0x14001b825
mov rdx, qword [rsp + 0x30]
jmp 0x14001b82a
lea rdx, [rsp + 0x30]
cmp byte [rsp + 0x67], 0
jns 0x14001b836
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call fcn.140096d64
test eax, eax
je 0x14001baef
movzx ebx, byte [rsp + 0x47]
mov ecx, ebx
and ecx, 0x7c
test bl, bl
mov rax, qword [rsp + 0x38]
cmovs rcx, rax
cmp rcx, 4
jb 0x14001baf7
test bl, bl
jns 0x14001b870
mov rcx, qword [rsp + 0x30]
jmp 0x14001b875
lea rcx, [rsp + 0x30]
lea rdx, [0x14011e7e0]
mov r8d, 4
call fcn.140096d1c
test eax, eax
sete dil
jne 0x14001b8df
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
lea rsi, [rsp + 0x30]
mov r8d, 4
mov rdx, rsi
mov r9, 0xffffffffffffffff
call fcn.14001c4d0
cmp byte [rsi + 0x17], 0
jns 0x14001b8c8
mov rcx, qword [rsp + 0x30]
call fcn.140096334
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x38]
mov bl, byte [rsp + 0x47]
mov ecx, ebx
and cl, 0x7f
test bl, bl
movzx ecx, cl
cmovs rcx, rax
cmp rcx, 3
jb 0x14001bacd
test bl, bl
jns 0x14001baa8
test rax, rax
je 0x14001bb01
mov rcx, qword [rsp + 0x30]
cmp word [rcx + 2], 0x3a
jne 0x14001bacd
cmp rax, 2
jb 0x14001bb04
cmp word [rcx + 4], 0x5c
jne 0x14001bacd
movzx eax, word [rcx]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
setb al
test al, al
jne 0x14001b954
xor dil, 1
je 0x14001bb5d
test al, al
je 0x14001bac9
mov qword [rsp + 0x280], 0
lea rsi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.14009a700
test bl, bl
jns 0x14001b988
mov rax, qword [rsp + 0x30]
jmp 0x14001b98d
lea rax, [rsp + 0x30]
mov eax, dword [rax]
lea rcx, [rsp + 0x280]
mov dword [rcx], eax
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor esi, esi
cmp eax, 2
jb 0x14001ba5f
cmp eax, 0x104
je 0x14001ba5f
lea rcx, [rsp + 0x70]
call fcn.140096858
mov esi, eax
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x14001b9da
mov rax, qword [rsp + 0x38]
jmp 0x14001b9dd
and eax, 0x7f
lea rcx, [rsi + rax]
add rcx, 0xfffffffffffffffe
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x14001b9f5
mov rdx, qword [rsp + 0x58]
jmp 0x14001b9fa
mov edx, eax
and edx, 0x7f
cmp rcx, rdx
jne 0x14001bac9
test al, al
jns 0x14001ba0e
mov rcx, qword [rsp + 0x50]
jmp 0x14001ba13
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r8, rsi
call fcn.140096d1c
test eax, eax
jne 0x14001bac9
lea rax, [rsp + 0x34]
mov rdx, qword [rax - 4]
add rdx, 4
cmp byte [rax + 0x13], 0
cmovns rdx, rax
cmp byte [rsp + 0x67], 0
jns 0x14001ba4b
mov rax, qword [rsp + 0x50]
jmp 0x14001ba50
lea rax, [rsp + 0x50]
lea rcx, [rax + rsi*2]
call fcn.140096d64
test eax, eax
sete sil
cmp byte [rsp + 0x47], 0
jns 0x14001ba70
mov rcx, qword [rsp + 0x30]
call fcn.140096334
cmp byte [rsp + 0x67], 0
jns 0x14001ba81
mov rcx, qword [rsp + 0x50]
call fcn.140096334
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1400985e0
mov eax, esi
add rsp, 0x290
pop rbx
pop rdi
pop rsi
ret
je 0x14001bafe
mov rcx, r9
jmp 0x14001b80e
je 0x14001bb01
cmp word [rsp + 0x32], 0x3a
jne 0x14001bacd
cmp bl, 1
jbe 0x14001bb04
cmp word [rsp + 0x34], 0x5c
jne 0x14001bacd
lea rcx, [rsp + 0x30]
jmp 0x14001b936
xor esi, esi
jmp 0x14001ba5f
xor eax, eax
jmp 0x14001b946
xor edi, edi
jmp 0x14001b786
mov sil, 1
jmp 0x14001ba81
xor esi, esi
jmp 0x14001ba70
test al, al
jns 0x14001bb07
mov r9, qword [rsp + 0x38]
jmp 0x14001bb0b
mov sil, 1
jmp 0x14001ba5f
xor edi, edi
jmp 0x14001b8e8
int3
int3
int3
and r9d, 0x7f
dec r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
lea rsi, [rsp + 0x30]
mov rdx, rsi
xor r8d, r8d
call fcn.14001c4d0
cmp byte [rsi + 0x17], 0
jns 0x14001bb3d
mov rcx, qword [rsp + 0x30]
call fcn.140096334
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
mov al, byte [rsp + 0x47]
jmp 0x14001b81a
xorps xmm0, xmm0
lea rsi, [rsp + 0x70]
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.1400249f0
test al, al
je 0x14001bb8f
cmp byte [rsp + 0x47], 0
jns 0x14001bb93
mov rdx, qword [rsp + 0x30]
jmp 0x14001bb98
xor esi, esi
jmp 0x14001bbb5
lea rdx, [rsp + 0x30]
cmp byte [rsp + 0x87], 0
jns 0x14001bba7
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call fcn.140096d64
test eax, eax
sete sil
cmp byte [rsp + 0x87], 0
jns 0x14001ba5f
mov rcx, qword [rsp + 0x70]
call fcn.140096334
jmp 0x14001ba5f