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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff22c
mov eax, 0x4608d0
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.00455438
mov word [ebp - 0x2c], 8
lea edx, [ebp - 1]
push edx
call fcn.00423a7e
call fcn.0045c2ec
mov dword [ebp - 0x40], eax
push 1
push 0xffffffffffffffff
push 0x100c
mov ecx, dword [ebx]
push ecx
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x44], eax
push 1
push 0x465b2d
call fcn.0040b0dc
push 0x1c4
call fcn.00408028
push eax
push 0x465b2d
call fcn.0040b14c
push 0
push 0
push 0xb
mov eax, dword [ebx]
push eax
call sub.USER32.dll_SendMessageA
push ebx
call fcn.00422d98
push 0xffffffffffffffff
mov edx, dword [ebx + 8]
push edx
call sub.COMCTL32.DLL_ImageList_Remove
push 0x465b11
call fcn.0040a624
lea ecx, [ebp - 0x45c]
push ecx
push 0x465fe5
call fcn.0041ec64
lea eax, [ebp - 0x45c]
push eax
call fcn.00452eec
pop ecx
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x42015b
inc dword [ebp - 0x48]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x4c], eax
push 0
lea edx, [ebp - 0x1c]
push edx
call fcn.00420854
lea ecx, [ebp - 0x880]
push ecx
call fcn.004262c0
lea eax, [ebp - 0x878]
push eax
call fcn.004262c0
mov byte [ebp - 0x85c], 0
jmp 0x420554
cmp dword [ebp - 0x4c], 0
jne 0x4201c7
test esi, 0x1f
jne 0x4201c7
call fcn.0045c2ec
sub eax, dword [ebp - 0x40]
cmp eax, 0x1f4
jle 0x4201c7
mov dword [ebp - 0x4c], 1
push 0x7f02
push 0
call sub.USER32.dll_LoadCursorA
push eax
call sub.USER32.dll_SetCursor
lea edi, [ebp - 0xcd0]
add edi, dword [ebp - 0x48]
test byte [ebp - 0x870], 0x10
je 0x420243
mov eax, edi
lea edx, [ebp - 0x85c]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x420203
test cl, cl
je 0x4201fd
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x420203
add eax, 2
add edx, 2
test cl, cl
jne 0x4201e1
je 0x420554
lea eax, [ebp - 0xcd0]
push eax
push 0x46feb8
call fcn.004070fc
test al, al
jne 0x420554
push esi
xor eax, eax
push edi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x85c]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov dword [ebp - 0xcf8], 7
xor eax, eax
mov dword [ebp - 0xcf4], esi
mov dword [ebp - 0xcf0], eax
mov dword [ebp - 0xcdc], eax
mov eax, edi
lea edx, [ebp - 0x54]
mov dword [ebp - 0xce4], eax
push edx
lea ecx, [ebp - 0xdf8]
lea edx, [ebp - 0x50]
push ecx
push edx
mov ecx, dword [ebp - 0x870]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00420910
push 0x50
lea eax, [ebp - 0xdf8]
push eax
lea edx, [ebp - 0x8d0]
push edx
call fcn.00453048
add esp, 0xc
test byte [ebp - 0x864], 1
je 0x4202d1
mov ecx, dword [ebp - 0xce4]
lea eax, [ebp - 0x1204]
push ecx
push 0x4609bf
push eax
call fcn.00456f9c
add esp, 0xc
lea edx, [ebp - 0x1204]
mov dword [ebp - 0xce4], edx
mov eax, dword [ebp - 0x864]
and eax, 6
test eax, eax
je 0x420350
sub eax, 2
je 0x4202ef
sub eax, 2
je 0x42030c
sub eax, 2
je 0x420329
jmp 0x420344
mov edx, dword [ebp - 0xce4]
lea ecx, [ebp - 0x1610]
push edx
push 0x4609c4
push ecx
call fcn.00456f9c
add esp, 0xc
jmp 0x420344
mov eax, dword [ebp - 0xce4]
lea edx, [ebp - 0x1610]
push eax
push 0x4609cb
push edx
call fcn.00456f9c
add esp, 0xc
jmp 0x420344
mov ecx, dword [ebp - 0xce4]
lea eax, [ebp - 0x1610]
push ecx
push 0x4609d2
push eax
call fcn.00456f9c
add esp, 0xc
lea edx, [ebp - 0x1610]
mov dword [ebp - 0xce4], edx
cmp dword [ebp - 0x54], 0xffffffff
je 0x420361
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0xcdc], ecx
jmp 0x42038b
mov eax, dword [ebp - 0x50]
push eax
push 0xffffffffffffffff
mov edx, dword [ebx + 8]
push edx
call sub.COMCTL32.DLL_ImageList_ReplaceIcon
mov edi, eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xcdc], edi
push edi
push eax
call fcn.00420aac
mov edx, dword [ebp - 0x50]
push edx
call sub.USER32.dll_DestroyIcon
lea ecx, [esi + 1]
lea eax, [ebp - 0xcd0]
mov dword [ebp - 0x860], ecx
push eax
push 0x46feb8
call fcn.00406dfc
mov dword [ebp - 0xcd8], eax
cmp dword [0x4669f7], 0
jne 0x4203c0
mov edx, dword [ebp - 0xce4]
push edx
call fcn.00408f54
lea ecx, [ebp - 0xcf8]
push ecx
push 0
push 0x1007
mov eax, dword [ebx]
push eax
call sub.USER32.dll_SendMessageA
test byte [ebp - 0x870], 0x10
mov edi, eax
jne 0x42047f
lea eax, [ebp - 0x1644]
push eax
add esp, 0xfffffff8
mov edx, dword [ebp - 0x880]
mov dword [esp], edx
mov ecx, dword [ebp - 0x87c]
mov dword [esp + 4], ecx
call fcn.004082fc
mov dword [ebp - 0x1664], 1
lea eax, [ebp - 0x1644]
lea edx, [ebp - 0x166c]
mov dword [ebp - 0x1658], eax
push edx
push edi
push 0x102e
mov ecx, dword [ebx]
push ecx
call sub.USER32.dll_SendMessageA
lea eax, [ebp - 0x1644]
push eax
add esp, 0xfffffff8
mov edx, dword [ebp - 0x878]
mov dword [esp], edx
mov ecx, dword [ebp - 0x874]
mov dword [esp + 4], ecx
call fcn.004082fc
mov dword [ebp - 0x168c], 2
lea eax, [ebp - 0x1644]
lea edx, [ebp - 0x1694]
mov dword [ebp - 0x1680], eax
push edx
push edi
push 0x102e
mov ecx, dword [ebx]
push ecx
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x16b4], 3
lea eax, [ebp - 0xdf8]
lea edx, [ebp - 0x16bc]
mov dword [ebp - 0x16a8], eax
push edx
push edi
push 0x102e
mov ecx, dword [ebx]
push ecx
call sub.USER32.dll_SendMessageA
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x86c]
push edx
call sub.KERNEL32.dll_FileTimeToLocalFileTime
lea ecx, [ebp - 0x16cc]
push ecx
lea eax, [ebp - 0x5c]
push eax
call sub.KERNEL32.dll_FileTimeToSystemTime
push 0x32
lea edx, [ebp - 0x1700]
push edx
push 0
lea ecx, [ebp - 0x16cc]
push ecx
push 2
push 0x400
call sub.KERNEL32.dll_GetTimeFormatA
push 0x32
lea eax, [ebp - 0x1734]
push eax
push 0
lea edx, [ebp - 0x16cc]
push edx
push 0
push 0x400
call sub.KERNEL32.dll_GetDateFormatA
lea ecx, [ebp - 0x1700]
lea eax, [ebp - 0x1734]
push ecx
push eax
lea edx, [ebp - 0x1798]
push 0x4609d9
push edx
call fcn.00456f9c
add esp, 0x10
mov dword [ebp - 0x17b8], 4
lea ecx, [ebp - 0x1798]
lea eax, [ebp - 0x17c0]
mov dword [ebp - 0x17ac], ecx
push eax
push edi
push 0x102e
mov edx, dword [ebx]
push edx
call sub.USER32.dll_SendMessageA
inc esi
lea ecx, [ebp - 0xcd0]
push ecx
push 0x465fe5
call fcn.0041e6ac
test eax, eax
jne 0x420191
mov dword [ebp - 0x17e8], 7
xor eax, eax
mov dword [ebp - 0x17e4], esi
mov dword [ebp - 0x17e0], eax
mov dword [ebp - 0x17cc], eax
mov dword [ebp - 0x17d4], 0x4609df
lea edx, [ebp - 0x18e8]
lea ecx, [ebp - 0x1c]
push edx
push 0x4609e2
push ecx
call fcn.00420c38
mov esi, eax
push esi
push 0xffffffffffffffff
mov eax, dword [ebx + 8]
push eax
call sub.COMCTL32.DLL_ImageList_ReplaceIcon
mov dword [ebp - 0x17cc], eax
push esi
call sub.USER32.dll_DestroyIcon
lea edx, [ebp - 0x190c]
push edx
call fcn.004262c0
lea ecx, [ebp - 0x1904]
push ecx
call fcn.004262c0
push 0x474
push 0
lea eax, [ebp - 0x1d5c]
push eax
call fcn.00452e2c
lea edi, [ebp - 0x1d5c]
add esp, 0xc
mov eax, edi
mov esi, 0x4609e9
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x18fc], 0x10
lea edx, [ebp - 0x1d5c]
push edx
push 0x46feb8
call fcn.00406dfc
mov dword [ebp - 0x17c8], eax
lea ecx, [ebp - 0x17e8]
push ecx
push 0
push 0x1007
mov eax, dword [ebx]
push eax
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x1d7c], 3
lea edx, [ebp - 0x18e8]
lea ecx, [ebp - 0x1d84]
mov dword [ebp - 0x1d70], edx
push ecx
push eax
push 0x102e
mov eax, dword [ebx]
push eax
call sub.USER32.dll_SendMessageA
push 0x46feb8
call fcn.004070b4
mov edx, dword [0x4669cf]
push edx
push ebx
call fcn.00422080
cmp dword [ebp + 0xc], 0
je 0x4206db
mov ecx, dword [ebp + 0xc]
push ecx
push ebx
call fcn.0041ffa8
test eax, eax
jne 0x420705
push 0
push 0
push 0x1004
mov eax, dword [ebx]
push eax
call sub.USER32.dll_SendMessageA
test eax, eax
jle 0x4206ad
cmp eax, dword [ebp - 0x44]
jg 0x4206ad
dec eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1d9c], 3
mov dword [ebp - 0x1da0], 3
lea edx, [ebp - 0x1dac]
push edx
mov ecx, dword [ebp - 0x44]
push ecx
push 0x102b
mov eax, dword [ebx]
push eax
call sub.USER32.dll_SendMessageA
jmp 0x420705
mov dword [ebp - 0x1dc4], 3
mov dword [ebp - 0x1dc8], 3
lea edx, [ebp - 0x1dd4]
push edx
push 0
push 0x102b
mov ecx, dword [ebx]
push ecx
call sub.USER32.dll_SendMessageA
push 0
push 1
push 0xb
mov eax, dword [ebx]
push eax
call sub.USER32.dll_SendMessageA
push 0
push 0
push 0x102a
mov edx, dword [ebx]
push edx
call sub.USER32.dll_SendMessageA
push 0
push 0x465b2d
call fcn.0040b14c
push ebx
call fcn.004219d8
push ebx
call fcn.00421b70
push 0x465b11
call fcn.00409a20
cmp dword [ebp - 0x4c], 0
je 0x42075e
push 0x7f00
push 0
call sub.USER32.dll_LoadCursorA
push eax
call sub.USER32.dll_SetCursor
push 0
push 0x465b2d
call fcn.0040b0dc
push 2
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004208c8
push 2
lea eax, [ebp - 1]
push eax
call fcn.00423a98
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8