Function at 0x1401945f0
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7e0]
sub rsp, 0x8e0
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xor r15d, r15d
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, 0x104
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1401946bb
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
lea r8d, [r15 + 0x35]
lea rdx, str._s______FindFirstVolumeW___failed._Error_code0x08_x_n
lea rcx, [rsp + 0x40]
call fcn.1400cf720
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.140162a30
jmp 0x1401949f0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5c0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rbp - 0x70]
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401946e0
dec rax
cmp word [rbp - 0x70], 0x5c
jne 0x1401949a8
lea r12, str.SYSTEM
lea r13, str.FAT32
nop word [rax + rax]
cmp word [rbp - 0x6e], 0x5c
jne 0x1401949a8
cmp word [rbp - 0x6c], 0x3f
jne 0x1401949a8
cmp word [rbp - 0x6a], 0x5c
jne 0x1401949a8
lea rbx, [rax + rax]
cmp word [rbp + rbx - 0x70], 0x5c
jne 0x1401949a8
cmp rbx, 0x208
jae 0x140194aba
mov word [rbp + rbx - 0x70], r15w
mov r8d, 0x104
lea rdx, [rbp + 0x5c0]
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov ecx, 0x5c
mov word [rbp + rbx - 0x70], cx
test eax, eax
je 0x140194a71
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3b0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x38], 0x104
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x140194823
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
lea r8d, [rax + 0x39]
lea rdx, str._s______Failed_to_get_info._of_volume._Error_code0x_08x_n
lea rcx, [rsp + 0x40]
call fcn.1400cf720
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.140162a30
mov rcx, r15
lea rdx, [rbp + 0x1a0]
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r12 + rcx*2 - 2]
jne 0x140194951
cmp rcx, 7
jne 0x140194830
mov rcx, r15
lea rdx, [rbp + 0x3b0]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r13 + rcx*2 - 2]
jne 0x140194951
cmp rcx, 6
jne 0x140194853
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
lea r8d, [rcx + 0x13]
lea rdx, str._s______Volume_Name___s__n
lea rcx, [rsp + 0x40]
call fcn.1400cf720
lea r8, [rbp - 0x70]
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.140162490
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov r8d, 0x1a
lea rdx, str._s______Volume_Label___s__n
lea rcx, [rsp + 0x40]
call fcn.1400cf720
lea r8, [rbp + 0x1a0]
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.140162490
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov r8d, 0x20
lea rdx, str._s______Volume_File_System___s__n
lea rcx, [rsp + 0x40]
call fcn.1400cf720
lea r8, [rbp + 0x3b0]
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.140162490
lea rax, [rbp - 0x70]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140194931
mov r8, rdi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.1400cf720
jmp 0x1401949e7
mov r8d, 0x104
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x140194a34
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5c0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rbp - 0x70]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140194990
dec rax
cmp word [rbp - 0x70], 0x5c
je 0x140194710
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov r8d, 0x46
lea rdx, str._s______FindFirstVolumeW___FindNextVolumeW___returned_a_bad_path___s__n
lea rcx, [rsp + 0x40]
call fcn.1400cf720
lea r8, [rbp - 0x70]
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.140162a30
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1401c0070
lea r11, [rsp + 0x8e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ebx, eax
cmp eax, 0x12
je 0x1401949e7
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov r8d, 0x34
lea rdx, str._s______FindNextVolumeW___failed._Error_code0x_08x_n
lea rcx, [rsp + 0x40]
call fcn.1400cf720
mov r8d, ebx
jmp 0x140194aa4
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov r8d, 0x34
lea rdx, str._s______QueryDosDeviceW___failed._Error_code0x_08x_n
lea rcx, [rsp + 0x40]
call fcn.1400cf720
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.140162a30
jmp 0x1401949e7
call fcn.1401c0424
int3