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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b400
mov eax, dword fs:[0]
push eax
sub esp, 0x18
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
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x47009d
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x47009d
test ecx, ecx
je 0x46fdf0
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x46fdf6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x48]
lea edi, [ebx*4]
mov ecx, dword [eax + edi]
add eax, edi
add ecx, 0xc
call sym.txupd.exe_public:_bool___thiscall_CTXStringW::IsEmpty_void_const
test al, al
mov ecx, dword [esi + 0x48]
je 0x46fe35
test ecx, ecx
je 0x46fe24
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x46fe2a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x48]
mov edi, dword [eax + edi]
add edi, 4
jmp 0x46fe54
test ecx, ecx
je 0x46fe45
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x46fe4b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x48]
mov edi, dword [edi + ecx]
add edi, 0xc
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x46fe67
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x46fe6d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0x48]
mov eax, dword [edx + ebx*4]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push edi
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.0046f5b0
mov ecx, dword [esi + 0x48]
xor edi, edi
cmp ecx, edi
mov dword [ebp - 4], edi
jne 0x46fe9b
xor eax, eax
jmp 0x46fea3
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
test ebx, ebx
mov dword [ebp - 0x20], ebx
fild dword [ebp - 0x20]
jge 0x46feb3
fadd qword [0x5a6d80]
test eax, eax
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
jge 0x46fec3
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 - 0x20], eax
ja 0x46feef
jl 0x470007
mov edi, 0x50
fstp st(0)
fstp st(0)
lea ecx, [ebp - 0x14]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov edx, ebx
sub edx, dword [0x611308]
je 0x46ff2a
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi + 0x20]
push eax
push edi
push 0xbd1
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [0x611308], ebx
push 0
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea eax, [ebp - 0x10]
push eax
call fcn.00499e90
lea ecx, [ebp - 0x10]
push 0
push ecx
mov byte [ebp - 4], 1
call fcn.004991c0
add esp, 0x14
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 0x46ffe0
push 1
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea eax, [ebp - 0x24]
push eax
call fcn.00499e90
push eax
lea ecx, [esi + 0x70]
push ecx
lea edx, [ebp - 0x18]
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 - 0x24]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004991c0
add esp, 8
push 0
lea ecx, [ebp - 0x18]
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
je 0x470021
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
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_
add dword [ebp - 0x1c], 1
mov ebx, dword [ebp - 0x1c]
jmp 0x46fdc5
fidivr dword [ebp - 0x20]
fmul qword [0x5a83e0]
faddp st(1)
call fcn.005849f0
mov edi, eax
add edi, 0x3c
jmp 0x46fef3
push ecx
lea edx, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push str.file_merge:__back_up__failed:__s__n
push 0x5a8230
push 2
push str.CFilePatcher::Worker_Backup
push 0x17e
push str.E:_txupdatecodingTXUpdate_servicelogicFilePatcher.cpp
call fcn.0046fa20
mov eax, dword [ebp - 0x10]
push eax
push str.file_merge:__back_up__failed:__s__n
call dword [sym.imp.MSVCR80.dll_wprintf]
add esp, 0x24
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
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 al, al
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 al, 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