Function at 0x10059280
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
movzx eax, word [edi + 0x7e]
imul eax, eax, 0x74
cmp dword [eax + 0x10572e38], 0
je 0x10059685
mov ecx, dword [eax + 0x10572e0c]
mov dword [ebp - 8], 0x37
cmp ecx, 0x5f5e0ff
ja 0x10059355
mov edx, dword [eax + 0x10572e18]
cmp edx, 0x5f5e0ff
ja 0x10059355
mov esi, dword [eax + 0x10572e14]
cmp esi, 0x5f5e0ff
ja 0x10059355
mov eax, dword [eax + 0x10572e10]
cmp eax, 0x5f5e0ff
ja 0x10059355
cmp ecx, 0x98967f
ja 0x1005934c
cmp edx, 0x98967f
ja 0x1005934c
cmp esi, 0x98967f
ja 0x1005934c
cmp eax, 0x98967f
ja 0x1005934c
cmp ecx, 0xf423f
ja 0x10059343
cmp edx, 0xf423f
ja 0x10059343
cmp esi, 0xf423f
ja 0x10059343
cmp eax, 0xf423f
ja 0x10059343
cmp ecx, 0x1869f
ja 0x10059343
cmp edx, 0x1869f
ja 0x10059343
cmp esi, 0x1869f
ja 0x10059343
cmp eax, 0x1869f
jbe 0x1005935c
mov dword [ebp - 8], 0x32
jmp 0x1005935c
mov dword [ebp - 8], 0x2d
jmp 0x1005935c
mov dword [ebp - 8], 0x28
fld qword [0x1011fef8]
sub esp, 8
fstp qword [esp]
call fcn.1010fd90
mov ecx, dword [ebp + 0xc]
add esp, 8
fstp qword [ebp - 0x14]
cvttsd2si eax, qword [ebp - 0x14]
sub ecx, eax
movd xmm0, ecx
mov ecx, dword [0x879340c]
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x1011fd90]
cvttsd2si esi, xmm0
mov dword [ebp + 0xc], esi
lea eax, [esi + 0xa]
cmp ecx, eax
jl 0x10059685
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, ecx
addss xmm0, dword [0x10120430]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
jb 0x10059685
mov ebx, dword [ebp + 0x10]
mov ecx, dword [0x8793410]
lea eax, [ebx - 0x29]
cmp ecx, eax
jl 0x10059685
lea eax, [ebx + 0x45]
cmp ecx, eax
jge 0x10059685
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10059685
push 1
mov eax, 0x635fd0
call eax
mov dword [esp], 0x3f19999a
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.OPENGL32.dll_glColor4f]
lea eax, [ebx - 0x40]
movd xmm0, eax
mov eax, 0x6378a0
cvtdq2ps xmm0, xmm0
push 0
sub esp, 0x14
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42a00000
mov dword [esp + 8], 0x42a40000
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x1011fb4c]
movss dword [esp], xmm0
call eax
add esp, 0x18
mov eax, 0x636070
call eax
cmp dword [0x103038d0], 0
jne 0x100594a6
lea eax, [edi + 0x38]
push eax
push 0x1011c298
push 3
push 0x50
lea eax, [ebx - 0x3d]
push eax
lea eax, [esi + 1]
push eax
push 0xff19bdff
push 0x10572e00
call fcn.10059690
add esp, 0x20
push 0xc17
mov eax, 0x402320
mov ecx, 0x8128adc
call eax
push eax
push 1
push 0x28
lea edi, [ebx - 0x28]
add esi, 7
push edi
push esi
push 0xffffffffffffffff
push 0x10572e00
call fcn.10059690
add esp, 0x1c
mov ecx, 0x101e2dc0
add ebx, 0xffffffe2
push 0xbf
call fcn.10047dc0
push eax
push 1
push 0x28
push ebx
push esi
push 0xffffffffffffffff
push 0x10572e00
call fcn.10059690
mov ebx, dword [ebp + 0x10]
add esp, 0x1c
mov ecx, 0x101e2dc0
add ebx, 0xffffffec
push 0xc0
call fcn.10047dc0
push eax
push 1
push 0x28
push ebx
push esi
push 0xffffffffffffffff
push 0x10572e00
call fcn.10059690
add esp, 0x1c
mov ecx, 0x101e2dc0
push 0xc1
call fcn.10047dc0
push eax
mov eax, dword [ebp + 0x10]
push 1
push 0x28
add eax, 0xfffffff6
push eax
push esi
push 0xffffffffffffffff
push 0x10572e00
call fcn.10059690
add esp, 0x1c
mov ecx, 0x101e2dc0
push 0xc2
call fcn.10047dc0
push eax
push 1
push 0x28
push dword [ebp + 0x10]
push esi
push 0xffffffffffffffff
push 0x10572e00
call fcn.10059690
mov eax, dword [ebp + 8]
add esp, 0x1c
mov esi, dword [ebp - 8]
add esi, dword [ebp + 0xc]
movzx eax, word [eax + 0x7e]
imul eax, eax, 0x74
movzx eax, word [eax + 0x10572e06]
push eax
push 0x1011d874
push 1
push 0x32
push edi
push esi
push 0xff19bdff
push 0x10572e00
call fcn.10059690
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
movzx eax, word [eax + 0x7e]
imul eax, eax, 0x74
push dword [eax + 0x10572e0c]
lea eax, [edi - 0x1e]
push 0x1011d874
push 1
push 0x32
push eax
push esi
push 0xff19bdff
push 0x10572e00
call fcn.10059690
mov eax, dword [ebp + 8]
add esp, 0x40
movzx eax, word [eax + 0x7e]
imul eax, eax, 0x74
push dword [eax + 0x10572e18]
push 0x1011d874
push 1
push 0x32
push ebx
push esi
push 0xff19bdff
push 0x10572e00
call fcn.10059690
mov ebx, dword [ebp + 8]
movzx eax, word [ebx + 0x7e]
imul eax, eax, 0x74
push dword [eax + 0x10572e14]
lea eax, [edi - 0xa]
push 0x1011d874
push 1
push 0x32
push eax
push esi
push 0xff19bdff
push 0x10572e00
call fcn.10059690
movzx eax, word [ebx + 0x7e]
add esp, 0x40
imul eax, eax, 0x74
push dword [eax + 0x10572e10]
push 0x1011d874
push 1
push 0x32
push edi
push esi
push 0xff19bdff
push 0x10572e00
call fcn.10059690
mov eax, 0x635f50
call eax
add esp, 0x14
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor3f]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc