Function at 0x4496fc
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x58f5ec
call fcn.0056cbd2
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 [0x59da0c]
mov ecx, ebx
call esi
mov ecx, dword [0x7c5f2c]
mov edi, eax
or esi, 0xffffffff
mov dword [ebp - 0x4c], edi
cmp ecx, ebx
je 0x44975e
cmp dword [0x7c5f44], 0
je 0x449767
mov dword [0x7c5f2c], ebx
test ecx, ecx
je 0x44975e
mov eax, dword [ecx + 0xbf4]
push eax
mov dword [ecx + 0xbf4], esi
call fcn.00446bb5
cmp dword [0x7c5f44], 0
jne 0x44979d
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004302a1
push eax
push 0x5ac324
call fcn.0042d5fd
pop ecx
pop ecx
test eax, eax
je 0x44979d
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004302a1
mov ecx, eax
call fcn.0046555e
test edi, edi
jns 0x449831
mov dword [ebx + 0xbec], esi
cmp dword [0x7c5f44], 0
je 0x4497f3
cmp dword [ebx + 0xb78], 0
jne 0x4497f3
mov eax, dword [ebx + 0xbf4]
mov dword [ebx + 0xbf4], esi
cmp eax, esi
je 0x4497de
push eax
mov ecx, ebx
call fcn.00446bb5
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 [0x59da0c]
mov ecx, ebx
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0x1cc]
mov ecx, esi
call dword [0x59da0c]
mov ecx, ebx
call esi
test eax, eax
je 0x44981c
call fcn.0042a379
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.004b265c
jmp 0x44a06b
push edi
mov ecx, ebx
call fcn.004461d8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x44a06b
mov ecx, dword [ebx]
push edi
mov esi, dword [ecx + 0x25c]
mov ecx, esi
call dword [0x59da0c]
mov ecx, ebx
call esi
and dword [0x7c5f48], 0
cmp dword [0x7c5f50], 0
je 0x4498b6
mov eax, dword [ebx]
mov esi, dword [eax + 0x420]
mov ecx, esi
call dword [0x59da0c]
mov ecx, ebx
call esi
test eax, eax
je 0x4498b6
cmp dword [0x7c5f44], 0
jne 0x4498cc
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x4498b6
mov dword [0x7c5f48], 1
or dword [ebx + 0xbf0], 0xffffffff
mov dword [ebx + 0xbf4], edi
mov dword [0x7c5f2c], ebx
cmp dword [0x7c5f44], 0
jne 0x4498cc
cmp dword [0x7c5f48], 0
je 0x449ed9
xor ecx, ecx
cmp dword [ebx + 0xb78], ecx
jne 0x449ed9
cmp dword [ebx + 0xbb8], ecx
jne 0x449ed9
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 [0x59da0c]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xffffffff
je 0x4499ea
test ecx, ecx
js 0x4499ea
cmp ecx, dword [ebx + 0xc48]
jge 0x4499ea
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 [0x59da0c]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.004461d8
mov esi, eax
test esi, esi
je 0x449982
cmp esi, dword [ebx + 0xd14]
jne 0x449982
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 0x4499ea
mov eax, dword [ebx + 0xd14]
cmp esi, eax
jne 0x4499ea
xor esi, esi
lea ecx, [ebp - 0x40]
push esi
push esi
push ecx
mov ecx, eax
call fcn.00446478
mov ecx, eax
call fcn.0042a781
test eax, eax
je 0x4499ea
mov ecx, dword [ebx + 0xd14]
lea eax, [ebp - 0x40]
push eax
call fcn.00446478
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.004461d8
mov ecx, eax
mov dword [ebp - 0x48], ecx
mov dword [ebx + 0xd0c], ecx
test ecx, ecx
je 0x44a073
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 [0x59da0c]
mov ecx, dword [ebp - 0x48]
call esi
test eax, eax
jne 0x449b0c
or dword [ebx + 0xbf4], 0xffffffff
mov edi, dword [ebp - 0x44]
mov dword [ebx + 0xd0c], eax
cmp edi, 0xffffffff
je 0x44a06b
test edi, edi
js 0x44a06b
cmp edi, dword [ebx + 0xc48]
jge 0x44a06b
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 [0x59da0c]
mov ecx, ebx
call esi
push edi
mov ecx, ebx
call fcn.004461d8
mov esi, eax
test esi, esi
je 0x449aa0
cmp esi, dword [ebx + 0xd14]
jne 0x449aa0
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 0x44a06b
mov edi, dword [ebx + 0xd14]
cmp esi, edi
jne 0x44a06b
xor esi, esi
lea eax, [ebp - 0x40]
push esi
push esi
push eax
mov ecx, edi
call fcn.00446478
mov ecx, eax
call fcn.0042a781
test eax, eax
je 0x44a06b
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00446478
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 0x44a062
push edi
mov ecx, ebx
call fcn.00446bb5
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 [0x59da0c]
mov ecx, edi
call esi
test eax, eax
je 0x449bcb
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x28]
push eax
call fcn.00578e60
pop ecx
cmp eax, 6
jg 0x449bcb
cmp dword [0x7c5f48], 0
jne 0x449bcb
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 [0x59da0c]
mov ecx, ebx
call esi
test eax, eax
je 0x449b9d
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.004302a1
mov dword [ebx + 0xd04], eax
call fcn.0042a379
push dword [eax + 0xf0]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x44a03b
mov edi, dword [ebx + 0xd0c]
mov eax, dword [edi]
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x59da0c]
mov ecx, edi
call esi
test eax, eax
je 0x449ecd
mov edi, dword [ebx + 0xd0c]
mov eax, dword [edi]
mov esi, dword [eax + 0x74]
mov ecx, esi
call dword [0x59da0c]
mov ecx, edi
call esi
test eax, eax
je 0x449ecd
lea ecx, [ebp - 0x80]
call fcn.00461fcd
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 [0x59da0c]
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 [0x59da0c]
mov ecx, ebx
call esi
and dword [0x7c6008], 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 [0x7c5f48], 0
je 0x449c79
mov dword [0x7c5f44], 1
push 0x7c5fc0
lea eax, [ebp - 0x30]
push eax
push 3
lea ecx, [ebp - 0x80]
call fcn.004adfb1
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x449cbd
cmp dword [0x7c5f48], eax
je 0x449cb0
mov dword [0x7c5f44], eax
mov dword [0x7c5f48], eax
mov dword [0x7c5f2c], eax
lea ecx, [ebp - 0x80]
call fcn.00462038
jmp 0x44a06b
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 [0x7c6008], 0
je 0x449e89
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 0x449e89
cmp esi, 1
je 0x449e6e
mov ecx, dword [ebx + 0xd0c]
test ecx, ecx
je 0x449e6e
cmp dword [0x7c6004], eax
jne 0x449e6e
mov eax, dword [ebx]
push esi
push ecx
mov esi, dword [eax + 0x37c]
mov ecx, esi
call dword [0x59da0c]
mov ecx, ebx
call esi
test eax, eax
je 0x449e6e
push dword [ebx + 0xd0c]
mov esi, dword [ebx]
mov ecx, ebx
call fcn.004441f1
mov ecx, dword [esi + 0x34c]
push eax
call dword [0x59da0c]
mov ecx, ebx
call dword [esi + 0x34c]
mov eax, dword [ebx]
mov esi, dword [eax + 0x3e4]
mov ecx, esi
call dword [0x59da0c]
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 [0x59da0c]
mov ecx, ebx
call esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004302a1
test eax, eax
je 0x449dd9
cmp dword [eax + 0x20], 0
je 0x449dd9
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004302a1
push edi
push 0
push 0
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [0x7c5f48], 0
jne 0x449e04
mov eax, dword [ebx]
mov esi, dword [eax + 0x20c]
mov ecx, esi
call dword [0x59da0c]
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.004302a1
push 0x5af248
mov ecx, eax
call fcn.0042d69c
test eax, eax
je 0x449ea7
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004302a1
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004302a1
push eax
push 0x7be518
call fcn.0042d5fd
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x449ea7
mov ecx, dword [edi]
mov esi, dword [ecx + 0x210]
mov ecx, esi
call dword [0x59da0c]
mov ecx, edi
call esi
jmp 0x449ea7
mov eax, dword [ebx + 0xd0c]
test eax, eax
je 0x449ea7
push 1
add eax, 0x54
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x449ea7
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 [0x59da0c]
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.00462038
jmp 0x44a03b
and dword [ebx + 0xd0c], 0
jmp 0x44a03b
push edi
mov ecx, ebx
mov dword [ebx + 0xbec], edi
call fcn.0044ee9b
mov esi, dword [ebp - 0x34]
test dword [esi + 0x24], 0x40000
je 0x449f0f
push 0x7be89c
mov ecx, esi
call fcn.0042d69c
test eax, eax
jne 0x449f0f
or dword [ebx + 0xbec], 0xffffffff
jmp 0x44a06b
or dword [esi + 0x24], 0x20000
mov ecx, ebx
push edi
call fcn.00446bb5
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 [0x59da0c]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x59da0c]
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 [0x59da0c]
mov ecx, dword [ebp - 0x34]
call esi
test eax, eax
je 0x44a026
mov esi, dword [ebp - 0x34]
lea ecx, [ebx + 0xc3c]
and dword [ebp - 0x38], 0
push 0
push esi
call fcn.00488215
test eax, eax
je 0x449f98
and dword [esi + 0x24], 0xfffdffff
jmp 0x449f9f
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 [0x59da0c]
mov ecx, ebx
call esi
push edi
mov ecx, ebx
call fcn.00446bb5
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp - 0x38], 0
jne 0x44a03b
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x59da0c]
mov ecx, dword [ebp - 0x34]
call esi
cmp dword [ebp - 0x4c], eax
je 0x44a03b
push edi
mov ecx, ebx
call fcn.0044347a
mov esi, eax
test esi, esi
jle 0x44a03b
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 0x44a03b
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004302a1
mov dword [ebx + 0xd04], eax
cmp dword [0x7c5f48], 0
je 0x44a06b
and dword [0x7c5f48], 0
and dword [0x7c5f2c], 0
push 0
call fcn.0044d6db
push 0x505
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.0056cb7c
ret 0xc
call fcn.0042cb59
int3