Function at 0x459644
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 0x45964d
mov eax, dword [ebp - 4]
add esp, 0xfffff228
push ebx
push esi
push edi
mov dword [ebp - 0x40], edx
mov ebx, eax
mov eax, 0x4a91f0
call fcn.004980b0
mov word [ebp - 0x2c], 8
inc dword [0x4c780c]
inc dword [ebp - 0x20]
mov word [ebp - 0x2c], 0x14
call fcn.004a0080
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, 0x4c53e8
mov edx, 1
call fcn.0047c804
mov eax, 0x1c4
call fcn.004125d0
mov edx, eax
mov eax, 0x4c53e8
call fcn.0047c864
push 0
push 0
push 0xb
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov eax, ebx
call fcn.0045d5cc
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, 0x4c53d8
call fcn.00475a18
lea edx, [ebp - 0x11c]
mov eax, 0x4c5bc4
call fcn.004575cc
lea ecx, [ebp - 0xd1c]
lea edx, [ebp - 0x51c]
mov eax, 0x4c5bc4
call fcn.0045756c
lea edx, [ebp - 0x51c]
mov eax, ebx
call fcn.004595c0
test al, al
je 0x459740
mov word [ebp - 0xd1c], 0
lea edx, [ebp - 0x51c]
mov eax, 0x4c53a0
call fcn.0045e9d8
lea edx, [ebp - 0x51c]
push edx
call fcn.00497cb0
pop ecx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xd1c]
call fcn.00410768
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x4c], 0
je 0x459777
inc dword [ebp - 0x4c]
cmp byte [0x4b3a60], 0
je 0x459792
lea edx, [ebp - 0x51c]
mov eax, 0x4b3960
call fcn.00410be0
jmp 0x45979f
lea edx, [ebp - 0x51c]
push edx
call fcn.00497cb0
pop ecx
test eax, eax
je 0x4597a4
inc eax
cmp dword [ebp - 0x50], 0
je 0x4597b0
mov ecx, dword [ebp - 0x50]
inc ecx
jmp 0x4597b2
mov ecx, eax
mov dword [ebp - 0x50], ecx
xor edi, edi
mov byte [ebp - 0x51], 0
mov byte [ebp - 0x52], 0
mov edx, 0x4a8e4c
mov eax, 0x4a8e43
mov ecx, 1
call fcn.0046139c
test eax, eax
mov edx, 0x4a8e5f
setne al
and eax, 1
xor ecx, ecx
mov byte [ebp - 0x53], al
mov eax, 0x4a8e43
call fcn.0046139c
test eax, eax
setne dl
and edx, 1
mov byte [ebp - 0x54], dl
mov word [ebp - 0x2c], 0x20
lea eax, [ebp - 0x18]
call fcn.0045a238
inc dword [ebp - 0x20]
mov word [ebp - 0x2c], 0x14
mov byte [ebp - 0x111c], 0
jmp 0x459e68
cmp byte [ebp - 0x51], 0
jne 0x459850
test edi, 0x1f
jne 0x459850
call fcn.004a0080
sub eax, dword [ebp - 0x44]
cmp eax, 0x1f4
jle 0x459850
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 0x4598a0
lea eax, [ebp - 0x1d4c]
call fcn.0040bd28
mov esi, eax
lea eax, [ebp - 0x194c]
call fcn.0040bdb4
mov dword [ebp - 0x58], eax
cmp byte [ebp - 0x59], 0
je 0x45998f
cmp byte [ebp - 0x54], 0
jne 0x45998f
test byte [ebp - 0x112e], 1
je 0x45990c
lea edx, [ebp - 0x111c]
push edx
push esi
call fcn.00497c34
add esp, 8
test eax, eax
je 0x459e68
push esi
lea ecx, [ebp - 0x111c]
push ecx
call fcn.00497c80
add esp, 8
lea ecx, [ebp - 0x194c]
lea edx, [ebp - 0x1d4c]
mov eax, 0x4c9844
push 0
push 1
call fcn.00460b14
test al, al
jne 0x459e68
jmp 0x45998f
lea eax, [ebp - 0x60]
push eax
push 1
lea ecx, [ebp - 0x194c]
lea edx, [ebp - 0x1d4c]
mov eax, 0x4c9844
call fcn.00460b14
test al, al
je 0x45998f
mov eax, 0x4c9844
mov edx, dword [ebp - 0x60]
call fcn.00460bd0
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.0045a0e4
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 0x459e68
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.0045a334
mov byte [ebp - 0x74], 0
test byte [ebp - 0x1130], 1
je 0x4599ec
push 0x4a8e68
lea eax, [ebp - 0x74]
push eax
call fcn.00497ba4
add esp, 8
mov eax, dword [ebp - 0x1130]
and eax, 6
test eax, eax
je 0x459a4a
sub eax, 2
je 0x459a0a
sub eax, 2
je 0x459a1d
sub eax, 2
je 0x459a39
jmp 0x459a4a
push 0x4a8e6b
lea edx, [ebp - 0x74]
push edx
call fcn.00497ba4
add esp, 8
jmp 0x459a4a
cmp byte [ebp - 0x87], 0
jne 0x459a4a
push 0x4a8e70
lea ecx, [ebp - 0x74]
push ecx
call fcn.00497ba4
add esp, 8
jmp 0x459a4a
push 0x4a8e75
lea eax, [ebp - 0x74]
push eax
call fcn.00497ba4
add esp, 8
cmp dword [ebp - 0x68], 0xffffffff
je 0x459a5b
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x1de4], edx
jmp 0x459a84
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.0045a464
push dword [ebp - 0x64]
call sub.USER32.DLL_DestroyIcon
lea ecx, [edi + 1]
mov dword [ebp - 0x1128], ecx
lea edx, [ebp - 0x1d4c]
mov eax, 0x4c9844
call fcn.0046082c
mov dword [ebp - 0x1de0], eax
lea edx, [ebp - 0x1d4c]
mov eax, ebx
call fcn.004595c0
test al, al
je 0x459ac6
mov word [ebp - 0x194c], 0
lea ecx, [ebp - 0x194c]
mov dword [ebp - 0x58], ecx
cmp byte [ebp - 0x53], 0
jne 0x459ae5
mov eax, esi
call fcn.0047d340
cmp word [ebp - 0x194c], 0
je 0x459ae5
mov eax, dword [ebp - 0x58]
call fcn.0047d374
call fcn.0041043c
test eax, eax
je 0x459b36
cmp word [ebp - 0x194c], 0
je 0x459b36
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x1dec], edx
mov eax, dword [ebp - 0x58]
call fcn.00410768
mov edx, eax
lea eax, [ebp - 0x74]
add edx, edx
mov ecx, 0x1000000
add edx, dword [ebp - 0x58]
call fcn.004104b4
lea edx, [ebp - 0x1e00]
push edx
push 0
push 0x104d
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov esi, eax
jmp 0x459ba5
cmp word [ebp - 0x194c], 0
je 0x459b7b
lea edx, [ebp - 0x2264]
mov ecx, 0x1000000
mov eax, dword [ebp - 0x58]
call fcn.00410490
push 0x4a8e7a
lea eax, [ebp - 0x2264]
push eax
call fcn.00497d59
add esp, 8
test eax, eax
jne 0x459b7b
lea edx, [ebp - 0x2264]
push edx
push esi
call fcn.00497c80
add esp, 8
mov dword [ebp - 0x1dec], esi
lea ecx, [ebp - 0x74]
push ecx
push esi
call fcn.00497ba4
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 0x459ca6
cmp dword [ebp - 0x1148], 0x80000000
jne 0x459bc2
cmp dword [ebp - 0x114c], 0
je 0x459bd9
cmp dword [ebp - 0x1148], 0x7fffffff
jne 0x459bef
cmp dword [ebp - 0x114c], 0
jne 0x459bef
push 0x4a8e80
lea eax, [ebp - 0x2298]
push eax
call fcn.00497c80
add esp, 8
jmp 0x459c0b
push dword [ebp - 0x1148]
push dword [ebp - 0x114c]
lea eax, [ebp - 0x2298]
mov edx, 0x32
call fcn.0047c9bc
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 0x459c60
cmp dword [ebp - 0x1144], 0
jne 0x459c60
push 0x4a8e80
lea edx, [ebp - 0x2298]
push edx
call fcn.00497c80
add esp, 8
jmp 0x459c7c
push dword [ebp - 0x1140]
push dword [ebp - 0x1144]
lea eax, [ebp - 0x2298]
mov edx, 0x32
call fcn.0047c9bc
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 0x459cf8
cmp dword [ebp - 0x1134], 0
jne 0x459cf8
push 0x4a8e80
lea eax, [ebp - 0x2374]
push eax
call fcn.00497c80
add esp, 8
jmp 0x459d0b
lea ecx, [ebp - 0x2374]
lea edx, [ebp - 0x1138]
mov eax, ebx
call fcn.0045a0e4
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
mov eax, dword [ebp - 0x1130]
test al, 8
je 0x459d8f
cmp byte [ebp - 0x59], 0
jne 0x459d8f
push dword [ebp - 0x112c]
test al, 0x10
je 0x459d56
mov edx, 0x4a8e82
jmp 0x459d5b
mov edx, 0x4a8e87
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.0049abd0
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 0x459dd2
mov dword [ebp - 0x23e4], 4
test byte [ebp - 0x1130], 0x10
mov eax, 0x74
jne 0x459dae
dec eax
call fcn.004125d0
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 0x459e67
lea edx, [ebp - 0x27e4]
lea eax, [ebp - 0x1d4c]
mov ecx, 0x400
call fcn.0040c274
lea edx, [ebp - 0x2fe4]
lea eax, [ebp - 0x194c]
mov ecx, 0x400
call fcn.0040c2b0
mov dword [ebp - 0x3004], 6
call fcn.0041043c
test eax, eax
je 0x459e47
cmp word [ebp - 0x194c], 0
je 0x459e47
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 0x459e67
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, 0x4c5bc4
mov cl, byte [ebp - 0x54]
call fcn.00456b08
test eax, eax
jne 0x45981d
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], 0x4a8e40
mov byte [ebp - 0x3134], 0
lea ecx, [ebp - 0x3134]
mov edx, 0x4a8e8c
lea eax, [ebp - 0x18]
call fcn.0045a5d8
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.00497b00
add esp, 0xc
push 0x4a8e40
lea edx, [ebp - 0x3d64]
push edx
call fcn.00497c80
mov dword [ebp - 0x3154], 0x10
add esp, 8
lea edx, [ebp - 0x3d64]
mov eax, 0x4c9844
call fcn.0046082c
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, 0x4c9844
call fcn.00460ae0
mov eax, ebx
call fcn.0045d248
cmp dword [ebp - 0x40], 0
je 0x459fdb
mov edx, dword [ebp - 0x40]
mov eax, ebx
call fcn.004594ac
test eax, eax
jne 0x45a004
push 0
push 0
push 0x1004
push dword [ebx]
call sub.USER32.DLL_SendMessageA
test eax, eax
jle 0x459faf
cmp eax, dword [ebp - 0x48]
jg 0x459faf
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 0x45a004
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, 0x4c53e8
xor edx, edx
call fcn.0047c864
mov eax, ebx
call fcn.0045c4a0
mov eax, ebx
call fcn.0045c6d8
mov eax, 0x4c53b8
call fcn.00476e7c
cmp byte [ebp - 0x51], 0
je 0x45a05d
push 0x7f00
push 0
call sub.USER32.DLL_LoadCursorA
push eax
call sub.USER32.DLL_SetCursor
mov eax, 0x4c53e8
xor edx, edx
call fcn.0047c804
dec dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0045a2f8
dec dword [ebp - 0x20]
cmp dword [0x4c780c], 0
jle 0x45a08b
dec dword [0x4c780c]
mov ecx, dword [ebp - 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret