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 [0x1020bb98]
addss xmm0, dword [0x101fb130]
movss dword [0x1020bb98], xmm0
movss xmm0, dword [0x1020bb98]
comiss xmm0, dword [0x101fb1dc]
jb 0x10021522
movss xmm0, dword [0x101fb1dc]
movss dword [0x1020bb98], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101fa6a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa658]
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 [0x101fb554]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb528]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1020bb98]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb49c]
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 [0x101fa45c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa658]
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 [0x101fb1b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb528]
movss dword [esp], xmm0
movss xmm0, dword [0x1020bb98]
addss xmm0, dword [0x101fb554]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb49c]
movss dword [esp], xmm0
push 0x18
mov eax, 0x637c60
call eax
add esp, 0x30
cmp dword [0x10545ab0], 0
jne 0x10021639
mov dword [ebp - 4], 6
jmp 0x1002166d
cmp dword [0x10545ab0], 1
jne 0x1002164b
mov dword [ebp - 4], 3
jmp 0x1002166d
cmp dword [0x10545ab0], 2
jne 0x1002165d
mov dword [ebp - 4], 4
jmp 0x1002166d
cmp dword [0x10545ab0], 3
jne 0x1002166d
mov dword [ebp - 4], 5
push 0x14
push 0x13
movss xmm0, dword [0x1020bb98]
addss xmm0, dword [0x101fb4fc]
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 [0x1020eea4]
cmp edx, dword [ebp - 4]
jl 0x100216c8
cmp dword [0x1020eea4], 1
jle 0x100216db
cmp dword [0x1020eea4], 1
jl 0x100216f9
mov eax, dword [0x1020eea4]
cmp eax, dword [ebp - 4]
jg 0x100216f9
mov ecx, dword [0x1020eea4]
sub ecx, 1
mov dword [0x1020eea4], ecx
mov edx, dword [0x1020eea4]
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 [0x101fa4b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa490]
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 [0x101fb140]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb13c]
movss dword [esp], xmm0
movss xmm0, dword [0x1020bb98]
addss xmm0, dword [0x101fb4fc]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb560]
movss dword [esp], xmm0
push 0x1a
mov ecx, 0x637c60
call ecx
add esp, 0x30
push 0x14
push 0x13
movss xmm0, dword [0x1020bb98]
addss xmm0, dword [0x101fb4fc]
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 [0x1020eea4], 0
jl 0x100217ed
mov eax, dword [ebp - 4]
sub eax, 1
cmp dword [0x1020eea4], eax
jle 0x10021804
mov ecx, dword [ebp - 4]
sub ecx, 1
cmp dword [0x1020eea4], ecx
jl 0x10021821
cmp dword [0x1020eea4], 0
jg 0x10021821
mov edx, dword [0x1020eea4]
add edx, 1
mov dword [0x1020eea4], edx
mov eax, dword [0x1020eea4]
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 [0x101fa4b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa490]
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 [0x101fb140]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb13c]
movss dword [esp], xmm0
movss xmm0, dword [0x1020bb98]
addss xmm0, dword [0x101fb4fc]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb64c]
movss dword [esp], xmm0
push 0x1b
mov edx, 0x637c60
call edx
add esp, 0x30
mov eax, dword [0x1020eea4]
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 [0x101fa5a8]
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 [0x101fb140]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb13c]
movss dword [esp], xmm0
movss xmm0, dword [0x1020bb98]
addss xmm0, dword [0x101fb4fc]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb560]
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 [0x101fa6a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa6a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa6a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa6a4]
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 [0x1020bb98]
addss xmm0, dword [0x101fb50c]
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 [0x1020bb98]
addss xmm0, dword [0x101fb50c]
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 [0x1020bb98]
addss xmm0, dword [0x101fb50c]
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 [0x1020bb98]
addss xmm0, dword [0x101fb50c]
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 [0x1020bb98]
addss xmm0, dword [0x101fb50c]
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 [0x1020bb98]
addss xmm0, dword [0x101fb50c]
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 [0x1020bb98]
addss xmm0, dword [0x101fb50c]
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 [0x1020eea4]
cmp ecx, dword [ebp - 4]
jne 0x10021c8a
push 1
mov edx, 0x635fd0
call edx
movss xmm0, dword [0x101fa5a8]
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 [0x101fb140]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb13c]
movss dword [esp], xmm0
movss xmm0, dword [0x1020bb98]
addss xmm0, dword [0x101fb4fc]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb64c]
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 [0x101fa6a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa6a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa6a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa6a4]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor4f]
movss xmm0, dword [0x1020bb98]
addss xmm0, dword [0x101fb4a0]
cvttss2si eax, xmm0
push eax
push 0x122
mov edx, 0x417ec0
mov ecx, dword [0xe8c544]
call edx
push 0x17
push 0x3a
movss xmm0, dword [0x1020bb98]
addss xmm0, dword [0x101fb54c]
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 [0x101fa55c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa630]
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 [0x101fb158]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb224]
movss dword [esp], xmm0
movss xmm0, dword [0x1020bb98]
addss xmm0, dword [0x101fb54c]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb558]
movss dword [esp], xmm0
push 0x1c
mov ecx, 0x637c60
call ecx
add esp, 0x30
push 0x17
push 0x3a
movss xmm0, dword [0x1020bb98]
addss xmm0, dword [0x101fb54c]
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 [0x101fa55c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa630]
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 [0x101fb158]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb224]
movss dword [esp], xmm0
movss xmm0, dword [0x1020bb98]
addss xmm0, dword [0x101fb54c]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb5f8]
movss dword [esp], xmm0
push 0x1d
mov ecx, 0x637c60
call ecx
add esp, 0x30
jmp 0x10021eb6
movss xmm0, dword [0x101fb9d4]
movss dword [0x1020bb98], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101fa484]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa57c]
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 [0x101fb1c0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb47c]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb740]
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 [0x101fa484]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb910]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa57c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb1c0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb47c]
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 [0x101fa6a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa5d0]
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 [0x101fb554]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb314]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fabb0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb79c]
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 [0x101fa6a4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb914]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa5d0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb554]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb314]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fabb0]
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 [0x101fa5f0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa5d0]
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 [0x101fb4e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb314]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb558]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb79c]
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 [0x101fa5f0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb914]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa5d0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb4e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb314]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb558]
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 [0x101fa45c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa6a4]
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 [0x101fb268]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb554]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb47c]
movss dword [esp], xmm0
push 0xf
mov edx, 0x637c60
call edx
add esp, 0x30
mov esp, ebp
pop ebp
ret