Function at 0x1800075d0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x188], rbx
mov rax, qword [0x18004d080]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x60], r8
mov dword [rsp + 0x58], edx
mov rsi, rcx
lea r15, [rcx + 0x37a0]
mov edx, 0x5c
mov rcx, r15
call fcn.18002209c
mov rbp, rax
or rbx, 0xffffffffffffffff
test rax, rax
jne 0x180007660
mov rcx, rbx
mov rdi, r15
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 1
je 0x180007664
cmp rcx, 2
jne 0x180007892
cmp word [rsi + 0x37a2], 0x3a
je 0x180007664
jmp 0x180007892
add rbp, 2
lea r14, [rsi + 0x39a8]
mov edx, 0x5c
mov rcx, r14
call fcn.18002209c
mov r13, rax
test rax, rax
jne 0x1800076ae
mov rcx, rbx
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 1
je 0x1800076b2
cmp rcx, 2
jne 0x180007892
cmp word [rsi + 0x39aa], 0x3a
je 0x1800076b2
jmp 0x180007892
add r13, 2
call fcn.1800100bc
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1800076d1
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 rdx, [rdi - 0x18]
mov r12, qword [rdx]
cmp dword [rdx + 8], 0
je 0x180007742
cmp dword [rdx + 0x10], 0
jge 0x180007714
cmp dword [rdi - 0xc], 0
jge 0x180007707
mov ecx, 0x80070057
call fcn.180001c10
int3
xor r12d, r12d
mov dword [rdi - 0x10], r12d
mov word [rdi], r12w
jmp 0x180007745
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000772a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x50], rdi
xor r12d, r12d
jmp 0x180007745
xor r12d, r12d
mov ecx, 0x3eb
call fcn.1800100a8
test rax, rax
je 0x18000776c
mov r8d, 0x3eb
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180001900
mov rdi, qword [rsp + 0x50]
cmp dword [rdi - 0x10], 0
je 0x180007875
mov word [rsp + 0x80], r12w
xor edx, edx
mov r8d, 0x9e
lea rcx, [rsp + 0x82]
call fcn.180023da0
test rbp, rbp
jne 0x1800077d6
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8d, [rbp + 0x50]
lea rdx, [rsp + 0x80]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea rcx, [rsp + 0x80]
test eax, eax
cmove rcx, rbp
mov rbp, rcx
xor r9d, r9d
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.180007420
nop
lea r12, [rsi + 0xb68]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov r9, rbp
mov r8, rdi
mov edx, 0x1ff
mov rcx, r12
call fcn.1800223f0
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180007845
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsi + 0x240]
test rcx, rcx
jne 0x18000785f
mov qword [rsi + 0x174], r12
mov rdi, qword [rsp + 0x50]
jmp 0x180007875
mov r9, r12
xor r8d, r8d
mov edx, 0x46c
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rsp + 0x50]
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000788d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180021890
mov rbx, qword [rsp + 0x188]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret