Function at 0x1400608c8
Capabilities:
Get common file path
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rbx, rcx
lea rcx, [rax + 0x10]
call fcn.140044ef4
mov r15d, 5
lea rcx, [rsp + 0x50]
mov edx, r15d
call fcn.14004bedc
lea edx, [r15 + 0xf]
lea rcx, [rsp + 0x58]
call fcn.14004bedc
lea rcx, [rsp + 0x60]
call fcn.14004be6c
mov rax, qword [rsp + 0xe8]
xor esi, esi
lea r14d, [r15 - 3]
lea edi, [rsi + 0x2a]
mov ebp, esi
mov dword [rsp + 0x88], r14d
mov dword [rsp + 0xf8], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x44], esi
lea r12d, [r15 - 4]
lea r11d, [r15 + 1]
lea r13d, [r15 + 0x1b]
cmp di, word [rax]
jne 0x140060aa2
lea rdx, [rsp + 0xe8]
lea rcx, str.vol
mov r8d, 4
call fcn.140044f78
cmp eax, esi
je 0x140060989
mov ebp, r12d
jmp 0x140060a8a
lea rdx, [rsp + 0xe8]
lea rcx, str.setvol
mov r8d, 7
call fcn.140044f78
cmp eax, esi
je 0x1400609af
mov ebp, r14d
jmp 0x140060a8a
lea rdx, [rsp + 0xe8]
lea rcx, str.idle
mov r8d, r15d
call fcn.140044f78
cmp eax, esi
je 0x1400609d4
mov dword [rsp + 0x40], r12d
jmp 0x140060a8a
lea rdx, [rsp + 0xe8]
lea rcx, str.idlec
mov r8d, r11d
call fcn.140044f78
cmp eax, esi
je 0x1400609f9
mov dword [rsp + 0x40], r14d
jmp 0x140060a8a
lea rdx, [rsp + 0xe8]
lea rcx, str.rsort
mov r8d, r11d
call fcn.140044f78
cmp eax, esi
je 0x140060a1b
mov dword [rsp + 0x48], r12d
jmp 0x140060a8a
lea rdx, [rsp + 0xe8]
lea rcx, [0x1400ded10]
mov r8d, 3
call fcn.140044f78
cmp eax, esi
je 0x140060a44
mov eax, pe_nt_image_headers64
mov dword [rsp + 0x44], eax
jmp 0x140060a8a
mov rcx, qword [rsp + 0xe8]
movzx eax, word [rcx]
cmp ax, si
je 0x140060a7d
mov edx, 9
cmp dx, ax
ja 0x140060a64
cmp ax, 0xd
jbe 0x140060a75
cmp r13w, ax
je 0x140060a75
add rcx, r14
mov ax, word [rcx]
cmp ax, si
jne 0x140060a54
mov qword [rsp + 0xe8], rcx
lea rcx, [rsp + 0xe8]
call fcn.140044ef4
mov rax, qword [rsp + 0xe8]
cmp di, word [rax]
je 0x140060963
mov dword [rsp + 0xf8], ebp
mov edi, 0x3d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xe8]
mov r8d, edi
call fcn.14004f5d4
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rbx
call fcn.1400035d0
mov rbx, qword [rsp + 0xe8]
cmp di, word [rbx]
jne 0x140060af9
add rbx, r14
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xe8]
xor r8d, r8d
mov qword [rsp + 0xe8], rbx
call fcn.14004f5d4
mov rdi, qword [rsp + 0x50]
cmp word [rdi], si
jne 0x140060b0d
mov esi, 0x80070057
jmp 0x140060ee8
lea rcx, [rsp + 0x88]
call fcn.14004b91c
cmp dword [rax], ebp
jne 0x140060b59
lea rcx, [rsp + 0x50]
mov edx, r14d
call fcn.14004bf70
mov rcx, qword [rsp + 0x50]
mov r12d, 0x3a
mov rdx, rbx
mov word [rcx + 2], r12w
call qword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
cmp eax, esi
jne 0x140060ee8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140060ee8
mov rcx, qword [rsp + 0x58]
call fcn.140015cb4
mov rcx, rax
call fcn.140052794
lea rcx, [rsp + 0x90]
mov edx, 0x517
mov rbp, rax
call fcn.14004bedc
mov rbx, qword [rsp + 0x90]
lea r15, [rbx + 0x412]
cmp dword [rsp + 0xf8], r12d
jne 0x140060e11
mov word [r15], si
mov word [rbx], si
cmp word [rbp], si
je 0x140060be9
mov r12d, 0x3a
cmp word [rbp + 2], si
je 0x140060bc3
cmp word [rbp + 2], r12w
jne 0x140060be9
cmp word [rbp + 4], si
jne 0x140060be9
lea rcx, [rsp + 0x58]
mov edx, 6
call fcn.14004bf70
mov rbp, qword [rsp + 0x58]
mov eax, 0x5c
mov word [rbp + 2], r12w
mov word [rbp + 4], ax
mov word [rbp + 6], si
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea r9, [rsp + 0xf8]
mov r8d, 0x208
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xf8], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], esi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, esi
je 0x140060c3b
mov ebp, esi
jmp 0x140060c43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
lea rcx, [rsp + 0x80]
mov qword [rsp + 0xe8], rdi
call fcn.14004be6c
lea rcx, [rsp + 0x70]
call fcn.14004be6c
lea rcx, [rsp + 0x68]
call fcn.14004be6c
lea rcx, [rsp + 0x78]
call fcn.14004be6c
lea rcx, [rsp + 0x48]
call fcn.14004be6c
mov edi, 0x2c
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xe8]
mov r8d, edi
call fcn.14004f5d4
mov r11, qword [rsp + 0xe8]
cmp word [r11], si
je 0x140060d59
add r11, r14
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xe8]
mov r8d, edi
mov qword [rsp + 0xe8], r11
call fcn.14004f5d4
mov r11, qword [rsp + 0xe8]
cmp word [r11], si
je 0x140060d59
add r11, r14
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xe8]
mov r8d, edi
mov qword [rsp + 0xe8], r11
call fcn.14004f5d4
mov r11, qword [rsp + 0xe8]
cmp word [r11], si
je 0x140060d59
add r11, r14
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xe8]
mov r8d, edi
mov qword [rsp + 0xe8], r11
call fcn.14004f5d4
mov r11, qword [rsp + 0xe8]
cmp word [r11], si
je 0x140060d59
add r11, r14
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xe8]
mov r8d, edi
mov qword [rsp + 0xe8], r11
call fcn.14004f5d4
mov rdx, qword [rsp + 0x80]
mov r8, rbx
mov rbx, qword [rsp + 0xe0]
mov rcx, rbx
call fcn.14004b578
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0xf8]
lea r9, str._08lX
mov rcx, rbx
call fcn.14004ecd0
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0x40]
mov rcx, rbx
call fcn.14004ed18
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x44]
lea r9, str.0x_lX
mov rcx, rbx
call fcn.14004ecd0
mov rdx, qword [rsp + 0x78]
mov r8, r15
mov rcx, rbx
call fcn.14004b578
lea rcx, [rsp + 0x48]
call fcn.140044f24
lea rcx, [rsp + 0x78]
call fcn.140044f24
lea rcx, [rsp + 0x68]
call fcn.140044f24
lea rcx, [rsp + 0x70]
call fcn.140044f24
lea rcx, [rsp + 0x80]
call fcn.140044f24
lea rcx, [rsp + 0x90]
call fcn.140044f24
mov esi, ebp
jmp 0x140060ee8
cmp word [rbp], si
jne 0x140060e1c
mov r13b, 0x7c
jmp 0x140060e47
lea rcx, [0x1400ded08]
mov rdx, rbp
call fcn.140045ff4
cmp al, sil
jne 0x140060e47
lea rcx, [0x1400db2d4]
mov rdx, rbp
call fcn.140045ff4
cmp al, sil
je 0x140060e6f
mov r12b, sil
mov eax, dword [rsp + 0x44]
mov r9d, dword [rsp + 0x40]
lea rcx, [rsp + 0x60]
or eax, dword [rsp + 0x48]
movsx r8d, r12b
movsx edx, r13b
mov dword [rsp + 0x20], eax
call fcn.140052658
mov rbp, rax
jmp 0x140060ec8
mov r12d, 0x3a
cmp word [rbp + 2], r12w
je 0x140060ec4
lea rdx, [rbx + 0x61c]
mov ecx, 0x208
mov word [rbx + 0x61c], si
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [r12 - 0x35]
lea rcx, [rsp + 0x60]
call fcn.14004bf70
mov rbp, qword [rsp + 0x60]
movzx r11d, word [rbx + 0x61c]
mov word [rbp], r11w
mov word [rbp + 2], r12w
mov word [rbp + 4], si
mov rcx, qword [rsp + 0xe0]
mov r8, rbp
mov rdx, rdi
call fcn.14004b578
lea rcx, [rsp + 0x90]
call fcn.140044f24
lea rcx, [rsp + 0x60]
call fcn.140044f24
lea rcx, [rsp + 0x58]
call fcn.140044f24
lea rcx, [rsp + 0x50]
call fcn.140044f24
mov rbx, qword [rsp + 0xf0]
mov eax, esi
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret