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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 3
add esp, 0xfffff004
push eax
dec eax
jne 0x459e35
mov eax, dword [ebp - 4]
add esp, 0xfffff228
push ebx
push esi
push edi
mov dword [ebp - 0x40], edx
mov ebx, eax
mov eax, 0x4ab278
call fcn.004992ac
mov word [ebp - 0x2c], 8
inc dword [0x4c9894]
inc dword [ebp - 0x20]
mov word [ebp - 0x2c], 0x14
call fcn.004a127c
mov dword [ebp - 0x44], eax
push 1
push 0xffffffffffffffff
push 0x100c
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov dword [ebp - 0x48], eax
mov eax, 0x4c7470
mov edx, 1
call fcn.0047d580
mov eax, 0x1c4
call fcn.004129c8
mov edx, eax
mov eax, 0x4c7470
call fcn.0047d5e0
push 0
push 0
push 0xb
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov eax, ebx
call fcn.0045ddf8
push 0xffffffffffffffff
push dword [ebx + 8]
call sub.COMCTL32.DLL_ImageList_Remove
push dword [ebx + 8]
push 1
push 0x1003
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov eax, 0x4c7460
call fcn.00476684
lea edx, [ebp - 0x11c]
mov eax, 0x4c7c4c
call fcn.00457db0
lea ecx, [ebp - 0xd1c]
lea edx, [ebp - 0x51c]
mov eax, 0x4c7c4c
call fcn.00457d50
lea edx, [ebp - 0x51c]
mov eax, ebx
call fcn.00459da8
test al, al
je 0x459f28
mov word [ebp - 0xd1c], 0
lea edx, [ebp - 0x51c]
mov eax, 0x4c7428
call fcn.0045f250
lea edx, [ebp - 0x51c]
push edx
call fcn.00498eac
pop ecx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xd1c]
call fcn.00410af4
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x4c], 0
je 0x459f5f
inc dword [ebp - 0x4c]
cmp byte [0x4b5ae8], 0
je 0x459f7a
lea edx, [ebp - 0x51c]
mov eax, 0x4b59e8
call fcn.00410f88
jmp 0x459f87
lea edx, [ebp - 0x51c]
push edx
call fcn.00498eac
pop ecx
test eax, eax
je 0x459f8c
inc eax
cmp dword [ebp - 0x50], 0
je 0x459f98
mov ecx, dword [ebp - 0x50]
inc ecx
jmp 0x459f9a
mov ecx, eax
mov dword [ebp - 0x50], ecx
xor edi, edi
mov byte [ebp - 0x51], 0
mov byte [ebp - 0x52], 0
mov edx, 0x4aaec0
mov eax, 0x4aaeb7
mov ecx, 1
call fcn.00461bc4
test eax, eax
mov edx, str.FlatView
setne al
and eax, 1
xor ecx, ecx
mov byte [ebp - 0x53], al
mov eax, 0x4aaeb7
call fcn.00461bc4
test eax, eax
setne dl
and edx, 1
mov byte [ebp - 0x54], dl
mov word [ebp - 0x2c], 0x20
lea eax, [ebp - 0x18]
call fcn.0045aa18
inc dword [ebp - 0x20]
mov word [ebp - 0x2c], 0x14
mov byte [ebp - 0x111c], 0
jmp 0x45a654
cmp byte [ebp - 0x51], 0
jne 0x45a038
test edi, 0x1f
jne 0x45a038
call fcn.004a127c
sub eax, dword [ebp - 0x44]
cmp eax, 0x1f4
jle 0x45a038
mov byte [ebp - 0x51], 1
push 0x7f02
push 0
call sub.USER32.DLL_LoadCursorA
push eax
call sub.USER32.DLL_SetCursor
lea esi, [ebp - 0x1d4c]
add esi, dword [ebp - 0x4c]
mov word [ebp - 0x2c], 0x14
mov eax, dword [ebp - 0x50]
add eax, eax
lea edx, [ebp - 0x194c]
add eax, edx
mov dword [ebp - 0x58], eax
test byte [ebp - 0x113c], 0x10
setne cl
and ecx, 1
mov byte [ebp - 0x59], cl
cmp byte [ebp - 0x54], 0
je 0x45a088
lea eax, [ebp - 0x1d4c]
call fcn.0040be48
mov esi, eax
lea eax, [ebp - 0x194c]
call fcn.0040bee0
mov dword [ebp - 0x58], eax
cmp byte [ebp - 0x59], 0
je 0x45a177
cmp byte [ebp - 0x54], 0
jne 0x45a177
test byte [ebp - 0x112e], 1
je 0x45a0f4
lea edx, [ebp - 0x111c]
push edx
push esi
call fcn.00498e30
add esp, 8
test eax, eax
je 0x45a654
push esi
lea ecx, [ebp - 0x111c]
push ecx
call fcn.00498e7c
add esp, 8
lea ecx, [ebp - 0x194c]
lea edx, [ebp - 0x1d4c]
mov eax, 0x4cb8cc
push 0
push 1
call fcn.00461348
test al, al
jne 0x45a654
jmp 0x45a177
lea eax, [ebp - 0x60]
push eax
push 1
lea ecx, [ebp - 0x194c]
lea edx, [ebp - 0x1d4c]
mov eax, 0x4cb8cc
call fcn.00461348
test al, al
je 0x45a177
mov eax, 0x4cb8cc
mov edx, dword [ebp - 0x60]
call fcn.00461404
mov ecx, dword [ebp - 0x1138]
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x1134]
mov dword [eax + 0x24], ecx
lea ecx, [ebp - 0x1db0]
lea edx, [ebp - 0x1138]
mov eax, ebx
call fcn.0045a8d0
mov dword [ebp - 0x1dd0], 4
lea eax, [ebp - 0x1db0]
lea edx, [ebp - 0x1dd8]
mov dword [ebp - 0x1dc4], eax
push edx
push dword [ebp - 0x60]
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
jmp 0x45a654
mov dword [ebp - 0x1e00], 7
xor ecx, ecx
mov dword [ebp - 0x1dfc], edi
mov dword [ebp - 0x1df8], ecx
mov dword [ebp - 0x1de4], ecx
lea eax, [ebp - 0x64]
lea edx, [ebp - 0x1e64]
push eax
push edx
lea eax, [ebp - 0x68]
push 0x64
push eax
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x113c]
mov edx, esi
call fcn.0045ab14
mov byte [ebp - 0x74], 0
test byte [ebp - 0x1130], 1
je 0x45a1d4
push 0x4aaedc
lea eax, [ebp - 0x74]
push eax
call fcn.00498da0
add esp, 8
mov eax, dword [ebp - 0x1130]
and eax, 6
test eax, eax
je 0x45a232
sub eax, 2
je 0x45a1f2
sub eax, 2
je 0x45a205
sub eax, 2
je 0x45a221
jmp 0x45a232
push 0x4aaedf
lea edx, [ebp - 0x74]
push edx
call fcn.00498da0
add esp, 8
jmp 0x45a232
cmp byte [ebp - 0x87], 0
jne 0x45a232
push 0x4aaee4
lea ecx, [ebp - 0x74]
push ecx
call fcn.00498da0
add esp, 8
jmp 0x45a232
push 0x4aaee9
lea eax, [ebp - 0x74]
push eax
call fcn.00498da0
add esp, 8
cmp dword [ebp - 0x68], 0xffffffff
je 0x45a243
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x1de4], edx
jmp 0x45a26c
push dword [ebp - 0x64]
push 0xffffffffffffffff
push dword [ebx + 8]
call sub.COMCTL32.DLL_ImageList_ReplaceIcon
mov dword [ebp - 0x1de4], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x1de4]
call fcn.0045ac44
push dword [ebp - 0x64]
call sub.USER32.DLL_DestroyIcon
lea ecx, [edi + 1]
mov dword [ebp - 0x1128], ecx
lea edx, [ebp - 0x1d4c]
mov eax, 0x4cb8cc
call fcn.00461080
mov dword [ebp - 0x1de0], eax
lea edx, [ebp - 0x1d4c]
mov eax, ebx
call fcn.00459da8
test al, al
je 0x45a2ae
mov word [ebp - 0x194c], 0
lea ecx, [ebp - 0x194c]
mov dword [ebp - 0x58], ecx
cmp byte [ebp - 0x53], 0
jne 0x45a2cd
mov eax, esi
call fcn.0047e0e0
cmp word [ebp - 0x194c], 0
je 0x45a2cd
mov eax, dword [ebp - 0x58]
call fcn.0047e114
call fcn.004107bc
test eax, eax
je 0x45a31e
cmp word [ebp - 0x194c], 0
je 0x45a31e
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x1dec], edx
mov eax, dword [ebp - 0x58]
call fcn.00410af4
mov edx, eax
lea eax, [ebp - 0x74]
add edx, edx
mov ecx, 0x1000000
add edx, dword [ebp - 0x58]
call fcn.00410844
lea edx, [ebp - 0x1e00]
push edx
push 0
push 0x104d
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov esi, eax
jmp 0x45a38d
cmp word [ebp - 0x194c], 0
je 0x45a363
lea edx, [ebp - 0x2264]
mov ecx, 0x1000000
mov eax, dword [ebp - 0x58]
call fcn.00410820
push 0x4aaeee
lea eax, [ebp - 0x2264]
push eax
call fcn.00498f55
add esp, 8
test eax, eax
jne 0x45a363
lea edx, [ebp - 0x2264]
push edx
push esi
call fcn.00498e7c
add esp, 8
mov dword [ebp - 0x1dec], esi
lea ecx, [ebp - 0x74]
push ecx
push esi
call fcn.00498da0
add esp, 8
lea eax, [ebp - 0x1e00]
push eax
push 0
push 0x1007
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov esi, eax
cmp byte [ebp - 0x59], 0
jne 0x45a48e
cmp dword [ebp - 0x1148], 0x80000000
jne 0x45a3aa
cmp dword [ebp - 0x114c], 0
je 0x45a3c1
cmp dword [ebp - 0x1148], 0x7fffffff
jne 0x45a3d7
cmp dword [ebp - 0x114c], 0
jne 0x45a3d7
push 0x4aaef4
lea eax, [ebp - 0x2298]
push eax
call fcn.00498e7c
add esp, 8
jmp 0x45a3f3
push dword [ebp - 0x1148]
push dword [ebp - 0x114c]
lea eax, [ebp - 0x2298]
mov edx, 0x32
call fcn.0047d744
mov dword [ebp - 0x22b8], 1
lea ecx, [ebp - 0x2298]
lea eax, [ebp - 0x22c0]
mov dword [ebp - 0x22ac], ecx
push eax
push esi
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp dword [ebp - 0x1140], 0x80000000
jne 0x45a448
cmp dword [ebp - 0x1144], 0
jne 0x45a448
push 0x4aaef4
lea edx, [ebp - 0x2298]
push edx
call fcn.00498e7c
add esp, 8
jmp 0x45a464
push dword [ebp - 0x1140]
push dword [ebp - 0x1144]
lea eax, [ebp - 0x2298]
mov edx, 0x32
call fcn.0047d744
mov dword [ebp - 0x22e0], 2
lea ecx, [ebp - 0x2298]
lea eax, [ebp - 0x22e8]
mov dword [ebp - 0x22d4], ecx
push eax
push esi
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov dword [ebp - 0x2308], 3
lea edx, [ebp - 0x1e64]
lea ecx, [ebp - 0x2310]
mov dword [ebp - 0x22fc], edx
push ecx
push esi
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp dword [ebp - 0x1138], 0
jne 0x45a4e0
cmp dword [ebp - 0x1134], 0
jne 0x45a4e0
push 0x4aaef4
lea eax, [ebp - 0x2374]
push eax
call fcn.00498e7c
add esp, 8
jmp 0x45a4f3
lea ecx, [ebp - 0x2374]
lea edx, [ebp - 0x1138]
mov eax, ebx
call fcn.0045a8d0
mov dword [ebp - 0x2394], 4
lea edx, [ebp - 0x2374]
lea ecx, [ebp - 0x239c]
mov dword [ebp - 0x2388], edx
push ecx
push esi
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
test byte [ebp - 0x1130], 8
je 0x45a57b
cmp byte [ebp - 0x59], 0
jne 0x45a57b
push dword [ebp - 0x112c]
test byte [ebp - 0x1130], 0x10
je 0x45a542
mov eax, str._04X
jmp 0x45a547
mov eax, str._08X
push eax
lea edx, [ebp - 0x80]
push edx
call fcn.0049bdcc
add esp, 0xc
mov dword [ebp - 0x23bc], 5
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x23c4]
mov dword [ebp - 0x23b0], ecx
push eax
push esi
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp byte [ebp - 0x52], 0
jne 0x45a5be
mov dword [ebp - 0x23e4], 4
test byte [ebp - 0x1130], 0x10
mov eax, 0x74
jne 0x45a59a
dec eax
call fcn.004129c8
mov dword [ebp - 0x23d8], eax
lea edx, [ebp - 0x23e4]
push edx
push 5
push 0x101a
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov byte [ebp - 0x52], 1
cmp byte [ebp - 0x54], 0
je 0x45a653
lea edx, [ebp - 0x27e4]
lea eax, [ebp - 0x1d4c]
mov ecx, 0x400
call fcn.0040c3a4
lea edx, [ebp - 0x2fe4]
lea eax, [ebp - 0x194c]
mov ecx, 0x400
call fcn.0040c3e0
mov dword [ebp - 0x3004], 6
call fcn.004107bc
test eax, eax
je 0x45a633
cmp word [ebp - 0x194c], 0
je 0x45a633
lea eax, [ebp - 0x2fe4]
lea edx, [ebp - 0x300c]
mov dword [ebp - 0x2ff8], eax
push edx
push esi
push 0x1074
push dword [ebx]
call sub.USER32.DLL_SendMessageA
jmp 0x45a653
lea ecx, [ebp - 0x27e4]
lea eax, [ebp - 0x300c]
mov dword [ebp - 0x2ff8], ecx
push eax
push esi
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
inc edi
lea edx, [ebp - 0x1d4c]
mov eax, 0x4c7c4c
mov cl, byte [ebp - 0x54]
call fcn.0045732c
test eax, eax
jne 0x45a005
mov dword [ebp - 0x3034], 7
mov dword [ebp - 0x3030], edi
xor edx, edx
mov dword [ebp - 0x302c], edx
mov dword [ebp - 0x3018], edx
mov dword [ebp - 0x3020], 0x4aaeb4
mov byte [ebp - 0x3134], 0
lea ecx, [ebp - 0x3134]
mov edx, 0x4aaf00
lea eax, [ebp - 0x18]
call fcn.0045adbc
mov esi, eax
mov word [ebp - 0x2c], 0x14
push esi
push 0xffffffffffffffff
push dword [ebx + 8]
call sub.COMCTL32.DLL_ImageList_ReplaceIcon
mov dword [ebp - 0x3018], eax
push esi
call sub.USER32.DLL_DestroyIcon
push 0xc30
push 0
lea eax, [ebp - 0x3d64]
push eax
call fcn.00498cfc
add esp, 0xc
push 0x4aaeb4
lea edx, [ebp - 0x3d64]
push edx
call fcn.00498e7c
mov dword [ebp - 0x3154], 0x10
add esp, 8
lea edx, [ebp - 0x3d64]
mov eax, 0x4cb8cc
call fcn.00461080
mov dword [ebp - 0x3014], eax
lea ecx, [ebp - 0x3034]
push ecx
push 0
push 0x1007
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov dword [ebp - 0x3d84], 3
lea edx, [ebp - 0x3134]
lea ecx, [ebp - 0x3d8c]
mov dword [ebp - 0x3d78], edx
push ecx
push eax
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov eax, 0x4cb8cc
call fcn.00461310
mov eax, ebx
call fcn.0045da80
cmp dword [ebp - 0x40], 0
je 0x45a7c7
mov edx, dword [ebp - 0x40]
mov eax, ebx
call fcn.00459c98
test eax, eax
jne 0x45a7f0
push 0
push 0
push 0x1004
push dword [ebx]
call sub.USER32.DLL_SendMessageA
test eax, eax
jle 0x45a79b
cmp eax, dword [ebp - 0x48]
jg 0x45a79b
dec eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3da4], 3
mov dword [ebp - 0x3da8], 3
lea edx, [ebp - 0x3db4]
push edx
push dword [ebp - 0x48]
push 0x102b
push dword [ebx]
call sub.USER32.DLL_SendMessageA
jmp 0x45a7f0
mov dword [ebp - 0x3dcc], 3
mov dword [ebp - 0x3dd0], 3
lea ecx, [ebp - 0x3ddc]
push ecx
push 0
push 0x102b
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push 0
push 1
push 0xb
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push 0
push 0
push 0x102a
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov eax, 0x4c7470
xor edx, edx
call fcn.0047d5e0
mov eax, ebx
call fcn.0045ccd4
mov eax, ebx
call fcn.0045cef0
mov eax, 0x4c7440
call fcn.00477b94
cmp byte [ebp - 0x51], 0
je 0x45a849
push 0x7f00
push 0
call sub.USER32.DLL_LoadCursorA
push eax
call sub.USER32.DLL_SetCursor
mov eax, 0x4c7470
xor edx, edx
call fcn.0047d580
dec dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0045aad8
dec dword [ebp - 0x20]
cmp dword [0x4c9894], 0
jle 0x45a877
dec dword [0x4c9894]
mov ecx, dword [ebp - 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret