Function at 0x1400dde90
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 [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x368], rax
mov dword [rsp + 0x2c8], 0
cmp dword [rsp + 0x388], 2
jne 0x1400ddf8b
xor edx, edx
lea rcx, [rsp + 0x280]
call fcn.14004e6e0
mov qword [rsp + 0x2d8], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x2e0], rax
mov rcx, qword [rsp + 0x2e0]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x288]
call fcn.14004e1d0
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.1400022a0
mov eax, dword [rsp + 0x2c8]
or eax, 1
mov dword [rsp + 0x2c8], eax
lea rcx, [rsp + 0x288]
call fcn.140001490
nop
lea rcx, [rsp + 0x280]
call fcn.140001490
mov rax, qword [rsp + 0x380]
jmp 0x1400de2cd
cmp dword [rsp + 0x388], 0
jne 0x1400de04a
lea rcx, [rsp + 0x290]
call fcn.1400dc940
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x300], rax
mov rcx, qword [rsp + 0x300]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x298]
call fcn.14004e1d0
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.1400022a0
mov eax, dword [rsp + 0x2c8]
or eax, 1
mov dword [rsp + 0x2c8], eax
lea rcx, [rsp + 0x298]
call fcn.140001490
nop
lea rcx, [rsp + 0x290]
call fcn.140001490
mov rax, qword [rsp + 0x380]
jmp 0x1400de2cd
cmp dword [rsp + 0x388], 3
jne 0x1400de186
mov edx, 1
lea rcx, [rsp + 0x2a0]
call fcn.1400dde90
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x318]
mov qword [rsp + 0x320], rax
xor edx, edx
lea rcx, [rsp + 0x2a8]
call fcn.1400dde90
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.140006bd0
mov qword [rsp + 0x338], rax
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x340], rax
mov rcx, qword [rsp + 0x340]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x2b8]
call fcn.14004e1d0
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.1400022a0
mov eax, dword [rsp + 0x2c8]
or eax, 1
mov dword [rsp + 0x2c8], eax
lea rcx, [rsp + 0x2b8]
call fcn.140001490
nop
lea rcx, [rsp + 0x2b0]
call fcn.140001490
nop
lea rcx, [rsp + 0x2a8]
call fcn.140001490
nop
lea rcx, [rsp + 0x2a0]
call fcn.140001490
mov rax, qword [rsp + 0x380]
jmp 0x1400de2cd
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.140002de0
nop
movzx r8d, word [rsp + 0x70]
lea rdx, [0x14021b300]
lea rcx, [rsp + 0x48]
call fcn.140002c70
lea rcx, [rsp + 0x48]
call fcn.14000f8f0
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, [0x14021ac6c]
lea rcx, [rsp + 0x50]
call fcn.140002100
nop
mov r8d, dword [rsp + 0x58]
lea rdx, [0x14021b310]
lea rcx, [rsp + 0x50]
call fcn.140002c70
lea rcx, [rsp + 0x50]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x2c0]
call fcn.14004e1d0
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.1400022a0
mov eax, dword [rsp + 0x2c8]
or eax, 1
mov dword [rsp + 0x2c8], eax
lea rcx, [rsp + 0x2c0]
call fcn.140001490
nop
lea rcx, [rsp + 0x50]
call fcn.140001490
nop
lea rcx, [rsp + 0x48]
call fcn.140001490
mov rax, qword [rsp + 0x380]
mov rcx, qword [rsp + 0x368]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x370
pop rdi
ret