Function at 0x140196720
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 [0x14035cb78]
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 0x1401967eb
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.1400d07a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.1401639e0
jmp 0x140196b20
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 0x140196810
dec rax
cmp word [rbp - 0x70], 0x5c
jne 0x140196ad8
lea r12, str.SYSTEM
lea r13, str.FAT32
nop word [rax + rax]
cmp word [rbp - 0x6e], 0x5c
jne 0x140196ad8
cmp word [rbp - 0x6c], 0x3f
jne 0x140196ad8
cmp word [rbp - 0x6a], 0x5c
jne 0x140196ad8
lea rbx, [rax + rax]
cmp word [rbp + rbx - 0x70], 0x5c
jne 0x140196ad8
cmp rbx, 0x208
jae 0x140196bea
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 0x140196ba1
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 0x140196953
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.1400d07a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.1401639e0
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 0x140196a81
cmp rcx, 7
jne 0x140196960
mov rcx, r15
lea rdx, [rbp + 0x3b0]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r13 + rcx*2 - 2]
jne 0x140196a81
cmp rcx, 6
jne 0x140196983
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.1400d07a0
lea r8, [rbp - 0x70]
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.140163440
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.1400d07a0
lea r8, [rbp + 0x1a0]
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.140163440
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.1400d07a0
lea r8, [rbp + 0x3b0]
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.140163440
lea rax, [rbp - 0x70]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140196a61
mov r8, rdi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.1400d07a0
jmp 0x140196b17
mov r8d, 0x104
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x140196b64
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 0x140196ac0
dec rax
cmp word [rbp - 0x70], 0x5c
je 0x140196840
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.1400d07a0
lea r8, [rbp - 0x70]
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.1401639e0
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.1401c7850
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 0x140196b17
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.1400d07a0
mov r8d, ebx
jmp 0x140196bd4
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.1400d07a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.1401639e0
jmp 0x140196b17
call fcn.1401c7c04
int3