Function at 0x452fb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1270
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 0x4532a3
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 [0x5d4cbc]
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 0x453028
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 0x453264
call fcn.0040f390
mov eax, dword [ebp - 0x40]
cmp eax, 0x100
jb 0x45306e
cmp eax, 0x108
ja 0x45306e
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.004574b0
cmp eax, ebx
jne 0x453031
mov eax, dword [ebp - 0x40]
cmp dword [0x5df8ac], ebx
je 0x453085
mov ecx, dword [esi + 0x97d4]
cmp ecx, ebx
je 0x4530cb
cmp dword [ecx + 0x40], ebx
jne 0x4530cb
cmp dword [0x5dd53c], ebx
je 0x4530ad
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, 0x5d5150
call fcn.00469900
cmp eax, 1
je 0x453031
mov eax, dword [ebp - 0x40]
cmp eax, 0x113
jne 0x4530cb
cmp dword [0x5d5194], ebx
je 0x4530ef
test byte [0x5dd540], 2
jne 0x453031
jmp 0x4530ef
cmp eax, 0x200
jb 0x4530ef
cmp eax, 0x20d
ja 0x4530ef
lea ecx, [ebp - 0x44]
push ecx
mov ecx, esi
call fcn.00456790
cmp eax, ebx
jne 0x453031
mov eax, dword [ebp - 0x40]
cmp dword [0x5d7548], ebx
je 0x453128
cmp eax, 0x100
jb 0x453128
cmp eax, 0x108
ja 0x453128
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
shr edx, 0x10
je 0x453128
mov eax, dword [ebp - 0x44]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x453128
mov ecx, dword [esi + 0x7430]
mov dword [ebp - 0x44], ecx
cmp dword [esi + 0x4ee4], ebx
je 0x453164
mov eax, dword [esi + 0x4f10]
lea ecx, [ebp - 0x44]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, ebx
je 0x453031
mov eax, dword [esi + 4]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, 0x4fff5c
call fcn.00418760
cmp eax, ebx
jne 0x453031
jmp 0x453196
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x44]
push ecx
push edx
mov ecx, 0x4fff5c
call fcn.00418760
cmp eax, ebx
jne 0x453031
mov eax, dword [esi + 0x4f10]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp eax, ebx
je 0x453031
cmp dword [ebp - 0x40], 0x20a
jne 0x4531d1
mov eax, dword [ebp - 0x3c]
mov ecx, esi
shr eax, 0x10
push eax
call fcn.004532f0
cmp eax, ebx
jne 0x453031
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push ecx
lea eax, [ebp - 0x44]
push edx
push eax
call fcn.004415f0
add esp, 0xc
cmp eax, ebx
jne 0x453031
cmp dword [0x5d7548], ebx
je 0x4531e2
cmp dword [ebp - 0x40], 0x100
jne 0x453203
cmp dword [ebp - 0x3c], 0x1b
jne 0x453203
mov ecx, dword [ebp - 0x44]
mov edx, dword [esi + 4]
push ecx
push edx
call fcn.004cb930
add esp, 8
cmp eax, ebx
je 0x45321d
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, 0x4fff5c
call fcn.004187d0
cmp eax, ebx
jne 0x453031
cmp dword [0x5dd554], ebx
je 0x45324b
cmp dword [ebp - 0x40], 0x113
jne 0x45324b
mov eax, dword [ebp - 0x44]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x45324b
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, esi
call fcn.00457fa0
cmp eax, ebx
jne 0x453031
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 0x453031
call fcn.0040f390
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 0x453296
cmp eax, 1
je 0x45328f
cmp eax, 0xffffffff
jne 0x453031
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