Function at 0x14007b348
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.14004ea3c
mov r14d, 5
lea rcx, [rsp + 0x48]
mov rdx, r14
call fcn.140056040
lea edx, [r14 + 0xf]
lea rcx, [rsp + 0x50]
call fcn.140056040
lea rcx, [rsp + 0x58]
call fcn.140055fcc
mov rcx, qword [rsp + 0xe8]
xor esi, esi
mov eax, esi
lea r13d, [r14 - 3]
lea edx, [rsi + 0x2d]
mov dword [rsp + 0x78], r13d
mov dword [rsp + 0x44], eax
mov r15d, esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x60], esi
mov dword [rsp + 0xf8], esi
mov al, 0x2a
cmp dx, word [rcx]
jne 0x14007b3d7
mov al, byte [rcx]
movsx r11d, al
movzx eax, word [rcx]
mov ebp, 1
lea r12d, [rbp + 0x1f]
cmp r11d, eax
jne 0x14007b58f
lea edi, [rbp + 3]
add rcx, r13
lea rdx, [rsp + 0xe8]
mov r8d, 3
mov qword [rsp + 0xe8], rcx
lea rcx, [0x1400f3dc8]
call fcn.14004eac0
cmp eax, esi
je 0x14007b424
mov r15d, ebp
jmp 0x14007b57b
lea rdx, [rsp + 0xe8]
lea rcx, str.setvol
mov r8d, 6
call fcn.14004eac0
cmp eax, esi
je 0x14007b44a
mov r15d, r13d
jmp 0x14007b57b
lea rdx, [rsp + 0xe8]
lea rcx, str.idle
mov r8d, edi
call fcn.14004eac0
cmp eax, esi
je 0x14007b46e
mov dword [rsp + 0x40], ebp
jmp 0x14007b57b
lea rdx, [rsp + 0xe8]
lea rcx, str.idlec
mov r8d, r14d
call fcn.14004eac0
cmp eax, esi
je 0x14007b493
mov dword [rsp + 0x40], r13d
jmp 0x14007b57b
lea rdx, [rsp + 0xe8]
lea rcx, str.rsort
mov r8d, r14d
call fcn.14004eac0
cmp eax, esi
je 0x14007b4b7
mov dword [rsp + 0x60], ebp
jmp 0x14007b57b
lea rdx, [rsp + 0xe8]
lea rcx, [0x1400f3d80]
mov r8d, r13d
call fcn.14004eac0
cmp eax, esi
je 0x14007b4e0
mov eax, 0x100
mov dword [rsp + 0x44], eax
jmp 0x14007b57b
lea rdx, [rsp + 0xe8]
lea rcx, [0x1400f3d78]
mov r8d, 3
call fcn.14004eac0
cmp eax, esi
je 0x14007b507
mov dword [rsp + 0xf8], ebp
jmp 0x14007b57b
lea rdx, [rsp + 0xe8]
lea rcx, str.devs
mov r8d, edi
call fcn.14004eac0
cmp eax, esi
je 0x14007b52c
mov dword [rsp + 0xf8], r13d
jmp 0x14007b57b
mov rcx, qword [rsp + 0xe8]
movzx eax, word [rcx]
cmp ax, si
je 0x14007b56e
mov edi, 0xd
mov edx, 9
cmp dx, ax
ja 0x14007b550
cmp ax, di
jbe 0x14007b561
cmp r12w, ax
je 0x14007b561
add rcx, r13
mov ax, word [rcx]
cmp ax, si
jne 0x14007b541
mov qword [rsp + 0xe8], rcx
mov edi, 4
lea rcx, [rsp + 0xe8]
call fcn.14004ea3c
mov rcx, qword [rsp + 0xe8]
movzx eax, word [rcx]
cmp r11d, eax
je 0x14007b3f3
mov edi, 0x3d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xe8]
mov r8d, edi
call fcn.140059810
lea rdx, [rsp + 0x48]
xor r8d, r8d
mov rcx, rbx
call fcn.140003728
mov rbx, qword [rsp + 0xe8]
cmp di, word [rbx]
jne 0x14007b5e6
add rbx, r13
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xe8]
xor r8d, r8d
mov qword [rsp + 0xe8], rbx
call fcn.140059810
mov rax, qword [rsp + 0x48]
cmp word [rax], si
jne 0x14007b61a
lea rcx, [rsp + 0x58]
call fcn.14004ea6c
lea rcx, [rsp + 0x50]
call fcn.14004ea6c
lea rcx, [rsp + 0x48]
call fcn.14004ea6c
mov rax, 0xffffffff80070057
jmp 0x14007bc6b
lea rcx, [rsp + 0x78]
call fcn.140055b90
cmp dword [rax], r15d
jne 0x14007b686
lea rcx, [rsp + 0x48]
mov rdx, r13
call fcn.1400560cc
mov rax, qword [rsp + 0x48]
mov r12d, 0x3a
mov word [rax + 2], r12w
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
cmp eax, esi
jne 0x14007b660
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rcx, [rsp + 0x58]
call fcn.14004ea6c
lea rcx, [rsp + 0x50]
call fcn.14004ea6c
lea rcx, [rsp + 0x48]
call fcn.14004ea6c
movsxd rax, esi
jmp 0x14007bc6b
mov rcx, qword [rsp + 0x50]
call fcn.1400188a8
mov rcx, rax
call fcn.14005bf88
lea rcx, [rsp + 0x68]
mov edx, 0x517
mov rdi, rax
call fcn.140056040
mov rbx, qword [rsp + 0x68]
lea r13, [rbx + 0x412]
cmp dword [rsp + 0xf8], esi
je 0x14007b7b9
mov r14d, 0x517
mov rdx, rbx
mov rcx, rdi
mov r8d, r14d
mov word [rbx], si
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp dword [rsp + 0xf8], 2
mov r8, rbx
mov r13d, eax
mov dword [rsp + 0xe8], eax
jl 0x14007b78b
mov r12, rsi
mov rdi, rbx
cmp word [rbx], si
je 0x14007b78b
movzx eax, word [rdi]
add rdi, 2
cmp ax, si
jne 0x14007b705
add r12, rbp
cmp word [rdi], si
jne 0x14007b705
cmp r12, rbp
jle 0x14007b78b
sub rdi, rbx
sar rdi, 1
lea rdx, [rdi + r12]
cmp rdx, r14
jle 0x14007b73e
lea rcx, [rsp + 0x68]
add rdx, 2
call fcn.1400560cc
mov r8, rax
lea rdx, [r8 + rdi*2 - 4]
lea rcx, [rdx + r12*2]
mov word [rcx], si
cmp rcx, rdx
jbe 0x14007b78b
mov r13d, 0xd
cmp rcx, rdx
jbe 0x14007b76d
movzx eax, word [rdx]
sub rdx, 2
mov word [rcx], ax
sub rcx, 2
cmp ax, si
jne 0x14007b755
mov eax, 0xa
mov word [rcx], r13w
sub rcx, 2
mov word [rcx + 4], ax
cmp rcx, rdx
ja 0x14007b75a
mov r13d, dword [rsp + 0xe8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xe0]
call fcn.140055710
cmp r13d, esi
jne 0x14007b7aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rcx, [rsp + 0x68]
call fcn.14004ea6c
jmp 0x14007b660
cmp r15d, ebp
jne 0x14007bb79
mov qword [rbx], rsi
mov qword [r13], rsi
cmp word [rdi], si
je 0x14007b80d
mov r12d, 0x3a
cmp word [rdi + 2], si
je 0x14007b7e7
cmp word [rdi + 2], r12w
jne 0x14007b80d
cmp word [rdi + 4], si
jne 0x14007b80d
lea rcx, [rsp + 0x50]
mov edx, 6
call fcn.1400560cc
mov rdi, qword [rsp + 0x50]
mov eax, 0x5c
mov word [rdi + 2], r12w
mov word [rdi + 4], ax
mov word [rdi + 6], si
lea rdx, str._HarddiskVolume3
mov r8d, 0xc
mov rcx, rdi
mov dword [rsp + 0xf8], esi
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x40], esi
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
mov r12d, 0x104
cmp eax, esi
je 0x14007b88f
mov dword [rsp + 0x38], r12d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
lea r9, [rsp + 0xf8]
mov r8d, 0x208
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, esi
je 0x14007b87f
mov ebp, esi
jmp 0x14007b96a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, esi
je 0x14007b96a
lea r8, [0x140107120]
lea rdx, str.Kernel32.DLL
lea rcx, str.GetVolumeInformationByHandleW
xor r9d, r9d
mov qword [r13], rsi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], esi
mov dword [rsp + 0xf8], esi
call fcn.14004fe68
cmp qword [0x140107120], rsi
je 0x14007b96a
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0xe8]
mov r9d, 7
mov r8d, 0x80000000
mov rdx, rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0x20], rsi
call fcn.140003590
mov rdi, qword [rsp + 0xe8]
mov dword [rsp + 0x38], r12d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r13
lea r9, [rsp + 0xf8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov r8d, 0x208
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [0x140107120]
cmp eax, esi
je 0x14007b94e
mov ebp, esi
jmp 0x14007b956
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp rdi, rsi
je 0x14007b96a
cmp rdi, 0xffffffffffffffff
je 0x14007b96a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0xe8], rax
call fcn.140055fcc
lea rcx, [rsp + 0x80]
call fcn.140055fcc
lea rcx, [rsp + 0x70]
call fcn.140055fcc
lea rcx, [rsp + 0x88]
call fcn.140055fcc
lea rcx, [rsp + 0x60]
call fcn.140055fcc
mov edi, 0x2c
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xe8]
mov r8d, edi
call fcn.140059810
mov r11, qword [rsp + 0xe8]
cmp word [r11], si
je 0x14007ba99
add r11, 2
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0xe8]
mov r8d, edi
mov qword [rsp + 0xe8], r11
call fcn.140059810
mov r11, qword [rsp + 0xe8]
cmp word [r11], si
je 0x14007ba99
add r11, 2
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xe8]
mov r8d, edi
mov qword [rsp + 0xe8], r11
call fcn.140059810
mov r11, qword [rsp + 0xe8]
cmp word [r11], si
je 0x14007ba99
add r11, 2
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xe8]
mov r8d, edi
mov qword [rsp + 0xe8], r11
call fcn.140059810
mov r11, qword [rsp + 0xe8]
cmp word [r11], si
je 0x14007ba99
add r11, 2
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xe8]
mov r8d, edi
mov qword [rsp + 0xe8], r11
call fcn.140059810
mov rdx, qword [rsp + 0x90]
mov r8, rbx
mov rbx, qword [rsp + 0xe0]
mov rcx, rbx
call fcn.140055710
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0xf8]
lea r9, str._08lX
mov rcx, rbx
call fcn.140058ee8
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x44]
mov rcx, rbx
call fcn.140058f30
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x40]
lea r9, str.0x_lX
mov rcx, rbx
call fcn.140058ee8
mov rdx, qword [rsp + 0x88]
mov r8, r13
mov rcx, rbx
call fcn.140055710
lea rcx, [rsp + 0x60]
call fcn.14004ea6c
lea rcx, [rsp + 0x88]
call fcn.14004ea6c
lea rcx, [rsp + 0x70]
call fcn.14004ea6c
lea rcx, [rsp + 0x80]
call fcn.14004ea6c
lea rcx, [rsp + 0x90]
call fcn.14004ea6c
lea rcx, [rsp + 0x68]
call fcn.14004ea6c
lea rcx, [rsp + 0x58]
call fcn.14004ea6c
lea rcx, [rsp + 0x50]
call fcn.14004ea6c
lea rcx, [rsp + 0x48]
call fcn.14004ea6c
movsxd rax, ebp
jmp 0x14007bc6b
cmp word [rdi], si
jne 0x14007bb83
mov r12b, 0x7c
jmp 0x14007bbae
lea rcx, [0x1400f3d0c]
mov rdx, rdi
call fcn.14004fe38
cmp al, sil
jne 0x14007bbae
lea rcx, [0x1400ef8e4]
mov rdx, rdi
call fcn.14004fe38
cmp al, sil
je 0x14007bbd6
mov bpl, sil
mov eax, dword [rsp + 0x44]
mov r9d, dword [rsp + 0x40]
lea rcx, [rsp + 0x58]
or eax, dword [rsp + 0x60]
movsx r8d, bpl
movsx edx, r12b
mov dword [rsp + 0x20], eax
call fcn.14006659c
mov rdi, rax
jmp 0x14007bc2c
mov r12d, 0x3a
cmp word [rdi + 2], r12w
je 0x14007bc28
lea rdx, [rbx + 0x61c]
mov ecx, 0x208
mov word [rbx + 0x61c], si
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x58]
mov rdx, r14
call fcn.1400560cc
mov rdi, qword [rsp + 0x58]
movzx r11d, word [rbx + 0x61c]
mov word [rdi], r11w
mov word [rdi + 2], r12w
mov word [rdi + 4], si
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xe0]
mov r8, rdi
call fcn.140055710
lea rcx, [rsp + 0x68]
call fcn.14004ea6c
lea rcx, [rsp + 0x58]
call fcn.14004ea6c
lea rcx, [rsp + 0x50]
call fcn.14004ea6c
lea rcx, [rsp + 0x48]
call fcn.14004ea6c
xor eax, eax
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret