Function at 0x140034b46
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x510
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x1b0], rsi
mov qword [rbp + 0x1a8], rbx
mov qword [rbp + 0x68], rcx
mov qword [rbp + 0x70], rdx
mov qword [rbp + 0x78], r8
mov qword [rbp + 0x80], r9
mov qword [rbp + 0x4e0], rcx
mov qword [rbp + 0x4e8], rdx
mov qword [rbp + 0x4f0], r8
mov qword [rbp + 0x4f8], r9
mov rax, qword [0x1400e0a40]
xor rax, rbp
mov qword [rbp + 0x4c0], 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 + 0x88], 0xffffffffffffffff
mov qword [rbp + 0x90], 0
mov rax, qword [rbp + 0x4f0]
mov rdx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rcx, rax
call rdx
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0xa0]
test rax, rax
je 0x14003538b
mov eax, 1
mov edx, 0x104
mov rcx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbp + 0x120], rcx
mov rcx, rax
mov rax, qword [rbp + 0x120]
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 0x140034c71
mov dword [rbp], 2
jmp 0x14003538b
mov rax, qword [rbp + 0x4e0]
mov rdx, qword [rbp + 0x90]
mov rcx, qword [rbp + 0xb0]
mov qword [rbp + 0x128], rcx
mov rcx, rax
mov rax, qword [rbp + 0x128]
mov r8, rax
call fcn.1400353c8
mov rax, qword [rbp + 0xb0]
test rax, rax
je 0x140034d35
mov rax, qword [rbp + 0xb0]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
test rax, rax
je 0x140034d35
mov qword [rbp + 0x90], 0
mov rax, qword [rbp + 0xb0]
mov rdx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rcx, rax
call rdx
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0xd0]
test rax, rax
je 0x14003538b
mov rax, qword [rbp + 0xb0]
mov rdx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0x90]
mov edx, 0
mov ecx, 1
mov ebx, 0
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x2000080
mov qword [rsp + 0x30], 0
mov rsi, qword [sym.imp.orauts.dll_CreateFileA]
mov dword [rbp + 0x130], ecx
mov rcx, rax
mov eax, dword [rbp + 0x130]
mov r8d, eax
mov r9, rbx
call rsi
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
cmp rax, 0xffffffffffffffff
jne 0x140034eb0
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x14]
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
cmp eax, 3
jne 0x140034e39
lea rax, [rbp + 0xd8]
mov rdx, qword [rbp + 0x4f0]
mov qword [rax], rdx
mov rax, qword [rbp + 0x4e0]
lea rdx, str.prvg
lea rcx, str.13336
mov ebx, 1
lea rsi, [rbp + 0xd8]
mov qword [rsp + 0x20], rsi
lea rsi, str.CVU00425
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], 0
mov qword [rbp + 0x138], rcx
mov rcx, rax
mov rax, qword [rbp + 0x138]
mov r8, rax
mov r9d, ebx
call fcn.14002d0f9
mov dword [rbp + 0x1c], eax
mov dword [rbp], 0x13
jmp 0x14003538b
lea rax, [rbp + 0xe0]
mov rdx, qword [rbp + 0x4f0]
mov qword [rax], rdx
mov rax, qword [rbp + 0x4e0]
lea rdx, str.prvg
lea rcx, str.13336
mov ebx, 1
lea rsi, [rbp + 0xe0]
mov qword [rsp + 0x20], rsi
lea rsi, str.CVU00366
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], 0
mov qword [rbp + 0x140], rcx
mov rcx, rax
mov rax, qword [rbp + 0x140]
mov r8, rax
mov r9d, ebx
call fcn.14002d0f9
mov dword [rbp + 0x20], eax
mov dword [rbp], 4
jmp 0x14003538b
mov rax, qword [rbp + 0x88]
mov rdx, qword [sym.imp.orauts.dll_CloseHandle]
mov rcx, rax
call rdx
mov dword [rbp + 0x18], eax
mov rax, qword [rbp + 0x90]
test rax, rax
je 0x140034f84
mov rax, qword [rbp + 0x90]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
test rax, rax
jbe 0x140034f84
mov rax, qword [rbp + 0x4f8]
lea rax, [rax + 8]
mov edx, 0
mov ecx, 0x104
mov qword [rbp + 0x148], rcx
mov rcx, rax
mov rax, qword [rbp + 0x148]
mov r8, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0x90]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0x4f8]
lea rax, [rax + 8]
mov rdx, qword [rbp + 0x90]
mov rcx, qword [rbp + 0xf8]
mov rbx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov qword [rbp + 0x150], rcx
mov rcx, rax
mov rax, qword [rbp + 0x150]
mov r8, rax
call rbx
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x90]
lea rdx, [rbp + 0x1b8]
mov ecx, 0x103
mov rbx, qword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov dword [rbp + 0x158], ecx
mov rcx, rax
mov eax, dword [rbp + 0x158]
mov r8d, eax
call rbx
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
test eax, eax
jne 0x14003505b
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x28]
cmp eax, 1
jne 0x140034ff9
lea rax, [rbp + 0x3bc]
mov rdx, qword [rbp + 0x90]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov qword [rbp + 0x108], rax
jmp 0x14003505b
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x34], eax
mov rax, qword [rbp + 0x4e0]
lea rdx, str.GetVolName
mov ecx, dword [rbp + 0x34]
mov rbx, qword [rbp + 0x4f0]
lea rsi, str.CVU00363
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 0
mov dword [rbp + 0x160], ecx
mov rcx, rax
mov eax, dword [rbp + 0x160]
mov r8d, eax
mov r9, rbx
call fcn.14002cda8
mov dword [rbp + 0x38], eax
mov dword [rbp], 4
jmp 0x14003538b
mov eax, dword [rbp + 4]
test eax, eax
je 0x14003513f
lea rax, [rbp + 0x1b8]
lea rdx, [rbp + 0x3bc]
mov ecx, 0x100
mov rbx, qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
mov dword [rbp + 0x168], ecx
mov rcx, rax
mov eax, dword [rbp + 0x168]
mov r8d, eax
call rbx
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp + 0x2c]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
test eax, eax
jne 0x14003513f
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x3c]
cmp eax, 0x1126
jne 0x1400350dd
lea rax, [rbp + 0x3bc]
lea rdx, [rbp + 0x1b8]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov qword [rbp + 0x118], rax
jmp 0x14003513f
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x48], eax
mov rax, qword [rbp + 0x4e0]
lea rdx, str.GetMountPoint
mov ecx, dword [rbp + 0x48]
mov rbx, qword [rbp + 0x4f0]
lea rsi, str.CVU00368
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 0
mov dword [rbp + 0x170], ecx
mov rcx, rax
mov eax, dword [rbp + 0x170]
mov r8d, eax
mov r9, rbx
call fcn.14002cda8
mov dword [rbp + 0x4c], eax
mov dword [rbp], 4
jmp 0x14003538b
lea rax, [rbp + 0x3bc]
mov edx, 0
mov ecx, 0
lea rbx, [rbp + 0xc]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rsi, [rbp + 0x2bc]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], 0x100
mov rsi, qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [rbp + 0x178], ecx
mov rcx, rax
mov eax, dword [rbp + 0x178]
mov r8d, eax
mov r9, rbx
call rsi
mov dword [rbp + 0x30], eax
mov eax, dword [rbp + 0x30]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
test eax, eax
jne 0x140035232
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x40]
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
cmp eax, 0x57
jne 0x1400351d2
mov dword [rbp], 0x13
jmp 0x14003538b
mov eax, dword [rbp + 0x10]
cmp eax, 0x3ed
je 0x140035232
mov rax, qword [rbp + 0x4e0]
lea rdx, str.GetVolInfo
mov ecx, dword [rbp + 0x10]
mov rbx, qword [rbp + 0x4f0]
lea rsi, str.CVU00369
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 0
mov dword [rbp + 0x180], ecx
mov rcx, rax
mov eax, dword [rbp + 0x180]
mov r8d, eax
mov r9, rbx
call fcn.14002cda8
mov dword [rbp + 0x50], eax
mov dword [rbp], 4
jmp 0x14003538b
lea rax, [rbp + 0x2bc]
mov rdx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strupr]
mov rcx, rax
call rdx
mov qword [rbp + 0x110], rax
lea rax, str.ORACFS
lea rdx, [rbp + 0x2bc]
mov ecx, 0x100
mov rbx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov qword [rbp + 0x188], rcx
mov rcx, rax
mov rax, qword [rbp + 0x188]
mov r8, rax
call rbx
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
test eax, eax
jne 0x140035299
mov rax, qword [rbp + 0x4f8]
mov dword [rax + 4], 7
jmp 0x14003538b
lea rax, str.ACFS
lea rdx, [rbp + 0x2bc]
mov ecx, 0x100
mov rbx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov qword [rbp + 0x190], rcx
mov rcx, rax
mov rax, qword [rbp + 0x190]
mov r8, rax
call rbx
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x54]
test eax, eax
jne 0x1400352e6
mov rax, qword [rbp + 0x4f8]
mov dword [rax + 4], ntohs
jmp 0x14003538b
lea rax, str.NTFS
lea rdx, [rbp + 0x2bc]
mov ecx, 0x100
mov rbx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov qword [rbp + 0x198], rcx
mov rcx, rax
mov rax, qword [rbp + 0x198]
mov r8, rax
call rbx
mov dword [rbp + 0x58], eax
mov eax, dword [rbp + 0x58]
test eax, eax
jne 0x140035330
mov rax, qword [rbp + 0x4f8]
mov dword [rax + 4], 0x15
jmp 0x14003538b
lea rax, [0x1400c0a0c]
lea rdx, [rbp + 0x2bc]
mov ecx, 0x100
mov rbx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov qword [rbp + 0x1a0], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1a0]
mov r8, rax
call rbx
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x5c]
test eax, eax
je 0x140035374
mov eax, dword [rbp + 0x10]
cmp eax, 0x3ed
jne 0x14003537d
mov dword [rbp], 0x13
jmp 0x14003538b
mov rax, qword [rbp + 0x4f8]
mov dword [rax + 4], 5
mov eax, dword [rbp]
mov dword [rbp + 0x60], eax
mov rax, qword [rbp + 0x4c0]
mov qword [rbp + 0x4c0], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x60]
mov rbx, qword [rbp + 0x1a8]
mov rsi, qword [rbp + 0x1b0]
lea rsp, [rbp + 0x4d0]
pop rbp
ret