Function at 0x4501ec
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x586c55
call fcn.0055958e
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov eax, dword [ebx]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [eax + 0x390]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
mov ecx, dword [0x5f51cc]
mov edi, eax
or esi, 0xffffffff
mov dword [ebp - 0x4c], edi
cmp ecx, ebx
je 0x45024e
cmp dword [0x5f51e4], 0
je 0x450257
mov dword [0x5f51cc], ebx
test ecx, ecx
je 0x45024e
mov eax, dword [ecx + 0xbf4]
push eax
mov dword [ecx + 0xbf4], esi
call fcn.0044d891
cmp dword [0x5f51e4], 0
jne 0x45028d
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042bf00
push eax
push 0x59bb40
call fcn.00431fdc
pop ecx
pop ecx
test eax, eax
je 0x45028d
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042bf00
mov ecx, eax
call fcn.00431664
test edi, edi
jns 0x450321
mov dword [ebx + 0xbec], esi
cmp dword [0x5f51e4], 0
je 0x4502e3
cmp dword [ebx + 0xb78], 0
jne 0x4502e3
mov eax, dword [ebx + 0xbf4]
mov dword [ebx + 0xbf4], esi
cmp eax, esi
je 0x4502ce
push eax
mov ecx, ebx
call fcn.0044d891
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebx]
push esi
mov esi, dword [eax + 0x3b0]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0x1cc]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
test eax, eax
je 0x45030c
call fcn.00416677
push dword [eax + 0xfc]
call dword [sym.imp.USER32.dll_SetCursor]
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047b72c
jmp 0x450b5b
push edi
mov ecx, ebx
call fcn.0044ceb2
mov dword [ebp - 0x34], eax
test eax, eax
je 0x450b5b
mov ecx, dword [ebx]
push edi
mov esi, dword [ecx + 0x25c]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
and dword [0x5f51e8], 0
cmp dword [0x5f51f0], 0
je 0x4503a6
mov eax, dword [ebx]
mov esi, dword [eax + 0x420]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
test eax, eax
je 0x4503a6
cmp dword [0x5f51e4], 0
jne 0x4503bc
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x4503a6
mov dword [0x5f51e8], 1
or dword [ebx + 0xbf0], 0xffffffff
mov dword [ebx + 0xbf4], edi
mov dword [0x5f51cc], ebx
cmp dword [0x5f51e4], 0
jne 0x4503bc
cmp dword [0x5f51e8], 0
je 0x4509c9
xor ecx, ecx
cmp dword [ebx + 0xb78], ecx
jne 0x4509c9
cmp dword [ebx + 0xbb8], ecx
jne 0x4509c9
mov eax, dword [ebx + 0xbf4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov esi, dword [eax + 0x36c]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x30]
push ecx
push edi
mov ecx, esi
mov dword [ebx + 0xbf4], edi
call dword [0x5929c4]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xffffffff
je 0x4504da
test ecx, ecx
js 0x4504da
cmp ecx, dword [ebx + 0xc48]
jge 0x4504da
xor eax, eax
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
push edx
push ecx
mov esi, dword [eax + 0x370]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.0044ceb2
mov esi, eax
test esi, esi
je 0x450472
cmp esi, dword [ebx + 0xd14]
jne 0x450472
add dword [ebp - 0x18], 0xa
add dword [ebp - 0x14], 0xa
push 1
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
test esi, esi
je 0x4504da
mov eax, dword [ebx + 0xd14]
cmp esi, eax
jne 0x4504da
xor esi, esi
lea ecx, [ebp - 0x40]
push esi
push esi
push ecx
mov ecx, eax
call fcn.0044d14c
mov ecx, eax
call fcn.00442bef
test eax, eax
je 0x4504da
mov ecx, dword [ebx + 0xd14]
lea eax, [ebp - 0x40]
push eax
call fcn.0044d14c
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push esi
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [ebx + 0xbf4]
mov ecx, ebx
call fcn.0044ceb2
mov ecx, eax
mov dword [ebp - 0x48], ecx
mov dword [ebx + 0xd0c], ecx
test ecx, ecx
je 0x450b63
mov eax, dword [ebp + 8]
and eax, 8
mov dword [ebx + 0xba0], eax
mov eax, dword [ecx]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5929c4]
mov ecx, dword [ebp - 0x48]
call esi
test eax, eax
jne 0x4505fc
or dword [ebx + 0xbf4], 0xffffffff
mov edi, dword [ebp - 0x44]
mov dword [ebx + 0xd0c], eax
cmp edi, 0xffffffff
je 0x450b5b
test edi, edi
js 0x450b5b
cmp edi, dword [ebx + 0xc48]
jge 0x450b5b
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
push ecx
push edi
mov esi, dword [eax + 0x370]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
push edi
mov ecx, ebx
call fcn.0044ceb2
mov esi, eax
test esi, esi
je 0x450590
cmp esi, dword [ebx + 0xd14]
jne 0x450590
add dword [ebp - 0x18], 0xa
add dword [ebp - 0x14], 0xa
push 1
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
test esi, esi
je 0x450b5b
mov edi, dword [ebx + 0xd14]
cmp esi, edi
jne 0x450b5b
xor esi, esi
lea eax, [ebp - 0x40]
push esi
push esi
push eax
mov ecx, edi
call fcn.0044d14c
mov ecx, eax
call fcn.00442bef
test eax, eax
je 0x450b5b
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0044d14c
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push esi
lea eax, [ebp - 0x20]
push eax
jmp 0x450b52
push edi
mov ecx, ebx
call fcn.0044d891
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edi, dword [ebx + 0xd0c]
mov eax, dword [edi]
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x5929c4]
mov ecx, edi
call esi
test eax, eax
je 0x4506bb
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x28]
push eax
call fcn.00567521
pop ecx
cmp eax, 6
jg 0x4506bb
cmp dword [0x5f51e8], 0
jne 0x4506bb
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0xba4], 1
add eax, 0xcdc
mov ebx, dword [ebx + 0xd0c]
mov edi, eax
mov dword [ebp - 0x48], eax
lea esi, [ebx + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
test eax, eax
je 0x45068d
push 2
push 2
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_InflateRect]
mov ebx, dword [ebp - 0x38]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0042bf00
mov dword [ebx + 0xd04], eax
call fcn.00416677
push dword [eax + 0xf0]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x450b2b
mov edi, dword [ebx + 0xd0c]
mov eax, dword [edi]
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x5929c4]
mov ecx, edi
call esi
test eax, eax
je 0x4509bd
mov edi, dword [ebx + 0xd0c]
mov eax, dword [edi]
mov esi, dword [eax + 0x74]
mov ecx, esi
call dword [0x5929c4]
mov ecx, edi
call esi
test eax, eax
je 0x4509bd
lea ecx, [ebp - 0x80]
call fcn.00436e52
mov edi, dword [ebx + 0xd0c]
lea ecx, [ebp - 0x80]
and dword [ebp - 4], 0
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5929c4]
mov ecx, edi
call esi
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x34]
mov esi, dword [eax + 0x418]
push dword [ecx + 0x20]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
and dword [0x5f52a8], 0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebx + 0x20]
mov dword [ebx + 0xcf4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xcf8], eax
cmp dword [0x5f51e8], 0
je 0x450769
mov dword [0x5f51e4], 1
push 0x5f5260
lea eax, [ebp - 0x30]
push eax
push 3
lea ecx, [ebp - 0x80]
call fcn.004e0a58
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4507ad
cmp dword [0x5f51e8], eax
je 0x4507a0
mov dword [0x5f51e4], eax
mov dword [0x5f51e8], eax
mov dword [0x5f51cc], eax
lea ecx, [ebp - 0x80]
call fcn.00436ebd
jmp 0x450b5b
and dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
and dword [ebp - 0x3c], 0
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [0x5f52a8], 0
je 0x450979
push dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
push dword [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x450979
cmp esi, 1
je 0x45095e
mov ecx, dword [ebx + 0xd0c]
test ecx, ecx
je 0x45095e
cmp dword [0x5f52a4], eax
jne 0x45095e
mov eax, dword [ebx]
push esi
push ecx
mov esi, dword [eax + 0x37c]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
test eax, eax
je 0x45095e
push dword [ebx + 0xd0c]
mov esi, dword [ebx]
mov ecx, ebx
call fcn.0044ae9c
mov ecx, dword [esi + 0x34c]
push eax
call dword [0x5929c4]
mov ecx, ebx
call dword [esi + 0x34c]
mov eax, dword [ebx]
mov esi, dword [eax + 0x3e4]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
mov edi, 0x505
push edi
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [ebx]
push 1
mov esi, dword [eax + 0x2d4]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042bf00
test eax, eax
je 0x4508c9
cmp dword [eax + 0x20], 0
je 0x4508c9
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042bf00
push edi
push 0
push 0
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [0x5f51e8], 0
jne 0x4508f4
mov eax, dword [ebx]
mov esi, dword [eax + 0x20c]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
push edi
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042bf00
push 0x5ab3a8
mov ecx, eax
call fcn.00432076
test eax, eax
je 0x450997
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042bf00
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042bf00
push eax
push 0x5ed4fc
call fcn.00431fdc
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x450997
mov ecx, dword [edi]
mov esi, dword [ecx + 0x210]
mov ecx, esi
call dword [0x5929c4]
mov ecx, edi
call esi
jmp 0x450997
mov eax, dword [ebx + 0xd0c]
test eax, eax
je 0x450997
push 1
add eax, 0x54
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x450997
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x4c]
mov dword [ebx + 0xbf0], ecx
push ecx
mov esi, dword [eax + 0x3b0]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
and dword [ebx + 0xd0c], 0
lea ecx, [ebp - 0x80]
or dword [ebx + 0xcf4], 0xffffffff
or dword [ebx + 0xcf8], 0xffffffff
or dword [ebp - 4], 0xffffffff
call fcn.00436ebd
jmp 0x450b2b
and dword [ebx + 0xd0c], 0
jmp 0x450b2b
push edi
mov ecx, ebx
mov dword [ebx + 0xbec], edi
call fcn.00455747
mov esi, dword [ebp - 0x34]
test dword [esi + 0x24], 0x40000
je 0x4509ff
push 0x5ed9e8
mov ecx, esi
call fcn.00432076
test eax, eax
jne 0x4509ff
or dword [ebx + 0xbec], 0xffffffff
jmp 0x450b5b
or dword [esi + 0x24], 0x20000
mov ecx, ebx
push edi
call fcn.0044d891
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebx]
push dword [esi + 0x20]
mov esi, dword [eax + 0x418]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x5929c4]
mov ecx, dword [ebp - 0x34]
call esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
push 0
push ebx
mov ecx, dword [eax]
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x5929c4]
mov ecx, dword [ebp - 0x34]
call esi
test eax, eax
je 0x450b16
mov esi, dword [ebp - 0x34]
lea ecx, [ebx + 0xc3c]
and dword [ebp - 0x38], 0
push 0
push esi
call fcn.004cba29
test eax, eax
je 0x450a88
and dword [esi + 0x24], 0xfffdffff
jmp 0x450a8f
mov dword [ebp - 0x38], 1
mov eax, dword [ebx]
or dword [ebx + 0xbec], 0xffffffff
or dword [ebx + 0xbf0], 0xffffffff
push 0xffffffffffffffff
mov esi, dword [eax + 0x3b0]
mov ecx, esi
call dword [0x5929c4]
mov ecx, ebx
call esi
push edi
mov ecx, ebx
call fcn.0044d891
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp - 0x38], 0
jne 0x450b2b
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x5929c4]
mov ecx, dword [ebp - 0x34]
call esi
cmp dword [ebp - 0x4c], eax
je 0x450b2b
push edi
mov ecx, ebx
call fcn.0044a128
mov esi, eax
test esi, esi
jle 0x450b2b
push esi
push 0xfffffffffffffffc
push dword [ebx + 0x20]
push 0x800a
call dword [sym.imp.USER32.dll_NotifyWinEvent]
push esi
push 0xfffffffffffffffc
push dword [ebx + 0x20]
push 0x8005
call dword [sym.imp.USER32.dll_NotifyWinEvent]
jmp 0x450b2b
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0042bf00
mov dword [ebx + 0xd04], eax
cmp dword [0x5f51e8], 0
je 0x450b5b
and dword [0x5f51e8], 0
and dword [0x5f51cc], 0
push 0
call fcn.00453f89
push 0x505
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.00559538
ret 0xc
call fcn.00424a6a
int3