Function at 0x1007d880
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d335
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 0x1007d91c
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1007daf5
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1c]
test eax, eax
je 0x1007d8f1
cmp eax, 1
jne 0x1007daf5
push 0x100
lea eax, [ebx + 0x16c]
push 0
push eax
call fcn.101234b0
add esp, 0xc
push 0x100
push 0
push esi
call fcn.101234b0
add esp, 0xc
jmp 0x1007daf5
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 0x1007d965
cmp byte [esi], 0
je 0x1007d965
mov ecx, 1
jmp 0x1007d967
xor ecx, ecx
mov dword [edi + ebx - 0x400], ecx
cmp byte [esi + 0x100], 0
je 0x1007d983
cmp byte [esi], 0
jne 0x1007d983
mov ecx, 1
jmp 0x1007d985
xor ecx, ecx
mov dword [ebx + edi], ecx
cmp byte [esi], 0
je 0x1007dae7
mov dword [ebx + 0xa6c], 0
test eax, eax
je 0x1007dae7
cmp dword [0x10262cfc], 0
je 0x1007dae7
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.10048f80
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 0x1007da20
sub ecx, edx
push ecx
push 0x10262d08
lea ecx, [ebp - 0x2c]
call fcn.10048350
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.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1007da78
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
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.10049010
add esp, 8
push dword [0x102ad730]
call dword [ebp - 0x4c]
cmp dword [0x10262cfc], 0
mov eax, dword [0x10262f08]
je 0x1007dae4
test eax, eax
je 0x1007dae4
push 0
push 0
push 0xb0
push eax
call dword [ebp - 0x48]
mov ecx, dword [0x10262cfc]
movzx eax, ax
push eax
call fcn.1008c300
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 0x1007d950
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 0x1007dd2b
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 0x1007db5e
or dword [ebx + 0xc], 4
push 4
call edi
mov ecx, 0xffffff00
test cx, ax
je 0x1007db70
or dword [ebx + 0xc], 0x20
push 2
call edi
mov ecx, 0xffffff00
test cx, ax
je 0x1007db85
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 0x1007dba2
test cl, 4
je 0x1007dba2
or eax, 1
mov dword [ebx + 0xc], eax
mov edi, edx
mov ecx, eax
and edi, 0x20
jne 0x1007dbb5
test al, 0x20
je 0x1007dbb5
or ecx, 8
mov dword [ebx + 0xc], ecx
mov eax, ecx
and edx, 0x100
jne 0x1007dbcd
test ecx, 0x100
je 0x1007dbcd
or eax, 0x40
mov dword [ebx + 0xc], eax
cmp dword [ebp - 0x48], 0
mov ecx, eax
je 0x1007dbdf
test al, 4
jne 0x1007dbdf
or ecx, 2
mov dword [ebx + 0xc], ecx
mov eax, ecx
test edi, edi
je 0x1007dbf0
test cl, 0x20
jne 0x1007dbf0
or eax, 0x10
mov dword [ebx + 0xc], eax
test edx, edx
je 0x1007dc03
test eax, 0x100
jne 0x1007dc03
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 0x1007dc4d
push 0x102b2f30
call fcn.10120660
add esp, 4
cmp dword [0x102b2f30], 0xffffffff
jne 0x1007dc4d
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
push 0x102b2f30
mov dword [0x102b2f34], eax
call fcn.10120610
add esp, 4
test byte [ebx + 0xc], 2
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
je 0x1007dc79
call edi
mov ecx, dword [0x102b2f14]
add ecx, dword [0x102b2f34]
cmp eax, ecx
jae 0x1007dc72
or dword [ebx + 0xc], 0x200
call edi
mov dword [0x102b2f14], eax
test byte [ebx + 0xc], 0x10
je 0x1007dc9f
call edi
mov ecx, dword [0x102b2f10]
add ecx, dword [0x102b2f34]
cmp eax, ecx
jae 0x1007dc98
or dword [ebx + 0xc], 0x400
call edi
mov dword [0x102b2f10], eax
test byte [ebx + 0xc], 0x80
je 0x1007dcc5
call edi
mov ecx, dword [0x102b2f0c]
add ecx, dword [0x102b2f34]
cmp eax, ecx
jae 0x1007dcbe
or dword [ebx + 0xc], 0x800
call edi
mov dword [0x102b2f0c], eax
mov ecx, dword [ebx + 0xc]
test cl, 4
je 0x1007dcd8
mov eax, dword [esi]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x38], eax
test cl, 0x20
je 0x1007dce8
mov eax, dword [esi]
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x48], eax
test ecx, 0x100
je 0x1007dcfb
mov eax, dword [esi]
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x58], eax
test cl, 1
je 0x1007dd0b
mov eax, dword [esi]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x30], eax
test cl, 8
je 0x1007dd1b
mov eax, dword [esi]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], eax
test cl, 0x40
je 0x1007dd2b
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.101204c0
mov esp, ebp
pop ebp
ret