Function at 0x1400f89b0
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 3
jne 0x1400f8a0c
lea rcx, str.MEMTEST
call fcn.1400a81f4
mov r11, rax
mov rax, qword [rsp + 0xc0]
lea rcx, [rax + r11*2 + 0xc]
call fcn.1400a947c
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 0x1400f8ce8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 1
jne 0x1400f8af7
lea rcx, str.vixDiskLib.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400f8a3e
xor eax, eax
jmp 0x1400f8ce8
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 0x1400f8ad8
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 0x1400f8ce8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 2
jne 0x1400f8b1d
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x4e4]
call fcn.1400ae428
jmp 0x1400f8ce8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 4
jne 0x1400f8b94
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 0x1400f8b8d
mov rax, qword [rsp + 0x80]
jmp 0x1400f8ce8
xor eax, eax
jmp 0x1400f8ce8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 5
jne 0x1400f8c3f
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 0x1400f8c38
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x4b4], 1
jne 0x1400f8c23
mov rax, qword [rsp + 0x90]
add rax, 0x200200
jmp 0x1400f8ce8
mov rax, qword [rsp + 0x90]
add rax, 0x200000
jmp 0x1400f8ce8
xor eax, eax
jmp 0x1400f8ce8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 7
jne 0x1400f8cb6
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 0x1400f8cb2
mov rax, qword [rsp + 0xa0]
jmp 0x1400f8ce8
xor eax, eax
jmp 0x1400f8ce8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 8
jne 0x1400f8cd4
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x4ec]
jmp 0x1400f8ce8
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40c]
call fcn.1400f8970
add rsp, 0xb8
ret