Function at 0x18000300c
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x50
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
cmp ecx, 0xb
jl 0x18000315b
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, 0x54
call fcn.180002e88
mov ecx, 0x64
call fcn.18000329c
movss xmm6, dword [0x18002fe5c]
movss xmm7, dword [0x18002fe48]
movaps xmm0, xmm7
divss xmm6, xmm7
addss xmm0, xmm7
movaps xmm1, xmm0
movaps xmm7, xmm0
mulss xmm1, xmm6
cvttss2si edx, xmm1
cmp edx, 0x72
je 0x1800030a3
call qword [sym.imp.USER32.dll_GetMessageTime]
mov ecx, 0x78
call fcn.18000329c
movsx rbx, al
mov rcx, rbx
call fcn.180002e88
movsx edx, al
lea ecx, [rbx + rbx*8]
neg edx
shl ecx, 2
sub edx, ecx
movsd xmm8, qword [0x18002fdc8]
mov edi, 0x15
test edx, edx
je 0x1800030fc
cvttsd2si rcx, xmm8
call fcn.180002e88
movsx ebx, al
mov eax, ebx
movsxd rcx, edi
cdq
idiv edi
movd xmm8, eax
cvtdq2pd xmm8, xmm8
call fcn.180002e88
mov edi, eax
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm8
addsd xmm1, xmm0
cvttsd2si ecx, xmm1
test ecx, ecx
jne 0x1800030b5
movss xmm1, dword [0x18002fe4c]
movss xmm2, dword [0x18002fe7c]
movaps xmm0, xmm1
divss xmm0, xmm1
addss xmm2, xmm0
movaps xmm1, xmm0
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
subss xmm0, xmm2
cvttss2si eax, xmm0
cmp eax, 0x42
jl 0x18000310c
cmp eax, 0x5c
jle 0x18000305c
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x20]
add rsp, 0x50
pop rdi
ret
mov ecx, 0x64
call fcn.18000329c
movsx ecx, al
movd xmm6, ecx
cvtdq2ps xmm6, xmm6
cvttss2si rcx, xmm6
call fcn.180002e88
movsx ecx, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
subss xmm6, xmm0
cvttss2si eax, xmm6
cmp eax, 0x42
je 0x18000319b
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
jmp 0x180003241
movsd xmm1, qword [0x18002fd78]
movsd xmm0, qword [0x18002fdf0]
cvttsd2si rax, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm1, xmm0
addsd xmm0, xmm1
cvttsd2si eax, xmm0
cmp eax, 0x41
jne 0x1800031ab
movsd xmm2, qword [0x18002fdb8]
movaps xmm0, xmm2
subsd xmm0, xmm2
cvttsd2si eax, xmm0
movaps xmm2, xmm0
cmp eax, 0x7f
je 0x1800031d1
movsd xmm6, qword [0x18002fd98]
mov sil, 0x6d
movsx eax, sil
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm6
cvttsd2si esi, xmm0
movsx rdi, sil
mov rcx, rdi
call fcn.18000329c
cvttsd2si rcx, xmm6
movsx rbx, al
call fcn.18000329c
movsx ecx, al
xorps xmm0, xmm0
lea rax, [rdi + rbx]
cvtsi2sd xmm0, rax
movd xmm6, ecx
cvtdq2pd xmm6, xmm6
subsd xmm0, xmm6
cvttsd2si eax, xmm0
cmp eax, 0xe
jge 0x1800031ef
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov cl, 0x6f
call fcn.180002fb0
mov ecx, 0x6f
mov ebx, eax
call fcn.18000329c
movsx ecx, al
movsx eax, bl
imul ecx, eax
cmp ecx, 0x10
jl 0x18000328e
mov ecx, 0x5c
call fcn.180002e88
movss xmm1, dword [0x18002fe50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
cmp eax, 0x10
jge 0x180003294
call qword [sym.imp.KERNEL32.dll_AreFileApisANSI]
call qword [sym.imp.KERNEL32.dll_UnregisterApplicationRestart]
jmp 0x180003294