Function at 0x10015c90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0xe609e8], 4
jne 0x10016558
push ebx
push esi
mov eax, 0x482b70
call eax
mov ebx, 0x637c60
cmp byte [eax + 0x849c], 0
je 0x100162fa
movss xmm1, dword [0x101a3b90]
addss xmm1, dword [0x1019619c]
movss xmm0, dword [0x10196220]
comiss xmm1, xmm0
movss dword [0x101a3b90], xmm1
jb 0x10015cec
movaps xmm1, xmm0
movss dword [0x101a3b90], xmm1
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f700000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x43800000
mov dword [esp + 8], 0x43700000
movss dword [esp + 4], xmm1
mov dword [esp], 0x43480000
push 0x17
call ebx
movss xmm0, dword [0x101a3b90]
add esp, 0x2c
addss xmm0, dword [0x10196538]
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
mov dword [esp], 0x43480000
push 0x18
call ebx
mov eax, dword [0x10250198]
add esp, 0x30
test eax, eax
jne 0x10015daf
lea esi, [eax + 6]
jmp 0x10015dd1
cmp eax, 1
jne 0x10015db9
lea esi, [eax + 2]
jmp 0x10015dd1
cmp eax, 2
jne 0x10015dc3
lea esi, [eax + 2]
jmp 0x10015dd1
mov esi, dword [ebp - 4]
cmp eax, 3
mov ecx, 5
cmove esi, ecx
movss xmm0, dword [0x101a3b90]
addss xmm0, dword [0x101964ec]
push edi
push 0x14
push 0x13
mov edi, 0x790b10
cvttss2si eax, xmm0
push eax
push 0x106
call edi
add esp, 0x10
mov ecx, 0x791070
test al, al
je 0x10015eaa
push 1
call ecx
add esp, 4
test eax, eax
je 0x10015eaa
mov eax, dword [0x1031e15c]
cmp eax, esi
jl 0x10015e24
cmp eax, 1
jle 0x10015e2d
cmp eax, 1
jl 0x10015e38
cmp eax, esi
jg 0x10015e38
dec eax
mov dword [0x1031e15c], eax
call fcn.10015c40
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
movss xmm0, dword [0x101a3b90]
add esp, 8
addss xmm0, dword [0x101964ec]
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
mov dword [esp], 0x43830000
push 0x1a
call ebx
add esp, 0x30
movss xmm0, dword [0x101a3b90]
addss xmm0, dword [0x101964ec]
push 0x14
push 0x13
cvttss2si eax, xmm0
push eax
push 0x167
call edi
add esp, 0x10
test al, al
je 0x10015f7e
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x10015f7e
mov eax, dword [0x1031e15c]
lea ecx, [esi - 1]
test eax, eax
js 0x10015ef9
cmp eax, ecx
jle 0x10015f01
cmp eax, ecx
jl 0x10015f0c
test eax, eax
jg 0x10015f0c
inc eax
mov dword [0x1031e15c], eax
call fcn.10015c40
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
movss xmm0, dword [0x101a3b90]
add esp, 8
addss xmm0, dword [0x101964ec]
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
mov dword [esp], 0x43b38000
push 0x1b
call ebx
add esp, 0x30
mov eax, dword [0x1031e15c]
mov ecx, 0x635fd0
mov edi, dword [sym.imp.OPENGL32.dll_glColor4f]
cmp eax, 6
ja case.default.0x10015f97
jmp dword [eax*4 + 0x1001655c]
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 [0x101a3b90]
mov eax, 0x6378a0
addss xmm0, dword [0x101964ec]
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
mov dword [esp], 0x43830000
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 0x1001605a
push 0x15
jmp 0x1001605a
push 0x16
jmp 0x1001605a
push 0x17
jmp 0x1001605a
push 0x18
jmp 0x1001605a
push 0x697
jmp 0x1001605a
push 0xc4e
mov ecx, 0x41fe10
mov eax, 0x402320
call eax
movss xmm0, dword [0x101a3b90]
addss xmm0, dword [0x101964f8]
push eax
push 3
push 0x32
cvttss2si eax, xmm0
push eax
push 0x127
push 0xffffffffffffffff
call fcn.10014f10
add esp, 0x18
mov ecx, 0x635fd0
cmp dword [0x1031e15c], esi
jne 0x1001613c
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 [0x101a3b90]
mov eax, 0x6378a0
addss xmm0, dword [0x101964ec]
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
mov dword [esp], 0x43b38000
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 [0x101a3b90]
addss xmm0, dword [0x101964a8]
mov ecx, dword [0xe8c544]
cvttss2si eax, xmm0
push eax
push 0x122
mov eax, 0x417ec0
call eax
movss xmm0, dword [0x101a3b90]
mov edi, 0x790b10
addss xmm0, dword [0x10196530]
push 0x17
push 0x3a
cvttss2si eax, xmm0
push eax
push 0x103
call edi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 0x10
test al, al
je 0x10016237
push 1
call esi
mov ecx, 0x8000
test cx, ax
je 0x100161d4
mov eax, 0x482b70
call eax
add eax, 0x8490
push eax
mov eax, 0x482b70
call eax
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 [0x101a3b90]
addss xmm0, dword [0x10196530]
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
mov dword [esp], 0x43818000
push 0x1c
call ebx
add esp, 0x30
movss xmm0, dword [0x101a3b90]
addss xmm0, dword [0x10196530]
push 0x17
push 0x3a
cvttss2si eax, xmm0
push eax
push 0x143
call edi
add esp, 0x10
pop edi
test al, al
je 0x10016304
push 1
call esi
mov ecx, 0x8000
test cx, ax
je 0x10016295
mov eax, 0x482b70
call eax
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 [0x101a3b90]
addss xmm0, dword [0x10196530]
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
mov dword [esp], 0x43a18000
push 0x1d
call ebx
add esp, 0x30
jmp 0x10016304
mov dword [0x101a3b90], 0xc3800000
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f140000
mov dword [esp + 0x18], 0x3f400000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42140000
mov dword [esp + 8], 0x43400000
mov dword [esp + 4], 0
mov dword [esp], 0x43e00000
push 0xc
call ebx
mov dword [esp + 0x2c], 0
add esp, 0x2c
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f140000
mov dword [esp + 0x18], 0xbf400000
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
mov dword [esp], 0
push 0xc
call ebx
mov dword [esp + 0x2c], 0
add esp, 0x2c
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f540000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x43800000
mov dword [esp + 8], 0x42d40000
mov dword [esp + 4], 0x40400000
mov dword [esp], 0x44058000
push 0xd
call ebx
mov dword [esp + 0x2c], 0
add esp, 0x2c
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
mov dword [esp], 0
push 0xd
call ebx
mov dword [esp + 0x2c], 0
add esp, 0x2c
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
mov dword [esp], 0x44058000
push 0xe
call ebx
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
mov dword [esp], 0
push 0xe
call ebx
mov dword [esp + 0x2c], 0
add esp, 0x2c
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f0c0000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x428c0000
mov dword [esp + 8], 0x43800000
mov dword [esp + 4], 0
mov dword [esp], 0x43400000
push 0xf
call ebx
add esp, 0x30
pop esi
pop ebx
mov esp, ebp
pop ebp
ret