Function at 0x1400fa5c0
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 3
jne 0x1400fa61c
lea rcx, str.MEMTEST
call fcn.1400a99d4
mov r11, rax
mov rax, qword [rsp + 0xc0]
lea rcx, [rax + r11*2 + 0xc]
call fcn.1400aac5c
cdqe
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
imul rax, rax, 0x40000000
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
jmp 0x1400fa8f8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 1
jne 0x1400fa707
lea rcx, str.vixDiskLib.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400fa64e
xor eax, eax
jmp 0x1400fa8f8
lea rdx, str.VixDiskLib_GetInfo
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
lea rdx, str.VixDiskLib_FreeInfo
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x4ac]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x40c]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x48]
mov qword [rsp + 0x50], 0
cmp qword [rsp + 0x68], 0
je 0x1400fa6e8
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x18]
shl rax, 9
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x68]
call qword [rsp + reloc.WS2_32.dll_WSASetLastError]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x4ac]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rsp + 0x50]
jmp 0x1400fa8f8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 2
jne 0x1400fa72d
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x4e4]
call fcn.1400afca8
jmp 0x1400fa8f8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 4
jne 0x1400fa7a4
mov dword [rsp + 0x78], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7405c
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40c]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400fa79d
mov rax, qword [rsp + 0x80]
jmp 0x1400fa8f8
xor eax, eax
jmp 0x1400fa8f8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 5
jne 0x1400fa84f
mov dword [rsp + 0x88], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7405c
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40c]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400fa848
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x4b4], 1
jne 0x1400fa833
mov rax, qword [rsp + 0x90]
add rax, 0x200200
jmp 0x1400fa8f8
mov rax, qword [rsp + 0x90]
add rax, 0x200000
jmp 0x1400fa8f8
xor eax, eax
jmp 0x1400fa8f8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 7
jne 0x1400fa8c6
mov dword [rsp + 0x98], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7405c
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40c]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400fa8c2
mov rax, qword [rsp + 0xa0]
jmp 0x1400fa8f8
xor eax, eax
jmp 0x1400fa8f8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 8
jne 0x1400fa8e4
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x4ec]
jmp 0x1400fa8f8
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40c]
call fcn.1400fa580
add rsp, 0xb8
ret