Function at 0x10065fb9
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x1018f07d
call fcn.101687e5
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 [0x1019ba8c]
mov ecx, ebx
call esi
mov ecx, dword [0x101fe624]
mov edi, eax
or esi, 0xffffffff
mov dword [ebp - 0x4c], edi
cmp ecx, ebx
je 0x1006601b
cmp dword [0x101fe63c], 0
je 0x10066024
mov dword [0x101fe624], ebx
test ecx, ecx
je 0x1006601b
mov eax, dword [ecx + 0xbf4]
push eax
mov dword [ecx + 0xbf4], esi
call fcn.100636cd
cmp dword [0x101fe63c], 0
jne 0x1006605a
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.10026211
push eax
push 0x101a973c
call fcn.10038a5e
pop ecx
pop ecx
test eax, eax
je 0x1006605a
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.10026211
mov ecx, eax
call fcn.1002e9d9
test edi, edi
jns 0x100660ee
mov dword [ebx + 0xbec], esi
cmp dword [0x101fe63c], 0
je 0x100660b0
cmp dword [ebx + 0xb78], 0
jne 0x100660b0
mov eax, dword [ebx + 0xbf4]
mov dword [ebx + 0xbf4], esi
cmp eax, esi
je 0x1006609b
push eax
mov ecx, ebx
call fcn.100636cd
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 [0x1019ba8c]
mov ecx, ebx
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0x1cc]
mov ecx, esi
call dword [0x1019ba8c]
mov ecx, ebx
call esi
test eax, eax
je 0x100660d9
call fcn.1003a97e
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.100aa86d
jmp 0x10066928
push edi
mov ecx, ebx
call fcn.10062e6b
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10066928
mov ecx, dword [ebx]
push edi
mov esi, dword [ecx + 0x25c]
mov ecx, esi
call dword [0x1019ba8c]
mov ecx, ebx
call esi
and dword [0x101fe640], 0
cmp dword [0x101fe648], 0
je 0x10066173
mov eax, dword [ebx]
mov esi, dword [eax + 0x420]
mov ecx, esi
call dword [0x1019ba8c]
mov ecx, ebx
call esi
test eax, eax
je 0x10066173
cmp dword [0x101fe63c], 0
jne 0x10066189
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x10066173
mov dword [0x101fe640], 1
or dword [ebx + 0xbf0], 0xffffffff
mov dword [ebx + 0xbf4], edi
mov dword [0x101fe624], ebx
cmp dword [0x101fe63c], 0
jne 0x10066189
cmp dword [0x101fe640], 0
je 0x10066796
xor ecx, ecx
cmp dword [ebx + 0xb78], ecx
jne 0x10066796
cmp dword [ebx + 0xbb8], ecx
jne 0x10066796
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 [0x1019ba8c]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xffffffff
je 0x100662a7
test ecx, ecx
js 0x100662a7
cmp ecx, dword [ebx + 0xc48]
jge 0x100662a7
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 [0x1019ba8c]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.10062e6b
mov esi, eax
test esi, esi
je 0x1006623f
cmp esi, dword [ebx + 0xd14]
jne 0x1006623f
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 0x100662a7
mov eax, dword [ebx + 0xd14]
cmp esi, eax
jne 0x100662a7
xor esi, esi
lea ecx, [ebp - 0x40]
push esi
push esi
push ecx
mov ecx, eax
call fcn.10062ffc
mov ecx, eax
call fcn.1003ac5f
test eax, eax
je 0x100662a7
mov ecx, dword [ebx + 0xd14]
lea eax, [ebp - 0x40]
push eax
call fcn.10062ffc
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.10062e6b
mov ecx, eax
mov dword [ebp - 0x48], ecx
mov dword [ebx + 0xd0c], ecx
test ecx, ecx
je 0x10066930
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 [0x1019ba8c]
mov ecx, dword [ebp - 0x48]
call esi
test eax, eax
jne 0x100663c9
or dword [ebx + 0xbf4], 0xffffffff
mov edi, dword [ebp - 0x44]
mov dword [ebx + 0xd0c], eax
cmp edi, 0xffffffff
je 0x10066928
test edi, edi
js 0x10066928
cmp edi, dword [ebx + 0xc48]
jge 0x10066928
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 [0x1019ba8c]
mov ecx, ebx
call esi
push edi
mov ecx, ebx
call fcn.10062e6b
mov esi, eax
test esi, esi
je 0x1006635d
cmp esi, dword [ebx + 0xd14]
jne 0x1006635d
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 0x10066928
mov edi, dword [ebx + 0xd14]
cmp esi, edi
jne 0x10066928
xor esi, esi
lea eax, [ebp - 0x40]
push esi
push esi
push eax
mov ecx, edi
call fcn.10062ffc
mov ecx, eax
call fcn.1003ac5f
test eax, eax
je 0x10066928
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.10062ffc
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 0x1006691f
push edi
mov ecx, ebx
call fcn.100636cd
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 [0x1019ba8c]
mov ecx, edi
call esi
test eax, eax
je 0x10066488
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x28]
push eax
call fcn.101755c6
pop ecx
cmp eax, 6
jg 0x10066488
cmp dword [0x101fe640], 0
jne 0x10066488
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 [0x1019ba8c]
mov ecx, ebx
call esi
test eax, eax
je 0x1006645a
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.10026211
mov dword [ebx + 0xd04], eax
call fcn.1003a97e
push dword [eax + 0xf0]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x100668f8
mov edi, dword [ebx + 0xd0c]
mov eax, dword [edi]
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x1019ba8c]
mov ecx, edi
call esi
test eax, eax
je 0x1006678a
mov edi, dword [ebx + 0xd0c]
mov eax, dword [edi]
mov esi, dword [eax + 0x74]
mov ecx, esi
call dword [0x1019ba8c]
mov ecx, edi
call esi
test eax, eax
je 0x1006678a
lea ecx, [ebp - 0x80]
call fcn.1004745b
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 [0x1019ba8c]
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 [0x1019ba8c]
mov ecx, ebx
call esi
and dword [0x101fe700], 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 [0x101fe640], 0
je 0x10066536
mov dword [0x101fe63c], 1
push 0x101fe6b8
lea eax, [ebp - 0x30]
push eax
push 3
lea ecx, [ebp - 0x80]
call fcn.100d9009
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1006657a
cmp dword [0x101fe640], eax
je 0x1006656d
mov dword [0x101fe63c], eax
mov dword [0x101fe640], eax
mov dword [0x101fe624], eax
lea ecx, [ebp - 0x80]
call fcn.100474c6
jmp 0x10066928
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 [0x101fe700], 0
je 0x10066746
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 0x10066746
cmp esi, 1
je 0x1006672b
mov ecx, dword [ebx + 0xd0c]
test ecx, ecx
je 0x1006672b
cmp dword [0x101fe6fc], eax
jne 0x1006672b
mov eax, dword [ebx]
push esi
push ecx
mov esi, dword [eax + 0x37c]
mov ecx, esi
call dword [0x1019ba8c]
mov ecx, ebx
call esi
test eax, eax
je 0x1006672b
push dword [ebx + 0xd0c]
mov esi, dword [ebx]
mov ecx, ebx
call fcn.10060f8e
mov ecx, dword [esi + 0x34c]
push eax
call dword [0x1019ba8c]
mov ecx, ebx
call dword [esi + 0x34c]
mov eax, dword [ebx]
mov esi, dword [eax + 0x3e4]
mov ecx, esi
call dword [0x1019ba8c]
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 [0x1019ba8c]
mov ecx, ebx
call esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.10026211
test eax, eax
je 0x10066696
cmp dword [eax + 0x20], 0
je 0x10066696
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.10026211
push edi
push 0
push 0
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [0x101fe640], 0
jne 0x100666c1
mov eax, dword [ebx]
mov esi, dword [eax + 0x20c]
mov ecx, esi
call dword [0x1019ba8c]
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.10026211
push 0x101aadd8
mov ecx, eax
call fcn.10038afd
test eax, eax
je 0x10066764
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.10026211
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.10026211
push eax
push 0x101f6538
call fcn.10038a5e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10066764
mov ecx, dword [edi]
mov esi, dword [ecx + 0x210]
mov ecx, esi
call dword [0x1019ba8c]
mov ecx, edi
call esi
jmp 0x10066764
mov eax, dword [ebx + 0xd0c]
test eax, eax
je 0x10066764
push 1
add eax, 0x54
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x10066764
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 [0x1019ba8c]
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.100474c6
jmp 0x100668f8
and dword [ebx + 0xd0c], 0
jmp 0x100668f8
push edi
mov ecx, ebx
mov dword [ebx + 0xbec], edi
call fcn.1006b527
mov esi, dword [ebp - 0x34]
test dword [esi + 0x24], 0x40000
je 0x100667cc
push 0x101f6944
mov ecx, esi
call fcn.10038afd
test eax, eax
jne 0x100667cc
or dword [ebx + 0xbec], 0xffffffff
jmp 0x10066928
or dword [esi + 0x24], 0x20000
mov ecx, ebx
push edi
call fcn.100636cd
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 [0x1019ba8c]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x1019ba8c]
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 [0x1019ba8c]
mov ecx, dword [ebp - 0x34]
call esi
test eax, eax
je 0x100668e3
mov esi, dword [ebp - 0x34]
lea ecx, [ebx + 0xc3c]
and dword [ebp - 0x38], 0
push 0
push esi
call fcn.10044452
test eax, eax
je 0x10066855
and dword [esi + 0x24], 0xfffdffff
jmp 0x1006685c
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 [0x1019ba8c]
mov ecx, ebx
call esi
push edi
mov ecx, ebx
call fcn.100636cd
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp - 0x38], 0
jne 0x100668f8
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x1019ba8c]
mov ecx, dword [ebp - 0x34]
call esi
cmp dword [ebp - 0x4c], eax
je 0x100668f8
push edi
mov ecx, ebx
call fcn.1006021a
mov esi, eax
test esi, esi
jle 0x100668f8
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 0x100668f8
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.10026211
mov dword [ebx + 0xd04], eax
cmp dword [0x101fe640], 0
je 0x10066928
and dword [0x101fe640], 0
and dword [0x101fe624], 0
push 0
call fcn.10069db4
push 0x505
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.1016878f
ret 0xc
call fcn.1002c0ba
int3