Function at 0x1007cdc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c6a5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
lea esi, [ebx + 0x6c]
lea edi, [ebx + 0x16c]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
lea esi, [ebx + 0x6c]
push esi
push 0x100
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x1007ce5c
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1007d035
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1c]
test eax, eax
je 0x1007ce31
cmp eax, 1
jne 0x1007d035
push 0x100
lea eax, [ebx + 0x16c]
push 0
push eax
call fcn.10122870
add esp, 0xc
push 0x100
push 0
push esi
call fcn.10122870
add esp, 0xc
jmp 0x1007d035
mov eax, dword [sym.imp.USER32.dll_SetCursor]
mov edi, 0x66c
mov edx, dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 0x4c], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x48], eax
mov eax, dword [0x10262f08]
mov dword [ebx + 0xa6c], 1
mov dword [ebp - 0x50], 0x100
mov dword [ebp - 0x44], edx
cmp byte [esi + 0x100], 0
jne 0x1007cea5
cmp byte [esi], 0
je 0x1007cea5
mov ecx, 1
jmp 0x1007cea7
xor ecx, ecx
mov dword [edi + ebx - 0x400], ecx
cmp byte [esi + 0x100], 0
je 0x1007cec3
cmp byte [esi], 0
jne 0x1007cec3
mov ecx, 1
jmp 0x1007cec5
xor ecx, ecx
mov dword [ebx + edi], ecx
cmp byte [esi], 0
je 0x1007d027
mov dword [ebx + 0xa6c], 0
test eax, eax
je 0x1007d027
cmp dword [0x10262cfc], 0
je 0x1007d027
push 0x200
push 0x10262d08
push eax
call edx
lea eax, [ebp - 0x3d]
mov dword [ebp - 0x2c], 0
push 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x54], eax
call fcn.100484a0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x58], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov ecx, 0x10262d08
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007cf60
sub ecx, edx
push ecx
push 0x10262d08
lea ecx, [ebp - 0x2c]
call fcn.10047890
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x2c]
mov ecx, dword [0x10262cfc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.10043e40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1007cfb8
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048530
add esp, 8
push dword [0x102ad730]
call dword [ebp - 0x4c]
cmp dword [0x10262cfc], 0
mov eax, dword [0x10262f08]
je 0x1007d024
test eax, eax
je 0x1007d024
push 0
push 0
push 0xb0
push eax
call dword [ebp - 0x48]
mov ecx, dword [0x10262cfc]
movzx eax, ax
push eax
call fcn.1008b830
push dword [0x102ad730]
call dword [ebp - 0x4c]
mov eax, dword [0x10262f08]
mov edx, dword [ebp - 0x44]
add edi, 4
inc esi
sub dword [ebp - 0x50], 1
jne 0x1007ce90
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x1c]
mov ecx, dword [esi + 4]
mov dword [ebx + 0x24], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebx + 8]
mov dword [ebx + 0x28], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.USER32.dll_GetCursorPos]
push esi
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [esi + 4]
lea eax, [ebp - 0x3c]
push dword [esi]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1007d26b
mov eax, dword [ebx + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], 0
call edi
mov ecx, 0xffffff00
test cx, ax
je 0x1007d09e
or dword [ebx + 0xc], 4
push 4
call edi
mov ecx, 0xffffff00
test cx, ax
je 0x1007d0b0
or dword [ebx + 0xc], 0x20
push 2
call edi
mov ecx, 0xffffff00
test cx, ax
je 0x1007d0c5
or dword [ebx + 0xc], 0x100
mov edx, dword [ebx + 0x10]
mov eax, edx
mov ecx, dword [ebx + 0xc]
and eax, 4
mov dword [ebp - 0x48], eax
mov eax, ecx
jne 0x1007d0e2
test cl, 4
je 0x1007d0e2
or eax, 1
mov dword [ebx + 0xc], eax
mov edi, edx
mov ecx, eax
and edi, 0x20
jne 0x1007d0f5
test al, 0x20
je 0x1007d0f5
or ecx, 8
mov dword [ebx + 0xc], ecx
mov eax, ecx
and edx, 0x100
jne 0x1007d10d
test ecx, 0x100
je 0x1007d10d
or eax, 0x40
mov dword [ebx + 0xc], eax
cmp dword [ebp - 0x48], 0
mov ecx, eax
je 0x1007d11f
test al, 4
jne 0x1007d11f
or ecx, 2
mov dword [ebx + 0xc], ecx
mov eax, ecx
test edi, edi
je 0x1007d130
test cl, 0x20
jne 0x1007d130
or eax, 0x10
mov dword [ebx + 0xc], eax
test edx, edx
je 0x1007d143
test eax, 0x100
jne 0x1007d143
or eax, 0x80
mov dword [ebx + 0xc], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10261980]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102b2f30]
cmp eax, dword [ecx + 4]
jle 0x1007d18d
push 0x102b2f30
call fcn.1011fa20
add esp, 4
cmp dword [0x102b2f30], 0xffffffff
jne 0x1007d18d
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
push 0x102b2f30
mov dword [0x102b2f34], eax
call fcn.1011f9d0
add esp, 4
test byte [ebx + 0xc], 2
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
je 0x1007d1b9
call edi
mov ecx, dword [0x102b2f14]
add ecx, dword [0x102b2f34]
cmp eax, ecx
jae 0x1007d1b2
or dword [ebx + 0xc], 0x200
call edi
mov dword [0x102b2f14], eax
test byte [ebx + 0xc], 0x10
je 0x1007d1df
call edi
mov ecx, dword [0x102b2f10]
add ecx, dword [0x102b2f34]
cmp eax, ecx
jae 0x1007d1d8
or dword [ebx + 0xc], 0x400
call edi
mov dword [0x102b2f10], eax
test byte [ebx + 0xc], 0x80
je 0x1007d205
call edi
mov ecx, dword [0x102b2f0c]
add ecx, dword [0x102b2f34]
cmp eax, ecx
jae 0x1007d1fe
or dword [ebx + 0xc], 0x800
call edi
mov dword [0x102b2f0c], eax
mov ecx, dword [ebx + 0xc]
test cl, 4
je 0x1007d218
mov eax, dword [esi]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x38], eax
test cl, 0x20
je 0x1007d228
mov eax, dword [esi]
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x48], eax
test ecx, 0x100
je 0x1007d23b
mov eax, dword [esi]
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x58], eax
test cl, 1
je 0x1007d24b
mov eax, dword [esi]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x30], eax
test cl, 8
je 0x1007d25b
mov eax, dword [esi]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], eax
test cl, 0x40
je 0x1007d26b
mov eax, dword [esi]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011f880
mov esp, ebp
pop ebp
ret