Function at 0x1005638a
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x68
mov eax, 0x10126186
call fcn.100a4f7d
mov esi, ecx
mov edi, dword [ebp + 0xc]
lea eax, [esi + 4]
neg ecx
mov dword [ebp - 0x48], edi
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.100158ab
mov dword [ebp - 0x3c], 0x10140960
mov eax, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ecx]
xor ebx, ebx
push edx
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x4c], ecx
call dword [eax + 0x1f4]
cmp dword [ebp - 0x14], ebx
jne 0x100565a2
cmp dword [ebp + 0x10], ebx
je 0x1005640b
cmp edi, 0xffffffff
je 0x10056564
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x3b8]
cmp dword [ecx + 8], ebx
sete al
mov dword [ecx + 8], eax
jmp 0x10056556
cmp dword [esi + 0x3b0], ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x10056422
cmp dword [esi + 0x3ac], 0
je 0x10056444
push 0x11
call ebx
test ax, ax
jns 0x10056444
cmp edi, 0xffffffff
je 0x10056564
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x3b8]
cmp dword [ecx + 8], eax
jmp 0x10056400
cmp dword [esi + 0x3b0], 0
jne 0x1005645a
cmp dword [esi + 0x3ac], 0
je 0x100564ed
push 0x10
call ebx
test ax, ax
jns 0x100564ed
cmp edi, 0xffffffff
je 0x10056564
xor eax, eax
mov ecx, edi
cmp dword [ebp + 8], 0xffffffff
cmovne eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp + 8], eax
mov edx, eax
cmovg ecx, eax
cmp ecx, eax
mov dword [ebp - 0x44], ecx
mov ecx, esi
cmove edx, edi
xor ebx, ebx
mov dword [ebp - 0x40], edx
call fcn.10055b8a
test eax, eax
jle 0x10056564
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x3b8]
add eax, edi
mov ecx, dword [eax + 8]
cmp ebx, dword [ebp - 0x40]
jl 0x100564c8
cmp ebx, dword [ebp - 0x44]
jg 0x100564c8
mov dword [eax + 8], 1
jmp 0x100564cc
and dword [eax + 8], 0
cmp ecx, dword [eax + 8]
je 0x100564d9
push ebx
mov ecx, esi
call fcn.10056ab2
mov ecx, esi
inc ebx
add edi, 0xc
call fcn.10055b8a
cmp ebx, eax
jl 0x100564aa
mov edi, dword [ebp - 0x48]
jmp 0x10056564
or dword [esi + 0x36c], 0xffffffff
mov ecx, esi
xor ebx, ebx
call fcn.10055b8a
test eax, eax
jle 0x10056541
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov eax, dword [esi + 0x3b8]
cmp ebx, edi
je 0x1005652c
mov edx, dword [eax + ecx + 8]
test edx, edx
je 0x1005652c
and dword [eax + ecx + 8], 0
test edx, edx
je 0x1005652c
push ebx
mov ecx, esi
call fcn.10056ab2
mov ecx, dword [ebp - 0x40]
add ecx, 0xc
inc ebx
mov dword [ebp - 0x40], ecx
mov ecx, esi
call fcn.10055b8a
mov ecx, dword [ebp - 0x40]
cmp ebx, eax
jl 0x10056506
cmp edi, 0xffffffff
je 0x10056564
imul eax, edi, 0xc
add eax, dword [esi + 0x3b8]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x36c], edi
call fcn.10056ab2
lea eax, [esi + 4]
neg esi
lea ecx, [ebp - 0x74]
sbb esi, esi
and esi, eax
push esi
call fcn.100158ab
mov dword [ebp - 0x74], 0x10140a18
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x74]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
push edx
mov eax, dword [ecx]
push ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x54], edi
call dword [eax + 0x1f4]
lea ecx, [ebp - 0x74]
call fcn.10016144
lea ecx, [ebp - 0x3c]
call fcn.10016144
call fcn.100a4f27
ret 0xc