Function at 0x11113fa0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x228], 0
mov ebx, edx
mov dword [ebp - 0x6c], ebx
je 0x11114574
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.uSEr32.dll_IsIconic]
test eax, eax
jne 0x11114574
push edi
test ebx, ebx
je 0x111140ee
mov ecx, dword [ebp - 0x6c]
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub eax, edi
sub edx, ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
jne 0x111140fd
mov ecx, dword [esi + 0x5d4]
test ecx, ecx
jne 0x1111409d
cmp byte [esi + 0x5c5], cl
jne 0x11114025
cmp dword [esi + 0x148], ecx
je 0x11114436
test ecx, ecx
jne 0x1111409d
mov ecx, dword [esi + 0x594]
test ecx, ecx
je 0x1111403e
mov ecx, dword [ecx + 0x20]
mov dword [esi + 0x5e8], ecx
jmp 0x11114051
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
dec eax
or eax, 1
mov dword [esi + 0x5e8], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
add ecx, ebx
push ecx
add eax, edi
push eax
push ebx
push edi
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x6c], eax
call dword [sym.imp.Gdi32.Dll_CreateRectRgn]
mov ecx, dword [ebp - 0x58]
mov dword [esi + 0x5d4], eax
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x5d8], edi
pop edi
mov dword [esi + 0x5dc], ebx
mov dword [esi + 0x5e0], eax
mov dword [esi + 0x5e4], ecx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
cmp edi, dword [esi + 0x5d8]
jge 0x111140ab
mov dword [esi + 0x5d8], edi
cmp ebx, dword [esi + 0x5dc]
jge 0x111140b9
mov dword [esi + 0x5dc], ebx
add edi, eax
cmp edi, dword [esi + 0x5e0]
jle 0x111140c9
mov dword [esi + 0x5e0], edi
add ebx, edx
cmp ebx, dword [esi + 0x5e4]
jle 0x11114573
pop edi
mov dword [esi + 0x5e4], ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
mov eax, 0x4000
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
cmp dword [esi + 0x148], 0
je 0x11114436
mov eax, dword [esi + 0x68]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [sym.imp.uSEr32.dll_GetClientRect]
cmp dword [ebp - 0x34], 0
je 0x11114433
cmp dword [ebp - 0x30], 0
je 0x11114433
push 0
mov ecx, esi
call fcn.11113040
mov dword [ebp - 0x5c], edx
mov edx, dword [esi + 0x5a8]
add edx, dword [esi + 0x5b4]
add esp, 4
sub edi, edx
mov edx, dword [esi + 0x5ac]
add edx, dword [esi + 0x5b8]
mov ecx, eax
sub ebx, edx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x60], ecx
jne 0x1111418e
cdq
idiv dword [ebp - 0x34]
cmp edi, eax
jl 0x1111416c
sub edi, eax
mov ecx, dword [ebp - 0x50]
lea edx, [ecx + eax*2]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], edx
cdq
idiv dword [ebp - 0x30]
cmp ebx, eax
jl 0x11114182
sub ebx, eax
mov ecx, dword [ebp - 0x54]
lea edx, [ecx + eax*2]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x54], edx
mov eax, ecx
sub eax, edi
cmp dword [ebp - 0x50], eax
jle 0x1111419a
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x5c]
sub eax, ebx
cmp dword [ebp - 0x54], eax
jle 0x111141a7
mov dword [ebp - 0x54], eax
mov eax, ecx
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x34]
imul eax, edi
sar edx, 1
add eax, edx
mov dword [ebp - 0x68], edx
cdq
idiv ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, ecx
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x30]
imul eax, ebx
sar edx, 1
add eax, edx
mov dword [ebp - 0x78], edx
cdq
idiv ecx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x68]
cdq
idiv dword [ebp - 0x60]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x78]
cdq
idiv ecx
mov ecx, dword [esi + 0x5b8]
add ecx, dword [esi + 0x5ac]
add dword [ebp - 0x70], ecx
add ebx, ecx
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x5a8]
add eax, dword [esi + 0x5b4]
add dword [ebp - 0x74], eax
add edi, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x11114232
push eax
mov eax, dword [esi + 0x228]
push eax
jmp 0x11114244
cmp dword [esi + 0x590], 2
jl 0x1111424a
mov ecx, dword [esi + 0x228]
push 4
push ecx
call dword [sym.imp.Gdi32.Dll_SetStretchBltMode]
cmp dword [esi + 0x590], 3
jl 0x1111439f
cmp dword [esi + 0x5b4], 0
jne 0x1111439f
cmp dword [esi + 0x5b8], 0
jne 0x1111439f
cmp dword [esi + 0x5a8], 0
jne 0x1111439f
cmp dword [esi + 0x5ac], 0
jne 0x1111439f
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x74]
add edx, ecx
push edx
mov edx, dword [ebp - 0x58]
add edx, eax
push edx
push ecx
push eax
call dword [sym.imp.Gdi32.Dll_CreateRectRgn]
mov edi, eax
mov eax, dword [esi + 0x228]
push 0
push eax
mov dword [ebp - 0x58], edi
call dword [sym.imp.Gdi32.Dll_GetClipRgn]
mov ecx, dword [esi + 0x5b8]
add ecx, dword [esi + 0x5ac]
mov edx, dword [esi + 0x5b4]
add edx, dword [esi + 0x5a8]
neg ecx
push ecx
neg edx
push edx
push edi
call dword [sym.imp.Gdi32.Dll_OffsetRgn]
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.Gdi32.Dll_GetRgnBox]
mov ecx, dword [esi + 0x228]
push edi
push ecx
call dword [sym.imp.Gdi32.Dll_SelectClipRgn]
mov eax, dword [esi + 0xdc]
mov edx, dword [esi + 0xd8]
push 0xcc0020
push eax
imul eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x78]
push edx
mov edx, dword [esi + 0x22c]
push 0
push 0
push edx
cdq
idiv dword [ebp - 0x5c]
mov ecx, dword [esi + 0x5ac]
mov edi, dword [esi + 0x5a8]
push eax
mov eax, dword [esi + 0xd8]
imul eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x68]
cdq
idiv dword [ebp - 0x60]
push eax
mov eax, dword [esi + 0x5b8]
add eax, ecx
imul eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x78]
cdq
idiv dword [ebp - 0x5c]
sub ecx, eax
add ecx, dword [esi + 0x5b8]
push ecx
mov ecx, dword [esi + 0x5b4]
lea eax, [edi + ecx]
imul eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x68]
cdq
idiv dword [ebp - 0x60]
sub edi, eax
mov eax, dword [esi + 0x228]
add edi, ecx
push edi
push eax
call dword [sym.imp.Gdi32.Dll_StretchBlt]
mov ecx, dword [esi + 0x228]
push 0
push ecx
call dword [sym.imp.Gdi32.Dll_SelectClipRgn]
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.Gdi32.Dll_DeleteObject]
jmp 0x11114561
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov edx, dword [esi + 0x22c]
push 0xcc0020
push eax
mov eax, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x58]
push ebx
push edi
mov edi, dword [sym.imp.Gdi32.Dll_StretchBlt]
push edx
mov edx, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x74]
push ecx
mov ecx, dword [esi + 0x228]
push edx
push eax
push ecx
call edi
test eax, eax
jne 0x11114561
mov eax, dword [esi + 0x228]
lea edx, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.Gdi32.Dll_GetWindowOrgEx]
mov ecx, dword [esi + 0xdc]
mov edx, dword [esi + 0xd8]
mov eax, dword [esi + 0x5ac]
push 0xcc0020
push ecx
mov ecx, dword [esi + 0x5a8]
push edx
mov edx, dword [esi + 0x22c]
push eax
mov eax, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x60]
push ecx
mov ecx, dword [esi + 0x228]
push edx
push eax
push ecx
call edi
jmp 0x11114561
mov eax, dword [ebp - 0x50]
mov ecx, dword [esi + 0x1d8]
test ecx, ecx
je 0x11114539
mov edx, dword [ebp - 0x54]
imul edx, eax
cmp edx, ecx
jl 0x11114539
push 0xa3
call dword [sym.imp.uSEr32.dll_GetKeyState]
test ax, ax
mov eax, dword [ebp - 0x50]
jns 0x11114539
mov ecx, dword [ebp - 0x54]
lea eax, [eax + edi - 1]
push 0xff
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
lea eax, [ecx + ebx - 1]
push 1
push 0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ebx
call dword [sym.imp.Gdi32.Dll_CreatePen]
push 0xffffff
push 1
push 0
mov dword [ebp - 0x58], eax
call dword [sym.imp.Gdi32.Dll_CreatePen]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x228]
push edx
push eax
call dword [sym.imp.Gdi32.Dll_SelectObject]
mov edx, dword [esi + 0x228]
push 5
lea ecx, [ebp - 0x2c]
push ecx
push edx
mov dword [ebp - 0x68], eax
call dword [sym.imp.Gdi32.Dll_Polyline]
push 0x32
call dword [sym.imp.KeRneL32.DLl_Sleep]
mov eax, dword [ebp - 0x64]
mov ecx, dword [esi + 0x228]
push eax
push ecx
call dword [sym.imp.Gdi32.Dll_SelectObject]
mov eax, dword [esi + 0x228]
push 5
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [sym.imp.Gdi32.Dll_Polyline]
push 0x32
call dword [sym.imp.KeRneL32.DLl_Sleep]
mov ecx, dword [ebp - 0x68]
mov edx, dword [esi + 0x228]
push ecx
push edx
call dword [sym.imp.Gdi32.Dll_SelectObject]
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.Gdi32.Dll_DeleteObject]
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.Gdi32.Dll_DeleteObject]
mov eax, dword [ebp - 0x50]
mov edx, dword [esi + 0x22c]
mov ecx, dword [ebp - 0x54]
push 0xcc0020
push ebx
push edi
push edx
mov edx, dword [esi + 0x228]
push ecx
push eax
push ebx
push edi
push edx
call dword [sym.imp.Gdi32.Dll_BitBlt]
mov eax, dword [esi + 4]
inc dword [eax + 0x20]
mov esi, dword [esi + 4]
cmp dword [esi + 0xc], 0
je 0x11114573
cmp dword [ebp - 0x6c], 0
je 0x11114573
inc dword [esi + 0x14]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret