Function at 0x10133717
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x1034b437
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ecx, dword [0x105e20f4]
test ecx, ecx
je 0x10133a09
mov ecx, dword [ecx]
test ecx, ecx
je 0x10133a09
mov eax, dword [ecx]
call dword [eax + 0x44]
mov esi, eax
test esi, esi
je 0x10133a09
mov edi, dword [esp + 0xc0]
sar edi, 0x10
and edi, 0xff
call fcn.100f9e50
mov ebx, dword [esp + 0xbc]
mov cl, byte [eax + 1]
lea eax, [ebx - 0x23]
cmp eax, 5
ja case.default.0x1013368c
jmp dword [eax*4 + 0x10133a34]
push 0x1055c82c
lea ecx, [esp + 0x18]
call fcn.100cc220
mov dword [esp + 0xb0], 0
lea ecx, [esp + 0x14]
call fcn.100d7b20
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.100cc270
push 0
push 0x138d
jmp 0x10133868
push 0x1055c828
lea ecx, [esp + 0x78]
call fcn.100cc220
mov dword [esp + 0xb0], 1
lea ecx, [esp + 0x74]
call fcn.100d7b20
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x74]
call fcn.100cc270
push 0
push 0x138e
jmp 0x10133868
test cl, cl
mov edx, 0x1055c830
mov eax, 0x1055c834
lea ecx, [esp + 0x2c]
cmove eax, edx
push eax
call fcn.100cc220
mov dword [esp + 0xb0], 2
lea ecx, [esp + 0x2c]
call fcn.100d7b20
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.100cc270
push 0
push 0x13a9
jmp 0x10133868
test cl, cl
mov edx, 0x1055c7fc
mov eax, 0x1055c800
lea ecx, [esp + 0x44]
cmove eax, edx
push eax
call fcn.100cc220
mov dword [esp + 0xb0], 3
lea ecx, [esp + 0x44]
call fcn.100d7b20
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.100cc270
push 0
push 0x13aa
jmp 0x10133868
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x44]
jl 0x101337c1
test edi, edi
je case.default.0x1013368c
test cl, cl
mov edx, 0x1055c804
mov eax, 0x1055c808
lea ecx, [esp + 0x5c]
cmove eax, edx
push eax
call fcn.100cc220
mov dword [esp + 0xb0], 4
lea ecx, [esp + 0x5c]
call fcn.100d7b20
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.100cc270
push 0
push 0x13ab
jmp 0x10133868
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x44]
jl 0x10133817
test edi, edi
je case.default.0x1013368c
test cl, cl
mov edx, 0x1055c80c
mov eax, 0x1055c810
lea ecx, [esp + 0x8c]
cmove eax, edx
push eax
call fcn.100cc220
mov dword [esp + 0xb0], 5
lea ecx, [esp + 0x8c]
call fcn.100d7b20
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x8c]
call fcn.100cc270
push 0
push 0x13ac
call fcn.100f9e50
mov ecx, eax
call fcn.100fcac0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10133985
cmp ebx, 0x41
jne 0x10133909
push 0x1055c818
lea ecx, [esp + 0x18]
call fcn.100cc220
mov dword [esp + 0xb0], 6
lea ecx, [esp + 0x14]
call fcn.100d7b20
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x101338d0
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.100f9e50
mov esi, eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10133a09
push 0
push 0x413
jmp 0x101339fb
cmp ebx, 0x43
jne 0x10133985
push 0x1055c814
lea ecx, [esp + 0x18]
call fcn.100cc220
mov dword [esp + 0xb0], 7
lea ecx, [esp + 0x14]
call fcn.100d7b20
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x1013394f
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.100f9e50
mov esi, eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10133a09
push 0
push 0x412
jmp 0x101339fb
cmp ebx, 0x20
jne 0x10133a09
push 0x1055c83c
lea ecx, [esp + 0x18]
call fcn.100cc220
mov dword [esp + 0xb0], 8
lea ecx, [esp + 0x14]
call fcn.100d7b20
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x101339cb
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.100f9e50
mov esi, eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10133a09
push 0
push 0x13ae
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1033d458
add esp, 0xa4
ret 0x10