Function at 0x140010090
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x2e0], rbx
mov rax, qword [0x14005f020]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400100d2
cmp rax, 4
jbe 0x140010446
cmp word [rdx], 0x5c
jne 0x140010446
cmp word [rdx + 2], 0x5c
jne 0x140010446
cmp word [rdx + 4], 0x3f
jne 0x140010446
cmp word [rdx + 6], 0x5c
jne 0x140010446
add rdx, 8
movdqa xmm0, xmmword [0x140054e40]
movdqu xmmword [rsp + 0x38], xmm0
xor esi, esi
mov word [rsp + 0x28], si
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x140010130
lea rcx, [rsp + 0x28]
call fcn.14000afc0
nop
lea rcx, [rsp + 0x28]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x40]
cmp r10, 8
cmovae rcx, r9
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x140010185
mov rax, rdx
mov r8, rcx
nop dword [rax]
cmp word [r8], 0x5c
je 0x14001038b
add r8, 2
sub rax, 1
jne 0x140010170
mov r8, rbx
movdqa xmm0, xmmword [0x140054e40]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
cmp rdx, r8
cmovb r8, rdx
lea rdx, [rsp + 0x28]
cmp r10, 8
cmovae rdx, r9
lea rcx, [rsp + 0x48]
call fcn.14000afc0
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov r8d, 0x208
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1400103b3
lea rax, [rbp - 0x70]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400101f0
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.14000afc0
lea r8, [rsp + 0x28]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x40]
cmp r10, 8
cmovae r8, r9
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x140010244
mov rax, rdx
mov rcx, r8
nop
cmp word [rcx], 0x5c
je 0x14001039f
add rcx, 2
sub rax, 1
jne 0x140010230
mov rcx, rbx
movdqa xmm0, xmmword [0x140054e40]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], si
cmp rdx, rcx
jb 0x140010473
sub rdx, rcx
cmp rdx, 0xffffffffffffffff
cmovb rbx, rdx
lea rax, [rsp + 0x28]
cmp r10, 8
cmovae rax, r9
lea rdx, [rax + rcx*2]
mov r8, rbx
lea rcx, [rsp + 0x68]
call fcn.14000afc0
nop
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rcx, rdi
call fcn.14000b150
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400102ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400102e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010479
call fcn.14002fb54
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14001032f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001032a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001047f
call fcn.14002fb54
movdqa xmm0, xmmword [0x140054e40]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140010384
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001037f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010485
call fcn.14002fb54
xor eax, eax
jmp 0x14001044b
test r8, r8
je 0x140010185
sub r8, rcx
sar r8, 1
jmp 0x140010188
test rcx, rcx
je 0x140010244
sub rcx, r8
sar rcx, 1
jmp 0x140010247
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400103f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400103f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001048b
call fcn.14002fb54
movdqa xmm0, xmmword [0x140054e40]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140010446
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010441
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001046d
call fcn.14002fb54
mov eax, 0xe0010001
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14002fb30
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2b0
pop rdi
pop rsi
pop rbp
ret
call fcn.140036ad4
nop
call fcn.14000a810
nop
call fcn.140036ad4
nop
call fcn.140036ad4
nop
call fcn.140036ad4
nop
call fcn.140036ad4
int3