Function at 0x4457f5
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x574513
call fcn.0054f398
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 [0x580a08]
mov ecx, ebx
call esi
mov ecx, dword [0x5e0d14]
mov edi, eax
or esi, 0xffffffff
mov dword [ebp - 0x4c], edi
cmp ecx, ebx
je 0x445857
cmp dword [0x5e0d2c], 0
je 0x445860
mov dword [0x5e0d14], ebx
test ecx, ecx
je 0x445857
mov eax, dword [ecx + 0xbf4]
push eax
mov dword [ecx + 0xbf4], esi
call fcn.00442e97
cmp dword [0x5e0d2c], 0
jne 0x445896
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0041fb43
push eax
push 0x58a4e8
call fcn.004285d4
pop ecx
pop ecx
test eax, eax
je 0x445896
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0041fb43
mov ecx, eax
call fcn.00425200
test edi, edi
jns 0x44592a
mov dword [ebx + 0xbec], esi
cmp dword [0x5e0d2c], 0
je 0x4458ec
cmp dword [ebx + 0xb78], 0
jne 0x4458ec
mov eax, dword [ebx + 0xbf4]
mov dword [ebx + 0xbf4], esi
cmp eax, esi
je 0x4458d7
push eax
mov ecx, ebx
call fcn.00442e97
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 [0x580a08]
mov ecx, ebx
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0x1cc]
mov ecx, esi
call dword [0x580a08]
mov ecx, ebx
call esi
test eax, eax
je 0x445915
call fcn.0040a6f3
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.00470d2d
jmp 0x446164
push edi
mov ecx, ebx
call fcn.004424b9
mov dword [ebp - 0x34], eax
test eax, eax
je 0x446164
mov ecx, dword [ebx]
push edi
mov esi, dword [ecx + 0x25c]
mov ecx, esi
call dword [0x580a08]
mov ecx, ebx
call esi
and dword [0x5e0d30], 0
cmp dword [0x5e0d38], 0
je 0x4459af
mov eax, dword [ebx]
mov esi, dword [eax + 0x420]
mov ecx, esi
call dword [0x580a08]
mov ecx, ebx
call esi
test eax, eax
je 0x4459af
cmp dword [0x5e0d2c], 0
jne 0x4459c5
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x4459af
mov dword [0x5e0d30], 1
or dword [ebx + 0xbf0], 0xffffffff
mov dword [ebx + 0xbf4], edi
mov dword [0x5e0d14], ebx
cmp dword [0x5e0d2c], 0
jne 0x4459c5
cmp dword [0x5e0d30], 0
je 0x445fd2
xor ecx, ecx
cmp dword [ebx + 0xb78], ecx
jne 0x445fd2
cmp dword [ebx + 0xbb8], ecx
jne 0x445fd2
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 [0x580a08]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xffffffff
je 0x445ae3
test ecx, ecx
js 0x445ae3
cmp ecx, dword [ebx + 0xc48]
jge 0x445ae3
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 [0x580a08]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.004424b9
mov esi, eax
test esi, esi
je 0x445a7b
cmp esi, dword [ebx + 0xd14]
jne 0x445a7b
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 0x445ae3
mov eax, dword [ebx + 0xd14]
cmp esi, eax
jne 0x445ae3
xor esi, esi
lea ecx, [ebp - 0x40]
push esi
push esi
push ecx
mov ecx, eax
call fcn.00442752
mov ecx, eax
call fcn.0043826a
test eax, eax
je 0x445ae3
mov ecx, dword [ebx + 0xd14]
lea eax, [ebp - 0x40]
push eax
call fcn.00442752
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.004424b9
mov ecx, eax
mov dword [ebp - 0x48], ecx
mov dword [ebx + 0xd0c], ecx
test ecx, ecx
je 0x44616c
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 [0x580a08]
mov ecx, dword [ebp - 0x48]
call esi
test eax, eax
jne 0x445c05
or dword [ebx + 0xbf4], 0xffffffff
mov edi, dword [ebp - 0x44]
mov dword [ebx + 0xd0c], eax
cmp edi, 0xffffffff
je 0x446164
test edi, edi
js 0x446164
cmp edi, dword [ebx + 0xc48]
jge 0x446164
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 [0x580a08]
mov ecx, ebx
call esi
push edi
mov ecx, ebx
call fcn.004424b9
mov esi, eax
test esi, esi
je 0x445b99
cmp esi, dword [ebx + 0xd14]
jne 0x445b99
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 0x446164
mov edi, dword [ebx + 0xd14]
cmp esi, edi
jne 0x446164
xor esi, esi
lea eax, [ebp - 0x40]
push esi
push esi
push eax
mov ecx, edi
call fcn.00442752
mov ecx, eax
call fcn.0043826a
test eax, eax
je 0x446164
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00442752
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 0x44615b
push edi
mov ecx, ebx
call fcn.00442e97
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 [0x580a08]
mov ecx, edi
call esi
test eax, eax
je 0x445cc4
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x28]
push eax
call fcn.005592f7
pop ecx
cmp eax, 6
jg 0x445cc4
cmp dword [0x5e0d30], 0
jne 0x445cc4
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 [0x580a08]
mov ecx, ebx
call esi
test eax, eax
je 0x445c96
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.0041fb43
mov dword [ebx + 0xd04], eax
call fcn.0040a6f3
push dword [eax + 0xf0]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x446134
mov edi, dword [ebx + 0xd0c]
mov eax, dword [edi]
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x580a08]
mov ecx, edi
call esi
test eax, eax
je 0x445fc6
mov edi, dword [ebx + 0xd0c]
mov eax, dword [edi]
mov esi, dword [eax + 0x74]
mov ecx, esi
call dword [0x580a08]
mov ecx, edi
call esi
test eax, eax
je 0x445fc6
lea ecx, [ebp - 0x80]
call fcn.004d5d54
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 [0x580a08]
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 [0x580a08]
mov ecx, ebx
call esi
and dword [0x5e0df0], 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 [0x5e0d30], 0
je 0x445d72
mov dword [0x5e0d2c], 1
push 0x5e0da8
lea eax, [ebp - 0x30]
push eax
push 3
lea ecx, [ebp - 0x80]
call fcn.004d67f2
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x445db6
cmp dword [0x5e0d30], eax
je 0x445da9
mov dword [0x5e0d2c], eax
mov dword [0x5e0d30], eax
mov dword [0x5e0d14], eax
lea ecx, [ebp - 0x80]
call fcn.004d5dbf
jmp 0x446164
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 [0x5e0df0], 0
je 0x445f82
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 0x445f82
cmp esi, 1
je 0x445f67
mov ecx, dword [ebx + 0xd0c]
test ecx, ecx
je 0x445f67
cmp dword [0x5e0dec], eax
jne 0x445f67
mov eax, dword [ebx]
push esi
push ecx
mov esi, dword [eax + 0x37c]
mov ecx, esi
call dword [0x580a08]
mov ecx, ebx
call esi
test eax, eax
je 0x445f67
push dword [ebx + 0xd0c]
mov esi, dword [ebx]
mov ecx, ebx
call fcn.004404a3
mov ecx, dword [esi + 0x34c]
push eax
call dword [0x580a08]
mov ecx, ebx
call dword [esi + 0x34c]
mov eax, dword [ebx]
mov esi, dword [eax + 0x3e4]
mov ecx, esi
call dword [0x580a08]
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 [0x580a08]
mov ecx, ebx
call esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0041fb43
test eax, eax
je 0x445ed2
cmp dword [eax + 0x20], 0
je 0x445ed2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0041fb43
push edi
push 0
push 0
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [0x5e0d30], 0
jne 0x445efd
mov eax, dword [ebx]
mov esi, dword [eax + 0x20c]
mov ecx, esi
call dword [0x580a08]
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.0041fb43
push 0x5994d0
mov ecx, eax
call fcn.0042866e
test eax, eax
je 0x445fa0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0041fb43
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0041fb43
push eax
push 0x5d94fc
call fcn.004285d4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x445fa0
mov ecx, dword [edi]
mov esi, dword [ecx + 0x210]
mov ecx, esi
call dword [0x580a08]
mov ecx, edi
call esi
jmp 0x445fa0
mov eax, dword [ebx + 0xd0c]
test eax, eax
je 0x445fa0
push 1
add eax, 0x54
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x445fa0
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 [0x580a08]
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.004d5dbf
jmp 0x446134
and dword [ebx + 0xd0c], 0
jmp 0x446134
push edi
mov ecx, ebx
mov dword [ebx + 0xbec], edi
call fcn.0044ad4e
mov esi, dword [ebp - 0x34]
test dword [esi + 0x24], 0x40000
je 0x446008
push 0x5d99bc
mov ecx, esi
call fcn.0042866e
test eax, eax
jne 0x446008
or dword [ebx + 0xbec], 0xffffffff
jmp 0x446164
or dword [esi + 0x24], 0x20000
mov ecx, ebx
push edi
call fcn.00442e97
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 [0x580a08]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x580a08]
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 [0x580a08]
mov ecx, dword [ebp - 0x34]
call esi
test eax, eax
je 0x44611f
mov esi, dword [ebp - 0x34]
lea ecx, [ebx + 0xc3c]
and dword [ebp - 0x38], 0
push 0
push esi
call fcn.004c3c71
test eax, eax
je 0x446091
and dword [esi + 0x24], 0xfffdffff
jmp 0x446098
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 [0x580a08]
mov ecx, ebx
call esi
push edi
mov ecx, ebx
call fcn.00442e97
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp - 0x38], 0
jne 0x446134
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x580a08]
mov ecx, dword [ebp - 0x34]
call esi
cmp dword [ebp - 0x4c], eax
je 0x446134
push edi
mov ecx, ebx
call fcn.0043f72f
mov esi, eax
test esi, esi
jle 0x446134
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 0x446134
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0041fb43
mov dword [ebx + 0xd04], eax
cmp dword [0x5e0d30], 0
je 0x446164
and dword [0x5e0d30], 0
and dword [0x5e0d14], 0
push 0
call fcn.00449590
push 0x505
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.0054f342
ret 0xc
call fcn.00419c12
int3