Function at 0x100179c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1004eb3d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x1007ff50]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x1e0]
test eax, eax
lea esi, [edi + 0x1dc]
mov dword [esp + 0x18], edi
je 0x10017d6c
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10017d6c
mov eax, dword [edi + 0x1f0]
test eax, eax
je 0x10017a58
mov ecx, dword [edi + 0x1f4]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x10017b30
xor ebx, ebx
xor ebp, ebp
lea esp, [esp]
mov eax, dword [esi + 4]
test eax, eax
je 0x10017d6c
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x10017d6c
mov eax, dword [esi + 4]
test eax, eax
je 0x10017aae
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10017ab4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
add eax, ebp
cmp dword [eax + 0x18], 8
jb 0x10017ac4
mov eax, dword [eax + 4]
jmp 0x10017ac7
add eax, 4
add edi, 0x240
push eax
mov ecx, edi
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMHttpDownload::ParseLogFile_wchar_t_const__]
test al, al
je 0x10017b21
mov ecx, edi
call dword [sym.imp.K8Common.dll_public:_wchar_t_const____thiscall_GameMgr::GMHttpDownload::GetCacheFileName_void_const]
push eax
lea ecx, [esp + 0x58]
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__]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x54]
push edx
add ecx, 0x1ec
mov dword [esp + 0x9c], 0
call fcn.100175e0
lea ecx, [esp + 0x54]
mov dword [esp + 0x98], 0xffffffff
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 edi, dword [esp + 0x18]
add ebx, 1
add ebp, 0x1c
jmp 0x10017a60
xor edi, edi
xor ebp, ebp
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x1f0]
add ebx, 0x1ec
test eax, eax
mov dword [esp + 0x14], ebp
je 0x10017d6c
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x10017d6c
mov eax, dword [ebx + 4]
test eax, eax
je 0x10017b93
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10017b99
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
add eax, ebp
push eax
lea ecx, [esp + 0x3c]
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x98], 1
je 0x10017bdb
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
test al, al
je 0x10017bdb
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFileSystemUtils::DeleteFileAlways_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x10017bfe
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10017c1e
lea ecx, [esp + 0x38]
mov dword [esp + 0x98], 0xffffffff
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_]
add edi, 1
add ebp, 0x1c
jmp 0x10017b34
mov eax, dword [esi + 4]
test eax, eax
je 0x10017c41
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10017c47
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
add eax, ebp
push eax
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
test al, al
je 0x10017c6c
push edi
mov ecx, esi
call fcn.10001450
push eax
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFileSystemUtils::DeleteFileAlways_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x10017c8f
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10017c95
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
add eax, ebp
push eax
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMFileName::GetDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ebx, dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFilePathUtils::IsDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0xa4], 2
call ebx
add esp, 0xc
test al, al
je 0x10017cd0
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFileSystemUtils::MyRemoveDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
mov ebp, dword [esp + 0x18]
lea edx, [esp + 0x54]
push edx
mov ecx, ebp
call sym.K8DLUtils.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_GameMgr::GMDownloadTask::GetDownloadDir_void_
push eax
mov byte [esp + 0x9c], 3
call ebx
add esp, 4
lea ecx, [esp + 0x54]
mov bl, al
mov byte [esp + 0x98], 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_]
test bl, bl
je 0x10017d36
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call sym.K8DLUtils.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_GameMgr::GMDownloadTask::GetDownloadDir_void_
push eax
mov byte [esp + 0x9c], 4
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFileSystemUtils::MyRemoveDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 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 + 0x70]
mov byte [esp + 0x98], 1
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 + 0x38]
mov dword [esp + 0x98], 0xffffffff
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 ebp, dword [esp + 0x14]
add edi, 1
add ebp, 0x1c
jmp 0x10017b34
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1004a1cc
add esp, 0x88
ret