Function at 0x1002f8ad
Capabilities:
Find taskbar
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
mov esi, ecx
cmp ebx, edi
mov dword [ebp - 0x24], esi
je 0x1002fa69
cmp dword [ebp + 0x14], edi
mov eax, dword [ebx]
jl 0x1002f8f8
cmp dword [ebp + 0x14], eax
jge 0x1002f8f8
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.10031b07
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jl 0x1002f8f5
cmp ecx, dword [eax + 0x20]
jge 0x1002f8f5
push ecx
mov ecx, eax
call fcn.1003008e
mov eax, dword [eax + 0x20]
cmp dword [ebp + 0x1c], edi
jl 0x1002fa69
cmp dword [ebp + 0x1c], eax
jge 0x1002fa69
push dword [ebp + 0x20]
mov ecx, esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
push dword [ebp + 0x1c]
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call fcn.100257cb
mov ecx, esi
call fcn.10024380
mov eax, dword [esi + 4]
mov ebx, 0x82400000
cmp eax, edi
je 0x1002f948
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1002f96d
push edi
push edi
push 0x188
push ebx
lea eax, [ebp - 0x10]
push edi
push eax
mov eax, dword [esi + 0x458]
mov ecx, esi
push dword [eax + 4]
call fcn.1002f855
test eax, eax
je 0x1002fa69
push edi
mov ecx, esi
call fcn.100244dd
test eax, eax
je 0x1002fa69
mov ecx, dword [esi + 0x458]
lea eax, [ebp - 0x178]
push 0x12c
push eax
call fcn.10025593
test eax, eax
je 0x1002f9a6
lea eax, [ebp - 0x178]
mov ecx, esi
push eax
call fcn.10025617
mov eax, dword [esi + 0x458]
mov ecx, esi
push dword [eax + 0x3fc]
call fcn.10025771
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.10025dff
mov eax, dword [ebp - 0x28]
push 0x188
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x10]
push ebx
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [ebp - 0xc]
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
neg eax
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x10]
neg eax
push edi
push eax
lea eax, [ebp - 0x10]
push eax
call ebx
cmp dword [ebp + 0xc], edi
je 0x1002fa14
cmp dword [ebp + 0x1c], edi
mov edi, dword [ebp + 8]
jne 0x1002fa1c
mov eax, dword [edi + 0xc]
add eax, dword [ebp + 0x18]
push eax
push dword [edi]
jmp 0x1002fa31
cmp dword [ebp + 0x1c], edi
mov edi, dword [ebp + 8]
jne 0x1002fa21
push dword [edi + 4]
jmp 0x1002fa2e
mov eax, dword [edi + 0xc]
sub eax, dword [ebp - 4]
add eax, dword [ebp + 0x18]
add eax, dword [ebp - 0xc]
push eax
push dword [edi + 8]
lea eax, [ebp - 0x10]
push eax
call ebx
mov eax, dword [edi + 8]
mov ecx, 0x10044f30
sub eax, dword [edi]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov dword [ebp + 0x14], eax
call fcn.100350d8
test eax, eax
je 0x1002fa72
lea eax, [ebp - 0x20]
mov ecx, 0x10044f30
push eax
push edi
call fcn.100350f6
test eax, eax
jne 0x1002fabf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x1c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
xor edi, edi
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x1002fac1
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SubtractRect]
mov esi, dword [ebp - 0x24]
xor edi, edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jle 0x1002fb40
cmp dword [ebp + 0xc], edi
je 0x1002fb20
cmp dword [ebp + 0x1c], edi
jle 0x1002fae8
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
add ecx, eax
mov eax, dword [ebp + 8]
neg eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call ebx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 4], eax
jle 0x1002fb11
mov ecx, dword [ebp - 0xc]
sub eax, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp + 0x14]
cmp ecx, eax
jle 0x1002fb11
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 0x14]
sub eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call ebx
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 8], eax
jle 0x1002fb73
sub eax, dword [ebp - 8]
push edi
push eax
jmp 0x1002fb6d
mov ecx, dword [ebp - 0x10]
push edi
sub ecx, dword [ebp + 8]
sub ecx, eax
lea eax, [ebp - 0x10]
push ecx
push eax
call ebx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jle 0x1002fb73
mov ecx, dword [ebp - 0x14]
sub ecx, eax
push ecx
jmp 0x1002fb6c
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 4], eax
jle 0x1002fb73
cmp dword [ebp + 0xc], edi
je 0x1002fb68
cmp dword [ebp + 0x1c], edi
jne 0x1002fb68
mov ecx, dword [ebp - 0xc]
sub eax, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp + 0x14]
cmp ecx, eax
jle 0x1002fb73
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 0x14]
sub eax, dword [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
call ebx
mov eax, dword [ebp - 0x1c]
push 1
cmp dword [ebp - 0xc], eax
pop ebx
jge 0x1002fb86
sub eax, dword [ebp - 0xc]
mov dword [ebp + 0x1c], edi
jmp 0x1002fb94
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jle 0x1002fbb4
sub eax, dword [ebp - 0x14]
mov dword [ebp + 0x1c], ebx
cmp eax, edi
jle 0x1002fbb4
mov ecx, dword [esi + 0x60]
cmp ecx, edi
jle 0x1002fbb4
dec eax
cdq
idiv ecx
inc eax
imul eax, ecx
cmp dword [ebp + 0x1c], edi
je 0x1002fbb1
sub dword [ebp - 4], eax
jmp 0x1002fbb4
add dword [ebp - 0xc], eax
push ebx
mov dword [esi + 0x464], ebx
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [esi + 0x45c]
and eax, 0x8000
cmp ecx, edi
mov dword [esi + 0x468], eax
mov dword [esi + 0x46c], edi
je 0x1002fbe1
mov eax, dword [ecx]
push ebx
call dword [eax]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esi + 0x474]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
push 0x64
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x484], eax
mov eax, esi
neg eax
lea ecx, [esi + 0x450]
sbb eax, eax
and eax, ecx
lea ecx, [esi + 0x460]
push eax
call fcn.100379e3
mov eax, dword [ebp - 4]
push 0x254
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x470], edi
mov eax, ebx
jmp 0x1002fa6b