Function at 0x48c0f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58eb87
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x610304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x164], ecx
mov ecx, edi
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], eax
call sym.txupd.exe_public:_bool___thiscall_CTXStringW::IsEmpty_void_const
test al, al
jne 0x48c6e8
mov ecx, ebx
call sym.txupd.exe_public:_bool___thiscall_CTXStringW::IsEmpty_void_const
test al, al
jne 0x48c6e8
cmp dword [ebp - 0x168], 0
je 0x48c6e8
cmp dword [ebp - 0x16c], 0
je 0x48c6e8
mov ecx, ebx
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x158]
push ecx
call sym.txupd.exe_class_CTXStringW___cdecl_FS::ConvertToPureFile_wchar_t_const__
add esp, 8
push ebx
lea ecx, [ebp - 0x15c]
mov dword [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push 0x5c
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_int___thiscall_CTXStringW::ReverseFind_wchar_t_const
lea ecx, [ebp - 0x158]
mov ebx, eax
call sym.txupd.exe_public:_int___thiscall_CTXStringW::GetLength_void_const
sub eax, 1
cmp ebx, eax
jne 0x48c26a
push 0x2f
mov ecx, edi
call sym.txupd.exe_public:_int___thiscall_CTXStringW::ReverseFind_wchar_t_const
mov ebx, eax
test ebx, ebx
jl 0x48c26a
mov ecx, edi
call sym.txupd.exe_public:_int___thiscall_CTXStringW::GetLength_void_const
sub eax, 1
cmp ebx, eax
jge 0x48c26a
mov ecx, edi
call sym.txupd.exe_public:_int___thiscall_CTXStringW::GetLength_void_const
sub eax, ebx
sub eax, 1
push eax
lea edx, [ebp - 0x154]
push edx
mov ecx, edi
call sym.txupd.exe_public:_class_CTXStringW___thiscall_CTXStringW::Right_int_
push eax
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x15c]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea eax, [ebp - 0x154]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_FS::ConvertToPureFile_wchar_t_const__
add esp, 8
push eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 3
call fcn.0049f0c7
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
push 1
push ecx
lea edx, [ebp - 0x158]
mov ecx, esp
mov dword [ebp - 0x154], esp
push edx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea eax, [ebp - 0x154]
push eax
call fcn.00499a30
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call fcn.00499420
add esp, 8
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x68], eax
je 0x48c2db
cmp dword [esi + 0x28], ebx
mov dword [esi + 0x68], eax
je 0x48c2e4
mov ecx, esi
call fcn.0048b7d0
mov ecx, dword [esi + 0x28]
push ecx
call fcn.0041efd0
add esp, 4
mov dword [esi + 0x28], ebx
cmp dword [esi + 0x28], ebx
jne 0x48c38e
mov ecx, esi
call fcn.0048a6a0
push 0x5ae05c
lea ecx, [ebp - 0x188]
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 eax, dword [esi + 0x2c]
lea edx, [ebp - 0x188]
push edx
push eax
push esi
mov byte [ebp - 4], 5
call fcn.0041ef60
add esp, 0xc
lea ecx, [ebp - 0x188]
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 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_]
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x48c38e
mov edx, dword [ecx]
mov eax, dword [esi + 0x54]
mov edx, dword [edx + 0x10]
push eax
call edx
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
mov edx, dword [esi + 0x5c]
mov eax, dword [eax + 0x14]
push edx
call eax
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx]
mov eax, dword [esi + 0x64]
mov edx, dword [edx + 0x18]
push eax
call edx
lea ecx, [ebp - 0x88]
call fcn.0041ec20
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x88], 5
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [ebp - 0x88]
push edx
mov byte [ebp - 4], 6
call eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.00421130
lea ecx, [ebp - 0x150]
call fcn.0041eca0
mov ecx, edi
mov byte [ebp - 4], 7
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::GetString_void_const
push eax
lea ecx, [ebp - 0x150]
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_wchar_t_const__]
lea ecx, [ebp - 0x158]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::GetString_void_const
push eax
lea ecx, [ebp - 0x134]
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_wchar_t_const__]
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x58]
mov dword [ebp - 0x98], ecx
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
mov dword [ebp - 0xa8], edx
je 0x48c606
mov ebx, dword [ebp - 0x16c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push ebx
lea edx, [ebp - 0x150]
push edx
call eax
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0x154], eax
je 0x48c541
lea ecx, [ebp - 0x19c]
call fcn.00489550
mov ecx, dword [ebx]
mov dword [ebp - 0x19c], ecx
push edi
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 8
call fcn.0049f0c7
lea edx, [ebp - 0x15c]
push edx
lea ecx, [ebp - 0x194]
call fcn.0049f0c7
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x190]
call fcn.0049f0c7
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x180], ecx
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x188], edx
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x170], ecx
push eax
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x174], edx
call fcn.0049f0c7
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub esp, 0x30
lea edx, [ebp - 0x19c]
mov ecx, esp
mov dword [ebp - 0x160], esp
push edx
call fcn.00489650
mov eax, dword [ebx]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.0048a3b0
add esp, 0x38
push eax
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 9
call fcn.00489e00
lea edx, [ebp - 0x1d4]
push edx
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xa
call fcn.0048b4d0
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 9
call fcn.004896d0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.004896d0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx]
mov esi, dword [esi + 0x70]
add ecx, 0x3e8
push ecx
push esi
push 0x2710
call sym.txupd.exe_int___cdecl_TXTimer::SetTimeout_unsigned_int__struct_ITXTimerCallback___unsigned_int_
add esp, 0xc
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 7
call fcn.004896d0
jmp 0x48c5cb
mov dword [ebp - 0x160], str.XF_Create_Task_failed__I_will_create_MultiHttpDownloader_instead_n
mov dword [ebp - 0x1c], str.E:_txupdatecodingTXUpdate_servicelogicXFDownloader.cpp
mov dword [ebp - 0x18], str.CXFDownloader::AddTask
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x48], 0xd1
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x4c], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [ebp - 0x30]
xor esi, esi
push edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
call dword [sym.imp.MSVCR80.dll__time64]
lea eax, [ebp - 0x160]
push eax
push 0x5a48f0
lea ecx, [ebp - 0x50]
push 0x5adcb0
push ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call sym.txupd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
push str.XF_Create_Task_failed__I_will_create_MultiHttpDownloader_instead_n
call dword [sym.imp.MSVCR80.dll_wprintf]
push 3
push str.RET_XFDOWNLOAD
call fcn.00465dc0
add esp, 0x20
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 1
call fcn.0041f6b0
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x154]
jmp 0x48c6ea
mov dword [ebp - 0x164], str.XF_Create_Downloader_failed_n
mov dword [ebp - 0x1a8], str.E:_txupdatecodingTXUpdate_servicelogicXFDownloader.cpp
mov dword [ebp - 0x1a4], str.CXFDownloader::AddTask
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x1d4], 0xb6
mov dword [ebp - 0x1d0], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1d8], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [ebp - 0x1bc]
push edx
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea eax, [ebp - 0x164]
push eax
push 0x5a48f0
lea ecx, [ebp - 0x1dc]
push 0x5adcb0
push ecx
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1b0], ebx
call sym.txupd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
push str.XF_Create_Downloader_failed_n
call dword [sym.imp.MSVCR80.dll_wprintf]
push 2
push str.RET_XFDOWNLOAD
call fcn.00465dc0
add esp, 0x20
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 1
call fcn.0041f6b0
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00584870
mov esp, ebp
pop ebp
ret 0x28