Function at 0x100795a0
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 [0x1010c040]
xor eax, esp
mov dword [esp + 0xf8], eax
cmp dword [0xe609e8], 5
push ebx
push esi
push edi
jne 0x10079600
cmp dword [0x114edd98], 1
je 0x10079600
cmp dword [0x102e1768], 1
jne 0x100795f6
cmp dword [0x1147333c], 1
je 0x100795f6
push 0
push 0
push 0
push 0x1004d9a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x114edd98], 1
mov eax, dword [0x8128ac8]
mov dword [0x1147942c], eax
mov ecx, dword [0x7bc4f04]
mov dword [0x11479430], ecx
mov eax, dword [0x879340c]
mov dword [0x11479440], eax
mov eax, dword [0x8793410]
mov dword [0x11479448], eax
mov eax, dword [0xe61e18]
mov dword [0x1147943c], eax
cmp byte [ecx + 0x31f], 1
mov esi, dword [0x8128ac4]
jne 0x1007966d
mov eax, dword [ecx + 0x2fc]
test eax, eax
je 0x1007966d
push eax
mov eax, 0x9cea6c
call eax
mov eax, dword [0x11479430]
add esp, 4
mov dword [eax + 0x2fc], 0
mov ecx, dword [0x11479430]
mov eax, 0x1f5b
cmp word [ecx + 0x22c], ax
jl 0x10079686
mov al, byte [esi + 0x15ae]
mov byte [0x812a072], al
call fcn.100525d0
call fcn.10010d70
mov ecx, 0x114dbdf0
call fcn.10024e80
call fcn.100c7890
mov ecx, 0x1011d728
call fcn.10021ba0
mov ecx, 0x102bc710
call fcn.1007acf0
mov ecx, 0x102bc710
call fcn.1007fda0
mov ecx, 0x102bc710
call fcn.1007b150
call fcn.10023ce0
mov ecx, 0x114ed950
call fcn.100340a0
call fcn.100b0a10
mov ecx, 0x114edb50
call fcn.10045e90
call fcn.1001fcd0
mov ecx, 0x114d9a10
call fcn.10020030
call fcn.1004ede0
call fcn.1004e9c0
mov ecx, 0x114f61b8
call fcn.100c9640
call fcn.100ceac0
mov ecx, 0x114eee20
call fcn.10071510
call fcn.10072f50
mov ecx, 0x1013ab04
call fcn.1002ecc0
call fcn.10031fb0
call fcn.1002cf10
mov ecx, 0x114e9958
call fcn.1002d4d0
call fcn.1000a570
mov ecx, 0x114c9420
call fcn.1000a8d0
call fcn.1000f730
call fcn.1000fdc0
call fcn.10012460
mov ecx, 0x1010dff0
call fcn.10012880
mov ecx, 0x102bc710
call fcn.100800a0
mov ecx, 0x102bc710
call fcn.100804e0
mov ecx, 0x114ed9b8
call fcn.100354a0
mov ecx, 0x114ed9b8
call fcn.100385f0
mov ecx, 0x114d9a04
call fcn.1001f1f0
call fcn.100635d0
mov ecx, 0x102e145c
call fcn.100bbef0
mov ecx, 0x114f4d28
call fcn.100b95d0
call fcn.100bb420
call fcn.10026f50
mov ecx, 0x114e98d8
call fcn.10027bc0
mov ecx, 0x114edf38
call fcn.10054f10
call fcn.1004d6d0
mov ecx, 0x1025d820
call fcn.1004de90
mov esi, dword [0x1025d824]
mov ecx, 0x635fd0
mov edi, dword [sym.imp.OPENGL32.dll_glColor4f]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test esi, esi
je 0x10079947
push 1
call ecx
movd xmm0, dword [0x879340c]
add esp, 4
cvtdq2ps xmm0, xmm0
push 0
push 0
push 0
addss xmm0, dword [0x101040fc]
push esi
call fcn.100f3a30
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 [0x10104184]
push 0
push eax
movzx eax, byte [esi + 0x44]
cvtdq2ps xmm0, xmm0
movd xmm3, eax
movzx eax, byte [esi + 0x43]
addss xmm0, dword [0x10103f18]
cvtdq2ps xmm3, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
call fcn.1007fa70
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 [0x1025d82c]
add ecx, 0x64
cmp ecx, eax
jae 0x10079949
mov dword [0x1025d824], 0
jmp 0x10079949
mov esi, ecx
mov eax, dword [0x101bf6bc]
test eax, eax
je 0x100799e8
movd xmm0, dword [0x879340c]
cvtdq2ps xmm0, xmm0
push 0
push 0
push 1
push eax
subss xmm0, dword [0x101040fc]
call fcn.100f3a30
xor ecx, ecx
or ecx, 0x28
push ecx
push eax
mov ecx, 0x102e09b4
call fcn.10094870
mov eax, 0x7dd0f0
call eax
test eax, eax
je 0x100799d4
call ebx
sub eax, dword [0x101bf734]
cmp eax, 0x32
jbe 0x100799e8
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 0x100799e8
mov dword [0x101bf6bc], 0
mov dword [0x101bf738], 0xffffffff
mov ecx, 0x1011bb18
call fcn.1001a3a0
call fcn.10019780
call fcn.10068d10
mov ecx, 0x102bc680
call fcn.1006a4d0
mov ecx, 0x102bc680
call fcn.1006f520
call fcn.10064bb0
mov ecx, 0x114ee0a8
call fcn.10064f10
call fcn.10067c40
call fcn.100682b0
mov ecx, 0x114edf68
call fcn.10056720
mov ecx, 0x114edf68
call fcn.1005e410
mov ecx, 0x114edf68
call fcn.1005ea80
cmp dword [0x102e18d0], 1
jne 0x10079aa2
call ebx
mov ecx, dword [0x1054bb6c]
add ecx, 0x3e8
cmp eax, ecx
jb 0x10079aa2
call fcn.10013d80
test al, al
je 0x10079a9b
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.100c6fd0
call ebx
mov dword [0x1054bb6c], eax
cmp dword [0x102e1864], 1
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x10079ba8
cmp dword [0xe61728], 0xffffffff
je 0x10079ba8
push 0x12
call edi
test ax, ax
jns 0x10079ba8
mov eax, dword [0xe61728]
cmp eax, 0x3e7
ja 0x10079ba8
lea eax, [eax + eax*4]
cmp byte [eax*4 + 0x1132aaf8], 1
jne 0x10079ba8
push 1
call esi
mov eax, dword [0xe61728]
add esp, 4
lea eax, [eax + eax*4]
lea eax, [eax*4 + 0x1132aaf9]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.10051db0
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 + 0x1132ab08]
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 0x10079be7
push 0x4d
mov eax, 0x861110
call eax
mov ecx, eax
call esi
test al, al
jne 0x10079be7
cmp byte [0x106d84a5], al
jbe 0x10079be7
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 0x1007a084
push 0x2c
call edi
test ax, ax
jns 0x10079c0e
push 1
mov ecx, 0x102bc710
call fcn.1007a920
push 0x23
call edi
bt ax, 0xe
jae 0x10079c73
call ebx
sub eax, dword [0x102bd3f8]
cmp eax, 0x12c
jbe 0x10079c73
push 0x21
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, esi
call eax
test al, al
jne 0x10079c73
cmp byte [0x102bd3fd], al
je 0x10079c5d
call ebx
mov dword [0x102bd3f8], eax
mov byte [0x102bd3fd], 0
mov dword [0xe8cb3c], 0
jmp 0x10079c73
call ebx
mov ecx, 0x102bc710
mov dword [0x102bd3f8], eax
call fcn.1007f700
call fcn.10022fc0
push 0x48
call edi
bt ax, 0xe
jae 0x10079c83
call fcn.10026330
push 0x4a
call edi
bt ax, 0xe
jae 0x10079c93
call fcn.100350e0
push 0x4b
call edi
bt ax, 0xe
jae 0x10079ca3
call fcn.10071370
push 0x77
call edi
bt ax, 0xe
jae 0x10079cb3
call fcn.10052ee0
push 9
call edi
test ax, ax
jns 0x10079cd0
call ebx
sub eax, dword [0x114e98d4]
cmp eax, 0x64
jbe 0x10079cd0
call ebx
mov dword [0x114e98d4], eax
push 0xd
call edi
test ax, ax
jns 0x10079d32
call ebx
cmp byte [0x102bf73d], 0
je 0x10079d32
sub eax, dword [0x102bf798]
mov byte [0x102bf79c], 0
cmp eax, 0x1f4
jb 0x10079d32
call ebx
mov dword [0x102bf798], eax
mov eax, dword [0x1011bbdc]
cmp eax, 6
je 0x10079d21
cmp eax, 7
je 0x10079d21
push dword [0x1011bbec]
push eax
call fcn.1001a2d0
call ebx
mov dword [0x114edb48], eax
mov byte [0x102bf73d], 0
mov dword [0xe8cb3c], 0
push 0x1b
call edi
test ax, ax
jns 0x10079fac
cmp byte [0x102be77d], 1
jne 0x10079d59
mov byte [0x102be77d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bd03d], 1
jne 0x10079d73
mov byte [0x102bd03d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bd93d], 1
jne 0x10079d8d
mov byte [0x102bd93d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bff7d], 1
jne 0x10079da7
mov byte [0x102bff7d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bd09d], 1
jne 0x10079dc1
mov byte [0x102bd09d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bd0fd], 1
jne 0x10079ddb
mov byte [0x102bd0fd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bd15d], 1
jne 0x10079e13
mov byte [0x102bd15d], 0
mov dword [0xe8cb3c], 0
mov dword [0x1013ab10], 0
mov dword [0x1013ab08], 0xffffffff
mov dword [0x1013ab0c], 0
cmp byte [0x102bf73d], 1
jne 0x10079e2d
mov byte [0x102bf73d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bd3fd], 0
je 0x10079e47
mov byte [0x102bd3fd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bdf3d], 0
je 0x10079e6b
mov byte [0x102bdf3d], 0
mov dword [0xe8cb3c], 0
mov dword [0x102bc718], 0
cmp byte [0x102c111d], 1
jne 0x10079e85
mov byte [0x102c111d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c1b9d], 1
jne 0x10079e9f
mov byte [0x102c1b9d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bd21d], 1
jne 0x10079ec0
mov byte [0x102bd21d], 0
mov dword [0xe8cb3c], 0
mov byte [0x114f61dc], 0
cmp byte [0x102bd27d], 1
jne 0x10079ee1
mov byte [0x102bd27d], 0
mov dword [0xe8cb3c], 0
mov byte [0x114f13c4], 0
cmp byte [0x102c207d], 1
jne 0x10079efb
mov byte [0x102c207d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c2e5d], 1
jne 0x10079f15
mov byte [0x102c2e5d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c25bd], 1
jne 0x10079f2f
mov byte [0x102c25bd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bd1bd], 1
jne 0x10079f52
cmp dword [0x114ed9b8], 0
jg 0x10079f52
mov byte [0x102bd1bd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c03fd], 1
jne 0x10079f6c
mov byte [0x102c03fd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c045d], 1
jne 0x10079f86
mov byte [0x102c045d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102c321d], 1
jne 0x10079f99
mov dword [0x102bc684], 5
cmp byte [0x102c04bd], 1
jne 0x10079fac
mov dword [0x114edf6c], 5
cmp dword [0x11473348], 1
je 0x1007a084
push 0x11
mov eax, 0x791090
call eax
add esp, 4
cmp al, 1
je 0x1007a084
cmp dword [0x114f61ac], 0
je 0x10079ff4
call ebx
sub eax, dword [0x114f61b0]
cmp eax, 0x4b0
jbe 0x10079ff4
mov dword [0x114f61ac], 0
jmp 0x1007a084
push 0x11
call edi
test ax, ax
jns 0x1007a084
cmp dword [0x114f61ac], 0
jle 0x1007a073
call ebx
sub eax, dword [0x114f61b0]
cmp eax, 0x64
jbe 0x1007a073
mov eax, dword [0x114f61ac]
mov ecx, eax
inc eax
mov dword [0x114f61ac], eax
cmp ecx, 2
jl 0x1007a07d
cmp byte [0x114f61a8], 0
mov dword [0x114f61ac], 0
jne 0x1007a04a
mov byte [0x114f61a8], 1
mov eax, 0x80
jmp 0x1007a056
mov byte [0x114f61a8], 0
mov eax, 0x81
push eax
mov ecx, 0x101c5a88
call fcn.10043560
push eax
push 2
push 0x114f4b10
call fcn.100b4a30
add esp, 0xc
jmp 0x1007a084
mov dword [0x114f61ac], 1
call ebx
mov dword [0x114f61b0], eax
cmp dword [0x102e1710], 2
mov edx, 0x790b10
jne 0x1007a10b
mov ecx, dword [0x102e1760]
lea eax, [ecx - 1]
cmp eax, 2
ja 0x1007a0c5
push 6
push 0xc0
push 0x1b6
push 0xdc
call edx
add esp, 0x10
cmp al, 1
je 0x1007a0e7
mov ecx, dword [0x102e1760]
mov edx, 0x790b10
cmp ecx, 1
jb 0x1007a0cf
cmp ecx, 3
jbe 0x1007a10b
push 0xa
push dword [0x1010cba8]
push 0x1d6
push 0
call edx
add esp, 0x10
cmp al, 1
jne 0x1007a10b
push 1
call edi
test ax, ax
jns 0x1007a10b
call ebx
sub eax, dword [0x102c4a60]
cmp eax, 0xc8
jbe 0x1007a10b
call fcn.10027a80
call ebx
mov dword [0x102c4a60], eax
push 0
mov ecx, 0x102bc710
call fcn.1007a920
cmp dword [0x102e1818], 0
je 0x1007a309
cmp dword [0x102bc714], 0
je 0x1007a309
mov eax, dword [0x1010cba8]
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 [0x1010413c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x43960000
mov dword [esp + 8], 0x43c80000
mov dword [esp + 4], 0x42480000
addss xmm0, dword [0x10103f0c]
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 [0x10103a30]
cvttsd2si ebx, xmm0
movsd qword [esp + 0x54], xmm0
push ebx
call eax
add esp, 0x40
cmp al, 1
jne 0x1007a257
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 0x1007a257
sub esp, 0xc
mov dword [0x102bc714], 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.100c6fd0
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 0x102bc710
call fcn.1007a330
add esp, 0x1c
cmp dword [0x102e1760], 0
jne 0x1007a319
mov eax, 0x80f8e0
call eax
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d2be8
mov esp, ebp
pop ebp
ret