Function at 0x1400f8a20
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 3
jne 0x1400f8a7c
lea rcx, str.MEMTEST
call fcn.1400a8204
mov r11, rax
mov rax, qword [rsp + 0xc0]
lea rcx, [rax + r11*2 + 0xc]
call fcn.1400a948c
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 0x1400f8d58
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 1
jne 0x1400f8b67
lea rcx, str.vixDiskLib.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400f8aae
xor eax, eax
jmp 0x1400f8d58
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 0x1400f8b48
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 0x1400f8d58
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 2
jne 0x1400f8b8d
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x4e4]
call fcn.1400ae448
jmp 0x1400f8d58
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 4
jne 0x1400f8c04
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 0x1400f8bfd
mov rax, qword [rsp + 0x80]
jmp 0x1400f8d58
xor eax, eax
jmp 0x1400f8d58
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 5
jne 0x1400f8caf
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 0x1400f8ca8
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x4b4], 1
jne 0x1400f8c93
mov rax, qword [rsp + 0x90]
add rax, 0x200200
jmp 0x1400f8d58
mov rax, qword [rsp + 0x90]
add rax, 0x200000
jmp 0x1400f8d58
xor eax, eax
jmp 0x1400f8d58
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 7
jne 0x1400f8d26
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 0x1400f8d22
mov rax, qword [rsp + 0xa0]
jmp 0x1400f8d58
xor eax, eax
jmp 0x1400f8d58
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 8
jne 0x1400f8d44
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x4ec]
jmp 0x1400f8d58
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40c]
call fcn.1400f89e0
add rsp, 0xb8
ret