Function at 0x430e20
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x65f018]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], edi
test edi, edi
jne 0x430e62
push edi
call fcn.004531f0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 4]
cmp eax, 0x100
je 0x430e77
cmp eax, 0x104
jne 0x430fa1
cmp dword [edi + 8], 9
jne 0x430f8c
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0044a9b2
test eax, eax
je 0x430f8c
mov esi, dword [eax + 0x20]
xorps xmm0, xmm0
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], esi
push eax
push dword [ebx + 0x20]
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x34], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x128]
xor esi, esi
lea ecx, [eax + eax*2]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x14], ecx
cmp dword [esp + 0xc], esi
je 0x430f32
cmp dword [ebx + 0x4138], esi
je 0x430f32
push dword [ebx + 0x4138]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x430f20
mov eax, dword [esp + 0xc]
cmp eax, dword [ebx + 0x4228]
jne 0x430f20
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [ebx + 0x4138]
jne 0x430f20
mov al, 1
jmp 0x430f22
xor al, al
test al, al
je 0x430f2e
mov esi, dword [ebx + 0x120]
jmp 0x430f50
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
add eax, ecx
cmp eax, dword [esp + 0x28]
jl 0x430f42
mov esi, ecx
jmp 0x430f52
mov eax, dword [esp + 0x30]
sub eax, ecx
cmp eax, dword [esp + 0x20]
jg 0x430f52
mov esi, ecx
neg esi
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x430f80
mov eax, dword [esp + 0xc]
cmp eax, dword [ebx + 0x150]
je 0x430f7a
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [ebx + 0x150]
jne 0x430f80
mov esi, dword [ebx + 0x120]
test esi, esi
je 0x430f8c
push esi
mov ecx, ebx
call fcn.00431710
mov eax, dword [edi + 8]
cmp eax, 0x1b
je 0x431036
cmp eax, 0xd
je 0x431036
cmp byte [ebx + 0x10c], 0
jne 0x43101a
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x20]
movups xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [edi + 0x18]
lea eax, [esp + 0x20]
push dword [edi + 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x43101a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [ebx + 0x20]
je 0x43101a
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, eax
push 1
push edi
push ebx
call esi
mov eax, dword [esp + 0x10]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
push ebx
call esi
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
push edi
mov ecx, ebx
call fcn.004531f0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x3c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret 4