Function at 0x100770c0
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 0x10077120
cmp dword [0x10899908], 1
je 0x10077120
cmp dword [0x102df7c8], 1
jne 0x10077116
cmp dword [0x1081ee58], 1
je 0x10077116
push 0
push 0
push 0
push 0x1004cb60
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 0x1007718d
mov eax, dword [ecx + 0x2fc]
test eax, eax
je 0x1007718d
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 0x100771a6
mov al, byte [esi + 0x15ae]
mov byte [0x812a072], al
call fcn.100517c0
call fcn.10010d30
mov ecx, 0x10887960
call fcn.10023d00
call fcn.100c5460
mov ecx, 0x1011b788
call fcn.100214c0
mov ecx, 0x102ba770
call fcn.10078820
mov ecx, 0x102ba770
call fcn.1007d880
mov ecx, 0x102ba770
call fcn.10078c80
call fcn.100234c0
mov ecx, 0x108994c0
call fcn.10033320
call fcn.100ae520
mov ecx, 0x108996c0
call fcn.10045030
call fcn.1001f5d0
mov ecx, 0x10885588
call fcn.1001f930
call fcn.1004dfb0
call fcn.1004db80
mov ecx, 0x108a1d28
call fcn.100c7150
call fcn.100cc580
mov ecx, 0x1089a990
call fcn.1006f3d0
call fcn.10070df0
mov ecx, 0x10138b64
call fcn.1002dfd0
call fcn.10031270
call fcn.1002c360
mov ecx, 0x108954c8
call fcn.1002c920
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.1007db80
mov ecx, 0x102ba770
call fcn.1007dfc0
mov ecx, 0x10899528
call fcn.100346e0
mov ecx, 0x10899528
call fcn.10037860
mov ecx, 0x1088557c
call fcn.1001eaf0
call fcn.10061c90
mov ecx, 0x102df4bc
call fcn.100b9ba0
mov ecx, 0x108a0898
call fcn.100b7280
call fcn.100b90d0
call fcn.10025e40
mov ecx, 0x10895448
call fcn.10026ac0
mov ecx, 0x10899aa8
call fcn.100540e0
call fcn.1004c890
mov ecx, 0x1025b880
call fcn.1004d050
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 0x10077467
push 1
call ecx
movd xmm0, dword [0x879340c]
add esp, 4
cvtdq2ps xmm0, xmm0
push 0
push 0
push 0
addss xmm0, dword [0x101020a4]
push esi
call fcn.100f1440
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 [0x1010212c]
push 0
push eax
movzx eax, byte [esi + 0x44]
cvtdq2ps xmm0, xmm0
movd xmm3, eax
movzx eax, byte [esi + 0x43]
addss xmm0, dword [0x10101ec0]
cvtdq2ps xmm3, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
call fcn.1007d550
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 0x10077469
mov dword [0x1025b884], 0
jmp 0x10077469
mov esi, ecx
mov eax, dword [0x101bd71c]
test eax, eax
je 0x10077508
movd xmm0, dword [0x879340c]
cvtdq2ps xmm0, xmm0
push 0
push 0
push 1
push eax
subss xmm0, dword [0x101020a4]
call fcn.100f1440
xor ecx, ecx
or ecx, 0x28
push ecx
push eax
mov ecx, 0x102dea14
call fcn.10092350
mov eax, 0x7dd0f0
call eax
test eax, eax
je 0x100774f4
call ebx
sub eax, dword [0x101bd794]
cmp eax, 0x32
jbe 0x10077508
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 0x10077508
mov dword [0x101bd71c], 0
mov dword [0x101bd798], 0xffffffff
mov ecx, 0x10119b78
call fcn.10019cf0
call fcn.100190e0
call fcn.10066e60
mov ecx, 0x102ba6e0
call fcn.100685f0
mov ecx, 0x102ba6e0
call fcn.1006d640
call fcn.10063330
mov ecx, 0x10899c18
call fcn.100636a0
call fcn.10065cf0
call fcn.10066360
mov ecx, 0x10899ad8
call fcn.10055910
mov ecx, 0x10899ad8
call fcn.1005ca30
mov ecx, 0x10899ad8
call fcn.1005d0a0
cmp dword [0x102df930], 1
jne 0x100775c2
call ebx
mov ecx, dword [0x10549b48]
add ecx, 0x3e8
cmp eax, ecx
jb 0x100775c2
call fcn.10013710
test al, al
je 0x100775bb
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.100c4c30
call ebx
mov dword [0x10549b48], eax
cmp dword [0x102df8c4], 1
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x100776c8
cmp dword [0xe61728], 0xffffffff
je 0x100776c8
push 0x12
call edi
test ax, ax
jns 0x100776c8
mov eax, dword [0xe61728]
cmp eax, 0x3e7
ja 0x100776c8
lea eax, [eax + eax*4]
cmp byte [eax*4 + 0x106d6610], 1
jne 0x100776c8
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.10050fb0
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 0x10077707
push 0x4d
mov eax, 0x861110
call eax
mov ecx, eax
call esi
test al, al
jne 0x10077707
cmp byte [0x10549c6d], al
jbe 0x10077707
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 0x10077bb0
push 0x2c
call edi
test ax, ax
jns 0x1007772e
push 1
mov ecx, 0x102ba770
call fcn.10078450
push 0x23
call edi
bt ax, 0xe
jae 0x1007779f
call ebx
sub eax, dword [0x102bb458]
cmp eax, 0x12c
jbe 0x1007779f
push 0x21
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, esi
call eax
test al, al
jne 0x1007779f
cmp byte [0x102bb45d], al
je 0x1007777d
call ebx
mov dword [0x102bb458], eax
mov byte [0x102bb45d], 0
mov dword [0xe8cb3c], 0
jmp 0x1007779f
call ebx
mov ecx, 0x102ba770
mov dword [0x102bb458], eax
call fcn.1007d1e0
mov byte [0x102bb45d], 1
mov dword [0xe8cb3c], 1
push 0x48
call edi
bt ax, 0xe
jae 0x100777af
call fcn.100251d0
push 0x4a
call edi
bt ax, 0xe
jae 0x100777bf
call fcn.10034350
push 0x4b
call edi
bt ax, 0xe
jae 0x100777cf
call fcn.1006f230
push 0x77
call edi
bt ax, 0xe
jae 0x100777df
call fcn.100520a0
push 9
call edi
test ax, ax
jns 0x100777fc
call ebx
sub eax, dword [0x10895444]
cmp eax, 0x64
jbe 0x100777fc
call ebx
mov dword [0x10895444], eax
push 0xd
call edi
test ax, ax
jns 0x1007785e
call ebx
cmp byte [0x102bd79d], 0
je 0x1007785e
sub eax, dword [0x102bd7f8]
mov byte [0x102bd7fc], 0
cmp eax, 0x1f4
jb 0x1007785e
call ebx
mov dword [0x102bd7f8], eax
mov eax, dword [0x10119c3c]
cmp eax, 6
je 0x1007784d
cmp eax, 7
je 0x1007784d
push dword [0x10119c4c]
push eax
call fcn.10019c30
call ebx
mov dword [0x108996b8], eax
mov byte [0x102bd79d], 0
mov dword [0xe8cb3c], 0
push 0x1b
call edi
test ax, ax
jns 0x10077ad8
cmp byte [0x102bc7dd], 1
jne 0x10077885
mov byte [0x102bc7dd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb09d], 1
jne 0x1007789f
mov byte [0x102bb09d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb99d], 1
jne 0x100778b9
mov byte [0x102bb99d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bdfdd], 1
jne 0x100778d3
mov byte [0x102bdfdd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb0fd], 1
jne 0x100778ed
mov byte [0x102bb0fd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb15d], 1
jne 0x10077907
mov byte [0x102bb15d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb1bd], 1
jne 0x1007793f
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 0x10077959
mov byte [0x102bd79d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb45d], 0
je 0x10077973
mov byte [0x102bb45d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bbf9d], 0
je 0x10077997
mov byte [0x102bbf9d], 0
mov dword [0xe8cb3c], 0
mov dword [0x102ba778], 0
cmp byte [0x102bf17d], 1
jne 0x100779b1
mov byte [0x102bf17d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bfbfd], 1
jne 0x100779cb
mov byte [0x102bfbfd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb27d], 1
jne 0x100779ec
mov byte [0x102bb27d], 0
mov dword [0xe8cb3c], 0
mov byte [0x108a1d4c], 0
cmp byte [0x102bb2dd], 1
jne 0x10077a0d
mov byte [0x102bb2dd], 0
mov dword [0xe8cb3c], 0
mov byte [0x1089cf34], 0
cmp byte [0x102c00dd], 1
jne 0x10077a27
mov byte [0x102c00dd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c0ebd], 1
jne 0x10077a41
mov byte [0x102c0ebd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c061d], 1
jne 0x10077a5b
mov byte [0x102c061d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb21d], 1
jne 0x10077a7e
cmp dword [0x10899528], 0
jg 0x10077a7e
mov byte [0x102bb21d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102be45d], 1
jne 0x10077a98
mov byte [0x102be45d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102be4bd], 1
jne 0x10077ab2
mov byte [0x102be4bd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c127d], 1
jne 0x10077ac5
mov dword [0x102ba6e4], 5
cmp byte [0x102be51d], 1
jne 0x10077ad8
mov dword [0x10899adc], 5
cmp dword [0x1081ee64], 1
je 0x10077bb0
push 0x11
mov eax, 0x791090
call eax
add esp, 4
cmp al, 1
je 0x10077bb0
cmp dword [0x108a1d1c], 0
je 0x10077b20
call ebx
sub eax, dword [0x108a1d20]
cmp eax, 0x4b0
jbe 0x10077b20
mov dword [0x108a1d1c], 0
jmp 0x10077bb0
push 0x11
call edi
test ax, ax
jns 0x10077bb0
cmp dword [0x108a1d1c], 0
jle 0x10077b9f
call ebx
sub eax, dword [0x108a1d20]
cmp eax, 0x64
jbe 0x10077b9f
mov eax, dword [0x108a1d1c]
mov ecx, eax
inc eax
mov dword [0x108a1d1c], eax
cmp ecx, 2
jl 0x10077ba9
cmp byte [0x108a1d18], 0
mov dword [0x108a1d1c], 0
jne 0x10077b76
mov byte [0x108a1d18], 1
mov eax, 0x80
jmp 0x10077b82
mov byte [0x108a1d18], 0
mov eax, 0x81
push eax
mov ecx, 0x101c3ae8
call fcn.100426f0
push eax
push 2
push 0x108a0680
call fcn.100b2620
add esp, 0xc
jmp 0x10077bb0
mov dword [0x108a1d1c], 1
call ebx
mov dword [0x108a1d20], eax
cmp dword [0x102df770], 2
mov edx, 0x790b10
jne 0x10077c37
mov ecx, dword [0x102df7c0]
lea eax, [ecx - 1]
cmp eax, 2
ja 0x10077bf1
push 6
push 0xc0
push 0x1b6
push 0xdc
call edx
add esp, 0x10
cmp al, 1
je 0x10077c13
mov ecx, dword [0x102df7c0]
mov edx, 0x790b10
cmp ecx, 1
jb 0x10077bfb
cmp ecx, 3
jbe 0x10077c37
push 0xa
push dword [0x1010ac74]
push 0x1d6
push 0
call edx
add esp, 0x10
cmp al, 1
jne 0x10077c37
push 1
call edi
test ax, ax
jns 0x10077c37
call ebx
sub eax, dword [0x102c2ac0]
cmp eax, 0xc8
jbe 0x10077c37
call fcn.10026970
call ebx
mov dword [0x102c2ac0], eax
push 0
mov ecx, 0x102ba770
call fcn.10078450
cmp dword [0x102df878], 0
je 0x10077e35
cmp dword [0x102ba774], 0
je 0x10077e35
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 [0x101020e4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x43960000
mov dword [esp + 8], 0x43c80000
mov dword [esp + 4], 0x42480000
addss xmm0, dword [0x10101eb4]
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 [0x101019f8]
cvttsd2si ebx, xmm0
movsd qword [esp + 0x54], xmm0
push ebx
call eax
add esp, 0x40
cmp al, 1
jne 0x10077d83
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 0x10077d83
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.100c4c30
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.10077e60
add esp, 0x1c
cmp dword [0x102df7c0], 0
jne 0x10077e45
mov eax, 0x80f8e0
call eax
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d0760
mov esp, ebp
pop ebp
ret