Function at 0x1400dbdc0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x78]
sub rsp, 0x170
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x28], esi
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.14000c730
nop
mov rcx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
sub rcx, rbx
sar rcx, 1
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1400dbf35
lea edx, [rsi + 0x5c]
lea rcx, str..._sxs_registrator.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400dbe4b
inc rax
jmp 0x1400dbe52
lea rax, str..._sxs_registrator.cpp
mov rdx, rax
lea rcx, [0x1401e26e8]
call fcn.140005f30
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or rdi, rbx
movabs rax, 0x72500000000
or rdi, rax
lea rax, [0x1401442a0]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCR120.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64__int____ptr64]
nop
lea rax, vtable.SwException.0
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rsi
mov dword [rbp - 0x40], esi
mov qword [rbp - 0x38], rsi
cmp byte [0x1401e1a79], 0
je 0x1400dbf0c
mov rdx, qword [0x1401e1a68]
mov rax, rdx
xor rax, rdi
movabs rcx, 0x8000000000
test rcx, rax
jne 0x1400dbf0c
mov rax, rdx
xor rax, rdi
movabs rcx, 0x2000000000
test rcx, rax
jne 0x1400dbf0c
mov rcx, rdx
shr rcx, 0x20
mov rax, rdi
shr rax, 0x20
xor cl, al
test cl, 0x1f
jne 0x1400dbf0c
cmp edi, edx
je 0x1400dbf1d
cmp byte [0x1401e1a78], 0
je 0x1400dbf24
cmp edi, dword [0x1401e1a80]
jne 0x1400dbf24
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rdx, [0x1401d19c0]
lea rcx, [rbp - 0x68]
call sub.MSVCR120.dll__CxxThrowException
int3
lea rcx, [rbp - 0x30]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jns 0x1400dbf52
mov r9d, eax
mov r8d, 0x3d
call fcn.1400db850
int3
mov r8d, 0x40
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x1400dc067
lea edx, [rax + 0x5c]
lea rcx, str..._sxs_registrator.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400dbf88
inc rax
jmp 0x1400dbf8f
lea rax, str..._sxs_registrator.cpp
mov rdx, rax
lea rcx, [0x1401e26e8]
call fcn.140005f30
mov rbx, rax
shl rbx, 0x34
lea rax, [0x1401442a0]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCR120.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64__int____ptr64]
nop
lea rax, vtable.SwException.0
mov qword [rbp - 0x68], rax
movabs rax, 0x8250000007a
or rbx, rax
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rsi
mov dword [rbp - 0x40], esi
mov qword [rbp - 0x38], rsi
cmp byte [0x1401e1a79], 0
je 0x1400dc03e
mov rax, rbx
mov rdx, qword [0x1401e1a68]
xor rax, rdx
movabs rcx, 0x8000000000
test rcx, rax
jne 0x1400dc03e
mov rax, rbx
xor rax, rdx
movabs rcx, 0x2000000000
test rcx, rax
jne 0x1400dc03e
mov rcx, rbx
shr rcx, 0x20
mov rax, rdx
shr rax, 0x20
xor cl, al
test cl, 0x1f
jne 0x1400dc03e
cmp ebx, edx
je 0x1400dc04f
cmp byte [0x1401e1a78], 0
je 0x1400dc056
cmp ebx, dword [0x1401e1a80]
jne 0x1400dc056
call qword [sym.imp.KERNEL32.dll_DebugBreak]
nop
lea rdx, [0x1401d19c0]
lea rcx, [rbp - 0x68]
call sub.MSVCR120.dll__CxxThrowException
int3
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
cmp word [rbx], 0
jne 0x1400dc08f
mov r8, rsi
jmp 0x1400dc09e
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400dc093
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140007c60
nop
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rsi
mov word [rsp + 0x78], si
mov r8d, 7
lea rdx, str.appvtmp
lea rcx, [rsp + 0x78]
call fcn.140007c60
nop
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.14000d440
nop
mov r8, rax
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400179a0
mov dword [rsp + 0x28], 1
cmp qword [rbp - 0x50], 8
jb 0x1400dc119
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rsi
mov word [rbp - 0x68], si
cmp qword [rbp - 0x70], 8
jb 0x1400dc13b
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rsi
mov word [rsp + 0x78], si
cmp qword [rsp + 0x70], 8
jb 0x1400dc15f
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
mov rcx, rdi
call fcn.14008b910
mov rcx, rax
call fcn.14003e6c0
nop
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov rax, rdi
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400f5ff0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret