Function at 0x431a6d
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x54
mov eax, 0x51dd0a
call fcn.00504594
mov ebx, ecx
push dword [ebp + 0x10]
mov eax, dword [ebx]
push dword [ebp + 0xc]
call dword [eax + 0x36c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x5762b8]
xor edi, edi
cmp eax, ebx
je 0x431abc
cmp dword [0x57628c], edi
je 0x431ac4
mov ecx, eax
mov dword [0x5762b8], ebx
cmp ecx, edi
je 0x431abc
lea eax, [ecx + 0xac0]
mov edx, dword [eax]
or dword [eax], 0xffffffff
push edx
call fcn.0042f35b
cmp dword [0x57628c], edi
jne 0x431af8
push dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push eax
call fcn.00411bb7
push eax
push 0x5315e8
call fcn.0041c3e6
pop ecx
pop ecx
test eax, eax
je 0x431af8
push dword [ebx + 0x20]
call esi
push eax
call fcn.00411bb7
mov ecx, eax
call fcn.0040da85
cmp dword [ebp - 0x10], edi
jge 0x431b6f
or esi, 0xffffffff
mov dword [ebx + 0xab8], esi
cmp dword [0x57628c], edi
je 0x431b40
cmp dword [ebx + 0xa44], edi
jne 0x431b40
lea eax, [ebx + 0xac0]
mov ecx, dword [eax]
mov dword [eax], esi
cmp ecx, esi
je 0x431b35
push ecx
mov ecx, ebx
call fcn.0042f35b
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x38c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1a4]
test eax, eax
je 0x431b5a
push dword [0x575f90]
call dword [sym.imp.USER32.dll_SetCursor]
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00451e38
jmp 0x4320ad
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0042d6df
mov esi, eax
cmp esi, edi
je 0x4320ad
push dword [ebp - 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x234]
mov dword [0x576290], edi
cmp dword [0x5762b4], edi
je 0x431be6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3f8]
test eax, eax
je 0x431be6
cmp dword [0x57628c], edi
jne 0x431bfa
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x431be6
mov eax, dword [ebp - 0x10]
mov dword [0x576290], 1
or dword [ebx + 0xabc], 0xffffffff
mov dword [ebx + 0xac0], eax
mov dword [0x5762b8], ebx
cmp dword [0x57628c], edi
jne 0x431bfa
cmp dword [0x576290], edi
je 0x431fbd
cmp dword [ebx + 0xa44], edi
jne 0x431fbd
cmp dword [ebx + 0xa84], edi
jne 0x431fbd
mov eax, dword [ebx + 0xac0]
mov edx, dword [ebx]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push ecx
push eax
mov ecx, ebx
mov dword [ebx + 0xac0], eax
call dword [edx + 0x348]
cmp dword [ebp - 0x14], 0xffffffff
je 0x431c43
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.0042f35b
push dword [ebx + 0xac0]
mov ecx, ebx
call fcn.0042d6df
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [ebx + 0xbd4], eax
cmp ecx, edi
jne 0x431c66
call fcn.0040bb2e
mov ecx, dword [ebp + 8]
and ecx, 8
mov dword [ebx + 0xa6c], ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x60]
test eax, eax
jne 0x431ca3
or dword [ebx + 0xac0], 0xffffffff
cmp dword [ebp - 0x14], 0xffffffff
mov dword [ebx + 0xbd4], edi
je 0x4320ad
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.0042f35b
jmp 0x4320ad
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0042f35b
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebx + 0xbd4]
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
je 0x431d3e
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x24]
push eax
call fcn.00504964
cmp eax, 6
pop ecx
jg 0x431d3e
cmp dword [0x576290], edi
jne 0x431d3e
mov ecx, dword [ebx + 0xbd4]
mov dword [ebx + 0xa70], 1
lea esi, [ecx + 0x54]
lea edi, [ebx + 0xba4]
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 [ecx]
call dword [eax + 0x38]
test eax, eax
je 0x431d16
push 2
push 2
lea eax, [ebx + 0xba4]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00411bb7
mov dword [ebx + 0xbcc], eax
push dword [0x575f84]
call dword [sym.imp.USER32.dll_SetCursor]
xor edi, edi
jmp 0x432083
mov ecx, dword [ebx + 0xbd4]
mov eax, dword [ecx]
call dword [eax + 0x50]
test eax, eax
je 0x431fb2
mov ecx, dword [ebx + 0xbd4]
mov eax, dword [ecx]
call dword [eax + 0x74]
test eax, eax
je 0x431fb2
lea ecx, [ebp - 0x60]
call fcn.00446a4e
mov ecx, dword [ebx + 0xbd4]
mov eax, dword [ecx]
lea edx, [ebp - 0x60]
push edx
mov dword [ebp - 4], edi
call dword [eax + 0xc]
push dword [esi + 0x20]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3f0]
mov eax, dword [ebp + 0xc]
mov dword [0x576378], edi
mov esi, dword [ebx + 0x20]
mov dword [ebx + 0xbbc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xbc0], eax
cmp dword [0x576290], edi
je 0x431db8
mov dword [0x57628c], 1
push 0x576330
lea eax, [ebp - 0x2c]
push eax
push 3
lea ecx, [ebp - 0x60]
call fcn.004a1517
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x431e04
cmp dword [0x576290], edi
je 0x431df3
mov dword [0x57628c], edi
mov dword [0x576290], edi
mov dword [0x5762b8], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00446a7b
jmp 0x4320ad
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [0x576378], edi
je 0x431f77
push dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x431f77
cmp dword [ebp + 8], 1
je 0x431f5c
mov eax, dword [ebx + 0xbd4]
cmp eax, edi
je 0x431f5c
cmp dword [0x576374], edi
jne 0x431f5c
push dword [ebp + 8]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x358]
test eax, eax
je 0x431f5c
push dword [ebx + 0xbd4]
mov esi, dword [ebx]
mov ecx, ebx
call fcn.0042d574
push eax
mov ecx, ebx
call dword [esi + 0x328]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3bc]
push 0x505
push edi
push edi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x2b0]
push dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push eax
call fcn.00411bb7
cmp eax, edi
je 0x431eec
cmp dword [eax + 0x20], edi
je 0x431eec
push dword [ebx + 0x20]
call esi
push eax
call fcn.00411bb7
push 0x505
push edi
push edi
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [0x576290], edi
jne 0x431f0e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1e4]
push 0x505
push edi
push edi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [ebx + 0x20]
call esi
push eax
call fcn.00411bb7
push 0x53813c
mov ecx, eax
call fcn.0041c3c8
test eax, eax
je 0x431f8b
push dword [ebx + 0x20]
call esi
push eax
call fcn.00411bb7
push dword [eax + 0x20]
call esi
push eax
call fcn.00411bb7
push eax
push 0x56f4d8
call fcn.0041c3e6
pop ecx
pop ecx
cmp eax, edi
je 0x431f8b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1e8]
jmp 0x431f8b
mov eax, dword [ebx + 0xbd4]
cmp eax, edi
je 0x431f8b
push 1
add eax, 0x54
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x431f8b
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx]
push eax
mov ecx, ebx
mov dword [ebx + 0xabc], eax
call dword [edx + 0x38c]
or ecx, 0xffffffff
mov eax, ecx
mov dword [ebx + 0xbc0], ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x60]
mov dword [ebx + 0xbd4], edi
mov dword [ebx + 0xbbc], eax
call fcn.00446a7b
jmp 0x432083
mov dword [ebx + 0xbd4], edi
jmp 0x432083
mov eax, dword [ebp - 0x10]
push eax
mov ecx, ebx
mov dword [ebx + 0xab8], eax
call fcn.0042d856
test dword [esi + 0x24], 0x40000
je 0x431ff3
push 0x570968
mov ecx, esi
call fcn.0041c3c8
test eax, eax
jne 0x431ff3
or dword [ebx + 0xab8], 0xffffffff
jmp 0x4320ad
push dword [ebp - 0x10]
or dword [esi + 0x24], 0x20000
mov ecx, ebx
call fcn.0042f35b
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [esi + 0x20]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3f0]
mov eax, dword [esi]
push edi
push ebx
mov ecx, esi
call dword [eax + 0x20]
test eax, eax
je 0x43206e
push edi
push esi
lea ecx, [ebx + 0xb04]
call fcn.0041cf66
test eax, eax
je 0x43203f
and dword [esi + 0x24], 0xfffdffff
mov eax, dword [ebx]
or dword [ebx + 0xab8], 0xffffffff
or dword [ebx + 0xabc], 0xffffffff
push 0xffffffffffffffff
mov ecx, ebx
call dword [eax + 0x38c]
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0042f35b
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x432083
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00411bb7
mov dword [ebx + 0xbcc], eax
cmp dword [0x576290], edi
je 0x4320ad
push edi
mov dword [0x576290], edi
mov dword [0x5762b8], edi
call fcn.0042fa9d
push 0x505
push edi
push edi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.0050466c
ret 0xc