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

Disassembly:
push 0xffffffffffffffff
push 0x4de17a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51f4f4]
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 0x485eac
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x485eac
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
je 0x485eac
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.00412982
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], esi
cmp eax, esi
je 0x485e87
mov ecx, eax
call fcn.00481ed0
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.00481b20
test eax, eax
jne 0x485eb3
mov ecx, esi
call fcn.00422f03
xor eax, eax
jmp 0x48606c
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.004816c0
push 0
mov ecx, edi
call fcn.004820b0
test eax, eax
je 0x485ea5
cmp dword [edi + 0x20], 0
mov dword [edi + 0x3c], ebp
jne 0x485f2e
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.00483bc0
mov eax, dword [esp + 0x44]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x485f61
test bl, 4
jne 0x485f61
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 0x485f86
sub ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esi + 0x8c], ebp
jmp 0x485f9a
test bl, 4
je 0x485f9a
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 0x485fa9
sub dword [esp + 0x20], ebp
jmp 0x485fbb
test bl, 0x10
je 0x485fbb
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.00481bf0
push 2
mov ecx, edi
call fcn.00480cf0
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.00485c80
push esi
mov ecx, edi
call fcn.00481a70
cmp dword [esi + 0x88], 0
je 0x48604c
cmp dword [edi + 0x20], 0
jne 0x48604c
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.00422f03
cmp dword [edi + 0x38], 0
je 0x486067
mov eax, dword [edi + 0x34]
jmp 0x48606c
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