Function at 0x4a3328
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor ecx, ecx
mov eax, 0x105
inc ecx
mov dword [ebp - 4], ecx
mov esi, dword [edi + 4]
cmp esi, eax
ja 0x4a35d6
je 0x4a34ee
cmp esi, 0xa8
ja 0x4a33a6
cmp esi, 0xa7
jae 0x4a3389
cmp esi, 0x7b
je 0x4a33da
cmp esi, 0xa0
jbe 0x4a344d
cmp esi, 0xa2
jbe 0x4a3389
lea eax, [esi - 0xa4]
cmp eax, ecx
ja 0x4a344d
push dword [edi]
movsx ecx, word [edi + 0xe]
movsx edx, word [edi + 0xc]
push ecx
push edx
push esi
lea ecx, [ebx + 0x134]
call fcn.004bfd23
jmp 0x4a3449
sub esi, 0x100
je 0x4a345e
sub esi, 4
jne 0x4a344d
mov ecx, dword [ebx + 0x230]
test ecx, ecx
je 0x4a33da
push dword [edi + 0xc]
push dword [edi + 8]
push ebx
call fcn.005226ca
test eax, eax
je 0x4a33da
xor eax, eax
inc eax
jmp 0x4a3455
call fcn.00443765
xor esi, esi
cmp dword [eax + 0x1a4], esi
jne 0x4a340a
call fcn.00443765
cmp dword [eax + 0x1a0], esi
jne 0x4a340a
call fcn.00443765
mov dword [eax + 0x1a0], 1
call fcn.00465e9b
mov eax, dword [0x61a73c]
test eax, eax
je 0x4a343a
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a343a
cmp dword [edi + 8], 0x12
jne 0x4a343a
mov eax, dword [0x61a73c]
push esi
push esi
push 0x10
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4a33d5
push esi
push dword [edi + 8]
lea ecx, [ebx + 0x134]
call fcn.004bfa96
test eax, eax
jne 0x4a33d5
push edi
mov ecx, ebx
call fcn.00477186
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.004be788
test eax, eax
jne 0x4a3482
lea eax, [ebp - 4]
push eax
push dword [edi + 8]
lea ecx, [ebx + 0x134]
call fcn.004bfa96
test eax, eax
jne 0x4a33d5
cmp dword [edi + 8], 0x1b
jne 0x4a34dd
xor esi, esi
cmp dword [ebx + 0x204], esi
je 0x4a349e
push ebx
lea ecx, [ebx + 0x1ec]
call fcn.005381a3
mov ecx, dword [ebx + 0x3f0]
test ecx, ecx
je 0x4a34b7
cmp dword [ecx + 8], esi
je 0x4a34b7
cmp dword [ecx + 4], esi
je 0x4a34b7
call fcn.00528032
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0043d5d0
push eax
push 0x5c6b90
call fcn.004482ad
pop ecx
pop ecx
test eax, eax
je 0x4a34dd
push esi
push esi
push 0x1f
jmp 0x4a342f
cmp dword [ebp - 4], 0
jne 0x4a344d
xor eax, eax
jmp 0x4a3455
mov ecx, dword [ebx + 0x230]
test ecx, ecx
je 0x4a350c
push dword [edi + 0xc]
push dword [edi + 8]
push ebx
call fcn.0052281b
test eax, eax
jne 0x4a33d5
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 0xf
and eax, 1
push 0x10
mov dword [ebp - 0xc], eax
call esi
push dword [ebx + 0x20]
shr eax, 0xf
and eax, 1
mov dword [ebp - 0x10], eax
call fcn.0056672e
xor esi, esi
mov dword [ebp - 8], eax
test eax, eax
je 0x4a354e
push eax
call fcn.0056673a
mov dword [ebp + 8], 1
test eax, eax
jne 0x4a3551
mov dword [ebp + 8], esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x4a3561
push eax
push dword [ebx + 0x20]
call fcn.00566734
cmp dword [ebx + 0x1e0], esi
je 0x4a35bb
cmp dword [edi + 8], 0x12
je 0x4a3584
cmp dword [edi + 8], 0x79
jne 0x4a35bb
cmp dword [ebp - 0xc], esi
jne 0x4a35bb
cmp dword [ebp - 0x10], esi
jne 0x4a35bb
cmp dword [ebp + 8], esi
jne 0x4a35bb
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0043d5d0
mov ecx, dword [ebx + 0x1e0]
cmp ecx, eax
jne 0x4a359e
mov ecx, ebx
jmp 0x4a35b1
cmp dword [edi + 8], 0x12
je 0x4a35b1
test dword [edi + 0xc], 0x20000000
jne 0x4a33d5
call fcn.00444570
jmp 0x4a33d5
mov eax, dword [0x61a73c]
test eax, eax
je 0x4a344d
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x4a3449
cmp esi, 0x200
je 0x4a369d
cmp esi, 0x201
je 0x4a3634
cmp esi, 0x203
jbe 0x4a344d
cmp esi, 0x205
jbe 0x4a3634
cmp esi, 0x206
jbe 0x4a344d
cmp esi, 0x208
jbe 0x4a3634
cmp esi, 0x20a
jne 0x4a344d
push dword [edi + 0xc]
lea ecx, [ebx + 0x134]
push dword [edi + 8]
call fcn.004c03db
jmp 0x4a3449
movsx eax, word [edi + 0xc]
push dword [edi]
mov dword [ebp - 0x14], eax
movsx eax, word [edi + 0xe]
mov dword [ebp - 0x10], eax
call fcn.0043d5d0
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebp + 8], eax
test eax, eax
je 0x4a366e
push dword [edi]
call esi
test eax, eax
je 0x4a366e
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [edi]
lea ecx, [ebx + 0x134]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [edi + 4]
call fcn.004bfd23
test eax, eax
jne 0x4a33d5
push dword [edi]
call esi
test eax, eax
jne 0x4a344d
jmp 0x4a33d5
movsx eax, word [edi + 0xc]
push dword [edi]
mov dword [ebp - 0x14], eax
movsx eax, word [edi + 0xe]
mov dword [ebp - 0x10], eax
call fcn.0043d5d0
test eax, eax
je 0x4a36c3
lea ecx, [ebp - 0x14]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x10]
lea ecx, [ebx + 0x134]
push dword [ebp - 0x14]
call fcn.004c02f3
jmp 0x4a3449