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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2235
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x4eb00c]
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.00413290
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x45c]
add ecx, 0x10
call fcn.00426050
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x45c]
add ecx, 0x28
call fcn.00426050
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00426050
mov byte [ebp - 4], 3
push str.b5ff2786b43c176a4a2f05520ac6f8b9
lea ecx, [ebp - 0x428]
push ecx
call sym.Install_vip.exe_public:_static_class_CNsStringManager____cdecl_CNsStringManager::Instance_void_
mov ecx, eax
call sym.Install_vip.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.004232b0
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x10
call fcn.00426030
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x428]
call fcn.00418c50
push str.2d04f650d77dcd4c73717ab648596cea
lea eax, [ebp - 0x440]
push eax
call sym.Install_vip.exe_public:_static_class_CNsStringManager____cdecl_CNsStringManager::Instance_void_
mov ecx, eax
call sym.Install_vip.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.004232b0
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x28
call fcn.00426030
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.00418c50
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.00433560
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.00426030
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00418de0
sub eax, 1
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00429a20
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x4a6305
push 0x4d0044
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00429a60
jmp 0x4a6318
push str.hofosoft_
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00429a60
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.004232b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a6348
push 0
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.004232b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4d00a0
lea edx, [ebp - 0x458]
push edx
call sym.Install_vip.exe_public:_static_class_CNsStringManager____cdecl_CNsStringManager::Instance_void_
mov ecx, eax
call sym.Install_vip.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.004232b0
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00429a60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.00418c50
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.0042e9de
mov esp, ebp
pop ebp
ret