Function at 0x18004fab0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1801610c0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
inc dword [rcx + 0x30]
mov rcx, qword [rcx]
xor r15d, r15d
test rcx, rcx
je 0x18004fb2e
mov esi, r15d
cmp dword [rdi + 0x10], r15d
jbe 0x18004fb2e
nop
mov rcx, qword [rdi]
mov eax, esi
mov rbx, qword [rcx + rax*8]
test rbx, rbx
je 0x18004fb27
nop
mov rdx, rbx
mov rbx, qword [rbx + 0x38]
mov rcx, rdi
call fcn.18004e460
test rbx, rbx
jne 0x18004fb10
mov rcx, qword [rdi]
inc esi
cmp esi, dword [rdi + 0x10]
jb 0x18004fb00
call fcn.180091f20
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov ebx, dword [rdi + 0x30]
test ebx, ebx
jne 0x18004fbbf
xor edx, edx
mov rcx, rdi
call fcn.1800490e0
mov dword [rdi + 0x10], eax
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movaps xmm2, xmm0
mulss xmm2, dword [rdi + 0x1c]
xor ecx, ecx
movabs rdx, 0x8000000000000000
movss xmm1, dword [0x1800fdc7c]
comiss xmm2, xmm1
jb 0x18004fb85
subss xmm2, xmm1
comiss xmm2, xmm1
jae 0x18004fb85
mov rcx, rdx
cvttss2si rax, xmm2
add rax, rcx
mov qword [rdi + 0x20], rax
mulss xmm0, dword [rdi + 0x18]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18004fba9
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18004fba9
mov rcx, rdx
cvttss2si rax, xmm0
add rax, rcx
mov qword [rdi + 0x28], rax
cmp rax, 0x11
jae 0x18004fbbf
mov qword [rdi + 0x28], r15
mov qword [rdi + 0x40], r15
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x18004fbe7
nop dword [rax]
mov rbx, qword [rcx]
call fcn.1800badb0
mov rcx, rbx
test rbx, rbx
jne 0x18004fbd0
mov qword [rdi + 0x38], r15
mov ebx, dword [rdi + 0x30]
lea eax, [rbx - 1]
mov dword [rdi + 0x30], eax
mov eax, dword [0x1800fe458]
mov dword [rbp + 0x37], eax
movzx eax, word [0x1800fe45c]
mov word [rbp + 0x3b], ax
mov r14d, 0x41
nop word [rax + rax]
mov word [rbp + 0x37], r14w
mov qword [rbp + 7], r15
mov qword [rbp + 0xf], r15
mov qword [rbp + 0x17], r15
mov dword [rbp + 0x1f], r15d
mov ebx, 0x104
or r8d, 0xffffffff
mov edx, ebx
lea rcx, [rbp + 7]
call fcn.180052330
mov r8d, ebx
mov rsi, qword [rbp + 7]
mov rdx, rsi
lea rcx, [rbp + 0x37]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x18004fc8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x18004fdb5
add ebx, 0x104
mov edx, ebx
or r8d, 0xffffffff
lea rcx, [rbp + 7]
call fcn.180052330
mov r8d, ebx
mov rsi, qword [rbp + 7]
mov rdx, rsi
lea rcx, [rbp + 0x37]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x18004fc51
xor eax, eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
xor edx, edx
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x18004fccd
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x18004fcc7
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x18004fde2
lea rax, [rbp - 1]
mov qword [rbp + 0x27], rax
call fcn.180039cb0
test rax, rax
je 0x18004fdfa
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 1], rax
lea rdx, [rbp + 0x37]
lea rcx, [rbp - 1]
call fcn.180039fa0
test al, al
jne 0x18004fd2b
lea rcx, [rbp + 0x37]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18004fd10
mov r8d, eax
lea rdx, [rbp + 0x37]
lea rcx, [rbp - 1]
call fcn.18003a350
nop
lea r8, [rbp - 0x29]
mov rdx, rsi
mov rcx, rdi
call fcn.180052200
nop
lea rax, [rbp - 1]
mov qword [rbp + 0x27], rax
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x18004fd62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rsi, qword [rbp + 7]
test rsi, rsi
je 0x18004fd7d
mov rcx, rsi
call fcn.1800badb0
inc r14w
cmp r14w, 0x5a
jbe 0x18004fc10
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800916f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp eax, 2
je 0x18004fd70
test eax, eax
jle 0x18004fdc6
movzx eax, ax
or eax, 0x80070000
lea r9, str.Querying_the_dos_device_failed
mov r8d, 0xe83
lea rdx, str.FilePath.cpp
mov ecx, eax
call fcn.18003abe0
int3
xor r9d, r9d
mov r8d, 0xc3
lea rdx, str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlcore.h
mov ecx, eax
call fcn.18003abe0
nop
xor r9d, r9d
mov r8d, 0xcd
lea rdx, str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
mov ecx, 0x80004005
call fcn.18003abe0
int3