Function at 0x100771d0
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword [0x1010a040]
xor eax, esp
mov dword [esp + 0xf8], eax
cmp dword [0xe609e8], 5
push ebx
push esi
push edi
jne 0x10077230
cmp dword [0x10899908], 1
je 0x10077230
cmp dword [0x102df7c8], 1
jne 0x10077226
cmp dword [0x1081ee58], 1
je 0x10077226
push 0
push 0
push 0
push 0x1004cde0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10899908], 1
mov eax, dword [0x8128ac8]
mov dword [0x10824f44], eax
mov ecx, dword [0x7bc4f04]
mov dword [0x10824f48], ecx
mov eax, dword [0x879340c]
mov dword [0x10824f58], eax
mov eax, dword [0x8793410]
mov dword [0x10824f60], eax
mov eax, dword [0xe61e18]
mov dword [0x10824f54], eax
cmp byte [ecx + 0x31f], 1
mov esi, dword [0x8128ac4]
jne 0x1007729d
mov eax, dword [ecx + 0x2fc]
test eax, eax
je 0x1007729d
push eax
mov eax, 0x9cea6c
call eax
mov eax, dword [0x10824f48]
add esp, 4
mov dword [eax + 0x2fc], 0
mov ecx, dword [0x10824f48]
mov eax, 0x1f5b
cmp word [ecx + 0x22c], ax
jl 0x100772b6
mov al, byte [esi + 0x15ae]
mov byte [0x812a072], al
call fcn.10051a10
call fcn.10010d30
mov ecx, 0x10887960
call fcn.10023c10
call fcn.100c5670
mov ecx, 0x1011b788
call fcn.100213b0
mov ecx, 0x102ba770
call fcn.10078920
mov ecx, 0x102ba770
call fcn.1007d9a0
mov ecx, 0x102ba770
call fcn.10078d80
call fcn.100233c0
mov ecx, 0x108994c0
call fcn.10033270
call fcn.100ae5d0
mov ecx, 0x108996c0
call fcn.10045340
call fcn.1001f4c0
mov ecx, 0x10885588
call fcn.1001f820
call fcn.1004e220
call fcn.1004de00
mov ecx, 0x108a1d28
call fcn.100c7360
call fcn.100cc790
mov ecx, 0x1089a990
call fcn.1006f500
call fcn.10070f20
mov ecx, 0x10138b64
call fcn.1002df20
call fcn.100311c0
call fcn.1002c2b0
mov ecx, 0x108954c8
call fcn.1002c870
call fcn.1000a4a0
mov ecx, 0x10874f98
call fcn.1000a820
call fcn.1000f680
call fcn.1000fd10
call fcn.10011f10
mov ecx, 0x1010c058
call fcn.10012330
mov ecx, 0x102ba770
call fcn.1007dca0
mov ecx, 0x102ba770
call fcn.1007e0e0
mov ecx, 0x10899528
call fcn.10034640
call fcn.10037b40
mov ecx, 0x1088557c
call fcn.1001e9e0
call fcn.10061dc0
mov ecx, 0x102df4bc
call fcn.100b9ca0
mov ecx, 0x108a0898
call fcn.100b7380
call fcn.100b91d0
call fcn.10025d50
mov ecx, 0x10895448
call fcn.100269c0
mov ecx, 0x10899aa8
call fcn.10054310
call fcn.1004cb10
mov ecx, 0x1025b880
call fcn.1004d2d0
mov esi, dword [0x1025b884]
mov ecx, 0x635fd0
mov edi, dword [sym.imp.OPENGL32.dll_glColor4f]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test esi, esi
je 0x10077572
push 1
call ecx
movd xmm0, dword [0x879340c]
add esp, 4
cvtdq2ps xmm0, xmm0
push 0
push 0
push 0
addss xmm0, dword [0x101020bc]
push esi
call fcn.100f1650
xor ecx, ecx
or ecx, 0x8c
push ecx
push eax
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, 0x861aa0
call eax
mov ecx, eax
mov eax, 0x7e3e30
call eax
sub esp, 0x10
mov dword [esp + 0xc], 0x3f4ccccd
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
movd xmm0, dword [0x879340c]
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
push 0
sub esp, 0x14
mov eax, 0x6378a0
mov dword [esp + 0x10], 0
addss xmm0, xmm1
mov dword [esp + 0xc], 0x42c80000
mov dword [esp + 8], 0x42820000
mov dword [esp + 4], 0x43200000
movss dword [esp], xmm0
call eax
mov eax, 0x636070
call eax
push 1
mov eax, 0x635fd0
call eax
movsx eax, byte [esi + 0x17]
add esp, 0x18
movd xmm0, dword [0x879340c]
movsx ecx, word [esi]
mov edx, dword [esi + 2]
movss xmm1, dword [0x10102144]
push 0
push eax
movzx eax, byte [esi + 0x44]
cvtdq2ps xmm0, xmm0
movd xmm3, eax
movzx eax, byte [esi + 0x43]
addss xmm0, dword [0x10101ed8]
cvtdq2ps xmm3, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
call fcn.1007d670
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
push ecx
mov dword [esp], 0x3f800000
call edi
push 0
mov esi, 0x635fd0
call esi
add esp, 4
call ebx
mov ecx, dword [0x1025b88c]
add ecx, 0x64
cmp ecx, eax
jae 0x10077574
mov dword [0x1025b884], 0
jmp 0x10077574
mov esi, ecx
mov eax, dword [0x101bd71c]
test eax, eax
je 0x10077613
movd xmm0, dword [0x879340c]
cvtdq2ps xmm0, xmm0
push 0
push 0
push 1
push eax
subss xmm0, dword [0x101020bc]
call fcn.100f1650
xor ecx, ecx
or ecx, 0x28
push ecx
push eax
mov ecx, 0x102dea14
call fcn.10092460
mov eax, 0x7dd0f0
call eax
test eax, eax
je 0x100775ff
call ebx
sub eax, dword [0x101bd794]
cmp eax, 0x32
jbe 0x10077613
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0xffffffff
push eax
push dword [0x8793410]
mov eax, 0x861110
push dword [0x879340c]
call eax
mov edx, 0x861260
mov ecx, eax
call edx
mov edx, 0x83c7b0
mov ecx, eax
call edx
test eax, eax
jne 0x10077613
mov dword [0x101bd71c], 0
mov dword [0x101bd798], 0xffffffff
mov ecx, 0x10119b78
call fcn.10019be0
call fcn.10018fd0
call fcn.10066fa0
mov ecx, 0x102ba6e0
call fcn.10068730
mov ecx, 0x102ba6e0
call fcn.1006d780
call fcn.10063460
mov ecx, 0x10899c18
call fcn.100637d0
call fcn.10065e20
call fcn.10066490
mov ecx, 0x10899ad8
call fcn.10055b40
mov ecx, 0x10899ad8
call fcn.1005cbc0
mov ecx, 0x10899ad8
call fcn.1005d230
cmp dword [0x102df930], 1
jne 0x100776cd
call ebx
mov ecx, dword [0x10549b48]
add ecx, 0x3e8
cmp eax, ecx
jb 0x100776cd
call fcn.10013710
test al, al
je 0x100776c6
xor eax, eax
mov ecx, 0xebb848
mov dword [esp + 0x11], eax
mov eax, 0x79dea0
mov word [esp + 0x10], 0x8c1
mov byte [esp + 0x12], 0x88
call eax
mov edx, 8
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
call fcn.100c4b10
call ebx
mov dword [0x10549b48], eax
cmp dword [0x102df8c4], 1
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x100777d3
cmp dword [0xe61728], 0xffffffff
je 0x100777d3
push 0x12
call edi
test ax, ax
jns 0x100777d3
mov eax, dword [0xe61728]
cmp eax, 0x3e7
ja 0x100777d3
lea eax, [eax + eax*4]
cmp byte [eax*4 + 0x106d6610], 1
jne 0x100777d3
push 1
call esi
mov eax, dword [0xe61728]
add esp, 4
lea eax, [eax + eax*4]
lea eax, [eax*4 + 0x106d6611]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.100511f0
mov esi, eax
lea edi, [esp + 0x20]
mov ecx, 0x1a
rep movsd dword es:[edi], dword [esi]
push 0
push 0
push 0
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [0xe61728]
lea eax, [eax + eax*4]
mov eax, dword [eax*4 + 0x106d6620]
mov dword [esp + 0x8f], eax
lea eax, [esp + 0x2c]
mov ecx, dword [0x879340c]
push eax
xor eax, eax
sub ecx, 0x3c
or eax, 0x64
push eax
push ecx
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, 0x861aa0
call eax
mov ecx, eax
mov eax, 0x7e3e30
call eax
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor4f]
push 0
mov eax, 0x635fd0
call eax
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 4
push 9
mov eax, 0x861110
call eax
mov esi, 0x85ec20
mov ecx, eax
call esi
test al, al
je 0x10077812
push 0x4d
mov eax, 0x861110
call eax
mov ecx, eax
call esi
test al, al
jne 0x10077812
cmp byte [0x10549c6d], al
jbe 0x10077812
push 0x4d
mov eax, 0x861110
call eax
lea edx, [esi + 0x30]
mov ecx, eax
call edx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0xe8c578]
jne 0x10077cb2
push 0x2c
call edi
test ax, ax
jns 0x10077839
push 1
mov ecx, 0x102ba770
call fcn.10078550
push 0x23
call edi
bt ax, 0xe
jae 0x100778aa
call ebx
sub eax, dword [0x102bb458]
cmp eax, 0x12c
jbe 0x100778aa
push 0x21
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, esi
call eax
test al, al
jne 0x100778aa
cmp byte [0x102bb45d], al
je 0x10077888
call ebx
mov dword [0x102bb458], eax
mov byte [0x102bb45d], 0
mov dword [0xe8cb3c], 0
jmp 0x100778aa
call ebx
mov ecx, 0x102ba770
mov dword [0x102bb458], eax
call fcn.1007d300
mov byte [0x102bb45d], 1
mov dword [0xe8cb3c], 1
push 0x48
call edi
bt ax, 0xe
jae 0x100778ba
call fcn.100250e0
push 0x4a
call edi
bt ax, 0xe
jae 0x100778ca
call fcn.100342a0
push 0x4b
call edi
bt ax, 0xe
jae 0x100778da
call fcn.1006f360
push 0x77
call edi
bt ax, 0xe
jae 0x100778ea
call fcn.100522f0
push 9
call edi
test ax, ax
jns 0x10077907
call ebx
sub eax, dword [0x10895444]
cmp eax, 0x64
jbe 0x10077907
call ebx
mov dword [0x10895444], eax
push 0xd
call edi
test ax, ax
jns 0x10077969
call ebx
cmp byte [0x102bd79d], 0
je 0x10077969
sub eax, dword [0x102bd7f8]
mov byte [0x102bd7fc], 0
cmp eax, 0x1f4
jb 0x10077969
call ebx
mov dword [0x102bd7f8], eax
mov eax, dword [0x10119c3c]
cmp eax, 6
je 0x10077958
cmp eax, 7
je 0x10077958
push dword [0x10119c4c]
push eax
call fcn.10019b20
call ebx
mov dword [0x108996b8], eax
mov byte [0x102bd79d], 0
mov dword [0xe8cb3c], 0
push 0x1b
call edi
test ax, ax
jns 0x10077bda
cmp byte [0x102bc7dd], 1
jne 0x10077990
mov byte [0x102bc7dd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb09d], 1
jne 0x100779aa
mov byte [0x102bb09d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb99d], 1
jne 0x100779c4
mov byte [0x102bb99d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bdfdd], 1
jne 0x100779de
mov byte [0x102bdfdd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb0fd], 1
jne 0x100779f8
mov byte [0x102bb0fd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb15d], 1
jne 0x10077a12
mov byte [0x102bb15d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb1bd], 1
jne 0x10077a4a
mov byte [0x102bb1bd], 0
mov dword [0xe8cb3c], 0
mov dword [0x10138b70], 0
mov dword [0x10138b68], 0xffffffff
mov dword [0x10138b6c], 0
cmp byte [0x102bd79d], 1
jne 0x10077a64
mov byte [0x102bd79d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb45d], 0
je 0x10077a7e
mov byte [0x102bb45d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bbf9d], 0
je 0x10077aa2
mov byte [0x102bbf9d], 0
mov dword [0xe8cb3c], 0
mov dword [0x102ba778], 0
cmp byte [0x102bf17d], 1
jne 0x10077abc
mov byte [0x102bf17d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bfbfd], 1
jne 0x10077ad6
mov byte [0x102bfbfd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb27d], 1
jne 0x10077af7
mov byte [0x102bb27d], 0
mov dword [0xe8cb3c], 0
mov byte [0x108a1d4c], 0
cmp byte [0x102bb2dd], 1
jne 0x10077b18
mov byte [0x102bb2dd], 0
mov dword [0xe8cb3c], 0
mov byte [0x1089cf34], 0
cmp byte [0x102c00dd], 1
jne 0x10077b32
mov byte [0x102c00dd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c0ebd], 1
jne 0x10077b4c
mov byte [0x102c0ebd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c061d], 1
jne 0x10077b66
mov byte [0x102c061d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb21d], 1
jne 0x10077b80
mov byte [0x102bb21d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102be45d], 1
jne 0x10077b9a
mov byte [0x102be45d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102be4bd], 1
jne 0x10077bb4
mov byte [0x102be4bd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c127d], 1
jne 0x10077bc7
mov dword [0x102ba6e4], 5
cmp byte [0x102be51d], 1
jne 0x10077bda
mov dword [0x10899adc], 5
cmp dword [0x1081ee64], 1
je 0x10077cb2
push 0x11
mov eax, 0x791090
call eax
add esp, 4
cmp al, 1
je 0x10077cb2
cmp dword [0x108a1d1c], 0
je 0x10077c22
call ebx
sub eax, dword [0x108a1d20]
cmp eax, 0x4b0
jbe 0x10077c22
mov dword [0x108a1d1c], 0
jmp 0x10077cb2
push 0x11
call edi
test ax, ax
jns 0x10077cb2
cmp dword [0x108a1d1c], 0
jle 0x10077ca1
call ebx
sub eax, dword [0x108a1d20]
cmp eax, 0x64
jbe 0x10077ca1
mov eax, dword [0x108a1d1c]
mov ecx, eax
inc eax
mov dword [0x108a1d1c], eax
cmp ecx, 2
jl 0x10077cab
cmp byte [0x108a1d18], 0
mov dword [0x108a1d1c], 0
jne 0x10077c78
mov byte [0x108a1d18], 1
mov eax, 0x80
jmp 0x10077c84
mov byte [0x108a1d18], 0
mov eax, 0x81
push eax
mov ecx, 0x101c3ae8
call fcn.100429f0
push eax
push 2
push 0x108a0680
call fcn.100b2730
add esp, 0xc
jmp 0x10077cb2
mov dword [0x108a1d1c], 1
call ebx
mov dword [0x108a1d20], eax
cmp dword [0x102df770], 2
mov edx, 0x790b10
jne 0x10077d39
mov ecx, dword [0x102df7c0]
lea eax, [ecx - 1]
cmp eax, 2
ja 0x10077cf3
push 6
push 0xc0
push 0x1b6
push 0xdc
call edx
add esp, 0x10
cmp al, 1
je 0x10077d15
mov ecx, dword [0x102df7c0]
mov edx, 0x790b10
cmp ecx, 1
jb 0x10077cfd
cmp ecx, 3
jbe 0x10077d39
push 0xa
push dword [0x1010ac74]
push 0x1d6
push 0
call edx
add esp, 0x10
cmp al, 1
jne 0x10077d39
push 1
call edi
test ax, ax
jns 0x10077d39
call ebx
sub eax, dword [0x102c2ac0]
cmp eax, 0xc8
jbe 0x10077d39
call fcn.10026880
call ebx
mov dword [0x102c2ac0], eax
push 0
mov ecx, 0x102ba770
call fcn.10078550
cmp dword [0x102df878], 0
je 0x10077f37
cmp dword [0x102ba774], 0
je 0x10077f37
mov eax, dword [0x1010ac74]
cdq
sub eax, edx
mov esi, eax
mov eax, 0x637c60
sar esi, 1
push 0
push 1
push 1
movd xmm0, esi
sub esp, 0x20
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3f400000
mov dword [esp + 0x18], 0x3f666666
mov dword [esp + 0x14], 0
subss xmm0, dword [0x101020fc]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x43960000
mov dword [esp + 8], 0x43c80000
mov dword [esp + 4], 0x42480000
addss xmm0, dword [0x10101ecc]
movss dword [esp], xmm0
push 0x790b
call eax
movd xmm0, esi
mov eax, 0x790b10
cvtdq2ps xmm0, xmm0
push 0xf
push 0x4b
push 0x104
cvtps2pd xmm0, xmm0
subsd xmm0, qword [0x10101a10]
cvttsd2si ebx, xmm0
movsd qword [esp + 0x54], xmm0
push ebx
call eax
add esp, 0x40
cmp al, 1
jne 0x10077e85
mov esi, dword [sym.imp.OPENGL32.dll_glColor3f]
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call esi
push 1
call edi
test ax, ax
jns 0x10077e85
sub esp, 0xc
mov dword [0x102ba774], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
call esi
xor eax, eax
mov dword [0xe8cb3c], 0
mov dword [esp + 0x11], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0xebf308c1
mov dword [esp + 0x14], 0x62
lea edx, [eax + 8]
call fcn.100c4b10
movsd xmm0, qword [esp + 0x18]
mov eax, 0x637c60
push 0
push 1
push 1
sub esp, 0x20
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3f4ccccd
mov dword [esp + 0x18], 0x3f266666
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x42960000
mov dword [esp + 4], 0x43820000
movss dword [esp], xmm0
push 0x7b4b
call eax
add esp, 0x20
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor4f]
push 0x184
mov eax, 0x402320
mov ecx, 0x8128adc
call eax
push eax
push 3
push 0x4b
push 0x109
push ebx
push 0xff00ffff
push 0x102ba770
call fcn.10077f60
add esp, 0x1c
cmp dword [0x102df7c0], 0
jne 0x10077f47
mov eax, 0x80f8e0
call eax
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d0970
mov esp, ebp
pop ebp
ret