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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac1e5
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x4e3074]
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.004166f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x45c]
add ecx, 0x10
call fcn.00421d60
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x45c]
add ecx, 0x28
call fcn.00421d60
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00421d60
mov byte [ebp - 4], 3
push str.b5ff2786b43c176a4a2f05520ac6f8b9
lea ecx, [ebp - 0x428]
push ecx
call sym.Install_silent.exe_public:_static_class_CNsStringManager____cdecl_CNsStringManager::Instance_void_
mov ecx, eax
call sym.Install_silent.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.0041efc0
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x10
call fcn.00421d40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x428]
call fcn.00408fb0
push str.2d04f650d77dcd4c73717ab648596cea
lea eax, [ebp - 0x440]
push eax
call sym.Install_silent.exe_public:_static_class_CNsStringManager____cdecl_CNsStringManager::Instance_void_
mov ecx, eax
call sym.Install_silent.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.0041efc0
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x28
call fcn.00421d40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.00408fb0
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.00456880
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.00421d40
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00409140
sub eax, 1
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00425730
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x4a0ae5
push 0x4c9544
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00425770
jmp 0x4a0af8
push str.hofosoft_
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00425770
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.0041efc0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a0b28
push 0
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.0041efc0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4c95b8
lea edx, [ebp - 0x458]
push edx
call sym.Install_silent.exe_public:_static_class_CNsStringManager____cdecl_CNsStringManager::Instance_void_
mov ecx, eax
call sym.Install_silent.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.0041efc0
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00425770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.00408fb0
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.0042fc0d
mov esp, ebp
pop ebp
ret