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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x370
mov qword [rsp + 0x2d0], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x368], rax
mov dword [rsp + 0x2c8], 0
cmp dword [rsp + 0x388], 2
jne 0x1400dea1b
xor edx, edx
lea rcx, [rsp + 0x280]
call fcn.14004f750
mov qword [rsp + 0x2d8], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x2e0], rax
mov rcx, qword [rsp + 0x2e0]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x288]
call fcn.14004f240
mov qword [rsp + 0x2e8], rax
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x2f0], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor r8d, r8d
mov rdx, qword [rsp + 0x380]
mov rcx, qword [rsp + 0x2f0]
call fcn.140002230
mov eax, dword [rsp + 0x2c8]
or eax, 1
mov dword [rsp + 0x2c8], eax
lea rcx, [rsp + 0x288]
call fcn.140001470
nop
lea rcx, [rsp + 0x280]
call fcn.140001470
mov rax, qword [rsp + 0x380]
jmp 0x1400ded5d
cmp dword [rsp + 0x388], 0
jne 0x1400deada
lea rcx, [rsp + 0x290]
call fcn.1400db5f0
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x300], rax
mov rcx, qword [rsp + 0x300]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x298]
call fcn.14004f240
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x308]
mov qword [rsp + 0x310], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor r8d, r8d
mov rdx, qword [rsp + 0x380]
mov rcx, qword [rsp + 0x310]
call fcn.140002230
mov eax, dword [rsp + 0x2c8]
or eax, 1
mov dword [rsp + 0x2c8], eax
lea rcx, [rsp + 0x298]
call fcn.140001470
nop
lea rcx, [rsp + 0x290]
call fcn.140001470
mov rax, qword [rsp + 0x380]
jmp 0x1400ded5d
cmp dword [rsp + 0x388], 3
jne 0x1400dec16
mov edx, 1
lea rcx, [rsp + 0x2a0]
call fcn.1400de920
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x318]
mov qword [rsp + 0x320], rax
xor edx, edx
lea rcx, [rsp + 0x2a8]
call fcn.1400de920
mov qword [rsp + 0x328], rax
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x330], rax
mov r8, qword [rsp + 0x320]
mov rdx, qword [rsp + 0x330]
lea rcx, [rsp + 0x2b0]
call fcn.140006b70
mov qword [rsp + 0x338], rax
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x340], rax
mov rcx, qword [rsp + 0x340]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x2b8]
call fcn.14004f240
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0x348]
mov qword [rsp + 0x350], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor r8d, r8d
mov rdx, qword [rsp + 0x380]
mov rcx, qword [rsp + 0x350]
call fcn.140002230
mov eax, dword [rsp + 0x2c8]
or eax, 1
mov dword [rsp + 0x2c8], eax
lea rcx, [rsp + 0x2b8]
call fcn.140001470
nop
lea rcx, [rsp + 0x2b0]
call fcn.140001470
nop
lea rcx, [rsp + 0x2a8]
call fcn.140001470
nop
lea rcx, [rsp + 0x2a0]
call fcn.140001470
mov rax, qword [rsp + 0x380]
jmp 0x1400ded5d
xor eax, eax
mov word [rsp + 0x70], ax
lea rdi, [rsp + 0x72]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x48]
call fcn.140002d50
nop
movzx r8d, word [rsp + 0x70]
lea rdx, [0x140215390]
lea rcx, [rsp + 0x48]
call fcn.140002be0
lea rcx, [rsp + 0x48]
call fcn.1400012c0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov dword [rsp + 0x40], eax
lea rdx, [0x140214d2c]
lea rcx, [rsp + 0x50]
call fcn.140002090
nop
mov r8d, dword [rsp + 0x58]
lea rdx, [0x1402153a0]
lea rcx, [rsp + 0x50]
call fcn.140002be0
lea rcx, [rsp + 0x50]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x2c0]
call fcn.14004f240
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x358]
mov qword [rsp + 0x360], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor r8d, r8d
mov rdx, qword [rsp + 0x380]
mov rcx, qword [rsp + 0x360]
call fcn.140002230
mov eax, dword [rsp + 0x2c8]
or eax, 1
mov dword [rsp + 0x2c8], eax
lea rcx, [rsp + 0x2c0]
call fcn.140001470
nop
lea rcx, [rsp + 0x50]
call fcn.140001470
nop
lea rcx, [rsp + 0x48]
call fcn.140001470
mov rax, qword [rsp + 0x380]
mov rcx, qword [rsp + 0x368]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x370
pop rdi
ret