Function at 0x4a68c0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b29f5
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x45c], ecx
mov eax, dword [ebp - 0x45c]
mov dword [eax], vtable.CNsNetManager.0
mov ecx, dword [ebp - 0x45c]
add ecx, 4
call fcn.004139c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x45c]
add ecx, 0x10
call fcn.00426780
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x45c]
add ecx, 0x28
call fcn.00426780
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00426780
mov byte [ebp - 4], 3
push str.b5ff2786b43c176a4a2f05520ac6f8b9
lea ecx, [ebp - 0x428]
push ecx
call sym.Install_adv.exe_public:_static_class_CNsStringManager____cdecl_CNsStringManager::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_CNsStringManager::DecodeStr_wchar_t_const__
mov dword [ebp - 0x460], eax
mov edx, dword [ebp - 0x460]
mov dword [ebp - 0x464], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x464]
call fcn.004239e0
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x10
call fcn.00426760
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x428]
call fcn.00419380
push str.2d04f650d77dcd4c73717ab648596cea
lea eax, [ebp - 0x440]
push eax
call sym.Install_adv.exe_public:_static_class_CNsStringManager____cdecl_CNsStringManager::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_CNsStringManager::DecodeStr_wchar_t_const__
mov dword [ebp - 0x468], eax
mov ecx, dword [ebp - 0x468]
mov dword [ebp - 0x46c], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x46c]
call fcn.004239e0
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x28
call fcn.00426760
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.00419380
mov edx, dword [ebp - 0x45c]
mov byte [edx + 0x40], 0
mov eax, dword [ebp - 0x45c]
mov byte [eax + 0x41], 0
push 0x400
push 0
lea ecx, [ebp - 0x410]
push ecx
call fcn.00433ca0
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x410]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00426760
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00419510
sub eax, 1
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.0042a150
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x4a6a85
push 0x4d1064
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.0042a190
jmp 0x4a6a98
push str.hofosoft_
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.0042a190
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.004239e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a6ac8
push 0
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.004239e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4d10d8
lea edx, [ebp - 0x458]
push edx
call sym.Install_adv.exe_public:_static_class_CNsStringManager____cdecl_CNsStringManager::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_CNsStringManager::DecodeStr_wchar_t_const__
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x474]
call fcn.004239e0
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.0042a190
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.00419380
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret