Function at 0x4eb370
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x54]
push ebp
push esi
mov esi, dword [esp + 0x60]
push edi
xor edi, edi
mov ebp, ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax], edi
push ecx
mov dword [esp + 0x18], 0x1000
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esi], edi
call dword [sym.imp.user32.dll_SetRectEmpty]
push 0x11
call dword [sym.imp.user32.dll_GetKeyState]
test ax, ax
jl 0x4eb5a9
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x58]
push esi
push edx
push eax
push ecx
mov ecx, ebp
call fcn.004eb290
test eax, eax
je 0x4eb5a9
mov ecx, dword [esi]
cmp ecx, edi
je 0x4eb5a9
mov edx, dword [ecx]
push ebx
call dword [edx + 0x158]
mov ecx, dword [esi]
mov ebx, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x1e4]
test eax, eax
je 0x4eb409
mov ebx, 0xf000
mov edi, dword [esp + 0x54]
push 0x5a4508
mov ecx, edi
call fcn.005269f6
test eax, eax
push edi
je 0x4eb436
push 0x5a4508
call fcn.00526a01
mov edx, dword [eax]
add esp, 8
mov ecx, eax
call dword [edx + 0x170]
push eax
push 0x5751b0
call fcn.00526a01
add esp, 8
test eax, eax
je 0x4eb459
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x15c]
test ebx, eax
je 0x4eb5a8
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4eb469
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4eb4af
mov edx, dword [esi]
mov ebx, dword [esp + 0x64]
xor eax, eax
test edx, edx
setne al
test eax, eax
mov dword [ebx], eax
je 0x4eb5a8
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x154]
test eax, eax
je 0x4eb4a1
push edi
mov ecx, ebp
call fcn.004eac90
test eax, eax
je 0x4eb4a1
mov eax, 1
jmp 0x4eb4a3
xor eax, eax
test eax, eax
mov dword [ebx], eax
je 0x4eb5a8
jmp 0x4eb4b3
mov ebx, dword [esp + 0x64]
mov ecx, dword [esi]
test ecx, ecx
je 0x4eb4ff
mov edx, dword [ecx]
push 0
call dword [edx + 0x1e4]
test eax, eax
je 0x4eb4d7
push edi
mov ecx, ebp
call fcn.004eace0
test eax, eax
je 0x4eb5a2
cmp dword [esi], 0
je 0x4eb4ff
push 0x5758e0
mov ecx, edi
call fcn.005269f6
test eax, eax
je 0x4eb4ff
mov ecx, dword [esi]
mov eax, dword [ecx]
push edi
call dword [eax + 0x14c]
test eax, eax
je 0x4eb5a2
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.user32.dll_GetWindowRect]
cmp dword [esi], edi
je 0x4eb5a2
push 0x5a4508
mov ecx, edi
call fcn.005269f6
test eax, eax
je 0x4eb538
mov ecx, dword [esi]
mov edx, dword [ecx]
push 0
call dword [edx + 0x1e4]
cmp eax, edi
je 0x4eb5a2
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x1c]
push eax
xor ebp, ebp
push ecx
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x64], ebp
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov edx, ebp
push edx
push ebp
push ebx
push esi
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x74]
call fcn.00502c70
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
pop ebx
mov dword [eax], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
pop ebp
add esp, 0x3c
ret 0x1c
mov dword [ebx], 0
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x3c
ret 0x1c