Function at 0x100214c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [0xe609e8], 4
jne 0x1002221a
mov eax, 0x482b70
call eax
movzx ecx, byte [eax + 0x849c]
test ecx, ecx
je 0x10021ea6
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa018]
movss dword [0x1020ab98], xmm0
movss xmm0, dword [0x1020ab98]
comiss xmm0, dword [0x101fa0c4]
jb 0x10021522
movss xmm0, dword [0x101fa0c4]
movss dword [0x1020ab98], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101f958c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f9544]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa43c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa410]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1020ab98]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa384]
movss dword [esp], xmm0
push 0x17
mov edx, 0x637c60
call edx
add esp, 0x2c
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101f935c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f9544]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa09c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa410]
movss dword [esp], xmm0
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa43c]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa384]
movss dword [esp], xmm0
push 0x18
mov eax, 0x637c60
call eax
add esp, 0x30
cmp dword [0x10544a90], 0
jne 0x10021639
mov dword [ebp - 4], 6
jmp 0x1002166d
cmp dword [0x10544a90], 1
jne 0x1002164b
mov dword [ebp - 4], 3
jmp 0x1002166d
cmp dword [0x10544a90], 2
jne 0x1002165d
mov dword [ebp - 4], 4
jmp 0x1002166d
cmp dword [0x10544a90], 3
jne 0x1002166d
mov dword [ebp - 4], 5
push 0x14
push 0x13
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa3e4]
cvttss2si ecx, xmm0
push ecx
push 0x106
mov edx, 0x790b10
call edx
add esp, 0x10
movzx eax, al
test eax, eax
je 0x1002178f
push 1
mov ecx, 0x791070
call ecx
add esp, 4
test eax, eax
je 0x1002178f
mov edx, dword [0x1020de94]
cmp edx, dword [ebp - 4]
jl 0x100216c8
cmp dword [0x1020de94], 1
jle 0x100216db
cmp dword [0x1020de94], 1
jl 0x100216f9
mov eax, dword [0x1020de94]
cmp eax, dword [ebp - 4]
jg 0x100216f9
mov ecx, dword [0x1020de94]
sub ecx, 1
mov dword [0x1020de94], ecx
mov edx, dword [0x1020de94]
push edx
call fcn.10021470
add esp, 4
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
add esp, 8
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101f93b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f9390]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa028]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa024]
movss dword [esp], xmm0
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa3e4]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa448]
movss dword [esp], xmm0
push 0x1a
mov ecx, 0x637c60
call ecx
add esp, 0x30
push 0x14
push 0x13
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa3e4]
cvttss2si edx, xmm0
push edx
push 0x167
mov eax, 0x790b10
call eax
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x100218b7
push 1
mov edx, 0x791070
call edx
add esp, 4
test eax, eax
je 0x100218b7
cmp dword [0x1020de94], 0
jl 0x100217ed
mov eax, dword [ebp - 4]
sub eax, 1
cmp dword [0x1020de94], eax
jle 0x10021804
mov ecx, dword [ebp - 4]
sub ecx, 1
cmp dword [0x1020de94], ecx
jl 0x10021821
cmp dword [0x1020de94], 0
jg 0x10021821
mov edx, dword [0x1020de94]
add edx, 1
mov dword [0x1020de94], edx
mov eax, dword [0x1020de94]
push eax
call fcn.10021470
add esp, 4
push 0
push 0
push 0x19
mov ecx, 0x6d6c20
call ecx
add esp, 8
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101f93b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f9390]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa028]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa024]
movss dword [esp], xmm0
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa3e4]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa534]
movss dword [esp], xmm0
push 0x1b
mov edx, 0x637c60
call edx
add esp, 0x30
mov eax, dword [0x1020de94]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 6
ja case.default.0x100218cc
mov ecx, dword [ebp - 8]
jmp dword [ecx*4 + 0x10022220]
push 1
mov edx, 0x635fd0
call edx
movss xmm0, dword [0x101f9498]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor4f]
push 0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa028]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa024]
movss dword [esp], xmm0
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa3e4]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa448]
movss dword [esp], xmm0
mov eax, 0x6378a0
call eax
add esp, 0x18
mov ecx, 0x636070
call ecx
push 1
mov edx, 0x635fd0
call edx
movss xmm0, dword [0x101f958c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f958c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f958c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f958c]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor4f]
push 0x14
mov eax, 0x402320
mov ecx, 0x41fe10
call eax
mov dword [ebp - 0xc], eax
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa3f4]
cvttss2si ecx, xmm0
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
push edx
push 3
push 0x32
mov eax, dword [ebp - 0x10]
push eax
push 0x127
push 0xffffffffffffffff
call fcn.100202f0
add esp, 0x18
jmp case.default.0x100218cc
push 0x15
mov edx, 0x402320
mov ecx, 0x41fe10
call edx
mov dword [ebp - 0x14], eax
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa3f4]
cvttss2si eax, xmm0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 3
push 0x32
mov edx, dword [ebp - 0x18]
push edx
push 0x127
push 0xffffffffffffffff
call fcn.100202f0
add esp, 0x18
jmp case.default.0x100218cc
push 0x16
mov eax, 0x402320
mov ecx, 0x41fe10
call eax
mov dword [ebp - 0x1c], eax
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa3f4]
cvttss2si ecx, xmm0
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
push edx
push 3
push 0x32
mov eax, dword [ebp - 0x20]
push eax
push 0x127
push 0xffffffffffffffff
call fcn.100202f0
add esp, 0x18
jmp case.default.0x100218cc
push 0x17
mov edx, 0x402320
mov ecx, 0x41fe10
call edx
mov dword [ebp - 0x24], eax
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa3f4]
cvttss2si eax, xmm0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
push ecx
push 3
push 0x32
mov edx, dword [ebp - 0x28]
push edx
push 0x127
push 0xffffffffffffffff
call fcn.100202f0
add esp, 0x18
jmp case.default.0x100218cc
push 0x18
mov eax, 0x402320
mov ecx, 0x41fe10
call eax
mov dword [ebp - 0x2c], eax
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa3f4]
cvttss2si ecx, xmm0
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x2c]
push edx
push 3
push 0x32
mov eax, dword [ebp - 0x30]
push eax
push 0x127
push 0xffffffffffffffff
call fcn.100202f0
add esp, 0x18
jmp case.default.0x100218cc
push 0x697
mov edx, 0x402320
mov ecx, 0x41fe10
call edx
mov dword [ebp - 0x34], eax
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa3f4]
cvttss2si eax, xmm0
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x34]
push ecx
push 3
push 0x32
mov edx, dword [ebp - 0x38]
push edx
push 0x127
push 0xffffffffffffffff
call fcn.100202f0
add esp, 0x18
jmp case.default.0x100218cc
push 0xc4e
mov eax, 0x402320
mov ecx, 0x41fe10
call eax
mov dword [ebp - 0x3c], eax
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa3f4]
cvttss2si ecx, xmm0
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x3c]
push edx
push 3
push 0x32
mov eax, dword [ebp - 0x40]
push eax
push 0x127
push 0xffffffffffffffff
call fcn.100202f0
add esp, 0x18
mov ecx, dword [0x1020de94]
cmp ecx, dword [ebp - 4]
jne 0x10021c8a
push 1
mov edx, 0x635fd0
call edx
movss xmm0, dword [0x101f9498]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor4f]
push 0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa028]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa024]
movss dword [esp], xmm0
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa3e4]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa534]
movss dword [esp], xmm0
mov eax, 0x6378a0
call eax
add esp, 0x18
mov ecx, 0x636070
call ecx
push 1
mov edx, 0x635fd0
call edx
movss xmm0, dword [0x101f958c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f958c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f958c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f958c]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor4f]
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa388]
cvttss2si eax, xmm0
push eax
push 0x122
mov edx, 0x417ec0
mov ecx, dword [0xe8c544]
call edx
push 0x17
push 0x3a
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa434]
cvttss2si eax, xmm0
push eax
push 0x103
mov ecx, 0x790b10
call ecx
add esp, 0x10
movzx edx, al
test edx, edx
je 0x10021dae
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x10021d27
mov ecx, 0x482b70
call ecx
add eax, 0x8490
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
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
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101f9450]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f9520]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa040]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa10c]
movss dword [esp], xmm0
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa434]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa440]
movss dword [esp], xmm0
push 0x1c
mov ecx, 0x637c60
call ecx
add esp, 0x30
push 0x17
push 0x3a
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa434]
cvttss2si edx, xmm0
push edx
push 0x143
mov eax, 0x790b10
call eax
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x10021ea4
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x10021e1d
mov eax, 0x482b70
call eax
add eax, 0x8490
mov dword [ebp - 0x48], eax
mov edx, 0x403e00
mov ecx, dword [ebp - 0x48]
call edx
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
add esp, 0xc
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101f9450]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f9520]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa040]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa10c]
movss dword [esp], xmm0
movss xmm0, dword [0x1020ab98]
addss xmm0, dword [0x101fa434]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa4e0]
movss dword [esp], xmm0
push 0x1d
mov ecx, 0x637c60
call ecx
add esp, 0x30
jmp 0x10021eb6
movss xmm0, dword [0x101fa8bc]
movss dword [0x1020ab98], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101f9384]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f946c]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa0a8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa364]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa628]
movss dword [esp], xmm0
push 0xc
mov edx, 0x637c60
call edx
add esp, 0x2c
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101f9384]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa7f8]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f946c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa0a8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa364]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 0xc
mov eax, 0x637c60
call eax
add esp, 0x2c
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101f958c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f94c0]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa43c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa1fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f9a98]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa684]
movss dword [esp], xmm0
push 0xd
mov ecx, 0x637c60
call ecx
add esp, 0x2c
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101f958c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa7fc]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f94c0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa43c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa1fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f9a98]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 0xd
mov edx, 0x637c60
call edx
add esp, 0x2c
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101f94e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f94c0]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa3d0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa1fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa440]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa684]
movss dword [esp], xmm0
push 0xe
mov eax, 0x637c60
call eax
add esp, 0x2c
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101f94e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa7fc]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f94c0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa3d0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa1fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa440]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 0xe
mov ecx, 0x637c60
call ecx
add esp, 0x2c
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101f935c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101f958c]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa150]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa43c]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa364]
movss dword [esp], xmm0
push 0xf
mov edx, 0x637c60
call edx
add esp, 0x30
mov esp, ebp
pop ebp
ret