Function at 0x14003f2e0
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x290
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rdi, [rsp + 0x70]
mov rcx, rdi
call fcn.1401b1c40
cmp byte [rdi + 0x17], 0
jns 0x14003f31a
mov rdi, qword [rsp + 0x70]
lea rdx, [0x140274c1c]
mov r8d, 4
mov rcx, rdi
call fcn.140173a7c
xor ecx, ecx
test eax, eax
sete cl
movzx eax, byte [rsp + 0x87]
test al, al
jns 0x14003f349
mov rdx, qword [rsp + 0x78]
jmp 0x14003f34e
mov edx, eax
and edx, 0x7f
lea r8, [rcx*4 + 5]
cmp rdx, r8
jb 0x14003f6e4
shl rcx, 2
test al, al
jns 0x14003f36e
mov rax, qword [rsp + 0x70]
jmp 0x14003f373
lea rax, [rsp + 0x70]
lea rcx, [rax + rcx*2]
lea rdx, str.pipe_
mov r8d, 5
call fcn.140173a7c
test eax, eax
sete dil
mov al, byte [rsp + 0x87]
test al, al
jns 0x14003f3a4
mov rcx, qword [rsp + 0x70]
call fcn.140172a44
test dil, dil
jne 0x14003f6eb
xorps xmm0, xmm0
lea rdi, [rsp + 0x50]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rcx, rbx
mov rdx, rdi
call fcn.1401572e0
test al, al
je 0x14003f6f0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140261350]
movaps xmmword [rbx], xmm0
mov rcx, rbx
mov rdx, rsi
call fcn.1401b1c40
mov al, byte [rbx + 0x17]
movzx r9d, al
test r9b, r9b
jns 0x14003f6ae
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14003f70e
mov rbx, qword [rsp + 0x30]
cmp word [rbx + rcx*2 - 2], 0x5c
je 0x14003f6f4
test al, al
jns 0x14003f435
mov rdx, qword [rsp + 0x30]
jmp 0x14003f43a
lea rdx, [rsp + 0x30]
cmp byte [rsp + 0x67], 0
jns 0x14003f446
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call fcn.140173ac4
test eax, eax
je 0x14003f6ff
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 0x14003f707
test bl, bl
jns 0x14003f480
mov rcx, qword [rsp + 0x30]
jmp 0x14003f485
lea rcx, [rsp + 0x30]
lea rdx, [0x140274c1c]
mov r8d, 4
call fcn.140173a7c
test eax, eax
sete dil
jne 0x14003f4ef
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.14002b650
cmp byte [rsi + 0x17], 0
jns 0x14003f4d8
mov rcx, qword [rsp + 0x30]
call fcn.140172a44
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 0x14003f6dd
test bl, bl
jns 0x14003f6b8
test rax, rax
je 0x14003f711
mov rcx, qword [rsp + 0x30]
cmp word [rcx + 2], 0x3a
jne 0x14003f6dd
cmp rax, 2
jb 0x14003f714
cmp word [rcx + 4], 0x5c
jne 0x14003f6dd
movzx eax, word [rcx]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
setb al
test al, al
jne 0x14003f564
xor dil, 1
je 0x14003f76d
test al, al
je 0x14003f6d9
mov qword [rsp + 0x280], 0
lea rsi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140177800
test bl, bl
jns 0x14003f598
mov rax, qword [rsp + 0x30]
jmp 0x14003f59d
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 0x14003f66f
cmp eax, 0x104
je 0x14003f66f
lea rcx, [rsp + 0x70]
call fcn.140173694
mov esi, eax
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x14003f5ea
mov rax, qword [rsp + 0x38]
jmp 0x14003f5ed
and eax, 0x7f
lea rcx, [rsi + rax]
add rcx, 0xfffffffffffffffe
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x14003f605
mov rdx, qword [rsp + 0x58]
jmp 0x14003f60a
mov edx, eax
and edx, 0x7f
cmp rcx, rdx
jne 0x14003f6d9
test al, al
jns 0x14003f61e
mov rcx, qword [rsp + 0x50]
jmp 0x14003f623
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r8, rsi
call fcn.140173a7c
test eax, eax
jne 0x14003f6d9
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 0x14003f65b
mov rax, qword [rsp + 0x50]
jmp 0x14003f660
lea rax, [rsp + 0x50]
lea rcx, [rax + rsi*2]
call fcn.140173ac4
test eax, eax
sete sil
cmp byte [rsp + 0x47], 0
jns 0x14003f680
mov rcx, qword [rsp + 0x30]
call fcn.140172a44
cmp byte [rsp + 0x67], 0
jns 0x14003f691
mov rcx, qword [rsp + 0x50]
call fcn.140172a44
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1401756e0
mov eax, esi
add rsp, 0x290
pop rbx
pop rdi
pop rsi
ret
je 0x14003f70e
mov rcx, r9
jmp 0x14003f41e
je 0x14003f711
cmp word [rsp + 0x32], 0x3a
jne 0x14003f6dd
cmp bl, 1
jbe 0x14003f714
cmp word [rsp + 0x34], 0x5c
jne 0x14003f6dd
lea rcx, [rsp + 0x30]
jmp 0x14003f546
xor esi, esi
jmp 0x14003f66f
xor eax, eax
jmp 0x14003f556
xor edi, edi
jmp 0x14003f396
mov sil, 1
jmp 0x14003f691
xor esi, esi
jmp 0x14003f680
test al, al
jns 0x14003f717
mov r9, qword [rsp + 0x38]
jmp 0x14003f71b
mov sil, 1
jmp 0x14003f66f
xor edi, edi
jmp 0x14003f4f8
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.14002b650
cmp byte [rsi + 0x17], 0
jns 0x14003f74d
mov rcx, qword [rsp + 0x30]
call fcn.140172a44
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 0x14003f42a
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.14004ca00
test al, al
je 0x14003f79f
cmp byte [rsp + 0x47], 0
jns 0x14003f7a3
mov rdx, qword [rsp + 0x30]
jmp 0x14003f7a8
xor esi, esi
jmp 0x14003f7c5
lea rdx, [rsp + 0x30]
cmp byte [rsp + 0x87], 0
jns 0x14003f7b7
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call fcn.140173ac4
test eax, eax
sete sil
cmp byte [rsp + 0x87], 0
jns 0x14003f66f
mov rcx, qword [rsp + 0x70]
call fcn.140172a44
jmp 0x14003f66f