Function at 0x456dc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd970
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push ebx
mov esi, ecx
push 1
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
mov dword [esi + 0x38], eax
je 0x4570b3
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x40]
mov dword [ebp - 0x44], ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5eb098]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ebx
jmp 0x456e38
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [ebp - 4], ebx
push 1
push ebx
push ebx
lea edx, [ebp - 0x44]
push ebx
push edx
call edi
test eax, eax
mov ecx, esi
je 0x457074
call fcn.0040d5e0
mov eax, dword [ebp - 0x40]
cmp eax, 0x100
jb 0x456e7e
cmp eax, 0x108
ja 0x456e7e
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.0045b320
cmp eax, ebx
jne 0x456e41
mov eax, dword [ebp - 0x40]
cmp dword [0x5f68ac], ebx
je 0x456e95
mov ecx, dword [esi + 0x6b68]
cmp ecx, ebx
je 0x456edb
cmp dword [ecx + 0x40], ebx
jne 0x456edb
cmp dword [0x5f453c], ebx
je 0x456ebd
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x44]
push eax
push esi
mov ecx, 0x5ebb78
call fcn.00470a20
cmp eax, 1
je 0x456e41
mov eax, dword [ebp - 0x40]
cmp eax, 0x113
jne 0x456edb
cmp dword [0x5ebbbc], ebx
je 0x456eff
test byte [0x5f4540], 2
jne 0x456e41
jmp 0x456eff
cmp eax, 0x200
jb 0x456eff
cmp eax, 0x20d
ja 0x456eff
lea ecx, [ebp - 0x44]
push ecx
mov ecx, esi
call fcn.0045a5e0
cmp eax, ebx
jne 0x456e41
mov eax, dword [ebp - 0x40]
cmp dword [0x5edf98], ebx
je 0x456f38
cmp eax, 0x100
jb 0x456f38
cmp eax, 0x108
ja 0x456f38
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
shr edx, 0x10
je 0x456f38
mov eax, dword [ebp - 0x44]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x456f38
mov ecx, dword [esi + 0x9098]
mov dword [ebp - 0x44], ecx
cmp dword [esi + 0x6b4c], ebx
je 0x456f74
mov eax, dword [esi + 0x6b78]
lea ecx, [ebp - 0x44]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, ebx
je 0x456e41
mov eax, dword [esi + 4]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, 0x515050
call fcn.00416e00
cmp eax, ebx
jne 0x456e41
jmp 0x456fa6
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x44]
push ecx
push edx
mov ecx, 0x515050
call fcn.00416e00
cmp eax, ebx
jne 0x456e41
mov eax, dword [esi + 0x6b78]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp eax, ebx
je 0x456e41
cmp dword [ebp - 0x40], 0x20a
jne 0x456fe1
mov eax, dword [ebp - 0x3c]
mov ecx, esi
shr eax, 0x10
push eax
call fcn.00457100
cmp eax, ebx
jne 0x456e41
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push ecx
lea eax, [ebp - 0x44]
push edx
push eax
call fcn.00441ee0
add esp, 0xc
cmp eax, ebx
jne 0x456e41
cmp dword [0x5edf98], ebx
je 0x456ff2
cmp dword [ebp - 0x40], 0x100
jne 0x457013
cmp dword [ebp - 0x3c], 0x1b
jne 0x457013
mov ecx, dword [ebp - 0x44]
mov edx, dword [esi + 4]
push ecx
push edx
call fcn.004d7fc0
add esp, 8
cmp eax, ebx
je 0x45702d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x44]
push ecx
push edx
mov ecx, 0x515050
call fcn.00416e70
cmp eax, ebx
jne 0x456e41
cmp dword [0x5f4554], ebx
je 0x45705b
cmp dword [ebp - 0x40], 0x113
jne 0x45705b
mov eax, dword [ebp - 0x44]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45705b
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, esi
call fcn.0045be10
cmp eax, ebx
jne 0x456e41
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x456e41
call fcn.0040d5e0
push 0xff
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
push ebx
push ecx
push 2
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, ebx
je 0x4570a6
cmp eax, 1
je 0x45709f
cmp eax, 0xffffffff
jne 0x456e41
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x38], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret