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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f490
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x44ef24]
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 esi, ecx
mov dword [ebp - 0x48], esi
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x20]
push edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x50], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x10], 0
mov dword [ebp - 4], 0
je 0x42174a
push ebx
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.0040fc90
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
cmp esi, dword [ecx]
je 0x42174a
cmp dword [ebx + 0x38], 8
lea ecx, [ebx + 0x24]
jb 0x4214e9
mov ecx, dword [ecx]
add ebx, 4
mov edx, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x4214f6
mov edx, dword [ebx]
movzx eax, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x38]
push ecx
push dword [eax + 0x1c]
push edx
push dword [eax]
push str.PageStatusManager::UpdatePage
push str._s____update_tabid:_d__url:_S__status:_d__pattern:_s__bIsNetpayEnable:_d
call fcn.00401530
mov eax, dword [ebp - 0x38]
add esp, 0x1c
mov eax, dword [eax + 0x14]
test eax, eax
je 0x421537
lea ecx, [esi + 0x18]
cmp ecx, ebx
je 0x421537
cmp dword [ebx + 0x14], 0x10
jb 0x421530
mov ebx, dword [ebx]
push eax
push ebx
call fcn.0040a550
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x1c]
cmp eax, 0xffffffff
je 0x421545
mov dword [esi + 0x30], eax
lea eax, [ebx + 0x20]
push eax
lea ecx, [esi + 0x34]
call fcn.0040b910
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebx]
mov dword [ebp - 0x44], ecx
mov edx, dword [eax]
mov ebx, edx
mov eax, dword [ebx + 4]
cmp byte [eax + 0xd], 0
jne 0x421583
cmp dword [eax + 0x10], ecx
jge 0x421570
mov eax, dword [eax + 8]
jmp 0x421574
mov ebx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x421566
cmp ebx, edx
je 0x421583
cmp ecx, dword [ebx + 0x10]
jge 0x421585
mov ebx, edx
cmp ebx, edx
je 0x421659
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x3c], eax
cmp eax, 0x7d0
jl 0x4215aa
cmp eax, 0xbb8
jge 0x4215b1
mov dword [ebp - 0x3c], 2
jmp 0x4215bf
cmp eax, 0xbb8
jl 0x4215bf
cmp eax, 0xfa0
jge 0x4215bf
mov dword [ebp - 0x3c], 3
lea ecx, [ebp - 0x34]
call fcn.0040cb60
mov byte [ebp - 4], 1
mov eax, str.event
inc eax
cmp byte [eax], 0
jne 0x4215d0
sub eax, str.event
mov dword [ebp - 0x64], 0x100005
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x70], str.event
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x3e9
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
push eax
mov dword [ebp - 0x54], 0x3e06
call fcn.00407780
push dword [ebp - 0x3c]
lea eax, [ebx + 0x18]
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x34]
call fcn.0041acf0
mov ecx, eax
call fcn.00420900
mov ecx, eax
call fcn.0040f650
cmp byte [ebp + 0xc], 0
je 0x421645
push 1
lea ecx, [ebp - 0x34]
call fcn.004208a0
lea ecx, [ebp - 0x34]
call fcn.00408320
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00407170
mov eax, dword [ebp - 0x38]
lea ebx, [esi + 0x38]
mov esi, dword [ebp - 0x48]
add esi, 8
push ebx
mov eax, dword [eax]
mov ecx, esi
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x38], esi
call fcn.0040fce0
mov eax, dword [esi]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
cmp esi, eax
je 0x421699
mov ecx, dword [ebp - 0x38]
lea eax, [esi + 0x10]
push eax
push ebx
call fcn.0040d140
test al, al
mov eax, dword [ebp - 0x44]
je 0x42169b
mov esi, eax
cmp esi, eax
je 0x4216c6
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x4216aa
mov eax, dword [eax]
mov ebx, dword [ebp - 0x3c]
push ebx
push eax
push str.PageStatusManager::UpdateShoppingHintList
push str._s____update_shopping_pattern:_s_tabId:_d
call fcn.00401530
add esp, 0x10
mov dword [esi + 0x28], ebx
jmp 0x42173e
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4216d0
mov eax, dword [ebx]
push dword [ebp - 0x3c]
push eax
push str.PageStatusManager::UpdateShoppingHintList
push str._s____new_shopping_pattern:_s__tabId:_d
call fcn.00401530
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x40]
add esp, 0x10
push ebx
push eax
call fcn.0040fce0
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x40]
cmp esi, dword [ecx]
je 0x42170e
lea eax, [esi + 0x10]
push eax
push ebx
call fcn.0040d140
test al, al
je 0x421738
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x49]
mov dword [ebp - 0x40], ebx
push eax
lea eax, [ebp - 0x40]
push eax
push 0x444930
call fcn.0040be40
mov ecx, dword [ebp - 0x38]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.0040c260
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x14], eax
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.00427ee9
mov esp, ebp
pop ebp
ret 8