Function at 0x140029040
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov r12, rcx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor edi, edi
mov eax, dword [rdx + rcx]
cmp dword [0x14017bee0], eax
jle 0x1400290f5
lea rcx, [0x14017bee0]
call fcn.1400ea470
cmp dword [0x14017bee0], 0xffffffff
jne 0x1400290f5
mov qword [0x14017bee8], rdi
mov qword [0x14017bef0], rdi
lea ecx, [rdi + 0x60]
call fcn.1400e9d8c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x14017bee8], rax
lea rcx, [0x14012a550]
call fcn.1400ea034
nop
lea rcx, [0x14017bee0]
call fcn.1400ea410
cmp qword [0x14017bef0], 0
jne 0x1400292fe
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.1400ec680
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1b0]
call fcn.1400ec680
lea r8, [0x14014ceb8]
mov edx, 0x104
lea rcx, [rbp - 0x60]
call fcn.1400f04f0
mov r14d, 0x41
movabs r13, 0x2aaaaaaaaaaaaaa
nop dword [rax]
mov word [rbp - 0x60], r14w
mov r8d, 0x104
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1400292ef
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], di
lea rax, [rbp + 0x1b0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140029195
lea rdx, [rbp + 0x1b0]
lea rcx, [rsp + 0x60]
call fcn.1400088b0
nop
mov r15, qword [0x14017bee8]
mov rbx, qword [r15 + 8]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], edi
mov rsi, r15
cmp byte [rbx + 0x19], 0
jne 0x140029208
nop
mov qword [rsp + 0x30], rbx
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x60]
call fcn.140027750
shr eax, 0x1f
test al, al
je 0x1400291f4
mov dword [rsp + 0x38], edi
mov rbx, qword [rbx + 0x10]
jmp 0x140029202
mov dword [rsp + 0x38], 1
mov rsi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x1400291d0
cmp byte [rsi + 0x19], 0
jne 0x140029227
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140027750
shr eax, 0x1f
test al, al
je 0x1400292c0
cmp qword [0x14017bef0], r13
je 0x140029580
lea rbx, [0x14017bee8]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
mov ecx, 0x60
call fcn.1400e9d8c
nop
mov qword [rax + 0x30], rdi
mov qword [rax + 0x38], rdi
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], di
mov qword [rax + 0x50], rdi
mov qword [rax + 0x58], 7
mov word [rax + 0x40], di
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov word [rax + 0x18], 0
mov qword [rsp + 0x58], rdi
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001ead0
mov rsi, rax
lea rcx, [rsi + 0x40]
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400292d0
lea rdx, [rbp - 0x60]
call fcn.1400088b0
nop
lea rcx, [rsp + 0x60]
call fcn.140008840
inc r14w
cmp r14w, 0x5a
jb 0x140029150
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
mov r8, 0xffffffffffffffff
inc r8
cmp word [r12 + r8*2], 0
jne 0x140029315
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.1400088b0
nop
lea rcx, [rbp - 0x80]
mov rsi, qword [rbp - 0x80]
mov r14, qword [rbp - 0x68]
cmp r14, 8
cmovae rcx, rsi
mov qword [rsp + 0x20], 8
lea r9, str.Device_
xor r8d, r8d
mov rbx, qword [rbp - 0x70]
mov rdx, rbx
call fcn.1400274f0
test rax, rax
jne 0x140029545
lea r8, [rbp - 0x80]
cmp r14, 8
cmovae r8, rsi
test rbx, rbx
je 0x1400293b3
mov rax, rbx
mov rcx, r8
mov rdx, rdi
cmp word [r8], 0x5c
je 0x1400293a3
nop word [rax + rax]
cmp rax, 1
je 0x1400293a6
dec rax
add rcx, 2
cmp word [rcx], 0x5c
jne 0x140029390
mov rdx, rcx
test rdx, rdx
je 0x1400293b3
sub rdx, r8
sar rdx, 1
jmp 0x1400293ba
mov rdx, 0xffffffffffffffff
inc rdx
lea r8, [rbp - 0x80]
cmp r14, 8
cmovae r8, rsi
cmp rdx, rbx
jae 0x140029406
mov rax, rbx
sub rax, rdx
lea rcx, [r8 + rdx*2]
mov rdx, rdi
je 0x1400293f9
cmp word [rcx], 0x5c
je 0x1400293f6
cmp rax, 1
je 0x1400293f9
dec rax
add rcx, 2
cmp word [rcx], 0x5c
jne 0x1400293e3
mov rdx, rcx
test rdx, rdx
je 0x140029406
sub rdx, r8
sar rdx, 1
jmp 0x14002940d
mov rdx, 0xffffffffffffffff
inc rdx
lea r8, [rbp - 0x80]
cmp r14, 8
cmovae r8, rsi
cmp rdx, rbx
jae 0x140029459
mov rax, rbx
sub rax, rdx
lea rcx, [r8 + rdx*2]
mov rdx, rdi
je 0x14002944c
cmp word [rcx], 0x5c
je 0x140029449
cmp rax, 1
je 0x14002944c
dec rax
add rcx, 2
cmp word [rcx], 0x5c
jne 0x140029436
mov rdx, rcx
test rdx, rdx
je 0x140029459
sub rdx, r8
sar rdx, 1
jmp 0x140029460
mov rdx, 0xffffffffffffffff
lea r15, [rdx + 1]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], di
mov r8, r15
cmp rbx, r15
cmovb r8, rbx
lea rdx, [rbp - 0x80]
cmp r14, 8
cmovae rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1400088b0
nop
mov r14, qword [0x14017bee8]
mov rbx, qword [r14 + 8]
mov rsi, r14
cmp byte [rbx + 0x19], 0
jne 0x1400294d7
nop dword [rax]
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x60]
call fcn.140027750
shr eax, 0x1f
test al, al
je 0x1400294cb
mov rbx, qword [rbx + 0x10]
jmp 0x1400294d1
mov rsi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x1400294b0
cmp byte [rsi + 0x19], 0
jne 0x14002953a
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140027750
shr eax, 0x1f
test al, al
jne 0x14002953a
cmp rsi, r14
je 0x14002953a
lea r9, [rsi + 0x40]
mov rax, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x140029509
mov r9, qword [r9]
mov qword [rsp + 0x20], rax
mov r8, r15
lea rcx, [rbp - 0x80]
call fcn.14002ccc0
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r8, qword [rbp - 0x80]
mov edx, 0x104
mov rcx, r12
call fcn.1400f04f0
mov edi, 1
lea rcx, [rsp + 0x60]
call fcn.140008840
nop
lea rcx, [rbp - 0x80]
call fcn.140008840
mov eax, edi
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400e9d60
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14001eea0
nop
int3