Function at 0x10013f80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0xe609e8], 4
jne 0x10014a31
cmp dword [0x102c32f0], 0
xorps xmm0, xmm0
movss dword [ebp - 4], xmm0
je 0x10013fcc
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x101430a0]
subss xmm0, dword [0x10143f9c]
movss dword [ebp - 4], xmm0
push ebx
push esi
push edi
mov eax, 0x482b70
call eax
mov edi, 0x637c60
cmp byte [eax + 0x849c], 0
je 0x1001476d
movss xmm2, dword [0x1014c250]
addss xmm2, dword [0x10143bb4]
movss xmm0, dword [0x10143c2c]
comiss xmm2, xmm0
movss dword [0x1014c250], xmm2
jb 0x10014018
movaps xmm2, xmm0
movss dword [0x1014c250], xmm2
movss xmm0, dword [ebp - 4]
push ecx
mov dword [esp], 0
cvtps2pd xmm0, xmm0
push 1
push 1
sub esp, 0x20
addsd xmm0, qword [0x101438f0]
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f700000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
cvtpd2ps xmm1, xmm0
mov dword [esp + 0xc], 0x43800000
mov dword [esp + 8], 0x43700000
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
push 0x17
movss dword [ebp - 8], xmm1
call edi
movss xmm0, dword [0x1014c250]
add esp, 0x2c
addss xmm0, dword [0x10143f24]
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f0c0000
mov dword [esp + 0x18], 0x3f700000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x420c0000
mov dword [esp + 8], 0x43700000
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
push 0x18
call edi
mov eax, dword [0x101f65f8]
add esp, 0x30
xor esi, esi
test eax, eax
jne 0x100140f7
lea esi, [eax + 6]
jmp 0x10014116
cmp eax, 1
jne 0x10014101
lea esi, [eax + 2]
jmp 0x10014116
cmp eax, 2
jne 0x1001410b
lea esi, [eax + 2]
jmp 0x10014116
cmp eax, 3
mov ecx, 5
cmove esi, ecx
movss xmm0, dword [ebp - 4]
mov ebx, 0x790b10
cvtps2pd xmm1, xmm0
push 0x14
push 0x13
movss xmm0, dword [0x1014c250]
addss xmm0, dword [0x10143ed8]
addsd xmm1, qword [0x10143970]
cvttss2si eax, xmm0
movsd qword [ebp - 0x10], xmm1
push eax
cvttsd2si eax, xmm1
push eax
call ebx
add esp, 0x10
mov ecx, 0x791070
test al, al
je 0x1001424b
push 1
call ecx
add esp, 4
test eax, eax
je 0x1001424b
mov ebx, dword [0x102c322c]
cmp ebx, esi
jl 0x1001417e
cmp ebx, 1
jle 0x10014187
cmp ebx, 1
jl 0x100141cd
cmp ebx, esi
jg 0x100141cd
push ecx
dec ebx
mov dword [esp], 0
push 0
push 0
mov dword [0x102c322c], ebx
lea eax, [ebx + 0xa8]
push eax
push 0x7bd0470
mov eax, 0x57dd40
call eax
push 1
push 1
mov byte [0x7bd0483], bl
mov eax, 0x542310
push 0x7bd0778
mov byte [0x7bd0790], 0
call eax
add esp, 0x20
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
movss xmm0, dword [0x1014c250]
add esp, 8
addss xmm0, dword [0x10143ed8]
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f200000
mov dword [esp + 0x18], 0x3f180000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41a00000
mov dword [esp + 8], 0x41980000
movss dword [esp + 4], xmm0
movsd xmm0, qword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x1a
call edi
add esp, 0x30
mov ebx, 0x790b10
movss xmm0, dword [0x1014c250]
movss xmm1, dword [ebp - 4]
addss xmm0, dword [0x10143ed8]
cvtps2pd xmm1, xmm1
push 0x14
push 0x13
cvttss2si eax, xmm0
addsd xmm1, qword [0x101439f8]
push eax
cvttsd2si eax, xmm1
movsd qword [ebp - 0x10], xmm1
push eax
call ebx
add esp, 0x10
test al, al
je 0x1001437f
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x1001437f
mov ebx, dword [0x102c322c]
test ebx, ebx
js 0x100142b0
lea eax, [esi - 1]
cmp ebx, eax
jle 0x100142bb
lea eax, [esi - 1]
cmp ebx, eax
jl 0x10014301
test ebx, ebx
jg 0x10014301
push ecx
inc ebx
mov dword [esp], 0
push 0
push 0
mov dword [0x102c322c], ebx
lea eax, [ebx + 0xa8]
push eax
push 0x7bd0470
mov eax, 0x57dd40
call eax
push 1
push 1
mov byte [0x7bd0483], bl
mov eax, 0x542310
push 0x7bd0778
mov byte [0x7bd0790], 0
call eax
add esp, 0x20
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
movss xmm0, dword [0x1014c250]
add esp, 8
addss xmm0, dword [0x10143ed8]
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f200000
mov dword [esp + 0x18], 0x3f180000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41a00000
mov dword [esp + 8], 0x41980000
movss dword [esp + 4], xmm0
movsd xmm0, qword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x1b
call edi
add esp, 0x30
mov ebx, 0x790b10
mov eax, dword [0x102c322c]
mov ecx, 0x635fd0
mov edi, dword [sym.imp.OPENGL32.dll_glColor4f]
cmp eax, 6
ja case.default.0x10014398
jmp dword [eax*4 + 0x10014a38]
push 1
call ecx
mov dword [esp], 0x3f4ccccd
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
movss xmm0, dword [0x1014c250]
mov eax, 0x6378a0
addss xmm0, dword [0x10143ed8]
push 0
sub esp, 0x14
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41a00000
mov dword [esp + 8], 0x41980000
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 4]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x10143970]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
mov eax, 0x636070
call eax
push 1
mov eax, 0x635fd0
call eax
add esp, 0xc
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call edi
push 0x14
jmp 0x1001446d
push 0x15
jmp 0x1001446d
push 0x16
jmp 0x1001446d
push 0x17
jmp 0x1001446d
push 0x18
jmp 0x1001446d
push 0x697
jmp 0x1001446d
push 0xc4e
mov ecx, 0x41fe10
mov eax, 0x402320
call eax
movss xmm0, dword [0x1014c250]
addss xmm0, dword [0x10143ee4]
push eax
push 3
push 0x32
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10143f74]
push eax
cvttss2si eax, xmm0
push eax
push 0xffffffffffffffff
call fcn.100130e0
add esp, 0x18
mov ecx, 0x635fd0
cmp dword [0x102c322c], esi
jne 0x1001456e
push 1
call ecx
mov dword [esp], 0x3f4ccccd
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
movss xmm0, dword [0x1014c250]
mov eax, 0x6378a0
addss xmm0, dword [0x10143ed8]
push 0
sub esp, 0x14
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41a00000
mov dword [esp + 8], 0x41980000
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 4]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x101439f8]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
mov eax, 0x636070
call eax
push 1
mov eax, 0x635fd0
call eax
add esp, 0xc
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call edi
movss xmm0, dword [0x1014c250]
addss xmm0, dword [0x10143e94]
mov ecx, dword [0xe8c544]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10143f6c]
push eax
cvttss2si eax, xmm0
push eax
mov eax, 0x417ec0
call eax
movss xmm0, dword [0x1014c250]
movss xmm1, dword [ebp - 4]
addss xmm0, dword [0x10143f1c]
cvtps2pd xmm1, xmm1
push 0x17
push 0x3a
cvttss2si eax, xmm0
addsd xmm1, qword [0x10143960]
push eax
cvttsd2si eax, xmm1
movsd qword [ebp - 0x10], xmm1
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 0x10
test al, al
je 0x1001468a
push 1
call esi
mov ebx, 0x482b70
test ax, ax
jns 0x10014619
call ebx
add eax, 0x8490
push eax
call ebx
mov edx, 0x483b50
mov ecx, eax
call edx
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
add esp, 0xc
movss xmm0, dword [0x1014c250]
mov edi, 0x637c60
addss xmm0, dword [0x10143f1c]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f380000
mov dword [esp + 0x18], 0x3f680000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41b80000
mov dword [esp + 8], 0x42680000
movss dword [esp + 4], xmm0
movsd xmm0, qword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x1c
call edi
add esp, 0x30
jmp 0x10014694
mov edi, 0x637c60
mov ebx, 0x482b70
movss xmm0, dword [0x1014c250]
movss xmm1, dword [ebp - 4]
addss xmm0, dword [0x10143f1c]
cvtps2pd xmm1, xmm1
push 0x17
push 0x3a
cvttss2si eax, xmm0
addsd xmm1, qword [0x101439c8]
push eax
cvttsd2si eax, xmm1
movsd qword [ebp - 0x10], xmm1
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x10014777
push 1
call esi
test ax, ax
jns 0x10014701
call ebx
mov edx, 0x403e00
lea ecx, [eax + 0x8490]
call edx
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
add esp, 0xc
movss xmm0, dword [0x1014c250]
addss xmm0, dword [0x10143f1c]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f380000
mov dword [esp + 0x18], 0x3f680000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41b80000
mov dword [esp + 8], 0x42680000
movss dword [esp + 4], xmm0
movsd xmm0, qword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x1d
call edi
add esp, 0x30
jmp 0x10014777
mov dword [0x1014c250], 0xc3800000
movss xmm1, dword [ebp - 4]
cvtps2pd xmm0, xmm1
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
addsd xmm0, qword [0x10143a60]
mov dword [esp + 0x1c], 0x3f140000
mov dword [esp + 0x18], 0x3f400000
mov dword [esp + 0x14], 0
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42140000
mov dword [esp + 8], 0x43400000
mov dword [esp + 4], 0
movss dword [esp], xmm0
push 0xc
call edi
movss xmm0, dword [ebp - 4]
add esp, 0x2c
cvtps2pd xmm0, xmm0
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
addsd xmm0, qword [0x10142f30]
mov dword [esp + 0x1c], 0x3f140000
mov dword [esp + 0x18], 0xbf400000
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x3f400000
mov dword [esp + 0xc], 0x42140000
mov dword [esp + 8], 0x43400000
mov dword [esp + 4], 0
movss dword [esp], xmm0
push 0xc
movss dword [ebp - 8], xmm0
call edi
add esp, 0x30
cmp dword [0x102c32f0], 0
jne 0x100149c7
movss xmm0, dword [ebp - 4]
push ecx
mov dword [esp], 0
cvtps2pd xmm0, xmm0
push 1
push 1
sub esp, 0x20
addsd xmm0, qword [0x10143ad0]
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f540000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
cvtpd2ps xmm1, xmm0
mov dword [esp + 0xc], 0x43800000
mov dword [esp + 8], 0x42d40000
mov dword [esp + 4], 0x40400000
movss dword [esp], xmm1
push 0xd
movss dword [ebp - 0xc], xmm1
call edi
movss xmm0, dword [ebp - 8]
add esp, 0x2c
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0xbf540000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x3f540000
mov dword [esp + 0xc], 0x43800000
mov dword [esp + 8], 0x42d40000
mov dword [esp + 4], 0x40400000
movss dword [esp], xmm0
push 0xd
call edi
movss xmm0, dword [ebp - 0xc]
add esp, 0x2c
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f5e0000
mov dword [esp + 0x18], 0x3f540000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x435e0000
mov dword [esp + 8], 0x42d40000
mov dword [esp + 4], 0x43818000
movss dword [esp], xmm0
push 0xe
call edi
movss xmm0, dword [ebp - 8]
add esp, 0x2c
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f5e0000
mov dword [esp + 0x18], 0xbf540000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x3f540000
mov dword [esp + 0xc], 0x435e0000
mov dword [esp + 8], 0x42d40000
mov dword [esp + 4], 0x43818000
movss dword [esp], xmm0
push 0xe
call edi
add esp, 0x30
movss xmm0, dword [ebp - 4]
push ecx
mov dword [esp], 0
cvtps2pd xmm0, xmm0
push 1
push 1
sub esp, 0x20
addsd xmm0, qword [0x101438d8]
mov dword [esp + 0x1c], 0x3f0c0000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
cvtpd2ps xmm0, xmm0
mov dword [esp + 0xc], 0x428c0000
mov dword [esp + 8], 0x43800000
mov dword [esp + 4], 0
movss dword [esp], xmm0
push 0xf
call edi
add esp, 0x30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret