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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b19a5
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x4ea00c]
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.00412970
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x45c]
add ecx, 0x10
call fcn.00425910
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x45c]
add ecx, 0x28
call fcn.00425910
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00425910
mov byte [ebp - 4], 3
push str.b5ff2786b43c176a4a2f05520ac6f8b9
lea ecx, [ebp - 0x428]
push ecx
call sym.Install_rocket.exe_public:_static_class_CNsStringManager____cdecl_CNsStringManager::Instance_void_
mov ecx, eax
call sym.Install_rocket.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.00422b70
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x10
call fcn.004258f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x428]
call fcn.00418330
push str.2d04f650d77dcd4c73717ab648596cea
lea eax, [ebp - 0x440]
push eax
call sym.Install_rocket.exe_public:_static_class_CNsStringManager____cdecl_CNsStringManager::Instance_void_
mov ecx, eax
call sym.Install_rocket.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.00422b70
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x28
call fcn.004258f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.00418330
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.00432e20
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.004258f0
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.004184c0
sub eax, 1
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.004292e0
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x4a5bf5
push 0x4d0024
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00429320
jmp 0x4a5c08
push str.hofosoft_
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00429320
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00422b70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a5c38
push 0
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00422b70
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4d0080
lea edx, [ebp - 0x458]
push edx
call sym.Install_rocket.exe_public:_static_class_CNsStringManager____cdecl_CNsStringManager::Instance_void_
mov ecx, eax
call sym.Install_rocket.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.00422b70
push eax
mov ecx, dword [ebp - 0x45c]
add ecx, 0x44
call fcn.00429320
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.00418330
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.0042e29e
mov esp, ebp
pop ebp
ret