Function at 0x1800077f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x3c8
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x60]
call fcn.180073040
nop
cmp qword [rsp + 0x3d8], 0
je 0x18000784d
mov dl, 1
mov rcx, qword [rsp + 0x3d8]
call fcn.1801ea020
movzx eax, al
test eax, eax
jne 0x18000784d
mov qword [rsp + 0x3d8], 0
cmp qword [rsp + 0x3d8], 0
jne 0x1800078b4
lea rdx, [rsp + 0x1b0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1800078b2
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x148]
call fcn.1801eb5b0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.180073190
lea rcx, [rsp + 0x148]
call fcn.180073360
jmp 0x1800078f0
mov rdx, qword [rsp + 0x3d8]
lea rcx, [rsp + 0x188]
call fcn.1801ec3a0
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x60]
call fcn.180073190
lea rcx, [rsp + 0x188]
call fcn.180073360
lea rcx, [rsp + 0x60]
call fcn.180073860
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.1801ed010
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x60]
call fcn.180073190
lea rcx, [rsp + 0xe8]
call fcn.180073360
lea rcx, [rsp + 0x60]
call fcn.1800738f0
movzx eax, al
test eax, eax
jne 0x180007960
lea rcx, [rsp + 0x60]
call fcn.180073860
mov dl, 1
mov rcx, rax
call fcn.1801ea020
movzx eax, al
test eax, eax
jne 0x18000799b
lea rdx, [0x1803ae2b0]
lea rcx, [rsp + 0x108]
call fcn.1801ec3a0
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.180073190
lea rcx, [rsp + 0x108]
call fcn.180073360
lea rcx, [rsp + 0x60]
call fcn.1800738f0
movzx eax, al
test eax, eax
jne 0x1800079e0
lea rcx, [rsp + 0x60]
call fcn.180003ba0
dec rax
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1800737e0
movsx eax, byte [rax]
cmp eax, 0x5c
je 0x1800079e0
mov r8b, 0x5c
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.1800735e0
mov dword [rsp + 0x44], 0
jmp 0x1800079f4
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x200
jge 0x180007c22
call fcn.18017d27c
and eax, 0xffff
shl eax, 0xf
mov dword [rsp + 0x58], eax
call fcn.18017d27c
mov ecx, dword [rsp + 0x58]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x60]
call fcn.180073860
mov ecx, dword [rsp + 0x48]
mov r9d, ecx
mov r8, rax
lea rdx, [0x1803ae2b8]
lea rcx, [rsp + 0xc0]
call fcn.1801e9200
nop
lea rcx, [rsp + 0xc0]
call fcn.180073860
mov dl, 1
mov rcx, rax
call fcn.1800076d0
cmp qword [0x1803cb4d0], 0
je 0x180007aea
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x168]
call fcn.180003440
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x98]
call fcn.180074060
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rax
call qword [0x1803cb4d0]
mov qword [rsp + 0x80], rax
jmp 0x180007b54
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x128]
call fcn.180003440
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x40]
or eax, 2
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0xa8]
call fcn.180074060
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x40]
and eax, 2
test eax, eax
je 0x180007b7f
and dword [rsp + 0x40], 0xfffffffd
lea rcx, [rsp + 0x128]
call fcn.180073fc0
nop
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x180007b9c
and dword [rsp + 0x40], 0xfffffffe
lea rcx, [rsp + 0x168]
call fcn.180073fc0
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x180007c10
cmp qword [0x1803cb4d8], 0
je 0x180007bbf
mov rcx, qword [rsp + 0x50]
call qword [0x1803cb4d8]
mov dword [rsp + 0x5c], eax
jmp 0x180007bce
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x5c], eax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x3d0]
call fcn.180072fd0
mov eax, dword [rsp + 0x40]
or eax, 4
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xc0]
call fcn.180073360
nop
lea rcx, [rsp + 0x60]
call fcn.180073360
mov rax, qword [rsp + 0x3d0]
jmp 0x180007c4c
lea rcx, [rsp + 0xc0]
call fcn.180073360
jmp 0x1800079ea
mov rcx, qword [rsp + 0x3d0]
call fcn.180073040
mov eax, dword [rsp + 0x40]
or eax, 4
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x60]
call fcn.180073360
mov rax, qword [rsp + 0x3d0]
add rsp, 0x3c8
ret