Function at 0x1007c000
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101731f5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101cfdb0]
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 0x1007c09c
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1007c275
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1c]
test eax, eax
je 0x1007c071
cmp eax, 1
jne 0x1007c275
push 0x100
lea eax, [ebx + 0x16c]
push 0
push eax
call fcn.101193b0
add esp, 0xc
push 0x100
push 0
push esi
call fcn.101193b0
add esp, 0xc
jmp 0x1007c275
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 [0x10257f08]
mov dword [ebx + 0xa6c], 1
mov dword [ebp - 0x50], 0x100
mov dword [ebp - 0x44], edx
cmp byte [esi + 0x100], 0
jne 0x1007c0e5
cmp byte [esi], 0
je 0x1007c0e5
mov ecx, 1
jmp 0x1007c0e7
xor ecx, ecx
mov dword [edi + ebx - 0x400], ecx
cmp byte [esi + 0x100], 0
je 0x1007c103
cmp byte [esi], 0
jne 0x1007c103
mov ecx, 1
jmp 0x1007c105
xor ecx, ecx
mov dword [ebx + edi], ecx
cmp byte [esi], 0
je 0x1007c267
mov dword [ebx + 0xa6c], 0
test eax, eax
je 0x1007c267
cmp dword [0x10257cfc], 0
je 0x1007c267
push 0x200
push 0x10257d08
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.10047940
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, 0x10257d08
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 0x1007c1a0
sub ecx, edx
push ecx
push 0x10257d08
lea ecx, [ebp - 0x2c]
call fcn.10046d30
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x2c]
mov ecx, dword [0x10257cfc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100432e0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1007c1f8
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100479d0
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.100479d0
add esp, 8
push dword [0x102a2730]
call dword [ebp - 0x4c]
cmp dword [0x10257cfc], 0
mov eax, dword [0x10257f08]
je 0x1007c264
test eax, eax
je 0x1007c264
push 0
push 0
push 0xb0
push eax
call dword [ebp - 0x48]
mov ecx, dword [0x10257cfc]
movzx eax, ax
push eax
call fcn.1008a3a0
push dword [0x102a2730]
call dword [ebp - 0x4c]
mov eax, dword [0x10257f08]
mov edx, dword [ebp - 0x44]
add edi, 4
inc esi
sub dword [ebp - 0x50], 1
jne 0x1007c0d0
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 0x1007c4ab
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 0x1007c2de
or dword [ebx + 0xc], 4
push 4
call edi
mov ecx, 0xffffff00
test cx, ax
je 0x1007c2f0
or dword [ebx + 0xc], 0x20
push 2
call edi
mov ecx, 0xffffff00
test cx, ax
je 0x1007c305
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 0x1007c322
test cl, 4
je 0x1007c322
or eax, 1
mov dword [ebx + 0xc], eax
mov edi, edx
mov ecx, eax
and edi, 0x20
jne 0x1007c335
test al, 0x20
je 0x1007c335
or ecx, 8
mov dword [ebx + 0xc], ecx
mov eax, ecx
and edx, 0x100
jne 0x1007c34d
test ecx, 0x100
je 0x1007c34d
or eax, 0x40
mov dword [ebx + 0xc], eax
cmp dword [ebp - 0x48], 0
mov ecx, eax
je 0x1007c35f
test al, 4
jne 0x1007c35f
or ecx, 2
mov dword [ebx + 0xc], ecx
mov eax, ecx
test edi, edi
je 0x1007c370
test cl, 0x20
jne 0x1007c370
or eax, 0x10
mov dword [ebx + 0xc], eax
test edx, edx
je 0x1007c383
test eax, 0x100
jne 0x1007c383
or eax, 0x80
mov dword [ebx + 0xc], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10256980]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102a7f34]
cmp eax, dword [ecx + 4]
jle 0x1007c3cd
push 0x102a7f34
call fcn.10116560
add esp, 4
cmp dword [0x102a7f34], 0xffffffff
jne 0x1007c3cd
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
push 0x102a7f34
mov dword [0x102a7f38], eax
call fcn.10116510
add esp, 4
test byte [ebx + 0xc], 2
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
je 0x1007c3f9
call edi
mov ecx, dword [0x102a7f18]
add ecx, dword [0x102a7f38]
cmp eax, ecx
jae 0x1007c3f2
or dword [ebx + 0xc], 0x200
call edi
mov dword [0x102a7f18], eax
test byte [ebx + 0xc], 0x10
je 0x1007c41f
call edi
mov ecx, dword [0x102a7f14]
add ecx, dword [0x102a7f38]
cmp eax, ecx
jae 0x1007c418
or dword [ebx + 0xc], 0x400
call edi
mov dword [0x102a7f14], eax
test byte [ebx + 0xc], 0x80
je 0x1007c445
call edi
mov ecx, dword [0x102a7f10]
add ecx, dword [0x102a7f38]
cmp eax, ecx
jae 0x1007c43e
or dword [ebx + 0xc], 0x800
call edi
mov dword [0x102a7f10], eax
mov ecx, dword [ebx + 0xc]
test cl, 4
je 0x1007c458
mov eax, dword [esi]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x38], eax
test cl, 0x20
je 0x1007c468
mov eax, dword [esi]
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x48], eax
test ecx, 0x100
je 0x1007c47b
mov eax, dword [esi]
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x58], eax
test cl, 1
je 0x1007c48b
mov eax, dword [esi]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x30], eax
test cl, 8
je 0x1007c49b
mov eax, dword [esi]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], eax
test cl, 0x40
je 0x1007c4ab
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.101163c0
mov esp, ebp
pop ebp
ret