Function at 0x40ddd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x417b5f
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x42601c]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
mov eax, dword [0x42601c]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xa8], eax
push str.CacheDir
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ebx, [esp + 0x2c]
mov eax, esi
mov dword [esp + 0xa8], 1
call fcn.0040ddb0
xor bl, bl
lea ecx, [esp + 0x2c]
mov dword [esp + 8], 1
mov byte [esp + 0xa8], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push esi
call sub.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMDiskUtils::DirectoryDriveIsPhysical_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
test al, al
jne 0x40def8
push str.Kuai8GamesDownload
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x419f94
lea ecx, [esp + 0x68]
mov dword [esp + 0xac], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0xb4], 3
call sub.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMFileName::JoinFileName_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0xac], 4
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x64]
mov byte [esp + 0xa8], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0xa8], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, dword [esp + 0xb0]
push eax
lea ecx, [esp + 0x84]
push str._05d
push ecx
mov dword [esp + 0xb4], 5
call sub.K8Common.dll_public:_static_void___cdecl_GameMgr::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x20]
push esi
push eax
call sub.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMFileName::JoinFileName_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0x18
push eax
mov ecx, esi
mov byte [esp + 0xac], 6
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x80]
mov byte [esp + 0xa8], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004149a0
add esp, 0xa4
ret