Function at 0x1050c7f
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
mov ebx, ecx
push eax
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0x6c]
sub eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
sub eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
sub eax, dword [ebp - 0x20]
push 7
add eax, dword [ebp + 8]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
push 7
lea esi, [ebx + 0x10]
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
pop ecx
sub eax, edx
sub eax, dword [ebp - 0x1c]
push 7
add eax, dword [ebp + 0xc]
lea esi, [ebx + 0x2c]
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
pop ecx
lea esi, [ebx + 0x48]
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
or esi, 0xffffffff
push 0x10
mov dword [ebp - 4], eax
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x5c], esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1050d10
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.01050c5b
cmp dword [ebx + 0x24], esi
je 0x1050d24
lea eax, [ebx + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.01050574
cmp dword [ebx + 0x40], esi
je 0x1050d38
lea eax, [ebx + 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.01050574
cmp dword [ebx + 0x5c], esi
je 0x1050d48
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.010505dd
push dword [ebp - 0xc]
mov eax, dword [ebx]
push dword [ebp - 0x10]
mov ecx, ebx
call dword [eax + 4]
lea eax, [ebx + 0x10]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.01050643
mov edi, 0x10000
mov esi, 0x80000000
test al, al
jne 0x1050e53
cmp dword [ebp - 0x28], 0xffffffff
je 0x1050de0
cmp dword [0x109897c], 0
je 0x1050de0
mov al, byte [0x1098980]
cmp al, 4
jae 0x1050d90
test al, al
jne 0x1050de0
mov eax, dword [0x1098968]
mov ecx, dword [0x109896c]
and eax, edi
and ecx, esi
or eax, ecx
je 0x1050de0
mov edx, dword [0x1098970]
mov ecx, dword [0x1098974]
mov eax, edx
and eax, edi
and ecx, esi
cmp eax, edx
jne 0x1050de0
cmp ecx, dword [0x1098974]
jne 0x1050de0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebx + 8]
push 0x1051070
push dword [0x10982bc]
push dword [0x10982b8]
call fcn.01050703
cmp dword [ebx + 0x24], 0xffffffff
je 0x1050e4c
cmp dword [0x109897c], 0
je 0x1050e4c
mov al, byte [0x1098980]
cmp al, 4
jae 0x1050dfc
test al, al
jne 0x1050e4c
mov eax, dword [0x1098968]
mov ecx, dword [0x109896c]
and eax, edi
and ecx, esi
or eax, ecx
je 0x1050e4c
mov edx, dword [0x1098970]
mov ecx, dword [0x1098974]
mov eax, edx
and eax, edi
and ecx, esi
cmp eax, edx
jne 0x1050e4c
cmp ecx, dword [0x1098974]
jne 0x1050e4c
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 8]
push 0x1051060
push dword [0x10982bc]
push dword [0x10982b8]
call fcn.01050703
mov ecx, ebx
call fcn.010506cd
lea eax, [ebx + 0x2c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.01050643
test al, al
jne 0x1050f40
cmp dword [ebp - 0x44], 0xffffffff
je 0x1050ed4
cmp dword [0x109897c], 0
je 0x1050ed4
mov al, byte [0x1098980]
cmp al, 4
jae 0x1050e84
test al, al
jne 0x1050ed4
mov eax, dword [0x1098968]
mov ecx, dword [0x109896c]
and eax, edi
and ecx, esi
or eax, ecx
je 0x1050ed4
mov edx, dword [0x1098970]
mov ecx, dword [0x1098974]
mov eax, edx
and eax, edi
and ecx, esi
cmp eax, edx
jne 0x1050ed4
cmp ecx, dword [0x1098974]
jne 0x1050ed4
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebx + 8]
push 0x1051070
push dword [0x10982bc]
push dword [0x10982b8]
call fcn.01050703
cmp dword [ebx + 0x40], 0xffffffff
je 0x1050f40
cmp dword [0x109897c], 0
je 0x1050f40
mov al, byte [0x1098980]
cmp al, 4
jae 0x1050ef0
test al, al
jne 0x1050f40
mov eax, dword [0x1098968]
mov ecx, dword [0x109896c]
and eax, edi
and ecx, esi
or eax, ecx
je 0x1050f40
mov edx, dword [0x1098970]
mov ecx, dword [0x1098974]
mov eax, edx
and eax, edi
and ecx, esi
cmp eax, edx
jne 0x1050f40
cmp ecx, dword [0x1098974]
jne 0x1050f40
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push dword [ebx + 8]
push 0x1051060
push dword [0x10982bc]
push dword [0x10982b8]
call fcn.01050703
lea eax, [ebx + 0x48]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.01050643
test al, al
jne 0x1051053
cmp dword [ebp - 0x60], 0xffffffff
je 0x1050fc1
cmp dword [0x109897c], 0
je 0x1050fc1
mov al, byte [0x1098980]
cmp al, 4
jae 0x1050f71
test al, al
jne 0x1050fc1
mov eax, dword [0x1098968]
mov ecx, dword [0x109896c]
and eax, edi
and ecx, esi
or eax, ecx
je 0x1050fc1
mov ecx, dword [0x1098970]
mov edx, dword [0x1098974]
mov eax, ecx
and eax, edi
and edx, esi
cmp eax, ecx
jne 0x1050fc1
cmp edx, dword [0x1098974]
jne 0x1050fc1
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebx + 8]
push 0x1051070
push dword [0x10982bc]
push dword [0x10982b8]
call fcn.01050703
cmp dword [ebx + 0x5c], 0xffffffff
je 0x1051053
mov ecx, dword [ebx + 4]
call fcn.0104cae6
push dword [ebx + 0x5c]
mov ecx, eax
call fcn.0104c97f
push 0x13
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebx + 8]
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [0x109897c], 0
je 0x1051053
mov al, byte [0x1098980]
cmp al, 4
jae 0x1051006
test al, al
jne 0x1051053
mov eax, dword [0x1098968]
mov ecx, dword [0x109896c]
and eax, edi
and ecx, esi
or eax, ecx
je 0x1051053
mov eax, dword [0x1098970]
mov ecx, eax
and ecx, edi
mov edi, dword [0x1098974]
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x1051053
cmp edx, edi
jne 0x1051053
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
push dword [ebx + 8]
push 0x1051060
push dword [0x10982bc]
push dword [0x10982b8]
call fcn.01050703
pop edi
pop esi
pop ebx
leave
ret 8