Function at 0x180006f70
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x18004d080]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rcx
cmp qword [rcx + 0x3778], 0
jne 0x180006fbe
xor eax, eax
jmp 0x180007337
lea rdi, [rcx + 0x37a0]
mov edx, 0x5c
mov rcx, rdi
call fcn.18002209c
mov r12, rax
or rsi, 0xffffffffffffffff
test rax, rax
jne 0x180007009
mov rcx, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 1
je 0x18000700d
cmp rcx, 2
jne 0x180007337
cmp word [rbx + 0x37a2], 0x3a
je 0x18000700d
jmp 0x180007337
add r12, 2
lea rdi, [rbx + 0x39a8]
mov edx, 0x5c
mov rcx, rdi
call fcn.18002209c
mov r15, rax
test rax, rax
jne 0x180007054
mov rcx, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 1
je 0x180007058
cmp rcx, 2
jne 0x180007337
cmp word [rbx + 0x39aa], 0x3a
je 0x180007058
jmp 0x180007337
add r15, 2
or dword [rbx + 0x154], 0x408
or dword [rbx + 0x158], 8
call fcn.1800100bc
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x180007088
mov ecx, 0x80004005
call fcn.180001c10
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x50], rdi
lea rbp, [rbx + 0x368]
xor edx, edx
mov r8d, 0xc00
mov rcx, rbp
call fcn.180023da0
mov eax, 0x3ed
mov r13d, 0x3f1
cmp word [rbx + 0x3770], 2
cmove r13d, eax
lea rdx, [rdi - 0x18]
mov r14, qword [rdx]
cmp dword [rdx + 8], 0
je 0x180007126
cmp dword [rdx + 0x10], 0
jge 0x1800070f9
cmp dword [rdi - 0xc], 0
jge 0x1800070ec
mov ecx, 0x80070057
call fcn.180001c10
int3
xor r14d, r14d
mov dword [rdi - 0x10], r14d
mov word [rdi], r14w
jmp 0x180007129
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000710f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x50], rdi
xor r14d, r14d
jmp 0x180007129
xor r14d, r14d
mov ecx, r13d
call fcn.1800100a8
test rax, rax
je 0x18000714b
mov r8d, r13d
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180001900
mov rdi, qword [rsp + 0x50]
cmp dword [rdi - 0x10], 0
je 0x18000717f
mov r8, rdi
mov edx, 0x1ff
mov rcx, rbp
call fcn.1800223f0
mov rcx, qword [rbx + 0x240]
test rcx, rcx
jne 0x180007176
mov qword [rbx + 0x15c], rbp
jmp 0x18000717f
mov rdx, rbp
call qword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [rdi - 0x10], 0
je 0x1800071c5
lea rbp, [rbx + 0x768]
mov r8, rdi
mov edx, 0x1ff
mov rcx, rbp
call fcn.1800223f0
mov rcx, qword [rbx + 0x240]
test rcx, rcx
jne 0x1800071b1
mov qword [rbx + 0x16c], rbp
jmp 0x1800071c5
mov r9, rbp
mov edx, 0x46c
mov r8d, 3
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rdi - 0x18]
mov rbp, qword [rdx]
cmp dword [rdx + 8], 0
je 0x18000721c
cmp dword [rdx + 0x10], 0
jge 0x1800071f3
cmp dword [rdi - 0xc], 0
jge 0x1800071e9
mov ecx, 0x80070057
call fcn.180001c10
int3
mov dword [rdi - 0x10], r14d
mov word [rdi], r14w
jmp 0x18000721c
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180007209
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x50], rdi
mov ecx, 0x3eb
call fcn.1800100a8
test rax, rax
je 0x180007243
mov r8d, 0x3eb
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180001900
mov rdi, qword [rsp + 0x50]
cmp dword [rdi - 0x10], 0
je 0x18000731a
mov word [rsp + 0x60], r14w
xor edx, edx
mov r8d, 0x9e
lea rcx, [rsp + 0x62]
call fcn.180023da0
test r12, r12
jne 0x1800072ab
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8d, [r12 + 0x50]
lea rdx, [rsp + 0x60]
lea r13, [rbx + 0x37a0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea rcx, [rsp + 0x60]
test eax, eax
cmove rcx, r12
mov r12, rcx
jmp 0x1800072b2
lea r13, [rbx + 0x37a0]
lea rbp, [rbx + 0xb68]
lea rax, [0x18003fc50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
lea rax, [rbx + 0x39a8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r13
mov r9, r12
mov r8, rdi
mov edx, 0x1ff
mov rcx, rbp
call fcn.1800223f0
mov rcx, qword [rbx + 0x240]
test rcx, rcx
jne 0x180007308
mov qword [rbx + 0x174], rbp
jmp 0x18000731a
mov r9, rbp
xor r8d, r8d
mov edx, 0x46c
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x180007332
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.180021890
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret