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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x301e5b40]
and dword [ebp - 0x10], 0
and dword [ebp - 0x14], 0
push ebx
mov dword [ebp - 0x30], eax
mov eax, dword [0x301e4918]
cmp dword [eax + 4], 2
push esi
push edi
jne 0x30196fbd
call fcn.30049bfb
mov dword [0x301e36e8], eax
call fcn.30046ff2
call fcn.30056071
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
mov ebx, 0x4000
cmp dword [0x301e5b40], ebx
mov dword [ebp - 0xc], eax
je 0x30196919
mov eax, dword [0x301e4920]
add eax, 0x138
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.300293a2
push dword [esi + 4]
lea eax, [ebp - 0x40]
push dword [esi]
push eax
call edi
test eax, eax
je 0x30196fbd
push dword [0x301e4914]
call fcn.30055c22
test eax, eax
je 0x30196fbd
mov eax, dword [0x301e4914]
test byte [eax + 0x28], 8
jne 0x30196fbd
mov eax, dword [0x301e491c]
test byte [eax + 0xf0], 0x10
je 0x30196960
call fcn.3002ef96
mov eax, dword [0x301e491c]
test byte [eax + 0xf0], 0x10
jne 0x30196fbd
push 1
call fcn.3002bc74
test eax, eax
jne 0x30196986
push dword [0x301e4914]
call fcn.30032a3d
push dword [0x301e4914]
call fcn.3002cc16
call fcn.3003fb4d
call fcn.30150dbb
cmp dword [0x301e489c], 0
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
je 0x301969f6
cmp dword [0x301e6cbc], 0
je 0x301969f6
push eax
push dword [esi]
push 0x301e6ce0
call edi
test eax, eax
je 0x301969ea
cmp dword [ebp + 0x10], 0x204
je 0x30196fb3
call fcn.30119100
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x201
push dword [0x301e6cbc]
call fcn.300b77eb
call fcn.3011910e
jmp 0x30196faa
call fcn.3011b36f
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov edi, dword [eax + 4]
push 0
call fcn.30142dc1
cmp dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], eax
jne 0x30196a76
cmp dword [ebp + 0x10], 0x204
je 0x30196a76
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
mov dword [0x301e7780], esi
mov dword [0x301e7784], edi
call fcn.3019546b
cmp dword [ebp - 4], 0
je 0x30196a46
call fcn.3002bd5a
test eax, eax
jne 0x30196ab4
call fcn.30169a30
test eax, eax
jne 0x30196ab4
call fcn.3002be17
test eax, eax
je 0x30196a5e
push dword [0x301e867c]
call fcn.301953a0
test eax, eax
jne 0x30196ab4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.301954ce
test eax, eax
jne 0x30196fbd
xor esi, esi
inc esi
jmp 0x30196aac
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.301954ce
test eax, eax
jne 0x30196fbd
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
mov dword [0x301e7780], esi
mov dword [0x301e7784], edi
call fcn.3019546b
xor esi, esi
inc esi
test eax, eax
je 0x30196d1c
mov dword [0x301e364c], esi
jmp 0x30196ab7
xor esi, esi
inc esi
push esi
call fcn.3002c96e
push esi
call fcn.30055c3c
mov edi, eax
mov eax, dword [0x301e4920]
mov eax, dword [eax + 0x1c04]
push 2
pop ebx
cmp word [eax + 2], bx
mov dword [ebp - 8], edi
ja 0x30196b8b
call fcn.30169a30
test eax, eax
je 0x30196b8b
cmp dword [ebp - 4], 0
je 0x30196b8b
call fcn.3002cb8f
mov dword [0x301deb78], esi
mov dword [0x301e36cc], esi
call fcn.301590aa
test eax, eax
je 0x30196b28
cmp edi, 4
jne 0x30196b1c
push 0x3c
push 0
jmp 0x30196b23
push 0x5008a
push 0xffffffffffffffff
call fcn.3002c693
xor ebx, ebx
cmp edi, 4
mov dword [0x301e364c], ebx
jne 0x30196b4b
push dword [ebp + 0x10]
push dword [0x301e7784]
push dword [0x301e7780]
call fcn.301d1f0e
jmp 0x30196b7a
push esi
push 0x30042
push 5
call fcn.3000a790
push fcn.300e9d64
push dword [ebp + 0x10]
push dword [0x301e7784]
push dword [0x301e7780]
push esi
call fcn.301d407d
push esi
push 5
call fcn.3003fac6
mov dword [0x301e36cc], ebx
mov dword [0x301deb78], ebx
jmp 0x30196faa
call fcn.3002be17
test eax, eax
je 0x30196bcd
push dword [0x301e867c]
call fcn.301953a0
test eax, eax
je 0x30196d18
and dword [0x301e364c], 0
push fcn.300e9d64
push dword [ebp + 0x10]
push dword [0x301e7784]
push dword [0x301e7780]
push esi
call fcn.301d407d
jmp 0x30196faa
cmp dword [ebp - 0x10], 0
jne 0x30196c6c
cmp edi, 0xb
jl 0x30196beb
cmp edi, 0x13
jg 0x30196beb
cmp edi, 0x12
je 0x30196beb
cmp edi, 0x11
jne 0x30196bf0
cmp edi, 0x26
jne 0x30196c6c
push dword [0x301e7784]
push dword [0x301e7780]
call fcn.30195fa6
test eax, eax
je 0x30196c6c
call fcn.30195d50
test eax, eax
je 0x30196c38
mov eax, dword [0x301e4920]
mov eax, dword [eax + 0x1c04]
cmp word [eax + 2], bx
ja 0x30196c2c
call fcn.3002bd5a
test eax, eax
jne 0x30196cc1
and dword [0x301e364c], 0
jmp 0x30196fbd
mov ecx, dword [0x301e4704]
xor eax, eax
mov dword [0x301e364c], eax
cmp dword [ecx + 0xc], eax
jne 0x30196fbd
push eax
call fcn.3002ea3e
test eax, eax
jne 0x30196fbd
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.3011a64c
jmp 0x30196fbd
mov eax, dword [0x301e4920]
mov eax, dword [eax + 0x1c04]
cmp word [eax + 2], bx
ja 0x30196cef
call fcn.3002bd5a
test eax, eax
je 0x30196cef
push dword [0x301e7784]
push dword [0x301e7780]
call fcn.30195fa6
test eax, eax
je 0x30196cef
push dword [0x301e7784]
push dword [0x301e7780]
call fcn.30195523
test eax, eax
je 0x30196cef
cmp edi, esi
je 0x30196cb8
test edi, edi
jne 0x30196cc1
call fcn.30195d50
test eax, eax
je 0x30196d1c
push dword [ebp + 0x10]
and dword [0x301e364c], 0
push dword [0x301e7784]
push dword [0x301e7780]
call fcn.301d4432
test eax, eax
jne 0x30196faa
xor esi, esi
inc esi
mov dword [0x301e364c], esi
jmp 0x30196d18
cmp dword [ebp - 4], 0
je 0x30196d1c
mov eax, dword [0x301e4920]
mov eax, dword [eax + 0x1c04]
cmp word [eax + 2], bx
ja 0x30196d18
call fcn.3002bd5a
test eax, eax
jne 0x30196d76
call fcn.30169a30
test eax, eax
jne 0x30196d76
and dword [ebp - 4], 0
call fcn.3002c9e8
test eax, eax
jne 0x30196d85
push esi
call fcn.3002c96e
push esi
mov dword [ebp - 0x24], eax
call fcn.30055c3c
push esi
mov dword [ebp - 8], eax
call fcn.3002c9bc
push esi
mov dword [ebp - 0x2c], eax
call fcn.3002c995
xor edi, edi
cmp dword [ebp - 4], edi
mov dword [ebp - 0x20], eax
je 0x30196d91
push esi
push 4
call fcn.301695db
push esi
push 0xfffffffffffffffe
call fcn.301695fc
push esi
push 0xfffffffffffffffe
call fcn.3016961d
push esi
push dword [0x301e4698]
call fcn.3016963e
jmp 0x30196dc6
cmp dword [ebp - 4], 0
je 0x30196d1c
cmp edi, 3
je 0x30196d1c
cmp edi, ebx
je 0x30196d1c
and dword [0x301e364c], 0
jmp 0x30196faa
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xffffffffffffffff
push edi
call fcn.30012820
lea eax, [ebp - 0x104]
push edi
push eax
mov dword [0x301e42bc], esi
mov dword [0x301df330], eax
call sub.MSVCRT.dll__setjmp3
test eax, eax
pop ecx
pop ecx
jne 0x30196dc1
push edi
call fcn.30196470
call fcn.3003f261
mov eax, dword [0x301e4920]
mov eax, dword [eax + 0x1c04]
lea ecx, [eax + 0x168]
push ecx
add eax, 0xc
push eax
call fcn.30169781
test eax, eax
je 0x30196e6d
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 ebx, eax
call edi
add dword [ebp - 0xc], esi
mov edi, eax
push 7
lea eax, [ebp - 0x84]
push eax
call fcn.3001a367
test eax, eax
je 0x30196e63
cmp dword [ebp - 0x84], 0x202
je 0x30196e55
cmp dword [ebp - 0x84], 0x200
jne 0x30196ea9
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
sub eax, dword [ebp - 0x80]
push eax
call fcn.3002e92d
cmp eax, ebx
jg 0x30196ea9
mov eax, dword [esi + 4]
sub eax, dword [ebp - 0x7c]
push eax
call fcn.3002e92d
cmp eax, edi
jg 0x30196ea9
push 7
lea eax, [ebp - 0x84]
push eax
call fcn.3001a21e
call fcn.30056071
cmp eax, dword [ebp - 0xc]
jle 0x30196e09
mov edi, 0x204
cmp dword [ebp + 0x10], edi
jne 0x30196ec8
mov eax, dword [0x301e4920]
mov eax, dword [eax + 0x1c04]
lea ecx, [eax + 0x168]
push ecx
add eax, 0xc
push eax
call fcn.30169781
test eax, eax
je 0x30196ec8
and dword [0x301e364c], 0
and dword [0x301e42bc], 0
jmp 0x30196faa
cmp dword [ebp - 0x84], 0x203
jne 0x30196e6d
and dword [0x301e364c], 0
and dword [0x301e42bc], 0
jmp 0x30196fbd
test byte [0x301de3f3], 1
je 0x30196ed6
call fcn.3016952f
push dword [ebp + 0x10]
or byte [0x301e4cee], 8
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 8]
call fcn.30195870
test eax, eax
mov esi, 0xfff7ffff
jne 0x30196f40
xor ebx, ebx
push ebx
call fcn.30142dc1
cmp eax, dword [ebp - 0x14]
je 0x30196f40
mov eax, dword [0x301e4ae8]
and dword [0x301e4cec], esi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc4]
push ebx
push eax
mov dword [0x301e4ae8], eax
call sub.MSVCRT.dll__setjmp3
test eax, eax
pop ecx
pop ecx
jne 0x30196f38
call fcn.3000c8bb
push ebx
call fcn.3001560b
mov eax, dword [ebp - 0x28]
mov dword [0x301e4ae8], eax
and dword [0x301e4cec], esi
cmp dword [ebp + 0x10], edi
je 0x30196faa
call fcn.3002de23
test eax, eax
je 0x30196faa
mov eax, dword [0x301e4920]
mov eax, dword [eax + 0x1c04]
cmp word [eax + 2], 2
ja 0x30196faa
push 1
call fcn.30055c3c
mov esi, eax
call fcn.3002bd5a
test eax, eax
je 0x30196faa
push dword [0x301e7784]
push dword [0x301e7780]
call fcn.30195523
test eax, eax
je 0x30196faa
test esi, esi
jne 0x30196f96
cmp dword [ebp - 8], esi
jne 0x30196faa
push dword [ebp + 0x10]
push dword [0x301e7784]
push dword [0x301e7780]
call fcn.301d4432
cmp dword [ebp + 0x10], 0x204
jne 0x30196fbd
push 0
push dword [ebp + 0xc]
call fcn.301955ba
pop edi
pop esi
pop ebx
leave
ret 0xc