Function at 0x436840
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x1f1], 0
je 0x4368b3
push 0x17
call ebx
neg eax
sbb eax, eax
neg eax
inc eax
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x4368b3
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
mov esi, edi
call fcn.00437dc0
mov ecx, eax
call fcn.00444950
test al, al
je 0x4368b3
cmp byte [edi + 0x1f0], 0
jne 0x4368b3
call fcn.00437dc0
mov edx, dword [ebp + 0x10]
sub edx, dword [eax + 0xc]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 8]
push edx
push ecx
mov eax, edi
call fcn.00437c50
mov edx, dword [ebp + 0xc]
xor esi, esi
mov dword [edi + 0x29c], esi
cmp edx, dword [edi + 0x280]
jne 0x4368e8
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi + 0x284]
jne 0x4368e8
mov edx, dword [edi]
mov eax, dword [edx + 0x84]
push 1
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
or eax, 0xffffffff
cmp byte [edi + 0x1f0], 0
mov dword [edi + 0x284], eax
mov dword [edi + 0x280], eax
jne 0x436a1f
cmp dword [edi + 8], esi
jle 0x436928
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
call edx
inc esi
cmp esi, dword [edi + 8]
jl 0x43690c
mov ebx, 1
cmp dword [edi + 0x1f4], ebx
je 0x436c17
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x64]
push 0
push ecx
push edx
mov ecx, edi
call eax
test eax, eax
je 0x4369ff
cmp byte [edi + 0x38], 0
jne 0x436966
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
mov byte [edi + 0x38], bl
call eax
cmp byte [0x571bcf], 0
jne 0x436c17
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
call fcn.00435130
test eax, eax
jge 0x4369c0
cmp byte [edi + 0x1f0], 0
je 0x4369aa
push 0x7f86
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x2e4]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 4]
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x436c17
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x94]
call eax
test al, al
je 0x436c17
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [edi + 0x38], 0
je 0x436c17
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
mov byte [edi + 0x38], 0
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 0x1f4], esi
je 0x436a5e
push 0x17
call ebx
neg eax
sbb eax, eax
neg eax
inc eax
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x436a5e
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
mov esi, edi
call fcn.00437c00
mov esi, eax
call fcn.00445300
test al, al
je 0x436ab8
cmp byte [edi + 0x224], 0
jne 0x436a89
mov eax, dword [edi + 0x1e8]
jmp 0x436a8f
mov eax, dword [edi + 0x1ec]
mov edx, dword [edi + 0x1f8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x1fc]
mov dword [esp + 0x14], edx
mov edx, dword [edi]
mov edx, dword [edx + 0xb0]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call edx
xor eax, eax
cmp byte [edi + 0x22c], al
sete al
mov esi, eax
mov eax, dword [edi + 0x1f4]
test al, 2
je 0x436b88
lea ebx, [edi + 0x200]
push ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp byte [edi + 0x1b4], 0
je 0x436af7
mov ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x34]
sub ecx, dword [edi + 0x28]
sub eax, dword [edi + 0x2c]
jmp 0x436afb
xor eax, eax
xor ecx, ecx
mov edx, dword [edi]
mov edx, dword [edx + 0x54]
push esi
push eax
mov eax, dword [edi + 0x204]
sub eax, dword [edi + 0x1fc]
push ecx
mov ecx, dword [ebx]
sub ecx, dword [edi + 0x1f8]
push eax
push ecx
mov ecx, edi
call edx
cmp byte [edi + 0x22c], 0
je 0x436c17
lea eax, [esp + 0x10]
mov edx, edi
call fcn.00434fd0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
sub eax, edx
sub ecx, ebx
cmp byte [edi + 0x224], 0
jne 0x436b6d
mov edi, dword [edi + 0x1e8]
push esi
push ecx
push eax
push ebx
push edx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [edi + 0x1ec]
push esi
push ecx
push eax
push ebx
push edx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test al, 1
je 0x436c17
lea ebx, [edi + 0x200]
push ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [esp + 0x10]
mov eax, edi
mov dword [edi + 0x1f4], 2
call fcn.004350b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [edi]
mov eax, dword [eax + 0x54]
push esi
push ecx
mov ecx, dword [edi + 0x204]
sub ecx, dword [edi + 0x1fc]
push edx
mov edx, dword [ebx]
sub edx, dword [edi + 0x1f8]
push ecx
push edx
mov ecx, edi
call eax
cmp byte [edi + 0x22c], 0
je 0x436c17
lea eax, [esp + 0x10]
mov edx, edi
call fcn.00434fd0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push esi
sub eax, edx
sub ecx, ebx
push ecx
push eax
push ebx
push edx
mov eax, edi
call fcn.004366e0
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc