Function at 0x100f2920
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x1020b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push 7
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx eax, al
test eax, eax
jne 0x100f29b8
push 8
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx ecx, al
test ecx, ecx
jne 0x100f29b8
push 0xc
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx edx, al
test edx, edx
jne 0x100f29b8
push 0xe
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx eax, al
test eax, eax
jne 0x100f29b8
push 0xf
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx ecx, al
test ecx, ecx
jne 0x100f29b8
push 0x41
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx edx, al
test edx, edx
jne 0x100f29b8
push 0x4e
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx eax, al
test eax, eax
je 0x100f29bd
jmp 0x100f32bf
cmp dword [0x10295ef0], 1
jne 0x100f29cb
jmp 0x100f32bf
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x100f2cd7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100f2cd7
mov eax, 0x40
imul ecx, eax, 0xc6
movzx edx, byte [ecx + 0x104e2d9d]
cmp edx, 1
jne 0x100f2cd7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x104fb478]
add ecx, 0xbb8
cmp eax, ecx
ja 0x100f2a2f
jmp 0x100f32bf
mov edx, dword [ebp + 8]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd0]
movsx ecx, word [eax]
test ecx, ecx
jge 0x100f2a4a
jmp 0x100f32bf
push 8
push 0xdf
push 0xf3
lea ecx, [ebp - 0x14]
call fcn.100285f0
mov dword [ebp - 0xd8], 0
cmp dword [0x1020f0cc], 0
je 0x100f2bb4
cvtsi2ss xmm0, dword [0xe61e58]
divss xmm0, dword [0xe7c3d8]
cvttss2si edx, xmm0
mov dword [ebp - 0xd8], edx
mov byte [ebp - 0xd], 0xff
push 9
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx eax, al
test eax, eax
je 0x100f2ac3
push 0xd
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx ecx, al
test ecx, ecx
je 0x100f2ac3
jmp 0x100f32bf
xorps xmm0, xmm0
movss dword [ebp - 0xdc], xmm0
push 0x10
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx edx, al
test edx, edx
je 0x100f2af1
movss xmm0, dword [0xd24e88]
movss dword [ebp - 0xdc], xmm0
cvtsi2ss xmm0, dword [0x879340c]
mov eax, dword [ebp - 0xd8]
sub eax, 0xbe
cvtsi2ss xmm1, eax
subss xmm1, dword [ebp - 0xdc]
comiss xmm0, xmm1
jbe 0x100f2b3a
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov ecx, dword [ebp - 0xd0]
movsx edx, byte [ecx + 0x43]
mov eax, dword [ebp - 0xd0]
movsx ecx, byte [eax + 0x44]
lea edx, [edx + ecx*8 + 0xc]
mov byte [ebp - 0xe], dl
jmp 0x100f2bab
push 0x4d
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx eax, al
test eax, eax
je 0x100f2bab
cvtsi2ss xmm0, dword [0x879340c]
mov ecx, dword [ebp - 0xd8]
sub ecx, 0x17c
cvtsi2ss xmm1, ecx
subss xmm1, dword [ebp - 0xdc]
comiss xmm0, xmm1
jbe 0x100f2bab
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov edx, dword [ebp - 0xd0]
movsx eax, byte [edx + 0x43]
mov ecx, dword [ebp - 0xd0]
movsx edx, byte [ecx + 0x44]
lea eax, [eax + edx*8 + 0x4c]
mov byte [ebp - 0xe], al
cmp dword [0x8793410], 0x82
jle 0x100f2bab
movzx ecx, byte [ebp - 0xe]
add ecx, 0x20
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xd], 0
jmp 0x100f2cc1
push 9
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx edx, al
test edx, edx
je 0x100f2be4
push 0xd
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx eax, al
test eax, eax
je 0x100f2be4
jmp 0x100f32bf
xorps xmm0, xmm0
movss dword [ebp - 0xe0], xmm0
push 0x10
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx ecx, al
test ecx, ecx
je 0x100f2c12
movss xmm0, dword [0xd24e88]
movss dword [ebp - 0xe0], xmm0
cvtsi2ss xmm0, dword [0x879340c]
movss xmm1, dword [0x101fb754]
subss xmm1, dword [ebp - 0xe0]
comiss xmm0, xmm1
jbe 0x100f2c54
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov edx, dword [ebp - 0xd0]
movsx eax, byte [edx + 0x43]
mov ecx, dword [ebp - 0xd0]
movsx edx, byte [ecx + 0x44]
lea eax, [eax + edx*8 + 0xc]
mov byte [ebp - 0xe], al
jmp 0x100f2cbd
push 0x4d
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx ecx, al
test ecx, ecx
je 0x100f2cbd
cvtsi2ss xmm0, dword [0x879340c]
movss xmm1, dword [0x101fb55c]
subss xmm1, dword [ebp - 0xe0]
comiss xmm0, xmm1
jbe 0x100f2cbd
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov edx, dword [ebp - 0xd0]
movsx eax, byte [edx + 0x43]
mov ecx, dword [ebp - 0xd0]
movsx edx, byte [ecx + 0x44]
lea eax, [eax + edx*8 + 0x4c]
mov byte [ebp - 0xe], al
cmp dword [0x8793410], 0x82
jle 0x100f2cbd
movzx ecx, byte [ebp - 0xe]
add ecx, 0x20
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xd], 0
movzx edx, byte [ebp - 0x13]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.1011a530
add esp, 8
jmp 0x100f32bf
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x100f2e1e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100f2e1e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x104fb478]
add ecx, 0xbb8
cmp eax, ecx
ja 0x100f2d20
jmp 0x100f32bf
mov edx, dword [ebp + 8]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0xe4]
movsx ecx, byte [eax + 0x61]
test ecx, ecx
jg 0x100f2d4d
mov edx, dword [ebp - 0xe4]
movsx eax, word [edx]
push eax
call fcn.100f2850
add esp, 4
test eax, eax
je 0x100f2d52
jmp 0x100f32bf
mov ecx, dword [ebp - 0xe4]
movsx edx, word [ecx]
push edx
mov ecx, 0x10256704
call fcn.1006ac60
movzx eax, al
test eax, eax
je 0x100f2d72
jmp 0x100f32bf
mov byte [ebp - 0xc8], 0
push 0xb3
push 0
lea ecx, [ebp - 0xc7]
push ecx
call fcn.1019bb90
add esp, 0xc
mov edx, dword [0x7e452a]
push edx
lea eax, [ebp - 0xbb]
push eax
call fcn.100f3b70
add esp, 8
push 0xa
mov ecx, dword [0x8128ac4]
push ecx
push 0xa
mov edx, 1
imul eax, edx, 0
lea ecx, [ebp + eax - 0xc5]
push ecx
call fcn.100f3c30
add esp, 0x10
push 0x6b
mov edx, dword [ebp + 8]
push edx
push 0x6b
mov eax, 1
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x7f]
push edx
call fcn.100f3c30
add esp, 0x10
push 0xb4
push 0x78
lea ecx, [ebp - 0xc8]
call fcn.100777e0
movzx eax, byte [ebp - 0xc7]
push eax
lea ecx, [ebp - 0xc8]
push ecx
call fcn.1011a530
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x104fb478], eax
jmp 0x100f32bf
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100f32bf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x104fb48c]
add ecx, 0x12c
cmp eax, ecx
jb 0x100f32bf
mov edx, dword [ebp + 8]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
movsx ecx, word [eax]
test ecx, ecx
jge 0x100f2e6a
jmp 0x100f32bf
mov edx, dword [ebp - 0xcc]
movsx eax, word [edx]
push eax
call fcn.100f28f0
add esp, 4
test eax, eax
je 0x100f2e94
mov ecx, dword [ebp - 0xcc]
movsx edx, byte [ecx + 0x16]
cmp edx, 1
jle 0x100f2e94
jmp 0x100f32bf
mov byte [ebp - 0xc], 0
xor eax, eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
push 8
push 1
push 0x79
lea ecx, [ebp - 0xc]
call fcn.100285f0
mov byte [ebp - 5], 0xff
mov dword [ebp - 0xd4], 0
cmp dword [0x1020f0cc], 0
je 0x100f30d7
cvtsi2ss xmm0, dword [0xe61e58]
divss xmm0, dword [0xe7c3d8]
cvttss2si ecx, xmm0
mov dword [ebp - 0xd4], ecx
push 9
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx edx, al
test edx, edx
je 0x100f2fe6
push 0xd
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx eax, al
test eax, eax
je 0x100f2fe6
mov ecx, dword [ebp - 0xd4]
sub ecx, 0xbe
cmp dword [0x879340c], ecx
jle 0x100f2f55
mov byte [ebp - 8], 0
mov byte [ebp - 7], 3
mov byte [ebp - 5], 0
mov edx, dword [ebp - 0xcc]
movsx eax, byte [edx + 0x43]
mov ecx, dword [ebp - 0xcc]
movsx edx, byte [ecx + 0x44]
lea eax, [eax + edx*8 + 0xc]
mov byte [ebp - 6], al
jmp 0x100f2fe1
push 0x4d
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx ecx, al
test ecx, ecx
je 0x100f2fbb
mov edx, dword [ebp - 0xd4]
sub edx, 0x17c
cmp dword [0x879340c], edx
jle 0x100f2fbb
mov byte [ebp - 8], 0
mov byte [ebp - 7], 3
mov byte [ebp - 5], 0
mov eax, dword [ebp - 0xcc]
movsx ecx, byte [eax + 0x43]
mov edx, dword [ebp - 0xcc]
movsx eax, byte [edx + 0x44]
lea ecx, [ecx + eax*8 + 0x4c]
mov byte [ebp - 6], cl
cmp dword [0x8793410], 0x82
jle 0x100f2fb9
movzx edx, byte [ebp - 6]
add edx, 0x20
mov byte [ebp - 6], dl
jmp 0x100f2fe1
mov byte [ebp - 8], 3
mov byte [ebp - 7], 0
mov byte [ebp - 5], 0
mov eax, dword [ebp - 0xcc]
movsx ecx, byte [eax + 0x43]
mov edx, dword [ebp - 0xcc]
movsx eax, byte [edx + 0x44]
lea ecx, [ecx + eax*8]
mov byte [ebp - 6], cl
jmp 0x100f30d2
xorps xmm0, xmm0
movss dword [ebp - 0xe8], xmm0
push 0x10
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx edx, al
test edx, edx
je 0x100f3014
movss xmm0, dword [0xd24e88]
movss dword [ebp - 0xe8], xmm0
cvtsi2ss xmm0, dword [0x879340c]
mov eax, dword [ebp - 0xd4]
sub eax, 0xbe
cvtsi2ss xmm1, eax
subss xmm1, dword [ebp - 0xe8]
comiss xmm0, xmm1
jbe 0x100f305d
mov byte [ebp - 8], 0
mov byte [ebp - 7], 0
mov ecx, dword [ebp - 0xcc]
movsx edx, byte [ecx + 0x43]
mov eax, dword [ebp - 0xcc]
movsx ecx, byte [eax + 0x44]
lea edx, [edx + ecx*8 + 0xc]
mov byte [ebp - 6], dl
jmp 0x100f30ce
push 0x4d
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx eax, al
test eax, eax
je 0x100f30ce
cvtsi2ss xmm0, dword [0x879340c]
mov ecx, dword [ebp - 0xd4]
sub ecx, 0x17c
cvtsi2ss xmm1, ecx
subss xmm1, dword [ebp - 0xe8]
comiss xmm0, xmm1
jbe 0x100f30ce
mov byte [ebp - 8], 0
mov byte [ebp - 7], 0
mov edx, dword [ebp - 0xcc]
movsx eax, byte [edx + 0x43]
mov ecx, dword [ebp - 0xcc]
movsx edx, byte [ecx + 0x44]
lea eax, [eax + edx*8 + 0x4c]
mov byte [ebp - 6], al
cmp dword [0x8793410], 0x82
jle 0x100f30ce
movzx ecx, byte [ebp - 6]
add ecx, 0x20
mov byte [ebp - 6], cl
mov byte [ebp - 5], 0
jmp 0x100f32a3
push 9
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx edx, al
test edx, edx
je 0x100f31c6
push 0xd
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx eax, al
test eax, eax
je 0x100f31c6
cmp dword [0x879340c], 0x1cc
jle 0x100f313d
mov byte [ebp - 8], 0
mov byte [ebp - 7], 3
mov byte [ebp - 5], 0
mov ecx, dword [ebp - 0xcc]
movsx edx, byte [ecx + 0x43]
mov eax, dword [ebp - 0xcc]
movsx ecx, byte [eax + 0x44]
lea edx, [edx + ecx*8 + 0xc]
mov byte [ebp - 6], dl
jmp 0x100f31c1
push 0x4d
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx eax, al
test eax, eax
je 0x100f319b
cmp dword [0x879340c], 0x104
jle 0x100f319b
mov byte [ebp - 8], 0
mov byte [ebp - 7], 3
mov byte [ebp - 5], 0
mov ecx, dword [ebp - 0xcc]
movsx edx, byte [ecx + 0x43]
mov eax, dword [ebp - 0xcc]
movsx ecx, byte [eax + 0x44]
lea edx, [edx + ecx*8 + 0x4c]
mov byte [ebp - 6], dl
cmp dword [0x8793410], 0x82
jle 0x100f3199
movzx eax, byte [ebp - 6]
add eax, 0x20
mov byte [ebp - 6], al
jmp 0x100f31c1
mov byte [ebp - 8], 3
mov byte [ebp - 7], 0
mov byte [ebp - 5], 0
mov ecx, dword [ebp - 0xcc]
movsx edx, byte [ecx + 0x43]
mov eax, dword [ebp - 0xcc]
movsx ecx, byte [eax + 0x44]
lea edx, [edx + ecx*8]
mov byte [ebp - 6], dl
jmp 0x100f32a3
xorps xmm0, xmm0
movss dword [ebp - 0xec], xmm0
push 0x10
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx eax, al
test eax, eax
je 0x100f31f4
movss xmm0, dword [0xd24e88]
movss dword [ebp - 0xec], xmm0
cvtsi2ss xmm0, dword [0x879340c]
movss xmm1, dword [0x101fb754]
subss xmm1, dword [ebp - 0xec]
comiss xmm0, xmm1
jbe 0x100f3236
mov byte [ebp - 8], 0
mov byte [ebp - 7], 0
mov ecx, dword [ebp - 0xcc]
movsx edx, byte [ecx + 0x43]
mov eax, dword [ebp - 0xcc]
movsx ecx, byte [eax + 0x44]
lea edx, [edx + ecx*8 + 0xc]
mov byte [ebp - 6], dl
jmp 0x100f329f
push 0x4d
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx eax, al
test eax, eax
je 0x100f329f
cvtsi2ss xmm0, dword [0x879340c]
movss xmm1, dword [0x101fb55c]
subss xmm1, dword [ebp - 0xec]
comiss xmm0, xmm1
jbe 0x100f329f
mov byte [ebp - 8], 0
mov byte [ebp - 7], 0
mov ecx, dword [ebp - 0xcc]
movsx edx, byte [ecx + 0x43]
mov eax, dword [ebp - 0xcc]
movsx ecx, byte [eax + 0x44]
lea edx, [edx + ecx*8 + 0x4c]
mov byte [ebp - 6], dl
cmp dword [0x8793410], 0x82
jle 0x100f329f
movzx eax, byte [ebp - 6]
add eax, 0x20
mov byte [ebp - 6], al
mov byte [ebp - 5], 0
movzx ecx, byte [ebp - 0xb]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.1011a530
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x104fb48c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1c5
mov esp, ebp
pop ebp
ret