Function at 0x14000b04f
Capabilities:
Get disk information
Read file on windows

Disassembly:
push rbp
mov eax, 0x1250
call fcn.1400aab80
sub rsp, 0x1250
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x178], rsi
mov qword [rbp + 0x170], rbx
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x80], rdx
mov qword [rbp + 0x88], r8
mov qword [rbp + 0x1220], rcx
mov qword [rbp + 0x1228], rdx
mov qword [rbp + 0x1230], r8
mov rax, qword [0x1400e0a40]
xor rax, rbp
mov qword [rbp + 0x1208], rax
lea rax, [rbp + 0x180]
mov edx, 0
mov ecx, 0x80
mov qword [rbp + 0xc8], rcx
mov rcx, rax
mov rax, qword [rbp + 0xc8]
mov r8, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x1220]
mov eax, dword [rax + 0x2c]
mov dword [rbp], eax
mov rax, qword [rbp + 0x1220]
mov rax, qword [rax]
mov rdx, qword [rbp + 0x1228]
mov edx, dword [rdx]
mov rcx, qword [rbp + 0x1228]
lea rcx, [rcx + 4]
mov ebx, 0
mov rsi, qword [sym.imp.orauts.dll_SetFilePointer]
mov qword [rbp + 0xd0], rcx
mov rcx, rax
mov rax, qword [rbp + 0xd0]
mov r8, rax
mov r9d, ebx
call rsi
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x1220]
mov rax, qword [rax]
mov rdx, qword [rbp + 0x1220]
mov rdx, qword [rdx + 0x38]
mov ecx, dword [rbp]
lea rbx, [rbp + 8]
mov qword [rsp + 0x20], 0
mov rsi, qword [sym.imp.orauts.dll_ReadFile]
mov dword [rbp + 0xd8], ecx
mov rcx, rax
mov eax, dword [rbp + 0xd8]
mov r8d, eax
mov r9, rbx
call rsi
mov dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
test eax, eax
jne 0x14000b1e0
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x14], eax
lea rax, str.Error_in_read_of_first_sector_error___d__n
mov edx, dword [rbp + 0x14]
mov rcx, rax
call fcn.14000f4d8
mov eax, 0
mov dword [rbp + 0x54], eax
mov rax, qword [rbp + 0x1208]
mov qword [rbp + 0x1208], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x54]
mov rbx, qword [rbp + 0x170]
mov rsi, qword [rbp + 0x178]
lea rsp, [rbp + 0x1210]
pop rbp
ret
mov eax, dword [rbp + 8]
mov edx, dword [rbp]
cmp eax, edx
je 0x14000b24d
lea rax, str.Error_in_read_of_first_sector_size__d___read__d__n
mov edx, dword [rbp]
mov ecx, dword [rbp + 8]
mov dword [rbp + 0xe0], ecx
mov rcx, rax
mov eax, dword [rbp + 0xe0]
mov r8d, eax
call fcn.14000f4d8
mov eax, 0
mov dword [rbp + 0x58], eax
mov rax, qword [rbp + 0x1208]
mov qword [rbp + 0x1208], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x58]
mov rbx, qword [rbp + 0x170]
mov rsi, qword [rbp + 0x178]
lea rsp, [rbp + 0x1210]
pop rbp
ret
mov rax, qword [rbp + 0x1220]
mov edx, 0xfffffffe
add edx, dword [rbp]
add rdx, qword [rax + 0x38]
mov qword [rbp + 0x98], rdx
mov rax, qword [rbp + 0x98]
movsx eax, byte [rax]
movsx rax, al
cmp eax, 0x55
jne 0x14000b3c2
mov eax, 1
add rax, qword [rbp + 0x98]
movsx eax, byte [rax]
movsx rax, al
cmp eax, 0xffffffaa
jne 0x14000b3c2
mov rax, qword [rbp + 0x1220]
mov edx, 3
add rdx, qword [rax + 0x38]
lea rax, str.MSDOS
mov ecx, 5
mov rbx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
mov qword [rbp + 0xe8], rcx
mov rcx, rdx
mov rdx, rax
mov rax, qword [rbp + 0xe8]
mov r8, rax
call rbx
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp + 0x1c]
test eax, eax
jne 0x14000b32e
lea rax, str.Partition_contains_a_FAT_MSDOS__file_system_n
mov rcx, rax
call fcn.14000f4d8
mov eax, 0
mov dword [rbp + 0x5c], eax
mov rax, qword [rbp + 0x1208]
mov qword [rbp + 0x1208], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x5c]
mov rbx, qword [rbp + 0x170]
mov rsi, qword [rbp + 0x178]
lea rsp, [rbp + 0x1210]
pop rbp
ret
mov rax, qword [rbp + 0x1220]
mov edx, 3
add rdx, qword [rax + 0x38]
lea rax, str.NTFS
mov ecx, 4
mov rbx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
mov qword [rbp + 0xf0], rcx
mov rcx, rdx
mov rdx, rax
mov rax, qword [rbp + 0xf0]
mov r8, rax
call rbx
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
test eax, eax
jne 0x14000b3c2
lea rax, str.Partition_contains_a_NTFS_file_system_n
mov rcx, rax
call fcn.14000f4d8
mov eax, 0
mov dword [rbp + 0x60], eax
mov rax, qword [rbp + 0x1208]
mov qword [rbp + 0x1208], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x60]
mov rbx, qword [rbp + 0x170]
mov rsi, qword [rbp + 0x178]
lea rsp, [rbp + 0x1210]
pop rbp
ret
mov dword [rbp + 0x18], 0
lea rax, [rbp + 0xe01]
mov edx, 0
mov ecx, 0x400
mov qword [rbp + 0xf8], rcx
mov rcx, rax
mov rax, qword [rbp + 0xf8]
mov r8, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0x201]
lea rdx, str.oobj_disk_d_part_d
mov rcx, qword [rbp + 0x1220]
mov ecx, dword [rcx + 0x40]
mov rbx, qword [rbp + 0x1228]
mov ebx, dword [rbx + 0x14]
mov dword [rbp + 0x100], ecx
mov rcx, rax
mov eax, dword [rbp + 0x100]
mov r8d, eax
mov r9d, ebx
call fcn.1400012e0
mov dword [rbp + 0x20], eax
lea rax, [rbp + 0x601]
lea rdx, str.DeviceHarddisk_dPartition_d
mov rcx, qword [rbp + 0x1220]
mov ecx, dword [rcx + 0x40]
mov rbx, qword [rbp + 0x1228]
mov ebx, dword [rbx + 0x14]
mov dword [rbp + 0x108], ecx
mov rcx, rax
mov eax, dword [rbp + 0x108]
mov r8d, eax
mov r9d, ebx
call fcn.1400012e0
mov dword [rbp + 0x28], eax
lea rax, [rbp + 0xa01]
lea rdx, str.._s_
lea rcx, [rbp + 0x201]
mov qword [rbp + 0x110], rcx
mov rcx, rax
mov rax, qword [rbp + 0x110]
mov r8, rax
call fcn.1400012e0
mov dword [rbp + 0x2c], eax
mov eax, 1
lea rdx, [rbp + 0x201]
lea rcx, [rbp + 0x601]
mov rbx, qword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
mov qword [rbp + 0x118], rcx
mov ecx, eax
mov rax, qword [rbp + 0x118]
mov r8, rax
call rbx
mov dword [rbp + 0x30], eax
mov eax, dword [rbp + 0x30]
test eax, eax
jne 0x14000b4fd
lea rax, str.Failed_to_determine_filesystem_types_for__s
lea rdx, [rbp + 0x601]
mov rcx, rax
call fcn.14000f4d8
jmp 0x14000b5de
lea rax, [rbp + 0xa01]
mov edx, 0
mov ecx, 0
mov ebx, 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rsi, [rbp + 0xe01]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], 0x400
mov rsi, qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [rbp + 0x120], ecx
mov rcx, rax
mov eax, dword [rbp + 0x120]
mov r8d, eax
mov r9, rbx
call rsi
mov dword [rbp + 0x34], eax
mov eax, dword [rbp + 0x34]
test eax, eax
jne 0x14000b597
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x3c], eax
lea rax, str.Failed_to_read_volume_information_for__s__err__d_n
lea rdx, [rbp + 0x601]
mov ecx, dword [rbp + 0x3c]
mov dword [rbp + 0x128], ecx
mov rcx, rax
mov eax, dword [rbp + 0x128]
mov r8d, eax
call fcn.14000f4d8
jmp 0x14000b5de
lea rax, [rbp + 0xe01]
movsx eax, byte [rax]
movsx rax, al
test eax, eax
je 0x14000b5de
lea rax, str._s_contains__s_fileSystem
lea rdx, [rbp + 0x601]
lea rcx, [rbp + 0xe01]
mov qword [rbp + 0x130], rcx
mov rcx, rax
mov rax, qword [rbp + 0x130]
mov r8, rax
call fcn.14000f4d8
mov dword [rbp + 0x18], 1
mov eax, 3
lea rdx, [rbp + 0x201]
lea rcx, [rbp + 0x601]
mov rbx, qword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
mov qword [rbp + 0x138], rcx
mov ecx, eax
mov rax, qword [rbp + 0x138]
mov r8, rax
call rbx
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x18]
cmp eax, 1
jne 0x14000b657
mov eax, 0
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x1208]
mov qword [rbp + 0x1208], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x64]
mov rbx, qword [rbp + 0x170]
mov rsi, qword [rbp + 0x178]
lea rsp, [rbp + 0x1210]
pop rbp
ret
mov rax, qword [rbp + 0x1228]
mov rdx, qword [rbp + 0x1228]
mov ecx, dword [rbp]
imul ecx, dword [rdx + 0x10]
neg rcx
add rcx, qword [rax]
mov qword [rbp + 0xa8], rcx
mov rax, qword [rbp + 0x1220]
mov rax, qword [rax]
mov edx, dword [rbp + 0xa8]
lea rcx, [rbp + 0xac]
mov ebx, 0
mov rsi, qword [sym.imp.orauts.dll_SetFilePointer]
mov qword [rbp + 0x140], rcx
mov rcx, rax
mov rax, qword [rbp + 0x140]
mov r8, rax
mov r9d, ebx
call rsi
mov dword [rbp + 0x40], eax
mov rax, qword [rbp + 0x1220]
mov rax, qword [rax]
mov rdx, qword [rbp + 0x1220]
mov rdx, qword [rdx + 0x38]
mov ecx, dword [rbp]
lea rbx, [rbp + 8]
mov qword [rsp + 0x20], 0
mov rsi, qword [sym.imp.orauts.dll_ReadFile]
mov dword [rbp + 0x148], ecx
mov rcx, rax
mov eax, dword [rbp + 0x148]
mov r8d, eax
mov r9, rbx
call rsi
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
test eax, eax
jne 0x14000b768
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x48], eax
lea rax, str.Error_in_read_of_first_sector_error___d__n
mov edx, dword [rbp + 0x48]
mov rcx, rax
call fcn.14000f4d8
mov eax, 0
mov dword [rbp + 0x68], eax
mov rax, qword [rbp + 0x1208]
mov qword [rbp + 0x1208], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x68]
mov rbx, qword [rbp + 0x170]
mov rsi, qword [rbp + 0x178]
lea rsp, [rbp + 0x1210]
pop rbp
ret
mov eax, dword [rbp + 8]
mov edx, dword [rbp]
cmp eax, edx
je 0x14000b7d5
lea rax, str.Error_in_read_of_first_sector_size__d___read__d__n
mov edx, dword [rbp]
mov ecx, dword [rbp + 8]
mov dword [rbp + 0x150], ecx
mov rcx, rax
mov eax, dword [rbp + 0x150]
mov r8d, eax
call fcn.14000f4d8
mov eax, 0
mov dword [rbp + 0x6c], eax
mov rax, qword [rbp + 0x1208]
mov qword [rbp + 0x1208], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x6c]
mov rbx, qword [rbp + 0x170]
mov rsi, qword [rbp + 0x178]
lea rsp, [rbp + 0x1210]
pop rbp
ret
mov rax, qword [rbp + 0x1220]
mov rax, qword [rax + 0x38]
mov qword [rbp + 0xb0], rax
mov eax, 0xfffffffe
add eax, dword [rbp]
add rax, qword [rbp + 0xb0]
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x98]
movsx eax, byte [rax]
movsx rax, al
cmp eax, 0x55
jne 0x14000b9bc
mov eax, 1
add rax, qword [rbp + 0x98]
movsx eax, byte [rax]
movsx rax, al
cmp eax, 0xffffffaa
jne 0x14000b9bc
mov rax, qword [rbp + 0xb0]
lea rdx, str.ORALINK
mov ecx, 7
mov rbx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
mov qword [rbp + 0x158], rcx
mov rcx, rax
mov rax, qword [rbp + 0x158]
mov r8, rax
call rbx
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x4c]
test eax, eax
jne 0x14000b8b4
lea rax, [rbp + 0x180]
mov edx, 7
add rdx, qword [rbp + 0xb0]
mov ecx, 0x80
mov rbx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov qword [rbp + 0x160], rcx
mov rcx, rax
mov rax, qword [rbp + 0x160]
mov r8, rax
call rbx
mov qword [rbp + 0xb8], rax
lea rax, [rbp + 0x180]
add rax, 0x7f
mov byte [rax], 0
lea rax, [rbp + 0x180]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
test rax, rax
jbe 0x14000b8e9
mov rax, qword [rbp + 0x1230]
mov dword [rax + 0x114], 1
jmp 0x14000b8fa
mov rax, qword [rbp + 0x1230]
mov dword [rax + 0x114], 0
mov rax, qword [rbp + 0x1220]
mov eax, dword [rax + 0x58]
test eax, eax
jne 0x14000b931
mov rax, qword [rbp + 0x1220]
mov rdx, qword [rbp + 0x1228]
mov edx, dword [rdx + 0x14]
mov rcx, rax
call fcn.14000e721
mov dword [rbp + 0x50], eax
mov rax, qword [rbp + 0x1220]
mov edx, dword [rbp + 0x50]
mov dword [rax + 0x58], edx
mov rax, qword [rbp + 0x1230]
mov rdx, qword [rbp + 0x1228]
lea rcx, [rbp + 0x180]
mov rbx, qword [rbp + 0x1220]
mov ebx, dword [rbx + 0x40]
mov qword [rbp + 0x168], rcx
mov rcx, rax
mov rax, qword [rbp + 0x168]
mov r8, rax
mov r9d, ebx
call fcn.14000e9f1
mov rax, qword [rbp + 0x1230]
mov dword [rax + 0x100], 1
mov eax, 1
mov dword [rbp + 0x70], eax
mov rax, qword [rbp + 0x1208]
mov qword [rbp + 0x1208], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x70]
mov rbx, qword [rbp + 0x170]
mov rsi, qword [rbp + 0x178]
lea rsp, [rbp + 0x1210]
pop rbp
ret
mov eax, 0
mov dword [rbp + 0x74], eax
mov rax, qword [rbp + 0x1208]
mov qword [rbp + 0x1208], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x74]
mov rbx, qword [rbp + 0x170]
mov rsi, qword [rbp + 0x178]
lea rsp, [rbp + 0x1210]
pop rbp
ret