Function at 0x180007c60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x338
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x38]
call fcn.180073040
nop
cmp qword [rsp + 0x348], 0
je 0x180007cbd
mov dl, 1
mov rcx, qword [rsp + 0x348]
call fcn.1801ea020
movzx eax, al
test eax, eax
jne 0x180007cbd
mov qword [rsp + 0x348], 0
cmp qword [rsp + 0x348], 0
jne 0x180007d1e
lea rdx, [rsp + 0x120]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x180007d1c
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x100]
call fcn.1801eb5b0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.180073190
lea rcx, [rsp + 0x100]
call fcn.180073360
jmp 0x180007d54
mov rdx, qword [rsp + 0x348]
lea rcx, [rsp + 0xa0]
call fcn.1801ec3a0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.180073190
lea rcx, [rsp + 0xa0]
call fcn.180073360
lea rcx, [rsp + 0x38]
call fcn.180073860
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1801ed010
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.180073190
lea rcx, [rsp + 0xc0]
call fcn.180073360
lea rcx, [rsp + 0x38]
call fcn.1800738f0
movzx eax, al
test eax, eax
jne 0x180007dbe
lea rcx, [rsp + 0x38]
call fcn.180073860
mov dl, 1
mov rcx, rax
call fcn.1801ea020
movzx eax, al
test eax, eax
jne 0x180007df3
lea rdx, [0x1803ae2b4]
lea rcx, [rsp + 0xe0]
call fcn.1801ec3a0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.180073190
lea rcx, [rsp + 0xe0]
call fcn.180073360
lea rcx, [rsp + 0x38]
call fcn.1800738f0
movzx eax, al
test eax, eax
jne 0x180007e38
lea rcx, [rsp + 0x38]
call fcn.180003ba0
dec rax
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1800737e0
movsx eax, byte [rax]
cmp eax, 0x5c
je 0x180007e38
mov r8b, 0x5c
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.1800735e0
mov dword [rsp + 0x28], 0
jmp 0x180007e4c
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x200
jge 0x180007f11
mov byte [rsp + 0x20], 0
call fcn.18017d27c
and eax, 0xffff
shl eax, 0xf
mov dword [rsp + 0x30], eax
call fcn.18017d27c
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x38]
call fcn.180073860
mov ecx, dword [rsp + 0x2c]
mov r9d, ecx
mov r8, rax
lea rdx, [0x1803ae2c4]
lea rcx, [rsp + 0x78]
call fcn.1801e9200
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
call fcn.180007520
movzx eax, al
test eax, eax
je 0x180007f02
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x180007f02
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x340]
call fcn.180073130
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x78]
call fcn.180073360
nop
lea rcx, [rsp + 0x38]
call fcn.180073360
mov rax, qword [rsp + 0x340]
jmp 0x180007f3b
lea rcx, [rsp + 0x78]
call fcn.180073360
jmp 0x180007e42
mov rcx, qword [rsp + 0x340]
call fcn.180073040
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x38]
call fcn.180073360
mov rax, qword [rsp + 0x340]
add rsp, 0x338
ret