Function at 0x10077390
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 0x100773f0
cmp dword [0x10899908], 1
je 0x100773f0
cmp dword [0x102df7c8], 1
jne 0x100773e6
cmp dword [0x1081ee58], 1
je 0x100773e6
push 0
push 0
push 0
push 0x1004cec0
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 0x1007745d
mov eax, dword [ecx + 0x2fc]
test eax, eax
je 0x1007745d
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 0x10077476
mov al, byte [esi + 0x15ae]
mov byte [0x812a072], al
call fcn.10051af0
call fcn.10010d30
mov ecx, 0x10887960
call fcn.10023d00
call fcn.100c5520
mov ecx, 0x1011b788
call fcn.100214c0
mov ecx, 0x102ba770
call fcn.10078ae0
mov ecx, 0x102ba770
call fcn.1007db60
mov ecx, 0x102ba770
call fcn.10078f40
call fcn.100234c0
mov ecx, 0x108994c0
call fcn.10033370
call fcn.100ae7a0
mov ecx, 0x108996c0
call fcn.10045410
call fcn.1001f5d0
mov ecx, 0x10885588
call fcn.1001f930
call fcn.1004e300
call fcn.1004dee0
mov ecx, 0x108a1d28
call fcn.100c7210
call fcn.100cc640
mov ecx, 0x1089a990
call fcn.1006f6b0
call fcn.100710d0
mov ecx, 0x10138b64
call fcn.1002e020
call fcn.100312c0
call fcn.1002c3b0
mov ecx, 0x108954c8
call fcn.1002c970
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.1007de60
mov ecx, 0x102ba770
call fcn.1007e2a0
mov ecx, 0x10899528
call fcn.10034730
call fcn.10037c30
mov ecx, 0x1088557c
call fcn.1001eaf0
call fcn.10061f50
mov ecx, 0x102df4bc
call fcn.100b9e10
mov ecx, 0x108a0898
call fcn.100b74f0
call fcn.100b9340
call fcn.10025e40
mov ecx, 0x10895448
call fcn.10026ab0
mov ecx, 0x10899aa8
call fcn.100543f0
call fcn.1004cbf0
mov ecx, 0x1025b880
call fcn.1004d3b0
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 0x10077732
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.100f1500
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.1007d830
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 0x10077734
mov dword [0x1025b884], 0
jmp 0x10077734
mov esi, ecx
mov eax, dword [0x101bd71c]
test eax, eax
je 0x100777d3
movd xmm0, dword [0x879340c]
cvtdq2ps xmm0, xmm0
push 0
push 0
push 1
push eax
subss xmm0, dword [0x101020a4]
call fcn.100f1500
xor ecx, ecx
or ecx, 0x28
push ecx
push eax
mov ecx, 0x102dea14
call fcn.10092630
mov eax, 0x7dd0f0
call eax
test eax, eax
je 0x100777bf
call ebx
sub eax, dword [0x101bd794]
cmp eax, 0x32
jbe 0x100777d3
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 0x100777d3
mov dword [0x101bd71c], 0
mov dword [0x101bd798], 0xffffffff
mov ecx, 0x10119b78
call fcn.10019cc0
call fcn.100190b0
call fcn.10067130
mov ecx, 0x102ba6e0
call fcn.100688d0
mov ecx, 0x102ba6e0
call fcn.1006d920
call fcn.100635f0
mov ecx, 0x10899c18
call fcn.10063960
call fcn.10065fc0
call fcn.10066630
mov ecx, 0x10899ad8
call fcn.10055c20
mov ecx, 0x10899ad8
call fcn.1005cd50
mov ecx, 0x10899ad8
call fcn.1005d3c0
cmp dword [0x102df930], 1
jne 0x1007788d
call ebx
mov ecx, dword [0x10549b48]
add ecx, 0x3e8
cmp eax, ecx
jb 0x1007788d
call fcn.10013710
test al, al
je 0x10077886
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.100c4cf0
call ebx
mov dword [0x10549b48], eax
cmp dword [0x102df8c4], 1
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x10077993
cmp dword [0xe61728], 0xffffffff
je 0x10077993
push 0x12
call edi
test ax, ax
jns 0x10077993
mov eax, dword [0xe61728]
cmp eax, 0x3e7
ja 0x10077993
lea eax, [eax + eax*4]
cmp byte [eax*4 + 0x106d6610], 1
jne 0x10077993
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.100512d0
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 0x100779d2
push 0x4d
mov eax, 0x861110
call eax
mov ecx, eax
call esi
test al, al
jne 0x100779d2
cmp byte [0x10549c6d], al
jbe 0x100779d2
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 0x10077e72
push 0x2c
call edi
test ax, ax
jns 0x100779f9
push 1
mov ecx, 0x102ba770
call fcn.10078710
push 0x23
call edi
bt ax, 0xe
jae 0x10077a6a
call ebx
sub eax, dword [0x102bb458]
cmp eax, 0x12c
jbe 0x10077a6a
push 0x21
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, esi
call eax
test al, al
jne 0x10077a6a
cmp byte [0x102bb45d], al
je 0x10077a48
call ebx
mov dword [0x102bb458], eax
mov byte [0x102bb45d], 0
mov dword [0xe8cb3c], 0
jmp 0x10077a6a
call ebx
mov ecx, 0x102ba770
mov dword [0x102bb458], eax
call fcn.1007d4c0
mov byte [0x102bb45d], 1
mov dword [0xe8cb3c], 1
push 0x48
call edi
bt ax, 0xe
jae 0x10077a7a
call fcn.100251d0
push 0x4a
call edi
bt ax, 0xe
jae 0x10077a8a
call fcn.100343a0
push 0x4b
call edi
bt ax, 0xe
jae 0x10077a9a
call fcn.1006f510
push 0x77
call edi
bt ax, 0xe
jae 0x10077aaa
call fcn.100523d0
push 9
call edi
test ax, ax
jns 0x10077ac7
call ebx
sub eax, dword [0x10895444]
cmp eax, 0x64
jbe 0x10077ac7
call ebx
mov dword [0x10895444], eax
push 0xd
call edi
test ax, ax
jns 0x10077b29
call ebx
cmp byte [0x102bd79d], 0
je 0x10077b29
sub eax, dword [0x102bd7f8]
mov byte [0x102bd7fc], 0
cmp eax, 0x1f4
jb 0x10077b29
call ebx
mov dword [0x102bd7f8], eax
mov eax, dword [0x10119c3c]
cmp eax, 6
je 0x10077b18
cmp eax, 7
je 0x10077b18
push dword [0x10119c4c]
push eax
call fcn.10019c00
call ebx
mov dword [0x108996b8], eax
mov byte [0x102bd79d], 0
mov dword [0xe8cb3c], 0
push 0x1b
call edi
test ax, ax
jns 0x10077d9a
cmp byte [0x102bc7dd], 1
jne 0x10077b50
mov byte [0x102bc7dd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb09d], 1
jne 0x10077b6a
mov byte [0x102bb09d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb99d], 1
jne 0x10077b84
mov byte [0x102bb99d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bdfdd], 1
jne 0x10077b9e
mov byte [0x102bdfdd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb0fd], 1
jne 0x10077bb8
mov byte [0x102bb0fd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb15d], 1
jne 0x10077bd2
mov byte [0x102bb15d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb1bd], 1
jne 0x10077c0a
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 0x10077c24
mov byte [0x102bd79d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb45d], 0
je 0x10077c3e
mov byte [0x102bb45d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bbf9d], 0
je 0x10077c62
mov byte [0x102bbf9d], 0
mov dword [0xe8cb3c], 0
mov dword [0x102ba778], 0
cmp byte [0x102bf17d], 1
jne 0x10077c7c
mov byte [0x102bf17d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bfbfd], 1
jne 0x10077c96
mov byte [0x102bfbfd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb27d], 1
jne 0x10077cb7
mov byte [0x102bb27d], 0
mov dword [0xe8cb3c], 0
mov byte [0x108a1d4c], 0
cmp byte [0x102bb2dd], 1
jne 0x10077cd8
mov byte [0x102bb2dd], 0
mov dword [0xe8cb3c], 0
mov byte [0x1089cf34], 0
cmp byte [0x102c00dd], 1
jne 0x10077cf2
mov byte [0x102c00dd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c0ebd], 1
jne 0x10077d0c
mov byte [0x102c0ebd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c061d], 1
jne 0x10077d26
mov byte [0x102c061d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bb21d], 1
jne 0x10077d40
mov byte [0x102bb21d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102be45d], 1
jne 0x10077d5a
mov byte [0x102be45d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102be4bd], 1
jne 0x10077d74
mov byte [0x102be4bd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c127d], 1
jne 0x10077d87
mov dword [0x102ba6e4], 5
cmp byte [0x102be51d], 1
jne 0x10077d9a
mov dword [0x10899adc], 5
cmp dword [0x1081ee64], 1
je 0x10077e72
push 0x11
mov eax, 0x791090
call eax
add esp, 4
cmp al, 1
je 0x10077e72
cmp dword [0x108a1d1c], 0
je 0x10077de2
call ebx
sub eax, dword [0x108a1d20]
cmp eax, 0x4b0
jbe 0x10077de2
mov dword [0x108a1d1c], 0
jmp 0x10077e72
push 0x11
call edi
test ax, ax
jns 0x10077e72
cmp dword [0x108a1d1c], 0
jle 0x10077e61
call ebx
sub eax, dword [0x108a1d20]
cmp eax, 0x64
jbe 0x10077e61
mov eax, dword [0x108a1d1c]
mov ecx, eax
inc eax
mov dword [0x108a1d1c], eax
cmp ecx, 2
jl 0x10077e6b
cmp byte [0x108a1d18], 0
mov dword [0x108a1d1c], 0
jne 0x10077e38
mov byte [0x108a1d18], 1
mov eax, 0x80
jmp 0x10077e44
mov byte [0x108a1d18], 0
mov eax, 0x81
push eax
mov ecx, 0x101c3ae8
call fcn.10042ad0
push eax
push 2
push 0x108a0680
call fcn.100b28b0
add esp, 0xc
jmp 0x10077e72
mov dword [0x108a1d1c], 1
call ebx
mov dword [0x108a1d20], eax
cmp dword [0x102df770], 2
mov edx, 0x790b10
jne 0x10077ef9
mov ecx, dword [0x102df7c0]
lea eax, [ecx - 1]
cmp eax, 2
ja 0x10077eb3
push 6
push 0xc0
push 0x1b6
push 0xdc
call edx
add esp, 0x10
cmp al, 1
je 0x10077ed5
mov ecx, dword [0x102df7c0]
mov edx, 0x790b10
cmp ecx, 1
jb 0x10077ebd
cmp ecx, 3
jbe 0x10077ef9
push 0xa
push dword [0x1010ac74]
push 0x1d6
push 0
call edx
add esp, 0x10
cmp al, 1
jne 0x10077ef9
push 1
call edi
test ax, ax
jns 0x10077ef9
call ebx
sub eax, dword [0x102c2ac0]
cmp eax, 0xc8
jbe 0x10077ef9
call fcn.10026970
call ebx
mov dword [0x102c2ac0], eax
push 0
mov ecx, 0x102ba770
call fcn.10078710
cmp dword [0x102df878], 0
je 0x100780f7
cmp dword [0x102ba774], 0
je 0x100780f7
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 0x10078045
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 0x10078045
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.100c4cf0
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.10078120
add esp, 0x1c
cmp dword [0x102df7c0], 0
jne 0x10078107
mov eax, 0x80f8e0
call eax
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d0820
mov esp, ebp
pop ebp
ret