Function at 0x1401b27e0
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 [0x14039a678]
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 0x1401b28ab
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.1400e83c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.14017f3e0
jmp 0x1401b2be0
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 0x1401b28d0
dec rax
cmp word [rbp - 0x70], 0x5c
jne 0x1401b2b98
lea r12, str.SYSTEM
lea r13, str.FAT32
nop word [rax + rax]
cmp word [rbp - 0x6e], 0x5c
jne 0x1401b2b98
cmp word [rbp - 0x6c], 0x3f
jne 0x1401b2b98
cmp word [rbp - 0x6a], 0x5c
jne 0x1401b2b98
lea rbx, [rax + rax]
cmp word [rbp + rbx - 0x70], 0x5c
jne 0x1401b2b98
cmp rbx, 0x208
jae 0x1401b2caa
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 0x1401b2c61
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 0x1401b2a13
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.1400e83c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.14017f3e0
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 0x1401b2b41
cmp rcx, 7
jne 0x1401b2a20
mov rcx, r15
lea rdx, [rbp + 0x3b0]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r13 + rcx*2 - 2]
jne 0x1401b2b41
cmp rcx, 6
jne 0x1401b2a43
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.1400e83c0
lea r8, [rbp - 0x70]
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.14017ee40
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.1400e83c0
lea r8, [rbp + 0x1a0]
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.14017ee40
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.1400e83c0
lea r8, [rbp + 0x3b0]
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.14017ee40
lea rax, [rbp - 0x70]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1401b2b21
mov r8, rdi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.1400e83c0
jmp 0x1401b2bd7
mov r8d, 0x104
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x1401b2c24
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 0x1401b2b80
dec rax
cmp word [rbp - 0x70], 0x5c
je 0x1401b2900
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.1400e83c0
lea r8, [rbp - 0x70]
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.14017f3e0
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.1401e3ce0
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 0x1401b2bd7
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.1400e83c0
mov r8d, ebx
jmp 0x1401b2c94
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.1400e83c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.asus::winhttp::FileSystem::GetSystemVolumeName
lea rcx, [rsp + 0x40]
call fcn.14017f3e0
jmp 0x1401b2bd7
call fcn.1401e4094
int3