Function at 0x14018ab00
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x658
mov rax, qword [0x1403ee900]
xor rax, rsp
mov qword [rsp + 0x640], rax
mov dword [rsp + 0x30], 0
call fcn.1400147d0
add rax, 0x118
mov rcx, rax
call fcn.140175d20
call fcn.1400147d0
add rax, 0x10
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14018b5df
lea rdx, [rsp + 0x4e8]
lea rcx, [rsp + 0x35]
call fcn.14015ca40
mov rcx, rax
call fcn.140178f50
mov qword [rsp + 0x70], rax
call fcn.1400147d0
add rax, 0x10
mov rdx, rax
lea rcx, [rsp + 0x330]
call fcn.14000f9b0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x538]
call fcn.1400088b0
nop
lea rcx, [rsp + 0x330]
call fcn.140012650
lea rcx, [rsp + 0x538]
call fcn.1400232b0
test rax, rax
ja 0x14018ac45
call fcn.1401501b0
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x3c8]
lea rcx, [rsp + 0x36]
call fcn.14015d910
mov rcx, rax
call fcn.14015ab00
mov qword [rsp + 0x80], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
xor ecx, ecx
call qword [rsp + 0x88]
nop
lea rcx, [rsp + 0x538]
call fcn.140012650
jmp 0x14018b5df
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x3a8]
lea rcx, [rsp + 0x37]
call fcn.14015dd90
mov rcx, rax
call fcn.14015aae0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.140008270
mov qword [rsp + 0xa0], rax
lea rdx, [0x14000f000]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.1400147d0
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x428]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x538]
mov rcx, qword [rsp + 0xa8]
call fcn.14000f910
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.14004de10
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0x3e8]
lea rcx, [rsp + 0x38]
call fcn.14015e1e0
mov rcx, rax
call fcn.14015ab20
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xd0]
call fcn.140008270
mov qword [rsp + 0xd8], rax
lea rdx, [0x14000f000]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x390]
lea rcx, [rsp + 0x39]
call fcn.14015e560
mov rcx, rax
call fcn.14015aa60
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
call fcn.140008270
mov qword [rsp + 0xf0], rax
lea rdx, [0x14000f000]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x3a]
call fcn.14015e910
mov rcx, rax
call fcn.140178a50
mov r8, rax
lea rdx, [rsp + 0x538]
lea rcx, [rsp + 0x568]
call fcn.140140290
nop
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0x3b]
call fcn.14015ebb0
mov rcx, rax
call fcn.1401791d0
mov r8, rax
lea rdx, [rsp + 0x538]
lea rcx, [rsp + 0x5a8]
call fcn.140140290
nop
call fcn.1400147d0
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x448]
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x568]
mov rcx, qword [rsp + 0xf8]
call fcn.14000f910
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
call fcn.14004de90
movzx eax, al
test eax, eax
jne 0x14018af72
lea rdx, str.first
lea rcx, [rsp + 0x2a0]
call fcn.14000f9b0
nop
xor r8d, r8d
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x5f0]
call fcn.1401568a0
nop
lea rcx, [rsp + 0x2a0]
call fcn.140012650
call fcn.1400147d0
add rax, 0x118
mov qword [rsp + 0x118], rax
lea rdx, [rsp + 0x5f0]
mov rcx, qword [rsp + 0x118]
call fcn.1401831f0
call fcn.1400147d0
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x468]
mov qword [rsp + 0x120], rax
lea rdx, [rsp + 0x568]
mov rcx, qword [rsp + 0x120]
call fcn.14000f910
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x138]
call fcn.14007ee10
nop
lea rcx, [rsp + 0x5f0]
call fcn.140012700
call fcn.1400147d0
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x488]
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0x5a8]
mov rcx, qword [rsp + 0x140]
call fcn.14000f910
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x158]
call fcn.14004de90
movzx eax, al
test eax, eax
jne 0x14018b0ac
lea rdx, str.second
lea rcx, [rsp + 0x2c0]
call fcn.14000f9b0
nop
xor r8d, r8d
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x618]
call fcn.1401568a0
nop
lea rcx, [rsp + 0x2c0]
call fcn.140012650
call fcn.1400147d0
add rax, 0x118
mov qword [rsp + 0x160], rax
lea rdx, [rsp + 0x618]
mov rcx, qword [rsp + 0x160]
call fcn.1401831f0
call fcn.1400147d0
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x4a8]
mov qword [rsp + 0x168], rax
lea rdx, [rsp + 0x5a8]
mov rcx, qword [rsp + 0x168]
call fcn.14000f910
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x180]
call fcn.14007ee10
nop
lea rcx, [rsp + 0x618]
call fcn.140012700
xor r8d, r8d
lea rdx, [rsp + 0x538]
lea rcx, [rsp + 0x280]
call fcn.140025a10
nop
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x558]
call fcn.140157b60
nop
lea rax, [rsp + 0x558]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x280]
call fcn.14002d990
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x518]
call fcn.14001cfd0
lea rax, [rsp + 0x310]
mov qword [rsp + 0x188], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x188]
call fcn.140157b20
mov qword [rsp + 0x190], rax
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x518]
call fcn.140174f60
nop
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x528]
call fcn.14001cfd0
lea rax, [rsp + 0x320]
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x198]
call fcn.140157b20
mov qword [rsp + 0x1a0], rax
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x528]
call fcn.14017b820
nop
jmp 0x14018b1a8
lea rcx, [rsp + 0x518]
call fcn.14015b0e0
lea rdx, [rsp + 0x528]
lea rcx, [rsp + 0x518]
call fcn.14015a680
movzx eax, al
test eax, eax
jne 0x14018b4f0
lea rcx, [rsp + 0x518]
call fcn.14015afd0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.14017f280
movzx eax, al
test eax, eax
je 0x14018b272
xor r8d, r8d
lea rdx, str..cfg
lea rcx, [rsp + 0x2e0]
call fcn.14013d300
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400b6900
mov qword [rsp + 0x1a8], rax
lea rdx, [rsp + 0x350]
mov rcx, qword [rsp + 0x1a8]
call fcn.1400b2c30
mov qword [rsp + 0x1b0], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x2e0]
mov rcx, qword [rsp + 0x1b0]
call fcn.14002df20
movzx eax, al
test eax, eax
je 0x14018b272
mov dword [rsp + 0x40], 1
jmp 0x14018b27a
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x14018b2a1
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x350]
call fcn.14002d990
nop
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x14018b2be
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x2e0]
call fcn.14002d990
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x14018b4eb
mov rcx, qword [rsp + 0x48]
call fcn.1400b6900
mov qword [rsp + 0x1b8], rax
lea rdx, [rsp + 0x370]
mov rcx, qword [rsp + 0x1b8]
call fcn.140189c00
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rax
lea rdx, [rsp + 0x588]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400b9300
nop
lea rcx, [rsp + 0x370]
call fcn.14002d990
mov edx, 8
lea rcx, [rsp + 0x510]
call fcn.14001cfd0
lea rax, [rsp + 0x4c8]
mov qword [rsp + 0x1d8], rax
lea rdx, [rsp + 0x588]
mov rcx, qword [rsp + 0x1d8]
call fcn.140153890
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x210], rax
call fcn.1400147d0
add rax, 0x118
mov qword [rsp + 0x1f0], rax
lea rdx, [rsp + 0x258]
mov rcx, qword [rsp + 0x1f0]
call fcn.14017b770
mov rax, qword [rax]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x218], rax
call fcn.1400147d0
add rax, 0x118
mov qword [rsp + 0x200], rax
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x200]
call fcn.140174ec0
mov rax, qword [rax]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x220], rax
mov r9, qword [rsp + 0x210]
mov r8, qword [rsp + 0x218]
mov rdx, qword [rsp + 0x220]
lea rcx, [rsp + 0x510]
call fcn.14014ff40
call fcn.1400147d0
add rax, 0x118
mov qword [rsp + 0x228], rax
lea rdx, [rsp + 0x268]
mov rcx, qword [rsp + 0x228]
call fcn.14017b770
mov rdx, rax
lea rcx, [rsp + 0x510]
call fcn.14002ded0
movzx eax, al
test eax, eax
je 0x14018b4de
xor r8d, r8d
lea rdx, [rsp + 0x588]
lea rcx, [rsp + 0x5c8]
call fcn.1401568a0
nop
mov byte [rsp + 0x5e8], 0
call fcn.1400147d0
add rax, 0x118
mov qword [rsp + 0x230], rax
lea rdx, [rsp + 0x5c8]
mov rcx, qword [rsp + 0x230]
call fcn.1401831f0
nop
lea rcx, [rsp + 0x5c8]
call fcn.140012700
nop
lea rcx, [rsp + 0x588]
call fcn.140012650
jmp 0x14018b19b
lea rcx, [rsp + 0x528]
call fcn.14002d6b0
nop
lea rcx, [rsp + 0x518]
call fcn.14002d6b0
nop
lea rcx, [rsp + 0x558]
call fcn.14002d6b0
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x240], rax
lea rdx, [rsp + 0x408]
lea rcx, [rsp + 0x3c]
call fcn.14015ee50
mov rcx, rax
call fcn.14015ab40
mov qword [rsp + 0x238], rax
mov rdx, qword [rsp + 0x238]
mov rcx, qword [rsp + 0x240]
call fcn.140008270
mov qword [rsp + 0x250], rax
call fcn.1400147d0
add rax, 0x118
mov rcx, rax
call fcn.140189740
mov qword [rsp + 0x248], rax
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x250]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov qword [rsp + 0xc8], rax
lea rdx, [0x14000f000]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x5a8]
call fcn.140012650
nop
lea rcx, [rsp + 0x568]
call fcn.140012650
nop
lea rcx, [rsp + 0x538]
call fcn.140012650
mov rcx, qword [rsp + 0x640]
xor rcx, rsp
call fcn.140248f60
add rsp, 0x658
ret