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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b978
mov eax, dword fs:[0]
push eax
sub esp, 0x50
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
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], edi
lea esp, [esp]
mov ecx, dword [esi + 0x48]
cmp ecx, ebx
je 0x4726f0
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4726f0
cmp ecx, ebx
je 0x4720db
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4720e1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x48]
lea ebx, [edi*4]
mov ecx, dword [eax + ebx]
add eax, ebx
add ecx, 0xc
call sym.txupd.exe_public:_bool___thiscall_CTXStringW::IsEmpty_void_const
test al, al
mov ecx, dword [esi + 0x48]
je 0x472120
test ecx, ecx
je 0x47210f
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x472115
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x48]
mov edi, dword [ebx + eax]
add edi, 4
jmp 0x47213f
test ecx, ecx
je 0x472130
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x472136
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x48]
mov edi, dword [ebx + ecx]
add edi, 0xc
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x472153
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp dword [ebp - 0x18], eax
jb 0x472159
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0x48]
mov eax, dword [ebx + edx]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push edi
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea ecx, [ebp - 0x24]
push ecx
mov ecx, esi
call fcn.0046f5b0
mov ecx, dword [esi + 0x48]
test ecx, ecx
mov edi, dword [ebp - 0x18]
mov dword [ebp - 4], 0
je 0x472194
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x47219a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0x48]
mov eax, dword [ebx + edx]
mov ecx, edx
test ecx, ecx
push eax
je 0x4721b3
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4721b9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x48]
mov edx, dword [eax + ebx]
add eax, ebx
push ecx
add edx, 4
mov ecx, esp
mov dword [ebp - 0x44], esp
push edx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.0046f5b0
mov ecx, dword [esi + 0x48]
test ecx, ecx
mov byte [ebp - 4], 1
jne 0x4721ea
xor eax, eax
jmp 0x4721f2
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
test edi, edi
mov dword [ebp - 0x44], edi
fild dword [ebp - 0x44]
jge 0x472202
fadd qword [0x5a6d80]
test eax, eax
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
jge 0x472212
fadd qword [0x5a6d80]
fdivp st(1)
fld qword [0x5a80d0]
fmul st(1), st(0)
fld qword [0x5a6d70]
fadd st(2), st(0)
fxch st(2)
call fcn.005849f0
cmp eax, 0x64
mov dword [ebp - 0x44], eax
ja 0x472253
jl 0x47223c
mov edi, 0x64
jmp 0x472255
fidivr dword [ebp - 0x44]
fmul qword [0x5a83e0]
faddp st(1)
call fcn.005849f0
mov edi, eax
add edi, 0x50
jmp 0x472259
xor edi, edi
fstp st(0)
fstp st(0)
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov ecx, ebx
sub ecx, dword [0x611308]
je 0x472290
mov edx, dword [ebp - 0x44]
mov eax, dword [esi + 0x20]
push edx
push edi
push 0xbd1
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [0x611308], ebx
push 1
push ecx
lea edx, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x44], esp
push edx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea eax, [ebp - 0x48]
push eax
call fcn.00499e90
push eax
lea ecx, [esi + 0x70]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 2
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0x18
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.004991c0
add esp, 8
push 1
push ecx
lea edx, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x44], esp
push edx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea eax, [ebp - 0x4c]
push eax
call fcn.00499e90
push eax
lea ecx, [esi + 0x74]
push ecx
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 5
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0x18
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004991c0
add esp, 8
push 1
push ecx
lea edx, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x44], esp
push edx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea eax, [ebp - 0x58]
push eax
call fcn.00499e90
mov edi, eax
push str.UnZip
lea ecx, [esi + 0x78]
push ecx
lea edx, [ebp - 0x54]
push edx
mov byte [ebp - 4], 8
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
push 0x5d13ac
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x50]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
push edi
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 0xa
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0x30
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xd
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea edx, [ebp - 0x10]
push 0
push edx
call fcn.004991c0
mov eax, dword [esi + 0x48]
mov ebx, dword [ebp - 0x18]
add esp, 8
test eax, eax
je 0x4723c1
mov ecx, dword [esi + 0x4c]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x4723c7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x48]
lea edi, [ebx*4]
mov ecx, dword [edi + eax]
cmp dword [ecx + 0x10], 3
jne 0x47244a
push 0
lea ecx, [ebp - 0x14]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call fcn.0049a0d0
add esp, 0xc
test eax, eax
jne 0x472562
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str.file_patch:_copy_file_failed.__s__n
push 0x5a8230
push 2
push str.CFilePatcher::Worker_DoPatch
push 0x1b1
push str.E:_txupdatecodingTXUpdate_servicelogicFilePatcher.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.file_patch:_copy_file_failed.__s__n
call dword [sym.imp.MSVCR80.dll_wprintf]
add esp, 8
add dword [ebp - 0x28], 1
jmp 0x4726a2
mov ecx, eax
test ecx, ecx
je 0x47245c
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x472462
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0x48]
mov eax, dword [edi + edx]
cmp dword [eax + 0x10], 4
jne 0x4724b6
push 0
lea ecx, [ebp - 0x14]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x1c]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call fcn.0049a0d0
add esp, 0xc
test eax, eax
jne 0x472562
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str.file_patch:_copy_file_failed.__s__n
push 0x5a8230
push 2
push str.CFilePatcher::Worker_DoPatch
push 0x1ba
jmp 0x47241d
push 0x5a81cc
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
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
jne 0x4724e1
add dword [ebp - 0x30], 1
jmp 0x4726a2
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x4724f4
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4724fa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x48]
mov edx, dword [edi + ecx]
cmp dword [edx + 0x10], 2
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esi
push edx
jne 0x47251b
call fcn.004700c0
jmp 0x472520
call fcn.00471c20
test al, al
jne 0x472562
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x5c]
push 0x5a823c
push ecx
call sym.txupd.exe_class_CTXStringW___cdecl_operator_wchar_t_const___class_CTXStringW_const__
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xf
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::DeleteFileW_wchar_t_const__
add esp, 4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xe
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
add dword [ebp - 0x34], 1
jmp 0x4726a2
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x472575
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x47257b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0x48]
add edx, edi
push edx
lea ecx, [esi + 0x54]
call fcn.00467d10
mov eax, dword [ebp - 0x38]
add eax, 1
cmp eax, 1
mov dword [ebp - 0x38], eax
jb 0x4726a2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub edi, dword [ebp - 0x3c]
cmp edi, 0x1f4
jbe 0x47268a
push edi
push str.time_exceed_500ms_sleep_300ms_real_time_spend:_ld_n
push 0x5a8230
push 2
push str.CFilePatcher::Worker_DoPatch
push 0x1e0
push str.E:_txupdatecodingTXUpdate_servicelogicFilePatcher.cpp
call fcn.00452950
mov ebx, dword [sym.imp.MSVCR80.dll_wprintf]
push edi
push str.time_exceed_500ms_sleep_300ms_real_time_spend:_ld_n
call ebx
add esp, 0x24
cmp edi, 0x3e8
mov edi, dword [ebp - 0x18]
jbe 0x47263f
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x472602
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x472608
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x48]
lea ecx, [edi*4]
add eax, ecx
mov ecx, dword [eax]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str.patch_file:__s_n
push 0x5a8230
push 2
push str.CFilePatcher::Worker_DoPatch
push 0x1e2
push str.E:_txupdatecodingTXUpdate_servicelogicFilePatcher.cpp
call fcn.004587e0
add esp, 0x1c
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x472652
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x472658
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x48]
lea ecx, [edi*4]
add eax, ecx
mov ecx, dword [eax]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str.patch_file:__s_n
call ebx
add dword [ebp - 0x2c], 1
add esp, 8
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [ebp - 0x18]
jmp 0x472692
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
add ebx, 1
mov dword [ebp - 0x18], ebx
mov edi, ebx
xor ebx, ebx
jmp 0x4720b0
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x4726ff
mov ebx, dword [esi + 0x5c]
sub ebx, eax
sar ebx, 2
mov eax, ecx
test eax, eax
jne 0x472709
xor edi, edi
jmp 0x472711
mov edi, dword [esi + 0x4c]
sub edi, eax
sar edi, 2
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x34]
push ecx
push edx
push eax
push ebx
push edi
push str.file_patch:_total___ld___succ__ld___patch_failed___ld___copy_failed__ld___miss_patch__ld__time_spend:__ld__sleep_count:__ld__n
push 0x5a8230
push 2
push str.CFilePatcher::Worker_DoPatch
push 0x1f1
push str.E:_txupdatecodingTXUpdate_servicelogicFilePatcher.cpp
call fcn.00466850
mov eax, dword [esi + 0x58]
add esp, 0x34
test eax, eax
jne 0x47275b
xor edi, edi
jmp 0x472763
mov edi, dword [esi + 0x5c]
sub edi, eax
sar edi, 2
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x47276e
xor esi, esi
jmp 0x472776
mov esi, dword [esi + 0x4c]
sub esi, eax
sar esi, 2
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x28]
push edx
push eax
push ebx
push edi
push esi
push str.file_patch:_total___ld___succ__ld___patch_failed___ld___copy_failed__ld___miss_patch__ld__time_spend:__ld__sleep_count:__ld__n
call dword [sym.imp.MSVCR80.dll_wprintf]
push ebx
push str.PATCH_MERGE_FAILED
call fcn.00465dc0
add esp, 0x28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret