Function at 0x54aae0
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x57d48a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
cmp dword [esp + 0x44], esi
je 0x54ab8c
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x54ab8c
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
je 0x54ab8c
mov ebx, dword [esp + 0x38]
test bl, 2
mov eax, esi
setne al
inc eax
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ebp, ax
shr ebp, 0xf
and ebp, 1
push 0xa8
mov dword [esp + 0x3c], ebp
call fcn.0040d49d
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], esi
cmp eax, esi
je 0x54ab67
mov ecx, eax
call fcn.00546a50
mov esi, eax
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
mov dword [esi + 0x94], edi
call fcn.00546710
test eax, eax
jne 0x54ab93
mov ecx, esi
call fcn.00421080
xor eax, eax
jmp 0x54ad4c
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
mov dword [esi + 0x54], edx
mov dword [esi + 0x90], eax
mov ecx, ebx
shr ecx, 9
and ecx, 1
mov dword [esi + 0x78], ecx
mov edx, ebx
mov eax, ebx
mov ecx, ebx
and ecx, 0x100
shr edx, 1
shr eax, 7
and edx, 1
and eax, 1
mov dword [edi + 0x38], ecx
push esi
mov ecx, edi
mov dword [edi + 0x30], edx
mov dword [edi + 0x20], eax
call fcn.00546250
push 0
mov ecx, edi
call fcn.00546c30
test eax, eax
je 0x54ab85
cmp dword [edi + 0x20], 0
mov dword [edi + 0x3c], ebp
jne 0x54ac0e
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
xor edx, edx
cmp dword [esi + 0x78], edx
setne dl
shl edx, 0x10
push edx
push eax
push 0x117
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x14]
mov ebp, 1
push edx
mov ecx, esi
mov dword [esi + 0x88], ebp
call fcn.00548690
mov eax, dword [esp + 0x44]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x54ac41
test bl, 4
jne 0x54ac41
xor ebx, 8
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
test bl, 8
je 0x54ac66
sub ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esi + 0x8c], ebp
jmp 0x54ac7a
test bl, 4
je 0x54ac7a
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov ebp, dword [esp + 0x18]
test bl, 0x20
je 0x54ac89
sub dword [esp + 0x20], ebp
jmp 0x54ac9b
test bl, 0x10
je 0x54ac9b
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
neg eax
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
push eax
push ebx
push ebp
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
mov ecx, edi
call fcn.005467e0
push 2
mov ecx, edi
call fcn.00545bf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0x250
push ebp
push eax
mov eax, dword [esi + 0x20]
push ecx
push edx
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x38]
mov dword [edi + 4], ecx
push 0
mov ecx, edi
call fcn.0054a960
push esi
mov ecx, edi
call fcn.00546660
cmp dword [esi + 0x88], 0
je 0x54ad2c
cmp dword [edi + 0x20], 0
jne 0x54ad2c
mov edx, dword [esi + 0x78]
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x90]
neg edx
sbb edx, edx
and edx, 0x2000
shl edx, 0x10
push edx
push eax
push 0x125
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
mov ecx, esi
call eax
mov ecx, esi
call fcn.00421080
cmp dword [edi + 0x38], 0
je 0x54ad47
mov eax, dword [edi + 0x34]
jmp 0x54ad4c
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x18