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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034c9b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x101c6014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [ebp - 0x95], 0
call edi
sub eax, dword [0x101c6f30]
mov ebx, dword [ebp + 0xc]
cmp eax, 0xc8
jbe 0x10015045
call edi
sub eax, dword [0x101c6f34]
cmp eax, 0xc8
jbe 0x10015045
cmp byte [0x101c6f3d], 0
jne 0x10015045
cmp byte [0x101c6f3c], 0
jne 0x10015045
cmp byte [0x101c6f4a], 0
je 0x10015045
cmp byte [0x101c6e19], 0
jne 0x10015045
mov ecx, dword [0x101c6e28]
mov eax, dword [ebp + 8]
cmp ecx, eax
jl 0x10015045
add eax, 0x3c
cmp ecx, eax
ja 0x10015045
mov ecx, dword [0x101c6e2c]
cmp ecx, ebx
jl 0x10015045
lea eax, [ebx + 0x12]
cmp ecx, eax
ja 0x10015045
call edi
sub eax, dword [0x101e80b4]
cmp eax, 0xc8
jbe 0x10015045
mov byte [ebp - 0x95], 1
call edi
mov dword [0x101e80b4], eax
cmp dword [esi], 0xfffffffe
jne 0x10015092
call edi
sub eax, dword [0x101e80b4]
cmp eax, 0xc8
jbe 0x10015092
xor eax, eax
nop dword [eax + eax]
cmp byte [eax + 0x101c6f49], 0
je 0x10015082
cmp eax, 0x1b
je 0x1001508c
cmp eax, 1
je 0x1001508c
cmp eax, 2
je 0x1001508c
cmp eax, dword [0x101c7abc]
je 0x1001508c
mov dword [esi], eax
inc eax
cmp eax, 0xff
jb 0x10015060
jmp 0x10015092
mov dword [esi], 0xffffffff
cmp byte [ebp - 0x95], 0
je 0x100150fb
cmp dword [esi], 0xffffffff
jne 0x100150ee
mov dword [esi], 0xfffffffe
mov eax, 0xfffffffe
cmp eax, 0xfffffffe
jne 0x10015109
push str._Press_key_
push 2
push 0xff
push 0xdc
push 0xdc
push 0xdc
lea eax, [ebx + 9]
push eax
mov eax, dword [ebp + 8]
add eax, 0x1e
push eax
push dword [0x101c6df8]
push 0x101c6dfc
call fcn.1000cc80
add esp, 0x28
jmp 0x1001521f
mov dword [esi], 0xffffffff
push str._No_key_
jmp 0x100150b5
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x100150ab
push str._No_key_
jmp 0x100150b5
movzx esi, al
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
add esi, 0xffffffdf
cmp esi, 0x6f
ja case.0x10015124.41
movzx ecx, byte [esi + 0x10015280]
jmp dword [ecx*4 + 0x10015278]
or eax, 0x100
push 0x80
lea ecx, [ebp - 0x94]
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
je 0x1001523d
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0xb0], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015172
sub ecx, edx
lea eax, [ebp - 0x94]
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.100012a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 0x10
cmovae eax, dword [ebp - 0xb0]
push eax
push str.__s_
push 2
push 0xff
push 0xdc
push 0xdc
push 0xdc
lea eax, [ebx + 9]
push eax
mov eax, dword [ebp + 8]
add eax, 0x1e
push eax
push dword [0x101c6df8]
push 0x101c6dfc
call fcn.1000cc80
mov edx, dword [ebp - 0x9c]
add esp, 0x2c
cmp edx, 0x10
jb 0x1001521f
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015215
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10015215
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1003295f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100325d8
mov esp, ebp
pop ebp
ret 0xc
call fcn.10010ee0
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xb8]
call fcn.10010840
push dword [eax + 4]
push dword [eax]
push ecx
lea ecx, [ebp - 0xcc]
call fcn.10010b50
push 0x101c3d54
lea eax, [ebp - 0xcc]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
nop
sub edx, dword [ecx + 1]
adc byte [eax], dh
push ecx
add dword [eax], edx
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax