Function at 0x1400160ff
Capabilities:
Get common file path

Disassembly:
jmp 0x1400350b0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x2d8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x7a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x2f8]
mov rax, qword [0x140073340]
xor rax, rbp
mov qword [rbp + 0x298], rax
lea rcx, [0x14007db67]
call fcn.140016b68
mov dword [rbp + 0x44], 0
call fcn.140016640
mov rax, qword [rax + 0x30]
mov qword [rbp + 0x88], rax
cmp dword [rbp + 0x2d0], 0x104
jbe 0x140035130
xor eax, eax
jmp 0x140035390
mov rcx, 0xffffffffffffffff
call fcn.1400165c3
mov byte [rbp + 4], al
mov edx, 0x114
lea rcx, [rbp + 0xb0]
call fcn.140016825
mov dword [rbp + 0xb0], 0x114
lea rcx, [rbp + 0xb0]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
mov eax, dword [rbp + 0xbc]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0x1db0
jae 0x140035180
xor eax, eax
jmp 0x140035390
mov r8d, 0xca8
mov edx, 8
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1400351aa
xor eax, eax
jmp 0x140035390
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.ntdll.dll_RtlCreateHeap]
mov rcx, qword [rbp + 0x68]
mov qword [rcx + 0x18], rax
mov rax, qword [rbp + 0x68]
cmp qword [rax + 0x18], 0
jne 0x1400351fc
mov r8, qword [rbp + 0x68]
xor edx, edx
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
jmp 0x140035390
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rax, qword [rbp + 0x68]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.ntdll.dll_RtlSetHeapInformation]
mov rax, qword [rbp + 0x68]
mov dword [rax + 0xc], 1
mov rax, qword [rbp + 0x68]
mov ecx, dword [rbp + 0x44]
mov dword [rax + 8], ecx
mov eax, 0x330
add rax, 0x7ffe0000
mov eax, dword [rax]
mov dword [rbp + 0x24], eax
lea rcx, [rbp + 0x24]
call qword [sym.imp.ntdll.dll_RtlRandomEx]
mov rcx, qword [rbp + 0x68]
mov dword [rcx + 4], eax
mov rax, qword [rbp + 0x68]
movzx ecx, byte [rbp + 4]
mov byte [rax], cl
cmp dword [rbp + 0x2d0], 0
je 0x140035290
mov eax, dword [rbp + 0x2d0]
mov rcx, qword [rbp + 0x68]
add rcx, 0x890
mov r9d, eax
mov r8, qword [rbp + 0x2c8]
mov edx, 0x104
call fcn.1400165af
mov rax, qword [rbp + 0x68]
mov ecx, dword [rbp + 0x2d0]
mov dword [rax + 0x14], ecx
cmp dword [rbp + 0x44], 0x3a95
jbe 0x1400352a6
mov rax, qword [rbp + 0x68]
mov dword [rax + 0x10], 0x10800010
jmp 0x1400352b1
mov rax, qword [rbp + 0x68]
mov dword [rax + 0x10], 0x10840014
mov rcx, qword [rbp + 0x68]
call fcn.1400165be
test eax, eax
jne 0x1400352e6
mov rax, qword [rbp + 0x68]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.ntdll.dll_RtlDestroyHeap]
mov r8, qword [rbp + 0x68]
xor edx, edx
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
jmp 0x140035390
mov rax, qword [rbp + 0x68]
add rax, 0x47c
mov r8d, 0x104
mov rdx, rax
lea rcx, str._temp__
call fcn.140016802
mov rax, qword [rbp + 0x68]
add rax, 0x686
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x104
jae 0x140035336
mov rax, qword [rbp + 0x68]
add rax, 0x686
mov rcx, rax
call fcn.140016122
mov rax, qword [rbp + 0x68]
add rax, 0x272
mov rcx, qword [rbp + 0x68]
add rcx, 0xa9a
mov rdx, rax
call fcn.1400161f9
mov rax, qword [rbp + 0x68]
add rax, 0xa9a
lea rdx, str.cmd.exe
mov rcx, rax
call fcn.140016af0
mov rcx, qword [rbp + 0x2d8]
call fcn.1400166d6
mov rcx, qword [rbp + 0x68]
mov qword [rcx + 0x20], rax
mov rax, qword [rbp + 0x68]
mov qword [rax + 0x28], 0xffffffffffffffff
mov rax, qword [rbp + 0x68]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x298]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x2a8]
pop rdi
pop rbp
ret