Function at 0x436c60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x60aca0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0xffffffffffffffeb
push edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x58], esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
mov dword [ebp - 0x64], ebx
test ebx, ebx
jne 0x436c9d
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
jmp 0x436d47
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x436cb5
push ebx
push dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
push esi
push edi
call eax
jmp 0x436cb8
mov esi, dword [ebp + 0xc]
movzx eax, word [ebx + 0xc]
mov ecx, 0x6ef2f0
push eax
call fcn.004280d0
test eax, eax
js 0x436cdc
imul ecx, eax, 0x11c
mov eax, dword [0x6f0a4c]
mov ecx, dword [ecx + eax + 0xc]
jmp 0x436cde
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
cmp esi, 0x200
ja 0x436ea4
je 0x436d99
add esi, 0xfffffffd
cmp esi, 0x11
ja case.default.0x436d06
movzx eax, byte [esi + 0x437158]
jmp dword [eax*4 + 0x437140]
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebx]
lea eax, [ebp - 0x14]
push eax
push esi
mov ecx, ebx
call dword [edx + 0x18]
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 0x58]
mov esi, dword [ebp + 0xc]
push dword [ebp + 0x14]
push ecx
push esi
push edi
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
jmp case.0x436ebc.515
push edi
mov ecx, 0x6ef2f0
call fcn.0042aca0
test eax, eax
je case.0x436ebc.515
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0xc], ecx
jmp 0x436d3f
test cl, 1
je case.0x436ebc.515
cmp byte [ebx + 0x64], 0
jne case.0x436ebc.515
mov esi, dword [ebp + 0x14]
cmp esi, dword [ebx + 0x60]
je case.0x436ebc.515
cmp esi, 0xffffffff
je 0x436db4
mov dword [ebx + 0x60], esi
mov eax, dword [0x6f1798]
cmp eax, edi
je 0x436e15
push 0
push 0
push 0x2a3
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov dword [0x6f1798], edi
call fcn.00419e10
add esp, 4
test al, al
je 0x436e07
cmp esi, 0xffffffff
je 0x436e07
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0x10
push eax
mov dword [ebp - 0x6c], 2
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], 0
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
push ebx
mov ecx, 0x6ef2f0
call fcn.0042c2a0
mov ecx, dword [ebp - 0x5c]
test ecx, 0x20000
je 0x436e63
push edi
call fcn.00419e10
add esp, 4
test al, al
jne 0x436e63
cmp dword [0x6f179c], edi
jne 0x436e63
push 0
push dword [ebx + 0xc]
mov byte [ebx + 0x64], 1
push 0x840a
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
push 0
push 0x2a3
push edi
mov byte [ebx + 0x64], 0
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
mov ecx, 0x6ef2f0
call fcn.0042c380
test dword [ebp - 0x5c], 0x1000000
je case.0x436ebc.515
mov ecx, ebx
call fcn.0043c780
cmp al, byte [ebx + 0xb1]
je case.0x436ebc.515
mov byte [ebx + 0xb1], al
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x436ebc.515
lea eax, [esi - 0x201]
cmp eax, 0xa2
ja case.0x436ebc.515
movzx eax, byte [eax + 0x43717c]
jmp dword [eax*4 + 0x43716c]
push ebx
mov ecx, 0x6ef2f0
call fcn.0042c300
test byte [ebp - 0x5c], 1
je case.0x436ebc.515
cmp byte [ebx + 0x64], 0
jne case.0x436ebc.515
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x58]
cmp dword [0x6f1798], edi
jne 0x436d42
mov dword [0x6f1798], 0
jmp 0x436d42
test cl, 1
je case.0x436ebc.515
push esi
mov ecx, ebx
mov dword [0x6f179c], edi
call fcn.00437560
push eax
push ebx
mov ecx, 0x6ef2f0
call fcn.0042bfc0
push edi
call dword [sym.imp.USER32.dll_SetCapture]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x6f17bc], edx
mov ecx, eax
mov dword [0x6f17b8], ecx
sub esi, 0x201
je 0x43704b
sub esi, 3
je 0x436fd6
sub esi, 3
jne case.0x436ebc.515
mov esi, ecx
mov eax, edx
sub esi, dword [0x6f17a8]
sbb eax, dword [0x6f17ac]
test eax, eax
ja 0x436fc5
jb 0x436f7d
cmp esi, dword [0x6eff74]
jae 0x436fc5
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebx
mov di, ax
shr edi, 0xf
and edi, 1
push 2
add edi, 4
call ebx
shr eax, 0xf
mov esi, edi
or esi, 2
test al, 1
push 4
cmove esi, edi
call ebx
push esi
push dword [ebp - 0x64]
mov ecx, 0x6ef2f0
call fcn.0042bf70
mov edx, dword [0x6f17bc]
mov ecx, dword [0x6f17b8]
mov edi, dword [ebp - 0x60]
mov dword [0x6f17a8], ecx
mov dword [0x6f17ac], edx
jmp case.0x436ebc.515
mov esi, ecx
mov eax, edx
sub esi, dword [0x6f17b0]
sbb eax, dword [0x6f17b4]
test eax, eax
ja 0x43703a
jb 0x436ff4
cmp esi, dword [0x6eff74]
jae 0x43703a
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call esi
mov di, ax
shr edi, 0xf
and edi, 1
push 2
add edi, 2
call esi
push 4
call esi
shr eax, 0xf
mov ecx, edi
or ecx, 4
test al, 1
cmove ecx, edi
push ecx
push ebx
mov ecx, 0x6ef2f0
call fcn.0042bf70
mov edx, dword [0x6f17bc]
mov ecx, dword [0x6f17b8]
mov edi, dword [ebp - 0x60]
mov dword [0x6f17b0], ecx
mov dword [0x6f17b4], edx
jmp case.0x436ebc.515
mov esi, ecx
mov eax, edx
sub esi, dword [0x6f17a0]
sbb eax, dword [0x6f17a4]
test eax, eax
ja 0x4370b0
jb 0x437069
cmp esi, dword [0x6eff74]
jae 0x4370b0
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call esi
push 2
call esi
shr eax, 0xf
and eax, 1
push 4
lea edi, [eax*2 + 1]
call esi
shr eax, 0xf
mov ecx, edi
or ecx, 4
test al, 1
cmove ecx, edi
push ecx
push ebx
mov ecx, 0x6ef2f0
call fcn.0042bf70
mov edx, dword [0x6f17bc]
mov ecx, dword [0x6f17b8]
mov edi, dword [ebp - 0x60]
mov dword [0x6f17a0], ecx
mov dword [0x6f17a4], edx
jmp case.0x436ebc.515
test cl, 1
je case.0x436ebc.515
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov esi, dword [0x6f179c]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, esi
je 0x4370f6
cmp dword [ebp + 0x14], 0xffffffff
jne 0x43711f
mov esi, dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.00437560
push eax
push ebx
mov ecx, 0x6ef2f0
call fcn.0042c080
mov ecx, dword [ebp - 0x58]
mov dword [0x6f179c], 0
jmp 0x436d42
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x58]
mov dword [0x6f179c], 0
jmp 0x436d42
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x58]
jmp 0x436d42