Function at 0x1401319c0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x648
mov rax, qword [0x140276680]
xor rax, rsp
mov qword [rsp + 0x638], rax
mov dword [rsp + 0x30], 0
call fcn.1400100b0
add rax, 0x118
mov rcx, rax
call fcn.14011fad0
call fcn.1400100b0
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 0x14013249f
lea rdx, [rsp + 0x428]
lea rcx, [rsp + 0x35]
call fcn.1401096f0
mov rcx, rax
call fcn.140122850
mov qword [rsp + 0x70], rax
call fcn.1400100b0
add rax, 0x10
mov rdx, rax
lea rcx, [rsp + 0x330]
call fcn.14000ca00
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 + 0x530]
call fcn.140007ca0
nop
lea rcx, [rsp + 0x330]
call fcn.14000eb60
lea rcx, [rsp + 0x530]
call fcn.140021870
test rax, rax
ja 0x140131b05
call fcn.1400fd630
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x3c8]
lea rcx, [rsp + 0x36]
call fcn.14010a560
mov rcx, rax
call fcn.140107aa0
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 + 0x530]
call fcn.14000eb60
jmp 0x14013249f
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.14010a9b0
mov rcx, rax
call fcn.140107a80
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.140007690
mov qword [rsp + 0xa0], rax
lea rdx, [0x14000bde0]
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.1400100b0
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x448]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x530]
mov rcx, qword [rsp + 0xa8]
call fcn.14000c960
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.14003aae0
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.14010ae60
mov rcx, rax
call fcn.140107ac0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xd0]
call fcn.140007690
mov qword [rsp + 0xd8], rax
lea rdx, [0x14000bde0]
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.14010b140
mov rcx, rax
call fcn.140107a00
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
call fcn.140007690
mov qword [rsp + 0xf0], rax
lea rdx, [0x14000bde0]
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.14010b3b0
mov rcx, rax
call fcn.140122410
mov r8, rax
lea rdx, [rsp + 0x530]
lea rcx, [rsp + 0x560]
call fcn.1400efd70
nop
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0x3b]
call fcn.14010b500
mov rcx, rax
call fcn.140122b90
mov r8, rax
lea rdx, [rsp + 0x530]
lea rcx, [rsp + 0x5a0]
call fcn.1400efd70
nop
call fcn.1400100b0
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x468]
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x560]
mov rcx, qword [rsp + 0xf8]
call fcn.14000c960
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.14003ab60
movzx eax, al
test eax, eax
jne 0x140131e32
lea rdx, str.first
lea rcx, [rsp + 0x2a0]
call fcn.14000ca00
nop
xor r8d, r8d
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x5e8]
call fcn.140103a30
nop
lea rcx, [rsp + 0x2a0]
call fcn.14000eb60
call fcn.1400100b0
add rax, 0x118
mov qword [rsp + 0x118], rax
lea rdx, [rsp + 0x5e8]
mov rcx, qword [rsp + 0x118]
call fcn.14012a5e0
call fcn.1400100b0
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x488]
mov qword [rsp + 0x120], rax
lea rdx, [rsp + 0x560]
mov rcx, qword [rsp + 0x120]
call fcn.14000c960
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.1400518f0
nop
lea rcx, [rsp + 0x5e8]
call fcn.14000ebf0
call fcn.1400100b0
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x4a8]
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0x5a0]
mov rcx, qword [rsp + 0x140]
call fcn.14000c960
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.14003ab60
movzx eax, al
test eax, eax
jne 0x140131f6c
lea rdx, str.second
lea rcx, [rsp + 0x2c0]
call fcn.14000ca00
nop
xor r8d, r8d
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x610]
call fcn.140103a30
nop
lea rcx, [rsp + 0x2c0]
call fcn.14000eb60
call fcn.1400100b0
add rax, 0x118
mov qword [rsp + 0x160], rax
lea rdx, [rsp + 0x610]
mov rcx, qword [rsp + 0x160]
call fcn.14012a5e0
call fcn.1400100b0
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x4c8]
mov qword [rsp + 0x168], rax
lea rdx, [rsp + 0x5a0]
mov rcx, qword [rsp + 0x168]
call fcn.14000c960
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.1400518f0
nop
lea rcx, [rsp + 0x610]
call fcn.14000ebf0
xor r8d, r8d
lea rdx, [rsp + 0x530]
lea rcx, [rsp + 0x280]
call fcn.140022a40
nop
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x550]
call fcn.140104bc0
nop
lea rax, [rsp + 0x550]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x280]
call fcn.14002a230
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x510]
call fcn.1400143e0
lea rax, [rsp + 0x310]
mov qword [rsp + 0x188], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x188]
call fcn.140104b80
mov qword [rsp + 0x190], rax
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x510]
call fcn.14011f390
nop
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x520]
call fcn.1400143e0
lea rax, [rsp + 0x320]
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x198]
call fcn.140104b80
mov qword [rsp + 0x1a0], rax
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x520]
call fcn.140124920
nop
jmp 0x140132068
lea rcx, [rsp + 0x510]
call fcn.140108060
lea rdx, [rsp + 0x520]
lea rcx, [rsp + 0x510]
call fcn.140107620
movzx eax, al
test eax, eax
jne 0x1401323b0
lea rcx, [rsp + 0x510]
call fcn.140107f50
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1401286e0
movzx eax, al
test eax, eax
je 0x140132132
xor r8d, r8d
lea rdx, [0x14020c4c4]
lea rcx, [rsp + 0x2e0]
call fcn.1400ecf80
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call fcn.140073770
mov qword [rsp + 0x1a8], rax
lea rdx, [rsp + 0x350]
mov rcx, qword [rsp + 0x1a8]
call fcn.14006fe70
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.14002a840
movzx eax, al
test eax, eax
je 0x140132132
mov dword [rsp + 0x40], 1
jmp 0x14013213a
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 0x140132161
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x350]
call fcn.14002a230
nop
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x14013217e
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x2e0]
call fcn.14002a230
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x1401323ab
mov rcx, qword [rsp + 0x48]
call fcn.140073770
mov qword [rsp + 0x1b8], rax
lea rdx, [rsp + 0x370]
mov rcx, qword [rsp + 0x1b8]
call fcn.1401303c0
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 + 0x580]
mov rcx, qword [rsp + 0x1d0]
call fcn.140075c70
nop
lea rcx, [rsp + 0x370]
call fcn.14002a230
mov edx, 8
lea rcx, [rsp + 0x508]
call fcn.1400143e0
lea rax, [rsp + 0x4e8]
mov qword [rsp + 0x1d8], rax
lea rdx, [rsp + 0x580]
mov rcx, qword [rsp + 0x1d8]
call fcn.140100bb0
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.1400100b0
add rax, 0x118
mov qword [rsp + 0x1f0], rax
lea rdx, [rsp + 0x258]
mov rcx, qword [rsp + 0x1f0]
call fcn.140124870
mov rax, qword [rax]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x218], rax
call fcn.1400100b0
add rax, 0x118
mov qword [rsp + 0x200], rax
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x200]
call fcn.14011f2f0
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 + 0x508]
call fcn.1400fd3e0
call fcn.1400100b0
add rax, 0x118
mov qword [rsp + 0x228], rax
lea rdx, [rsp + 0x268]
mov rcx, qword [rsp + 0x228]
call fcn.140124870
mov rdx, rax
lea rcx, [rsp + 0x508]
call fcn.14002a7f0
movzx eax, al
test eax, eax
je 0x14013239e
xor r8d, r8d
lea rdx, [rsp + 0x580]
lea rcx, [rsp + 0x5c0]
call fcn.140103a30
nop
mov byte [rsp + 0x5e0], 0
call fcn.1400100b0
add rax, 0x118
mov qword [rsp + 0x230], rax
lea rdx, [rsp + 0x5c0]
mov rcx, qword [rsp + 0x230]
call fcn.14012a5e0
nop
lea rcx, [rsp + 0x5c0]
call fcn.14000ebf0
nop
lea rcx, [rsp + 0x580]
call fcn.14000eb60
jmp 0x14013205b
lea rcx, [rsp + 0x520]
call fcn.140029ff0
nop
lea rcx, [rsp + 0x510]
call fcn.140029ff0
nop
lea rcx, [rsp + 0x550]
call fcn.140029ff0
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.14010b7a0
mov rcx, rax
call fcn.140107ae0
mov qword [rsp + 0x238], rax
mov rdx, qword [rsp + 0x238]
mov rcx, qword [rsp + 0x240]
call fcn.140007690
mov qword [rsp + 0x250], rax
call fcn.1400100b0
add rax, 0x118
mov rcx, rax
call fcn.14012ff90
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, [0x14000bde0]
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 + 0x5a0]
call fcn.14000eb60
nop
lea rcx, [rsp + 0x560]
call fcn.14000eb60
nop
lea rcx, [rsp + 0x530]
call fcn.14000eb60
mov rcx, qword [rsp + 0x638]
xor rcx, rsp
call fcn.1401d7940
add rsp, 0x648
ret