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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aae65
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x4e100c]
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.004138e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x45c]
add ecx, 0x10
call fcn.00426320
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x45c]
add ecx, 0x28
call fcn.00426320
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00426320
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.00423650
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x10
call fcn.00426300
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x428]
call fcn.004192a0
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.00423650
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x28
call fcn.00426300
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.004192a0
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.004307d0
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.00426300
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00419430
sub eax, 1
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00429d20
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x4a1b85
push 0x4c8a4c
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00429d60
jmp 0x4a1b98
push str.hofosoft_
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00429d60
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00423650
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a1bc8
push 0
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00423650
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4c8ac0
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.00423650
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00429d60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.004192a0
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.0042eb1e
mov esp, ebp
pop ebp
ret