Function at 0x10127160
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b1646
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xec
push ebx
push esi
push edi
mov eax, dword [0x1022c684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc0]
movzx edx, byte [ecx + 0x1a9]
test edx, edx
jne 0x101271bd
xor eax, eax
jmp 0x101275f7
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x434]
cmp dword [ecx + 0x628], 0
jne 0x101271d9
xor eax, eax
jmp 0x101275f7
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x434]
mov ecx, dword [eax + 0x620]
mov dword [ebp - 0x20], ecx
push 0
push 0
push 0x40c
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x434]
mov eax, dword [edx + 0x628]
push eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x434]
mov eax, dword [edx + 0x628]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x94]
call edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1012724c
xor eax, eax
jmp 0x101275f7
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x18]
and eax, 0x10
jne 0x1012726b
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x18]
and edx, 0x80
je 0x10127272
xor eax, eax
jmp 0x101275f7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
and ecx, 1
je 0x10127284
xor eax, eax
jmp 0x101275f7
mov edx, dword [ebp - 0xc0]
cmp dword [edx + 0x298], 0
je 0x101274b1
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x101272b7
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
je 0x101274b1
mov dword [ebp - 0x24], 0
jmp 0x101272c9
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x14]
jae 0x101274b1
mov dword [ebp - 0x78], 0x50
mov dword [ebp - 0x74], 0x51
push 0x48
push 0
lea ecx, [ebp - 0x70]
push ecx
call fcn.1016f6c0
add esp, 0xc
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0x41c
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x101274ac
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x58]
cmp eax, dword [edx + 4]
jne 0x101274ac
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
push 0x101dd188
call fcn.10005d80
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0xac], esp
push 0x101dd18c
call fcn.10005d80
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0
call fcn.100e0ee0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 0x101dd198
call fcn.10005d80
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xb4], esp
push 0x101dd19c
call fcn.10005d80
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0
call fcn.100e0ee0
add esp, 0xc
lea edx, [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0xc0]
add ecx, 4
call fcn.10004cb0
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0xc0]
add ecx, 4
call fcn.10004cb0
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0xa0], 0
mov ecx, dword [ebp - 0x84]
sub ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x94]
sub edx, dword [ebp - 0x9c]
sub edx, ecx
cmp edx, 0x14
ja 0x1012743f
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x70]
and eax, 1
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0xa0], eax
push ecx
mov ecx, esp
mov dword [ebp - 0xb8], esp
push 0x101dd1ac
call fcn.10005d80
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xa0]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
push 0x101dd1b0
call fcn.10005d80
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 0
call fcn.100e0ee0
add esp, 0xc
jmp 0x101274b1
jmp 0x101272c0
cmp dword [0x1022ee44], 0
jne 0x101275df
mov eax, dword [ebp - 0xc0]
cmp dword [eax + 0x298], 0
je 0x101275df
mov dword [ebp - 0xa4], 0
jmp 0x101274ec
mov ecx, dword [ebp - 0xa4]
add ecx, 1
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx + 0x298]
add ecx, 0x68
call fcn.10012070
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xe8]
jae 0x101275df
cmp dword [ebp - 0xc0], 0
je 0x10127535
mov ecx, dword [ebp - 0xc0]
add ecx, 0xc4
mov dword [ebp - 0xec], ecx
jmp 0x1012753f
mov dword [ebp - 0xec], 0
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x298]
add ecx, 0x68
call fcn.10012090
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ecx]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp - 0xf4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xf4]
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx + 0x298]
add ecx, 0x68
call fcn.10012090
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax]
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0x1c]
push edx
push str.resize_ex
mov eax, dword [ebp - 0xfc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xfc]
mov eax, dword [edx + 0x58]
call eax
jmp 0x101274dd
jmp 0x101275ee
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10