Function at 0x4bd9b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5523a0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
cmp edi, 1
jne 0x4bda3a
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push edi
mov ecx, esi
call fcn.0046ce70
mov edx, dword [esi + 0x88]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edx
mov edi, eax
mov eax, dword [esi + 0x20]
push 0xcc
push eax
call ebx
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x20]
push 0
push ecx
push 0xc5
push edx
call ebx
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 0xf
jne 0x4bdb8d
push esi
lea ecx, [esp + 0x2c]
call fcn.004ea297
xor edi, edi
mov dword [esp + 0x48], edi
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004edd60
cmp eax, edi
je 0x4bda7a
cmp esi, edi
mov eax, dword [eax + 0x20]
jne 0x4bda6e
xor ecx, ecx
jmp 0x4bda71
mov ecx, dword [esi + 0x20]
cmp eax, ecx
jne 0x4bda7a
mov edi, 1
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x523
push 0x522
push 0xe
push eax
call ebx
test edi, edi
jne 0x4bdb77
test eax, eax
jg 0x4bdb77
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push 0xf
mov ecx, esi
call fcn.0046ce70
push 0
push 0
mov edi, eax
mov eax, dword [esi + 0x20]
push 0x31
push eax
call ebx
push eax
call fcn.004ea4bd
push eax
lea ecx, [esp + 0x2c]
call fcn.004ea5a3
push 0xc8c6c5
lea ecx, [esp + 0x2c]
mov ebx, eax
call fcn.004e9bfd
push 1
lea ecx, [esp + 0x2c]
call fcn.004e9ba1
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
add esi, 0x84
call fcn.00417250
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
call fcn.00417990
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push 0x824
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x68]
lea ecx, [esp + 0x38]
call edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 0
call fcn.004165f0
push ebx
lea ecx, [esp + 0x2c]
call fcn.004ea5a3
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 0xffffffff
call fcn.004ea2eb
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 0xffffffff
call fcn.004ea2eb
mov edi, dword [ebp + 8]
jmp 0x4bdc09
cmp edi, 0xd
je 0x4bdb97
cmp edi, 0xe
jne 0x4bdbc0
cmp dword [ebp + 0xc], 0x522
je 0x4bdbc0
cmp dword [ebp + 0x10], 0x523
je 0x4bdbc0
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 0xc49
jne 0x4bdbd4
mov dword [ebp + 8], 0xd
mov edi, dword [ebp + 8]
jmp 0x4bdc09
cmp edi, 0x301
je 0x4bdc2e
cmp edi, 0x300
je 0x4bdc2e
cmp edi, 0x302
je 0x4bdc2e
cmp edi, 0x204
je 0x4bdc2e
cmp edi, 0x200
jne 0x4bdc09
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x4bdc2e
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push edi
mov ecx, esi
call fcn.0046ce70
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc