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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58bfd8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x14]
push eax
call fcn.0049a620
add esp, 4
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
xor edi, edi
lea esp, [esp]
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x475248
mov eax, dword [esi + 0x44]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x475248
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
mov byte [ebp - 4], 1
push 1
je 0x47500c
mov eax, dword [esi + 0x44]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x475012
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x40]
lea ebx, [edi*4]
mov edx, dword [eax + ebx]
push ecx
add eax, ebx
mov ecx, esp
mov dword [ebp - 0x50], esp
push edx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea eax, [ebp - 0x20]
push eax
call fcn.00499e90
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 2
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0049f0c7
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call fcn.00499220
add esp, 4
test eax, eax
je 0x47512d
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push 0x5a9474
push ecx
call sym.txupd.exe_class_CTXStringW___cdecl_operator_wchar_t_const___class_CTXStringW_const__
add esp, 0xc
lea edx, [ebp - 0x4c]
push edx
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 sym.txupd.exe_int___cdecl_FS::GetStatus_wchar_t_const___struct_tagTXFileStatus__
add esp, 8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4750f5
mov eax, dword [esi + 0x44]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4750fb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + ebx]
mov eax, dword [ecx + 4]
xor ecx, ecx
cmp dword [ebp - 0x34], eax
jne 0x47519f
cmp dword [ebp - 0x30], ecx
jne 0x47519f
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
add edi, 1
xor ebx, ebx
jmp 0x474fd0
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str._CMergeMgr::CheckFileSize_fatal_error_miss_file:__s_n
push 0x5a9468
push 2
push str.CMergeMgr::CheckFileSize
push 0x15c
push str.E:_txupdatecodingTXUpdate_servicelogicMergeMgr.cpp
call fcn.004587e0
add esp, 0x1c
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str._CMergeMgr::CheckFileSize_fatal_error_miss_file:__s_n
call dword [sym.imp.MSVCR80.dll_wprintf]
add esp, 8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x14]
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 esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4751b2
mov eax, dword [esi + 0x44]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4751b8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0x30]
lea ebx, [edi*4]
mov edx, dword [eax + ebx]
add eax, ebx
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x34]
push eax
push ecx
push edx
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str._CMergeMgr::CheckFileSize_fatal_error_file_size_do_not_matched_path:_s__real:_lu__expect:_lu_n
push 0x5a9468
push 2
push str.CMergeMgr::CheckFileSize
push 0x165
push str.E:_txupdatecodingTXUpdate_servicelogicMergeMgr.cpp
call fcn.004587e0
mov eax, dword [esi + 0x40]
add esp, 0x28
test eax, eax
je 0x475212
mov ecx, dword [esi + 0x44]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jb 0x475218
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esi + 0x40]
mov eax, dword [esi + ebx]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
add esi, ebx
push ecx
push edx
push eax
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str._CMergeMgr::CheckFileSize_fatal_error_file_size_do_not_matched_path:_s__real:_lu__expect:_lu_n
call dword [sym.imp.MSVCR80.dll_wprintf]
add esp, 0x14
jmp 0x475170
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, dword [ebp - 0x18]
sub eax, edi
push eax
push str._CMergeMgr::CheckFileSize_time_consuming:_u_n
push 0x5a9468
push 2
push str.CMergeMgr::CheckFileSize
push 0x169
push str.E:_txupdatecodingTXUpdate_servicelogicMergeMgr.cpp
call fcn.00452950
add esp, 0x1c
call esi
sub eax, edi
mov edi, dword [sym.imp.MSVCR80.dll_wprintf]
push eax
push str._CMergeMgr::CheckFileSize_time_consuming:_u_n
call edi
add esp, 8
mov dword [ebp - 0x18], str._CMergeMgr::CheckFileSize_All_files_size_matched_n
mov dword [ebp - 0x5c], str.E:_txupdatecodingTXUpdate_servicelogicMergeMgr.cpp
mov dword [ebp - 0x58], str.CMergeMgr::CheckFileSize
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x88], 0x16a
mov dword [ebp - 0x84], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], 2
call esi
lea ecx, [ebp - 0x70]
push ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea edx, [ebp - 0x18]
push edx
push 0x5a48f0
lea eax, [ebp - 0x90]
push 0x5a9468
push eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
call sym.txupd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
push str._CMergeMgr::CheckFileSize_All_files_size_matched_n
call edi
add esp, 0x18
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret