Function at 0x140037f30
Capabilities:
Get disk information

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x280
mov r14, rdx
mov r12, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x278], rax
movabs r15, 0x7fffffffffffffef
mov rcx, rdx
call fcn.14011dc44
cmp rax, r15
ja 0x14003840f
mov rbx, rax
cmp rax, 0xb
jae 0x140037fa3
lea rsi, [rsp + 0x70]
mov byte [rsi + 0x17], bl
cmp rbx, 3
jne 0x1400383de
movzx eax, word [r14 + 4]
mov word [rsp + 0x74], ax
mov eax, dword [r14]
mov dword [rsp + 0x70], eax
jmp 0x140037fe1
lea rdi, [rbx + 8]
and rdi, 0xfffffffffffffff8
lea rcx, [rdi + rdi]
call fcn.14011d790
mov rsi, rax
mov qword [rsp + 0x70], rax
lea rax, [r15 + 0x11]
or rax, rdi
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], rbx
mov r8, rbx
add r8, rbx
mov rcx, rsi
mov rdx, r14
call fcn.140121c40
mov word [rsi + rbx*2], 0
cmp byte [rsp + 0x87], 0
jns 0x140037ff8
mov rcx, qword [rsp + 0x70]
jmp 0x140037ffd
lea rcx, [rsp + 0x70]
lea rdx, [0x1402038d8]
mov r8d, 4
call fcn.14011e1e8
xor ecx, ecx
test eax, eax
sete cl
movzx eax, byte [rsp + 0x87]
mov rdx, rax
test al, al
jns 0x14003802a
mov rdx, qword [rsp + 0x78]
lea rbx, [rcx*4 + 5]
cmp rdx, rbx
jb 0x1400383fa
shl rcx, 2
test al, al
jns 0x14003804a
mov rax, qword [rsp + 0x70]
jmp 0x14003804f
lea rax, [rsp + 0x70]
lea rcx, [rax + rcx*2]
lea rdx, str.pipe_
mov r8d, 5
call fcn.14011e1e8
test eax, eax
sete sil
mov al, byte [rsp + 0x87]
test al, al
jns 0x140038080
mov rcx, qword [rsp + 0x70]
call fcn.14011d780
test sil, sil
jne 0x140038419
xorps xmm0, xmm0
lea r13, [rsp + 0x50]
movaps xmmword [r13], xmm0
mov qword [r13 + 0x10], 0
mov rcx, r12
mov rdx, r13
call fcn.140038510
test al, al
je 0x14003841e
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x1401efb80]
movaps xmmword [rsp + 0x30], xmm0
mov rcx, r14
call fcn.14011dc44
cmp rax, r15
ja 0x140038425
mov rdi, rax
cmp rax, 0xb
jae 0x14003810c
lea rsi, [rsp + 0x30]
mov byte [rsi + 0x17], dil
cmp rdi, 3
jne 0x1400383ec
movzx eax, word [r14 + 4]
mov word [rsp + 0x34], ax
mov eax, dword [r14]
mov dword [rsp + 0x30], eax
jmp 0x140038147
lea rbx, [rdi + 8]
and rbx, 0xfffffffffffffff8
lea rcx, [rbx + rbx]
call fcn.14011d790
mov rsi, rax
mov qword [rsp + 0x30], rax
add r15, 0x11
or r15, rbx
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rdi
mov r8, rdi
add r8, rdi
mov rcx, rsi
mov rdx, r14
call fcn.140121c40
mov word [rsi + rdi*2], 0
movzx eax, byte [rsp + 0x47]
mov rdx, qword [rsp + 0x30]
test al, al
jns 0x140038165
mov r9, qword [rsp + 0x38]
mov rcx, rdx
jmp 0x14003816d
lea rcx, [rsp + 0x30]
mov r9, rax
cmp word [rcx + r9*2 - 2], 0x5c
je 0x14003842f
test al, al
lea rsi, [rsp + 0x30]
cmovns rdx, rsi
cmp byte [rsp + 0x67], 0
jns 0x140038191
mov r13, qword [rsp + 0x50]
mov rcx, r13
call fcn.14011e630
test eax, eax
je 0x140038486
movzx eax, byte [rsp + 0x47]
mov rcx, rax
test al, al
jns 0x1400381b2
mov rcx, qword [rsp + 0x38]
mov dil, 1
cmp rcx, 4
jb 0x140038229
test al, al
jns 0x1400381c4
mov rsi, qword [rsp + 0x30]
lea rdx, [0x1402038d8]
mov r8d, 4
mov rcx, rsi
call fcn.14011e1e8
test eax, eax
jne 0x140038229
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.140018aa0
cmp byte [rsi + 0x17], 0
js 0x1400383cf
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
xor edi, edi
movzx ebx, byte [rsp + 0x47]
mov rax, rbx
test bl, bl
jns 0x14003823a
mov rax, qword [rsp + 0x38]
cmp rax, 3
jb 0x140038401
test bl, bl
lea rcx, [rsp + 0x30]
mov rdx, qword [rcx]
mov rax, rcx
cmovs rax, rdx
cmp word [rax + 2], 0x3a
jne 0x140038401
test bl, bl
cmovs rcx, rdx
cmp word [rcx + 4], 0x5c
jne 0x140038401
movzx eax, word [rax]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
setb al
or dil, al
je 0x14003848e
test al, al
je 0x140038408
mov qword [rsp + 0x28], 0
lea rsi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140122050
test bl, bl
jns 0x1400382bb
mov rax, qword [rsp + 0x30]
jmp 0x1400382c0
lea rax, [rsp + 0x30]
mov eax, dword [rax]
lea rcx, [rsp + 0x28]
mov dword [rcx], eax
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor esi, esi
cmp eax, 2
jb 0x140038388
cmp eax, 0x104
je 0x140038388
lea rcx, [rsp + 0x70]
call fcn.14011dc44
mov esi, eax
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x140038308
mov rax, qword [rsp + 0x38]
lea rcx, [rsi + rax]
add rcx, 0xfffffffffffffffe
movzx eax, byte [rsp + 0x67]
mov rdx, rax
test al, al
jns 0x140038321
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jne 0x140038408
test al, al
jns 0x140038335
mov rcx, qword [rsp + 0x50]
jmp 0x14003833a
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r8, rsi
call fcn.14011e1e8
test eax, eax
jne 0x140038408
cmp byte [rsp + 0x47], 0
jns 0x14003835d
mov rdx, qword [rsp + 0x30]
jmp 0x140038362
lea rdx, [rsp + 0x30]
add rdx, 4
cmp byte [rsp + 0x67], 0
jns 0x140038374
mov rax, qword [rsp + 0x50]
jmp 0x140038379
lea rax, [rsp + 0x50]
lea rcx, [rax + rsi*2]
call fcn.14011e630
test eax, eax
sete sil
cmp byte [rsp + 0x47], 0
jns 0x140038399
mov rcx, qword [rsp + 0x30]
call fcn.14011d780
cmp byte [rsp + 0x67], 0
jns 0x1400383aa
mov rcx, qword [rsp + 0x50]
call fcn.14011d780
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14011fe20
mov eax, esi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x30]
call fcn.14011d780
jmp 0x140038210
test rbx, rbx
jne 0x140037fd0
jmp 0x140037fe1
test rdi, rdi
jne 0x140038136
jmp 0x140038147
xor esi, esi
jmp 0x140038072
xor eax, eax
jmp 0x140038281
xor esi, esi
jmp 0x140038388
lea rcx, [rsp + 0x70]
call fcn.14016bfc0
mov sil, 1
jmp 0x1400383aa
xor esi, esi
jmp 0x140038399
lea rcx, [rsp + 0x30]
call fcn.14016bfc0
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.140018aa0
cmp byte [rsi + 0x17], 0
jns 0x140038461
mov rcx, qword [rsp + 0x30]
call fcn.14011d780
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]
mov rdx, qword [rsp + 0x30]
jmp 0x14003817a
mov sil, 1
jmp 0x140038388
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.14002cdc0
test al, al
je 0x1400384c0
cmp byte [rsp + 0x47], 0
jns 0x1400384c4
mov rdx, qword [rsp + 0x30]
jmp 0x1400384c9
xor esi, esi
jmp 0x1400384e6
lea rdx, [rsp + 0x30]
cmp byte [rsp + 0x87], 0
jns 0x1400384d8
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call fcn.14011e630
test eax, eax
sete sil
cmp byte [rsp + 0x87], 0
jns 0x140038388
mov rcx, qword [rsp + 0x70]
call fcn.14011d780
jmp 0x140038388