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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x30209e2c]
and dword [ebp - 0x10], 0
and dword [ebp - 0x14], 0
push ebx
mov dword [ebp - 0x28], eax
mov eax, dword [0x3022b458]
cmp dword [eax + 4], 2
push esi
push edi
jne 0x301a9105
call fcn.300605ef
mov dword [0x3022a244], eax
call fcn.3013fae5
call fcn.3006546d
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
mov ebx, 0x4000
cmp dword [0x30209e2c], ebx
mov dword [ebp - 0xc], eax
je 0x301a8a38
mov eax, dword [0x30229d78]
add eax, 0x138
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.3014d5a0
push dword [esi + 4]
lea eax, [ebp - 0x44]
push dword [esi]
push eax
call edi
test eax, eax
je 0x301a9105
push dword [0x3022a248]
call fcn.30104f39
test eax, eax
je 0x301a9105
mov eax, dword [0x3022a248]
test byte [eax + 0x28], 8
jne 0x301a9105
mov eax, dword [0x302ae8d4]
test byte [eax + 0x17c], 0x10
je 0x301a8a7f
call fcn.3014bad5
mov eax, dword [0x302ae8d4]
test byte [eax + 0x17c], 0x10
jne 0x301a9105
push 1
call fcn.3014b2cc
test eax, eax
jne 0x301a8aa5
push dword [0x3022a248]
call fcn.3005b076
push dword [0x3022a248]
call fcn.3005b280
call fcn.300fbe92
call fcn.3013db25
cmp dword [0x302ae810], 0
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
je 0x301a8b15
cmp dword [0x3022c6ac], 0
je 0x301a8b15
push eax
push dword [esi]
push 0x3022c6c4
call edi
test eax, eax
je 0x301a8b09
cmp dword [ebp + 0x10], 0x204
je 0x301a90fb
call fcn.300f88ed
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x201
push dword [0x3022c6ac]
call fcn.3006bee7
call fcn.300f88fb
jmp 0x301a90f2
call fcn.300fb3c3
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov edi, dword [eax + 4]
push 0
call fcn.3012c344
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], eax
jne 0x301a8b9b
cmp dword [ebp + 0x10], 0x204
je 0x301a8b9b
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
mov dword [0x3022bbac], esi
mov dword [0x3022bbb0], edi
call fcn.301a7559
cmp dword [ebp - 4], 0
je 0x301a8b65
call fcn.3016c5e9
test eax, eax
jne 0x301a8bd3
call fcn.3016c5b7
test eax, eax
jne 0x301a8bd3
call fcn.3016c1d8
test eax, eax
je 0x301a8b7d
push dword [0x3022bc18]
call fcn.301a7492
test eax, eax
jne 0x301a8bd3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.301a75bd
test eax, eax
jne 0x301a9105
xor ebx, ebx
inc ebx
mov dword [0x3022bc10], ebx
jmp 0x301a8bd6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.301a75bd
test eax, eax
jne 0x301a9105
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
mov dword [0x3022bbac], esi
mov dword [0x3022bbb0], edi
call fcn.301a7559
xor ebx, ebx
inc ebx
test eax, eax
je 0x301a8e6b
jmp 0x301a8b93
xor ebx, ebx
inc ebx
push ebx
call fcn.3016bbbb
push ebx
call fcn.3016bab1
mov esi, eax
mov eax, dword [0x30229d78]
mov eax, dword [eax + 0x1c58]
push 2
pop edi
cmp word [eax + 2], di
mov dword [ebp - 8], esi
ja 0x301a8cc5
call fcn.3016c5b7
test eax, eax
je 0x301a8cc5
cmp dword [ebp - 4], 0
je 0x301a8cc5
call fcn.300a8fb6
mov dword [0x3022b6a8], ebx
mov dword [0x3022a230], ebx
call fcn.300ad101
cmp dword [0x3022a230], 0
je 0x301a8c55
call fcn.3014cb44
test eax, eax
je 0x301a8c55
cmp esi, 4
jne 0x301a8c49
push 0x3c
push 0
jmp 0x301a8c50
push 0x1d008a
push 0xffffffffffffffff
call fcn.300a0239
xor edi, edi
cmp esi, 4
mov dword [0x3022bc10], edi
jne 0x301a8c78
push dword [ebp + 0x10]
push dword [0x3022bbb0]
push dword [0x3022bbac]
call fcn.301f8705
jmp 0x301a8ca7
push 0x30042
push 5
call fcn.3013e734
push fcn.300bd979
push dword [ebp + 0x10]
push dword [0x3022bbb0]
push dword [0x3022bbac]
push ebx
call fcn.301fa970
push 5
mov ebx, eax
call fcn.3013fa17
xor eax, eax
cmp ebx, edi
setne al
mov dword [0x3022a230], edi
push eax
call fcn.3013fa17
mov dword [0x3022b6a8], edi
jmp 0x301a90f2
call fcn.3016c1d8
test eax, eax
je 0x301a8d07
push dword [0x3022bc18]
call fcn.301a7492
test eax, eax
je 0x301a8e55
and dword [0x3022bc10], 0
push fcn.300bd979
push dword [ebp + 0x10]
push dword [0x3022bbb0]
push dword [0x3022bbac]
push ebx
call fcn.301fa970
jmp 0x301a90f2
cmp dword [ebp - 0x10], 0
jne 0x301a8dac
lea eax, [esi - 0xb]
cmp eax, 8
ja 0x301a8d23
cmp esi, 0x12
je 0x301a8d23
cmp esi, 0x11
jne 0x301a8d2c
cmp esi, 0x26
jne 0x301a8dac
push dword [0x3022bbb0]
push dword [0x3022bbac]
call fcn.301a7fe0
test eax, eax
je 0x301a8dac
call fcn.301a7e59
test eax, eax
je 0x301a8d74
mov eax, dword [0x30229d78]
mov eax, dword [eax + 0x1c58]
cmp word [eax + 2], di
ja 0x301a8d68
call fcn.3016c5e9
test eax, eax
jne 0x301a8e01
and dword [0x3022bc10], 0
jmp 0x301a9105
push dword [0x302ae8d4]
and dword [0x3022bc10], 0
call fcn.301052b6
test eax, eax
jne 0x301a9105
push eax
call fcn.301490e2
test eax, eax
jne 0x301a9105
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.300f9c98
jmp 0x301a9105
mov eax, dword [0x30229d78]
mov eax, dword [eax + 0x1c58]
cmp word [eax + 2], di
ja 0x301a8e2c
call fcn.3016c5e9
test eax, eax
je 0x301a8e2c
push dword [0x3022bbb0]
push dword [0x3022bbac]
call fcn.301a7fe0
test eax, eax
je 0x301a8e2c
push dword [0x3022bbb0]
push dword [0x3022bbac]
call fcn.301a7615
test eax, eax
je 0x301a8e2c
cmp esi, ebx
je 0x301a8df8
test esi, esi
jne 0x301a8e01
call fcn.301a7e59
test eax, eax
je 0x301a8e6b
push dword [ebp + 0x10]
and dword [0x3022bc10], 0
push dword [0x3022bbb0]
push dword [0x3022bbac]
call fcn.301fae0d
test eax, eax
jne 0x301a90f2
mov dword [0x3022bc10], ebx
jmp 0x301a8e55
cmp dword [ebp - 4], 0
je 0x301a8e6b
mov eax, dword [0x30229d78]
mov eax, dword [eax + 0x1c58]
cmp word [eax + 2], di
ja 0x301a8e55
call fcn.3016c5e9
test eax, eax
jne 0x301a8e5b
call fcn.3016c5b7
test eax, eax
jne 0x301a8e5b
and dword [ebp - 4], 0
jmp 0x301a8e6b
cmp dword [ebp - 4], 0
je 0x301a8e6b
cmp esi, 3
je 0x301a8e6b
cmp esi, 2
jne 0x301a8e74
call fcn.3014910f
test eax, eax
je 0x301a8e80
and dword [0x3022bc10], 0
jmp 0x301a90f2
push ebx
call fcn.3016bbbb
push ebx
mov dword [ebp - 0x20], eax
call fcn.3016bab1
push ebx
mov dword [ebp - 8], eax
call fcn.3016baef
push ebx
mov dword [ebp - 0x30], eax
call fcn.3016bb2d
xor esi, esi
cmp dword [ebp - 4], esi
mov dword [ebp - 0x34], eax
je 0x301a8ed1
push ebx
push 4
call fcn.3016bcd7
push ebx
push 0xfffffffffffffffe
call fcn.3016bd12
push ebx
push 0xfffffffffffffffe
call fcn.3016bd4d
push ebx
push dword [0x3022bb74]
call fcn.3016bdce
jmp 0x301a8f06
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xffffffffffffffff
push esi
call fcn.3014826d
lea eax, [ebp - 0x108]
push esi
push eax
mov dword [0x3022bbe8], ebx
mov dword [0x3022bbec], eax
call sub.MSVCR80.dll__setjmp3
test eax, eax
pop ecx
pop ecx
jne 0x301a8f01
push esi
call fcn.301a8593
call fcn.30126645
mov eax, dword [0x30229d78]
mov eax, dword [eax + 0x1c58]
lea ecx, [eax + 0x164]
push ecx
add eax, 8
push eax
call fcn.3016bf1a
test eax, eax
je 0x301a8fb2
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
push 0x24
shr esi, 4
call edi
push 0x25
mov dword [ebp - 0x24], eax
call edi
add dword [ebp - 0xc], esi
mov edi, eax
push 7
lea eax, [ebp - 0x88]
push eax
call fcn.30060f4e
test eax, eax
je 0x301a8fa8
cmp dword [ebp - 0x88], 0x202
je 0x301a8f9a
cmp dword [ebp - 0x88], 0x200
jne 0x301a8fee
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
sub eax, dword [ebp - 0x84]
test eax, eax
jg 0x301a8f85
neg eax
cmp eax, dword [ebp - 0x24]
jg 0x301a8fee
mov eax, dword [ecx + 4]
sub eax, dword [ebp - 0x80]
test eax, eax
jg 0x301a8f96
neg eax
cmp eax, edi
jg 0x301a8fee
push 7
lea eax, [ebp - 0x88]
push eax
call fcn.30060f68
call fcn.3006546d
cmp eax, dword [ebp - 0xc]
jle 0x301a8f4a
mov edi, 0x204
cmp dword [ebp + 0x10], edi
jne 0x301a900d
mov eax, dword [0x30229d78]
mov eax, dword [eax + 0x1c58]
lea ecx, [eax + 0x164]
push ecx
add eax, 8
push eax
call fcn.3016bf1a
test eax, eax
je 0x301a900d
and dword [0x3022bc10], 0
and dword [0x3022bbe8], 0
jmp 0x301a90f2
cmp dword [ebp - 0x88], 0x203
jne 0x301a8fb2
and dword [0x3022bc10], 0
and dword [0x3022bbe8], 0
jmp 0x301a9105
test byte [0x302ae935], 1
je 0x301a901b
call fcn.3016baa2
push dword [ebp + 0x10]
or dword [0x3022cf88], 0x80000
push dword [ebp - 0x20]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 8]
call fcn.301a7970
test eax, eax
mov esi, 0xfff7ffff
jne 0x301a9089
push eax
call fcn.3012c344
cmp eax, dword [ebp - 0x14]
je 0x301a9089
mov eax, dword [0x302ae8d0]
and dword [0x3022cf88], esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc8]
push 0
push eax
mov dword [0x302ae8d0], eax
call sub.MSVCR80.dll__setjmp3
test eax, eax
pop ecx
pop ecx
jne 0x301a9081
push eax
call fcn.3013fa17
push 0
call fcn.300a6ce2
mov eax, dword [ebp - 0x2c]
mov dword [0x302ae8d0], eax
and dword [0x3022cf88], esi
cmp dword [ebp + 0x10], edi
je 0x301a90f2
call fcn.300606e7
test eax, eax
je 0x301a90f2
mov eax, dword [0x30229d78]
mov eax, dword [eax + 0x1c58]
cmp word [eax + 2], 2
ja 0x301a90f2
push ebx
call fcn.3016bab1
mov esi, eax
call fcn.3016c5e9
test eax, eax
je 0x301a90f2
push dword [0x3022bbb0]
push dword [0x3022bbac]
call fcn.301a7615
test eax, eax
je 0x301a90f2
test esi, esi
jne 0x301a90de
cmp dword [ebp - 8], esi
jne 0x301a90f2
push dword [ebp + 0x10]
push dword [0x3022bbb0]
push dword [0x3022bbac]
call fcn.301fae0d
cmp dword [ebp + 0x10], 0x204
jne 0x301a9105
push 0
push dword [ebp + 0xc]
call fcn.301a76ac
pop edi
pop esi
pop ebx
leave
ret 0xc