Function at 0x10141630
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101fc50d
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
cmp byte [ebx + 0x50], 0
mov dword [esp + 0x1c], eax
jne 0x101417f0
lea ecx, [esp + 0x34]
push ecx
lea esi, [ebx - 0xa8]
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 4]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push eax
push 0
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 4]
push 0x1111
push ecx
mov dword [esp + 0x50], edx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
mov dword [esp + 0x18], eax
je 0x101417f0
cmp dword [ebx + 8], 0
je 0x101417f0
push esi
call fcn.1002e370
push 0
lea eax, [esp + 0x24]
xor ecx, ecx
xor edx, edx
mov byte [ebx - 0x7f], 1
call fcn.1002d430
xor edi, edi
call fcn.1002da60
mov edi, dword [esp + 0x18]
mov dword [ebx - 0x74], eax
mov eax, esi
call fcn.1002dad0
test al, al
jne 0x10141728
call fcn.1002d900
xor edi, edi
jmp 0x1014173b
mov eax, dword [esi + 0x48]
xor edi, edi
cmp eax, edi
je 0x1014173b
push eax
call dword [sym.imp.WINMM.dll_timeKillEvent]
mov dword [esi + 0x48], edi
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [esp + 0x18]
push edx
mov ecx, esi
shr eax, 7
and al, 1
mov byte [esp + 0x1b], al
call fcn.1013cf00
mov esi, eax
cmp esi, edi
mov dword [esp + 0x18], esi
jne 0x1014176d
cmp byte [esp + 0x17], 0
je 0x10141985
lea eax, [esp + 0x4c]
push eax
call fcn.1006bd00
mov dword [esp + 0x120], edi
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x4c]
push eax
push esi
call edx
test al, al
je 0x101419b5
mov ecx, dword [ebx - 0x7c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov byte [esp + 0x120], 1
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push 0xd
push eax
call fcn.1019fef0
add esp, 0xc
cmp esi, 0xffffffff
jne 0x10141818
mov byte [esp + 0x120], 0
lea esi, [esp + 0x24]
call fcn.100025b0
mov dword [esp + 0x120], 0xffffffff
lea ecx, [esp + 0x4c]
push ecx
call fcn.10007e40
xor eax, eax
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.101d19cc
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x24]
call fcn.10056be0
test eax, eax
jbe 0x1014190c
lea esp, [esp]
lea esi, [esp + 0x24]
call fcn.10031bd0
cmp dword [eax + 0x18], 8
jb 0x10141844
mov eax, dword [eax + 4]
jmp 0x10141847
add eax, 4
call fcn.1019c340
mov esi, eax
mov eax, dword [esp + 0x18]
cmp esi, eax
je 0x101417ca
push eax
push esi
push ecx
mov ecx, dword [ebx + 8]
test ecx, ecx
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], ecx
je 0x10141872
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov byte [esp + 0x12c], 2
mov byte [esp + 0x12c], 1
call fcn.100f34b0
add esp, 0xc
test al, al
jne 0x101417ca
cmp byte [esp + 0x17], al
je 0x101418f8
lea ecx, [esp + 0xac]
push ecx
call fcn.1006bd00
mov byte [esp + 0x120], 3
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0xac]
push eax
push esi
call edx
test al, al
jne 0x101418d6
mov byte [esp + 0x120], 1
lea eax, [esp + 0xac]
push eax
jmp 0x101418f3
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0xb4]
je 0x1014193c
mov byte [esp + 0x120], 1
lea edx, [esp + 0xac]
push edx
call fcn.10007e40
lea ecx, [esp + 0x24]
add edi, 1
call fcn.10056be0
cmp edi, eax
jb 0x10141830
mov byte [esp + 0x120], 0
lea esi, [esp + 0x24]
call fcn.100025b0
mov dword [esp + 0x120], 0xffffffff
lea edx, [esp + 0x4c]
push edx
call fcn.10007e40
mov eax, 1
jmp 0x101417f2
cmp dword [esp + 0x20], 0
jne 0x1014198f
cmp dword [esp + 0x4c], 1
jne 0x1014198f
mov byte [esp + 0x120], 1
lea eax, [esp + 0xac]
push eax
call fcn.10007e40
mov byte [esp + 0x120], 0
lea esi, [esp + 0x24]
call fcn.100025b0
mov dword [esp + 0x120], 0xffffffff
lea ecx, [esp + 0x4c]
push ecx
call fcn.10007e40
mov eax, 1
jmp 0x101417f2
mov byte [esp + 0x120], 1
lea edx, [esp + 0xac]
push edx
call fcn.10007e40
mov byte [esp + 0x120], 0
lea esi, [esp + 0x24]
call fcn.100025b0
mov dword [esp + 0x120], 0xffffffff
lea eax, [esp + 0x4c]
push eax
jmp 0x101417eb