Function at 0x454420
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7090
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 0x454713
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 [0x5e01dc]
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 0x454498
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 0x4546d4
call fcn.0040f610
mov eax, dword [ebp - 0x40]
cmp eax, 0x100
jb 0x4544de
cmp eax, 0x108
ja 0x4544de
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.00458960
cmp eax, ebx
jne 0x4544a1
mov eax, dword [ebp - 0x40]
cmp dword [0x5ec8ac], ebx
je 0x4544f5
mov ecx, dword [esi + 0xa314]
cmp ecx, ebx
je 0x45453b
cmp dword [ecx + 0x40], ebx
jne 0x45453b
cmp dword [0x5ea53c], ebx
je 0x45451d
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, 0x5e0ce8
call fcn.0046bd30
cmp eax, 1
je 0x4544a1
mov eax, dword [ebp - 0x40]
cmp eax, 0x113
jne 0x45453b
cmp dword [0x5e0d2c], ebx
je 0x45455f
test byte [0x5ea540], 2
jne 0x4544a1
jmp 0x45455f
cmp eax, 0x200
jb 0x45455f
cmp eax, 0x20d
ja 0x45455f
lea ecx, [ebp - 0x44]
push ecx
mov ecx, esi
call fcn.00457c30
cmp eax, ebx
jne 0x4544a1
mov eax, dword [ebp - 0x40]
cmp dword [0x5e30e8], ebx
je 0x454598
cmp eax, 0x100
jb 0x454598
cmp eax, 0x108
ja 0x454598
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
shr edx, 0x10
je 0x454598
mov eax, dword [ebp - 0x44]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x454598
mov ecx, dword [esi + 0x7f70]
mov dword [ebp - 0x44], ecx
cmp dword [esi + 0x5a24], ebx
je 0x4545d4
mov eax, dword [esi + 0x5a50]
lea ecx, [ebp - 0x44]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, ebx
je 0x4544a1
mov eax, dword [esi + 4]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, 0x50b230
call fcn.00418b80
cmp eax, ebx
jne 0x4544a1
jmp 0x454606
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x44]
push ecx
push edx
mov ecx, 0x50b230
call fcn.00418b80
cmp eax, ebx
jne 0x4544a1
mov eax, dword [esi + 0x5a50]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp eax, ebx
je 0x4544a1
cmp dword [ebp - 0x40], 0x20a
jne 0x454641
mov eax, dword [ebp - 0x3c]
mov ecx, esi
shr eax, 0x10
push eax
call fcn.00454760
cmp eax, ebx
jne 0x4544a1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push ecx
lea eax, [ebp - 0x44]
push edx
push eax
call fcn.00441ed0
add esp, 0xc
cmp eax, ebx
jne 0x4544a1
cmp dword [0x5e30e8], ebx
je 0x454652
cmp dword [ebp - 0x40], 0x100
jne 0x454673
cmp dword [ebp - 0x3c], 0x1b
jne 0x454673
mov ecx, dword [ebp - 0x44]
mov edx, dword [esi + 4]
push ecx
push edx
call fcn.004d17c0
add esp, 8
cmp eax, ebx
je 0x45468d
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, 0x50b230
call fcn.00418bf0
cmp eax, ebx
jne 0x4544a1
cmp dword [0x5ea554], ebx
je 0x4546bb
cmp dword [ebp - 0x40], 0x113
jne 0x4546bb
mov eax, dword [ebp - 0x44]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x4546bb
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, esi
call fcn.00459450
cmp eax, ebx
jne 0x4544a1
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 0x4544a1
call fcn.0040f610
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 0x454706
cmp eax, 1
je 0x4546ff
cmp eax, 0xffffffff
jne 0x4544a1
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