Function at 0x1010fffa
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x101338be
call fcn.100faa9c
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 4]
cmp esi, 0x200
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], esi
je 0x10110044
cmp esi, 0xa0
je 0x10110044
cmp esi, 0x202
je 0x10110044
cmp esi, 0x205
je 0x10110044
cmp esi, 0x208
jne 0x1011030d
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call esi
test ax, ax
jl 0x1011030a
push 2
call esi
test ax, ax
jl 0x1011030a
push 4
call esi
test ax, ax
jl 0x1011030a
call fcn.1011fffc
push dword [ebx]
mov esi, eax
mov dword [ebp - 0x18], esi
jmp 0x10110091
test word [eax + 0x38], 0x401
jne 0x1011009a
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.101136da
test eax, eax
jne 0x1011007f
cmp eax, edi
je 0x101100b2
test eax, eax
jne 0x101103db
and dword [esi + 0x40], eax
or dword [esi + 0x44], 0xffffffff
jmp 0x101103db
mov ebx, dword [esi + 0x3c]
mov ecx, edi
call fcn.101139ca
test ebx, ebx
mov dword [ebp - 0x14], eax
je 0x101100e8
mov ecx, ebx
call fcn.100f5908
cmp eax, dword [ebp - 0x14]
je 0x101100e4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x60]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
xor ebx, ebx
mov dword [esi + 0x3c], ebx
test ebx, ebx
jne 0x10110142
push 0x6c
call fcn.10111729
pop ecx
mov dword [ebp - 0x1c], eax
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x10110105
mov ecx, eax
call fcn.1010fd26
mov ebx, eax
mov eax, dword [ebx]
or dword [ebp - 4], 0xffffffff
push 1
push dword [ebp - 0x14]
mov ecx, ebx
call dword [eax + 0x130]
test eax, eax
jne 0x1011012a
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
jmp 0x101103db
push 0
push 0
push 0x401
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [ebp - 0x10]
mov dword [esi + 0x3c], ebx
push 0x30
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.100f9e80
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
add esp, 0xc
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x1c]
mov dword [ebp - 0x28], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x30
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.100f9e80
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x58]
push ecx
push dword [ebp - 0x24]
mov ecx, edi
push dword [ebp - 0x28]
mov dword [ebp - 0x58], 0x28
call dword [eax + 0x6c]
mov ecx, eax
inc ecx
neg ecx
sbb ecx, ecx
and ecx, edi
cmp dword [esi + 0x44], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ecx
jne 0x101101fc
cmp dword [esi + 0x40], ecx
jne 0x101101fc
test byte [edi + 0x39], 4
je 0x101101e5
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
movzx eax, word [ebp - 0x1c]
movzx ecx, word [ebp - 0x20]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x412
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x101102d4
cmp eax, 0xffffffff
je 0x101102d4
push dword [ebp + 8]
push ebx
call fcn.1010ff78
jmp 0x101102d4
cmp eax, 0xffffffff
je 0x101102f6
mov eax, dword [ebp - 0x10]
push 0xc
pop ecx
lea esi, [ebp - 0x58]
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
and byte [ebp - 0x81], 0x3f
mov edi, 0x400
test dword [eax + 0x38], edi
je 0x1011022e
or dword [ebp - 0x84], 0x20
lea eax, [ebp - 0x88]
push eax
xor esi, esi
push esi
push 0x404
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
test byte [ebp - 0x51], 0x40
jne 0x10110258
mov ecx, dword [ebp - 0x10]
call fcn.1011456e
test eax, eax
je 0x1011029b
push esi
push 1
push 0x401
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x10]
test dword [eax + 0x38], edi
je 0x10110288
lea eax, [ebp - 0x88]
push eax
push 1
push 0x411
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x213
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebp - 0x18]
push dword [ebp + 8]
push ebx
call fcn.1010ff78
lea edi, [esi + 0x48]
cmp dword [edi], 0x28
jb 0x101102c0
push edi
push 0
push 0x405
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x44], eax
push 0xc
pop ecx
lea esi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x34], 0xffffffff
je 0x101103db
cmp dword [ebp - 0x38], 0
jne 0x101103db
push dword [ebp - 0x34]
call fcn.100f71b3
pop ecx
jmp 0x101103db
push 0
push 0
push 0x401
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1011029e
mov esi, dword [ebp - 0x1c]
test word [edi + 0x38], 0x401
je 0x101103db
push dword [ebx]
jmp 0x10110333
cmp eax, edi
je 0x10110344
test word [eax + 0x38], 0x401
jne 0x1011033c
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.101136da
test eax, eax
jne 0x1011031d
cmp eax, edi
jne 0x101103db
cmp esi, 0x100
jb 0x10110354
cmp esi, 0x109
jbe 0x10110364
cmp esi, 0x104
jb 0x10110369
cmp esi, 0x107
ja 0x10110369
xor eax, eax
inc eax
jmp 0x1011036b
xor eax, eax
test byte [edi + 0x39], 4
jne 0x101103db
test eax, eax
jne 0x101103d5
cmp esi, 0x201
je 0x101103d5
cmp esi, 0x203
je 0x101103d5
cmp esi, 0x204
je 0x101103d5
cmp esi, 0x206
je 0x101103d5
cmp esi, 0x207
je 0x101103d5
cmp esi, 0x209
je 0x101103d5
cmp esi, 0xa1
je 0x101103d5
cmp esi, 0xa3
je 0x101103d5
cmp esi, 0xa4
je 0x101103d5
cmp esi, 0xa6
je 0x101103d5
cmp esi, 0xa7
je 0x101103d5
cmp esi, 0xa9
jne 0x101103db
push eax
call fcn.10112b83
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4