Function at 0x10091710
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x101dbfa0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
xor ebx, ebx
cmp dword [eax + 0x28], ebx
je 0x1009175b
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10091b50
test ebp, ebp
je 0x10091add
mov eax, dword [ebp + 4]
cmp eax, 0x200
jb 0x1009182a
cmp eax, 0x20d
ja 0x1009182a
cmp eax, 0x20a
mov byte [esp + 0x1c], 0
je 0x10091809
cmp eax, 0x200
je 0x10091809
cmp dword [ebp], ebx
je 0x10091809
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x94]
push eax
push ecx
call fcn.1008be00
mov dword [esp + 0x88], 0
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x100917ec
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
test eax, eax
je 0x100917ec
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
cmp dword [ebp], eax
je 0x100917ec
mov byte [esp + 0x1c], 1
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x10091809
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x90]
cmp dword [eax + 0x28], 0
je 0x1009182a
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x80]
push 0
push eax
call edx
mov eax, dword [ebp + 4]
cmp eax, 0x20a
je 0x1009183f
cmp eax, 0x82f
jne 0x10091add
movsx eax, word [ebp + 0xe]
movsx ecx, word [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [esp + 0x28]
push edx
push ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
call esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x88], 1
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.1008c440
mov byte [esp + 0x88], 2
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x100918c6
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x20]
push eax
call edx
mov byte [esp + 0x88], 3
lea edi, [esp + 0x14]
call fcn.100767a0
mov byte [esp + 0x88], 2
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x100918c6
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x14]
xor eax, eax
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
je 0x10091931
mov edx, dword [ecx]
lea eax, [esp + 0x30]
push eax
mov eax, dword [edx + 0x10]
call eax
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x20]
push eax
push ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call esi
mov eax, dword [esp + 0x20]
mov ecx, eax
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x30], eax
add dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
mov edx, ecx
sub edx, dword [esp + 0x34]
mov dword [esp + 0x34], ecx
add dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x90]
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x94]
push eax
push ebx
mov dword [esp + 0x78], edi
call fcn.1008c120
mov byte [esp + 0x88], 4
mov ecx, dword [esp + 0x94]
cmp ecx, edi
je 0x10091977
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x70]
push eax
call edx
mov esi, dword [ebx + 0x60]
xor eax, eax
cmp esi, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x20], esi
je 0x100919ac
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov byte [esp + 0x88], 5
cmp esi, edi
je 0x100919ea
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x40]
add edx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x68], edi
call fcn.1008be00
mov byte [esp + 0x88], 6
mov ecx, dword [esp + 0x18]
cmp ecx, edi
je 0x10091a26
mov edx, dword [ecx]
mov edx, dword [edx + 0xa4]
lea eax, [esp + 0x60]
push eax
call edx
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
shr eax, 7
test al, 1
je 0x10091b6e
push 0x12
call edi
shr eax, 7
test al, 1
je 0x10091b6e
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 0xd8]
add ecx, 8
push 0
push 0x9c65
call edx
mov byte [esp + 0x88], 5
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10091a7d
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0x88], 4
test esi, esi
je 0x10091a92
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0x88], 2
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x10091aac
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0x88], 1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10091ac3
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10091add
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
cmp dword [ebp + 4], 0x200
jne 0x10091b50
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x90]
push eax
push ecx
call fcn.1008bf40
mov dword [esp + 0x88], 7
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x10091b33
lea eax, [esp + 0x94]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x9c], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x68]
push eax
call edx
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x10091b50
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
push eax
push ecx
lea edx, [esp + 0x68]
push edx
call edi
test eax, eax
je 0x10091bfa
mov byte [esp + 0x88], 5
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10091ba0
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0x88], 4
test esi, esi
je 0x10091bb5
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0x88], 2
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x10091bcf
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0x88], 1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10091be6
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x14]
jmp 0x10091b45
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
call edi
test eax, eax
je 0x10091cab
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov di, word [ebp + 0xa]
push eax
push ecx
mov ecx, dword [esp + 0x98]
call fcn.10091630
mov byte [esp + 0x88], 5
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10091c44
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 4
test esi, esi
je 0x10091c59
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov byte [esp + 0x88], 2
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x10091c73
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10091c8a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10091ca4
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x10091b55
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x78]
push eax
call edi
test eax, eax
je 0x10091d60
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x10091d60
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
call edx
mov byte [esp + 0x88], 5
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10091cf9
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0x88], 4
test esi, esi
je 0x10091d0e
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0x88], 2
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x10091d28
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0x88], 1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10091d3f
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10091d59
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
xor eax, eax
jmp 0x10091b55
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x58]
push edx
call edi
test eax, eax
je 0x10091a66
cmp dword [ebp + 4], 0x20a
jne 0x10091a66
mov eax, dword [esp + 0x90]
push eax
call fcn.1008c580
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10091db4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
push 0x82f
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [esp + 0x88], 5
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10091dcb
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0x88], 4
test esi, esi
je 0x10091de0
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0x88], 2
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x10091dfa
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0x88], 1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10091e11
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10091d59
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
xor eax, eax
jmp 0x10091b55