Function at 0x1007d700
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d095
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 0x1007d79c
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1007d975
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1c]
test eax, eax
je 0x1007d771
cmp eax, 1
jne 0x1007d975
push 0x100
lea eax, [ebx + 0x16c]
push 0
push eax
call fcn.10123240
add esp, 0xc
push 0x100
push 0
push esi
call fcn.10123240
add esp, 0xc
jmp 0x1007d975
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 0x1007d7e5
cmp byte [esi], 0
je 0x1007d7e5
mov ecx, 1
jmp 0x1007d7e7
xor ecx, ecx
mov dword [edi + ebx - 0x400], ecx
cmp byte [esi + 0x100], 0
je 0x1007d803
cmp byte [esi], 0
jne 0x1007d803
mov ecx, 1
jmp 0x1007d805
xor ecx, ecx
mov dword [ebx + edi], ecx
cmp byte [esi], 0
je 0x1007d967
mov dword [ebx + 0xa6c], 0
test eax, eax
je 0x1007d967
cmp dword [0x10262cfc], 0
je 0x1007d967
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.10048e10
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 0x1007d8a0
sub ecx, edx
push ecx
push 0x10262d08
lea ecx, [ebp - 0x2c]
call fcn.10048200
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.100447b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1007d8f8
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048ea0
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.10048ea0
add esp, 8
push dword [0x102ad730]
call dword [ebp - 0x4c]
cmp dword [0x10262cfc], 0
mov eax, dword [0x10262f08]
je 0x1007d964
test eax, eax
je 0x1007d964
push 0
push 0
push 0xb0
push eax
call dword [ebp - 0x48]
mov ecx, dword [0x10262cfc]
movzx eax, ax
push eax
call fcn.1008c1b0
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 0x1007d7d0
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 0x1007dbab
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 0x1007d9de
or dword [ebx + 0xc], 4
push 4
call edi
mov ecx, 0xffffff00
test cx, ax
je 0x1007d9f0
or dword [ebx + 0xc], 0x20
push 2
call edi
mov ecx, 0xffffff00
test cx, ax
je 0x1007da05
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 0x1007da22
test cl, 4
je 0x1007da22
or eax, 1
mov dword [ebx + 0xc], eax
mov edi, edx
mov ecx, eax
and edi, 0x20
jne 0x1007da35
test al, 0x20
je 0x1007da35
or ecx, 8
mov dword [ebx + 0xc], ecx
mov eax, ecx
and edx, 0x100
jne 0x1007da4d
test ecx, 0x100
je 0x1007da4d
or eax, 0x40
mov dword [ebx + 0xc], eax
cmp dword [ebp - 0x48], 0
mov ecx, eax
je 0x1007da5f
test al, 4
jne 0x1007da5f
or ecx, 2
mov dword [ebx + 0xc], ecx
mov eax, ecx
test edi, edi
je 0x1007da70
test cl, 0x20
jne 0x1007da70
or eax, 0x10
mov dword [ebx + 0xc], eax
test edx, edx
je 0x1007da83
test eax, 0x100
jne 0x1007da83
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 0x1007dacd
push 0x102b2f30
call fcn.101203f0
add esp, 4
cmp dword [0x102b2f30], 0xffffffff
jne 0x1007dacd
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
push 0x102b2f30
mov dword [0x102b2f34], eax
call fcn.101203a0
add esp, 4
test byte [ebx + 0xc], 2
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
je 0x1007daf9
call edi
mov ecx, dword [0x102b2f14]
add ecx, dword [0x102b2f34]
cmp eax, ecx
jae 0x1007daf2
or dword [ebx + 0xc], 0x200
call edi
mov dword [0x102b2f14], eax
test byte [ebx + 0xc], 0x10
je 0x1007db1f
call edi
mov ecx, dword [0x102b2f10]
add ecx, dword [0x102b2f34]
cmp eax, ecx
jae 0x1007db18
or dword [ebx + 0xc], 0x400
call edi
mov dword [0x102b2f10], eax
test byte [ebx + 0xc], 0x80
je 0x1007db45
call edi
mov ecx, dword [0x102b2f0c]
add ecx, dword [0x102b2f34]
cmp eax, ecx
jae 0x1007db3e
or dword [ebx + 0xc], 0x800
call edi
mov dword [0x102b2f0c], eax
mov ecx, dword [ebx + 0xc]
test cl, 4
je 0x1007db58
mov eax, dword [esi]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x38], eax
test cl, 0x20
je 0x1007db68
mov eax, dword [esi]
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x48], eax
test ecx, 0x100
je 0x1007db7b
mov eax, dword [esi]
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x58], eax
test cl, 1
je 0x1007db8b
mov eax, dword [esi]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x30], eax
test cl, 8
je 0x1007db9b
mov eax, dword [esi]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], eax
test cl, 0x40
je 0x1007dbab
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.10120250
mov esp, ebp
pop ebp
ret