Function at 0x45ace0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa8b0
push 0x4f3f74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x58], esi
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x38], eax
cmp eax, ebx
je 0x45b01b
mov dword [ebp - 0x50], ebx
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x24], eax
mov eax, dword [0x5ac0fc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 2
cmp eax, ebx
jne 0x45ad64
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
push 1
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
mov ecx, esi
je 0x45afbe
call fcn.0040e750
mov eax, dword [ebp - 0x4c]
cmp eax, 0x100
jb 0x45adab
cmp eax, 0x108
ja 0x45adab
lea edx, [ebp - 0x50]
push edx
mov ecx, esi
call fcn.0045ef80
test eax, eax
jne 0x45ad6a
mov eax, dword [ebp - 0x4c]
cmp dword [0x5d1b00], ebx
je 0x45adc2
mov ecx, dword [esi + 0x6774]
cmp ecx, ebx
je 0x45ae13
cmp dword [ecx + 0x40], ebx
jne 0x45ae13
cmp dword [0x5cf790], ebx
je 0x45adea
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push eax
mov eax, dword [ebp - 0x50]
push eax
push esi
mov ecx, 0x5b16c8
call fcn.00475260
cmp eax, 1
je 0x45ad6a
mov eax, dword [ebp - 0x4c]
cmp eax, 0x113
jne 0x45ae13
cmp dword [0x5b170c], ebx
je 0x45ae09
test byte [0x5cf794], 2
je 0x45ae09
mov ecx, 1
jmp 0x45ae0b
xor ecx, ecx
cmp ecx, ebx
jne 0x45ad6a
cmp eax, 0x200
jb 0x45ae37
cmp eax, 0x20d
ja 0x45ae37
lea ecx, [ebp - 0x50]
push ecx
mov ecx, esi
call fcn.0045e0d0
test eax, eax
jne 0x45ad6a
mov eax, dword [ebp - 0x4c]
cmp dword [0x5b89c0], ebx
je 0x45ae6e
cmp eax, 0x100
jb 0x45ae6e
cmp eax, 0x108
ja 0x45ae6e
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
shr edx, 0x10
je 0x45ae6e
mov eax, dword [ebp - 0x50]
cmp eax, dword [esi + 4]
jne 0x45ae6e
mov ecx, dword [esi + 0x8ca0]
mov dword [ebp - 0x50], ecx
cmp dword [esi + 0x6754], ebx
je 0x45aeaa
mov eax, dword [esi + 0x6784]
mov edx, dword [eax]
lea ecx, [ebp - 0x50]
push ecx
push eax
call dword [edx + 0x14]
test eax, eax
je 0x45ad6a
lea edx, [ebp - 0x50]
push edx
mov eax, dword [esi + 4]
push eax
mov ecx, 0x53ae0c
call fcn.00418060
test eax, eax
jne 0x45ad6a
jmp 0x45aedc
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [esi + 4]
push edx
mov ecx, 0x53ae0c
call fcn.00418060
test eax, eax
jne 0x45ad6a
mov eax, dword [esi + 0x6784]
mov ecx, dword [eax]
lea edx, [ebp - 0x50]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x45ad6a
cmp dword [ebp - 0x4c], 0x20a
jne 0x45af17
mov eax, dword [ebp - 0x48]
shr eax, 0x10
push eax
mov ecx, esi
call fcn.0045b080
test eax, eax
jne 0x45ad6a
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00447430
add esp, 0xc
test eax, eax
jne 0x45ad6a
mov edi, 1
mov dword [ebp - 0x54], edi
cmp dword [0x5b89c0], ebx
je 0x45af30
cmp dword [ebp - 0x4c], 0x100
jne 0x45af5b
cmp dword [ebp - 0x48], 0x1b
jne 0x45af5b
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [esi + 4]
push edx
call fcn.004ee4f0
add esp, 8
test eax, eax
je 0x45af56
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
jmp 0x45af5b
xor edi, edi
mov dword [ebp - 0x54], edi
cmp edi, ebx
je 0x45af79
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [esi + 4]
push edx
mov ecx, 0x53ae0c
call fcn.004180f0
test eax, eax
jne 0x45ad6a
cmp dword [0x5cf7a8], ebx
je 0x45afa5
cmp dword [ebp - 0x4c], 0x113
jne 0x45afa5
mov eax, dword [ebp - 0x50]
cmp eax, dword [esi + 4]
je 0x45afa5
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.0045fc10
test eax, eax
jne 0x45ad6a
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x45ad6a
call fcn.0040e750
push 0xff
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x24]
push ecx
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x45b007
cmp eax, 0xffffffff
jne 0x45afee
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
jmp 0x45b007
cmp edi, 2
jne 0x45ad6a
cmp eax, 1
jne 0x45ad6a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x38], ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret