Function at 0x11056f80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov ecx, dword [esi + 0xa8]
push edi
mov dword [ebp - 4], ecx
cmp eax, 0x100
ja 0x110570a6
je 0x1105704c
add eax, 0xfffffffa
cmp eax, 0xa
ja case.0x11056fbe.9
movzx eax, byte [eax + 0x11057214]
jmp dword [eax*4 + 0x11057200]
test ebx, ebx
je case.0x11056fbe.9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x11056fbe.9
mov edx, dword [esi + 0xc]
push 0x1396
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push 0
lea eax, [ebp - 0x14]
push eax
push edi
mov ecx, esi
call fcn.11056990
mov ecx, dword [ebp - 0xc]
push ecx
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_CreateCaret]
push 1
push 0
push edi
mov ecx, esi
call fcn.11056990
push 0
call dword [sym.imp.USER32.dll_ShowCaret]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.USER32.dll_DestroyCaret]
jmp case.0x11056fbe.9
test byte [ecx + 0x64], 2
je case.0x11056fbe.9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp ebx, 0x1b
jne 0x11057065
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 0
push 0
push 0x10
mov ecx, esi
call eax
jmp case.0x11056fbe.9
cmp ebx, 9
jne case.0x11056fbe.9
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [esi + 0xc]
mov ecx, 0x8000
and ax, cx
movzx eax, ax
neg eax
sbb eax, eax
and eax, 0x444
add eax, 0x1399
push eax
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x11056fbe.9
sub eax, 0x102
je 0x110570f4
sub eax, 0x15
je 0x110570cb
sub eax, 0x3eb
jne case.0x11056fbe.9
mov ecx, dword [ecx + 0x5c]
push ebx
call fcn.110ec920
jmp case.0x11056fbe.9
mov eax, dword [ebp + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
mov ecx, eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp + 0x10]
movzx eax, ax
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov ecx, esi
call edx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
movzx edi, bx
sar eax, 0x10
mov dword [ebp + 0x10], edi
test al, al
jne 0x11057142
cmp dword [esi + 0xbc], 0
jne 0x11057126
push ebx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x11057142
movzx ecx, bx
mov dword [esi + 0xbc], ecx
jmp case.0x11056fbe.9
mov edx, ebx
shl edx, 8
or dx, word [esi + 0xbc]
mov dword [esi + 0xbc], 0
movzx edi, dx
mov dword [ebp + 0x10], edi
cmp di, 0x20
jae 0x1105715e
movzx eax, di
push eax
push 0x11204100
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
je 0x11057187
push 0
push 1
lea ecx, [ebp + 0x10]
push ecx
mov ecx, esi
call fcn.11056e20
movzx edx, word [esi + 0xc2]
mov ax, word [ebp + 0x10]
mov word [esi + edx*2 + 0xc4], ax
inc word [esi + 0xc2]
cmp word [esi + 0xc2], 0xa
jae 0x110571ad
push 0
push 0x100
push 0x100
push 0
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne case.0x11056fbe.9
movzx edi, word [esi + 0xc2]
mov ecx, dword [ebp - 4]
lea eax, [esi + 0xc0]
mov edx, 0xd
mov word [eax], dx
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx]
push 1
lea edi, [edi + edi + 4]
push edi
push eax
mov eax, dword [edx + 0x48]
call eax
xor ecx, ecx
mov word [esi + 0xc2], cx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push ebx
push eax
push ecx
mov ecx, esi
call fcn.11139510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10