Function at 0x4554c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4ccbf8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push eax
push dword [esi + 8]
mov dword [ebp - 0x30], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 8]
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [esi + 0x1c], ebx
test edi, edi
je 0x4556f6
mov ebx, dword [esi + 8]
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
je 0x455522
push 0
push 0
push 7
push ebx
call edi
mov ebx, dword [ebp - 0x30]
push 0
push dword [esi + 0x58]
mov ecx, dword [ebx]
push dword [esi + 0x54]
mov dword [esi + 0x64], ecx
mov eax, dword [ebx + 4]
sub ecx, dword [esi + 0x5c]
mov dword [esi + 0x68], eax
sub eax, dword [esi + 0x60]
push eax
push ecx
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 4]
and al, 0xc
cmp al, 8
jne 0x4556e3
mov ecx, dword [ebx + 4]
cmp ecx, 0x19
jge 0x4555a9
mov ebx, dword [esi + 8]
push 0
push 1
push 0x1033
push ebx
call edi
mov edi, eax
shr edi, 0x10
mov eax, edi
neg eax
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x1014
push ebx
call eax
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x1014
push ebx
call edi
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff6
cmp ecx, eax
jle 0x4555ee
mov ebx, dword [esi + 8]
push 0
push 1
push 0x1033
push ebx
call edi
mov edi, eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
shr edi, 0x10
push edi
push 0
push 0x1014
push ebx
call eax
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x1014
push ebx
call edi
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x1012
push dword [esi + 8]
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x18], ecx
call edi
xor edi, edi
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x24], edi
jle 0x455666
mov ecx, dword [esi + 0x28]
push dword [ecx + edi*4]
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.0044a500
add esp, 0xc
test eax, eax
jne 0x455649
mov eax, dword [esi + 0x28]
push 1
push dword [eax + edi*4]
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.0044c120
add esp, 0x10
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x20]
cmp eax, dword [ecx + edi*4]
jne 0x45565e
mov dword [esi + 0x20], 0xffffffff
or eax, 0xffffffff
inc edi
cmp edi, dword [esi + 0x24]
jl 0x455620
jmp 0x455669
mov eax, dword [esi + 0x20]
test eax, eax
js 0x45567d
push 0
push eax
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.0044c120
add esp, 0x10
test byte [esi + 4], 0x20
je 0x45568a
mov ebx, 1
jmp 0x4556c4
cmp dword [esi + 0x18], 0
jne 0x455697
mov ebx, 1
jmp 0x4556c4
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ebx, ebx
test ax, ax
sete bl
inc ebx
test ax, ax
jne 0x4556c4
push dword [ebp - 0x30]
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.0044a500
xor ecx, ecx
add esp, 0xc
test eax, eax
cmovne ebx, ecx
mov eax, dword [ebp - 0x30]
test eax, eax
js 0x4556de
push 1
push eax
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.0044c120
mov eax, dword [ebp - 0x30]
add esp, 0x10
mov dword [esi + 0x20], eax
jmp 0x455707
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047f41c
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x50]
test eax, eax
je 0x455707
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x50], ebx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
mov dword [esi + 0x1c], ebx
xor ecx, ebp
pop esi
pop ebx
call fcn.0047f41c
mov esp, ebp
pop ebp
ret