Function at 0x14004bb23
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
push rbp
sub rsp, 0x4c0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x140], rsi
mov qword [rbp + 0x138], rbx
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov qword [rbp + 0x70], r8
mov qword [rbp + 0x490], rcx
mov qword [rbp + 0x498], rdx
mov qword [rbp + 0x4a0], r8
mov rax, qword [0x1400e0a40]
xor rax, rbp
mov qword [rbp + 0x470], rax
mov dword [rbp], 0
mov dword [rbp + 4], 0
mov dword [rbp + 8], 0
mov dword [rbp + 0xc], 0
mov dword [rbp + 0x10], 0
mov qword [rbp + 0x78], 0xffffffffffffffff
mov dword [rbp + 0x14], 0
mov dword [rbp + 0x18], 0
mov dword [rbp + 0x1c], 0
mov dword [rbp + 0x20], 0
mov dword [rbp + 0x430], 0
lea rax, [rbp + 0x248]
mov edx, 0
mov ecx, 0x104
mov qword [rbp + 0xc8], rcx
mov rcx, rax
mov rax, qword [rbp + 0xc8]
mov r8, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x498]
mov edx, 0
mov ecx, 0
lea rbx, [rbp + 0x10]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rsi, [rbp + 0x148]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], 0x100
mov rsi, qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [rbp + 0xd0], ecx
mov rcx, rax
mov eax, dword [rbp + 0xd0]
mov r8d, eax
mov r9, rbx
call rsi
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x14]
test eax, eax
jne 0x14004bc7f
mov dword [rbp + 8], 1
lea rax, [rbp + 0x148]
lea rdx, [0x1400c0a0c]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov qword [rbp + 0x88], rax
lea rax, [rbp + 0x248]
mov rdx, qword [rbp + 0x498]
mov ecx, 0x104
mov rbx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov qword [rbp + 0xd8], rcx
mov rcx, rax
mov rax, qword [rbp + 0xd8]
mov r8, rax
call rbx
mov qword [rbp + 0x90], rax
lea rax, [rbp + 0x248]
add rax, 0x103
mov byte [rax], 0
lea rax, [rbp + 0x248]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rbp + 0x98], rax
mov eax, 0xffffffff
add eax, dword [rbp + 0x98]
mov dword [rbp + 0x20], eax
lea rax, [rbp + 0x248]
mov edx, dword [rbp + 0x20]
movsxd rdx, edx
add rax, rdx
movsx eax, byte [rax]
movsx rax, al
cmp eax, 0x5c
jne 0x14004bd19
lea rax, [rbp + 0x248]
mov edx, dword [rbp + 0x20]
movsxd rdx, edx
add rax, rdx
mov byte [rax], 0
lea rax, [rbp + 0x248]
mov edx, 0xc0000000
mov ecx, 3
mov ebx, 0
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
mov rsi, qword [sym.imp.orauts.dll_CreateFileA]
mov dword [rbp + 0xe0], ecx
mov rcx, rax
mov eax, dword [rbp + 0xe0]
mov r8d, eax
mov r9, rbx
call rsi
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
cmp rax, 0xffffffffffffffff
jne 0x14004bde4
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x28], eax
mov rax, qword [rbp + 0x490]
lea rdx, str.CreateFile
mov ecx, dword [rbp + 0x28]
lea rbx, [rbp + 0x248]
lea rsi, str.CVU00407
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 0
mov dword [rbp + 0xe8], ecx
mov rcx, rax
mov eax, dword [rbp + 0xe8]
mov r8d, eax
mov r9, rbx
call fcn.14002cda8
mov dword [rbp + 0x30], eax
mov dword [rbp + 0x1c], 0xfffffffb
jmp 0x14004c19d
mov rax, qword [rbp + 0x78]
mov edx, 0x560000
mov ecx, 0
mov ebx, 0
lea rsi, [rbp + 0x430]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 0x20
lea rsi, [rbp + 0xc]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0
mov rsi, qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rbp + 0xf0], rcx
mov rcx, rax
mov rax, qword [rbp + 0xf0]
mov r8, rax
mov r9d, ebx
call rsi
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp + 0x2c]
mov dword [rbp], eax
mov eax, dword [rbp]
test eax, eax
jle 0x14004be64
mov eax, dword [rbp + 0x430]
cmp eax, 1
jbe 0x14004be64
mov dword [rbp + 0x1c], 0xfffffff7
jmp 0x14004c19d
mov rax, qword [rbp + 0x78]
mov edx, 0x2d1080
mov ecx, 0
mov ebx, 0
lea rsi, [rbp + 0x34c]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], reloc.WS2_32.dll_inet_ntoa
lea rsi, [rbp + 0xc]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0
mov rsi, qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rbp + 0xf8], rcx
mov rcx, rax
mov rax, qword [rbp + 0xf8]
mov r8, rax
mov r9d, ebx
call rsi
mov dword [rbp + 0x34], eax
mov eax, dword [rbp + 0x34]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
test eax, eax
jne 0x14004bfb6
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x40], eax
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x490]
lea rdx, [0x1400c0d1c]
mov ecx, dword [rbp + 0x44]
lea rbx, [rbp + 0x248]
lea rsi, str.CVU00423
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 0
mov dword [rbp + 0x100], ecx
mov rcx, rax
mov eax, dword [rbp + 0x100]
mov r8d, eax
mov r9, rbx
call fcn.14002cda8
mov dword [rbp + 0x48], eax
mov rax, qword [rbp + 0x78]
mov edx, 0x74004
mov ecx, 0
mov ebx, 0
lea rsi, [rbp + 0x450]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 0x20
lea rsi, [rbp + 0xc]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0
mov rsi, qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rbp + 0x108], rcx
mov rcx, rax
mov rax, qword [rbp + 0x108]
mov r8, rax
mov r9d, ebx
call rsi
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x50]
mov dword [rbp], eax
mov eax, dword [rbp + 0x464]
mov dword [rbp + 0x354], eax
lea rax, [rbp + 0x438]
mov eax, dword [rax]
mov dword [rbp + 0x350], eax
mov eax, 1
mov edx, 0x270
mov rcx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbp + 0x110], rcx
mov rcx, rax
mov rax, qword [rbp + 0x110]
call rax
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
test rax, rax
jne 0x14004c0ac
mov dword [rbp + 0x358], 0
lea rax, [rbp + 0x38a]
mov byte [rax], 0
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x4c], eax
lea rax, [rbp + 0x358]
mov edx, 0x2afa
mov ecx, dword [rbp + 0x4c]
lea rbx, [0x1400b04f0]
lea rsi, str.CVU00408
mov qword [rsp + 0x20], rsi
mov dword [rbp + 0x118], ecx
mov rcx, rax
mov eax, dword [rbp + 0x118]
mov r8d, eax
mov r9, rbx
call sub.oracore.dll_slosFillErr
lea rax, [rbp + 0x358]
lea rdx, [rbp + 0x248]
mov rcx, rax
call sub.oracore.dll_slosOtherInfo
mov rax, qword [rbp + 0x490]
lea rdx, [rbp + 0x358]
mov ecx, 0
mov qword [rbp + 0x120], rcx
mov rcx, rax
mov rax, qword [rbp + 0x120]
mov r8, rax
call fcn.14002d2fe
mov dword [rbp + 0x54], eax
mov dword [rbp + 0x1c], 0xfffffffe
jmp 0x14004c19d
mov rax, qword [rbp + 0xb0]
lea rax, [rax + 4]
mov rdx, qword [rbp + 0x498]
mov ecx, 0x104
mov rbx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov qword [rbp + 0x128], rcx
mov rcx, rax
mov rax, qword [rbp + 0x128]
mov r8, rax
call rbx
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb0]
mov dword [rax], 1
mov rax, qword [rbp + 0xb0]
mov edx, dword [rbp + 0x350]
mov dword [rax + 0x108], edx
mov rax, qword [rbp + 0xb0]
mov edx, dword [rbp + 0x354]
mov dword [rax + 0x10c], edx
mov rax, qword [rbp + 0xb0]
lea rax, [rax + 0x118]
lea rdx, [rbp + 0x148]
mov ecx, 0x100
mov rbx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov qword [rbp + 0x130], rcx
mov rcx, rax
mov rax, qword [rbp + 0x130]
mov r8, rax
call rbx
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xb0]
mov dword [rax + 0x218], 0
mov rax, qword [rbp + 0xb0]
mov dword [rax + 0x220], 0
mov rax, qword [rbp + 0xb0]
mov qword [rax + 0x268], 0
mov rax, qword [rbp + 0x4a0]
mov rdx, qword [rbp + 0xb0]
mov qword [rax], rdx
mov rax, qword [rbp + 0x78]
cmp rax, 0xffffffffffffffff
je 0x14004c1c3
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x14004c1c3
mov rax, qword [rbp + 0x78]
mov rdx, qword [sym.imp.orauts.dll_CloseHandle]
mov rcx, rax
call rdx
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x1c]
mov dword [rbp + 0x58], eax
mov rax, qword [rbp + 0x470]
mov qword [rbp + 0x470], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x58]
mov rbx, qword [rbp + 0x138]
mov rsi, qword [rbp + 0x140]
lea rsp, [rbp + 0x480]
pop rbp
ret