Function at 0x100248b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f82b0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1013c014]
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 edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov ecx, dword [edi + 0xc0]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
test ecx, ecx
je 0x1002490c
push dword [ebx]
mov eax, dword [ecx]
lea edx, [ebp - 0x58]
push edx
push ecx
call dword [eax + 0x14]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push dword [edi + 0xc]
mov dword [ebp - 0x4c], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 1
push 0
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.10059730
mov ebx, eax
mov byte [ebp - 0x48], 0
xor eax, eax
or esi, 0xffffffff
mov dword [ebp - 0x3c], eax
test ebx, ebx
js 0x100249c6
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
push ebx
call fcn.10059640
cmp byte [edi + 0x30], 0
jne 0x100249c4
cmp ebx, dword [edi + 0x1c8]
jge 0x100249c4
cmp dword [0x1014b4f4], 0
je 0x10024988
cmp byte [0x1014b4eb], 0
jne 0x10024988
cmp byte [0x1014b4e6], 0
jne 0x10024988
mov eax, dword [edi + 0xa0]
imul ecx, ebx, 0x54
cmp dword [ecx + eax], 4
je 0x100249c4
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cdq
and edx, 3
add eax, edx
imul edx, ebx, 0x54
sar eax, 2
mov dword [ebp - 0x40], eax
add edx, dword [edi + 0xa0]
cmp dword [edx], 0
jne 0x100249bc
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x4c]
cmp ecx, eax
jl 0x100249c4
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x40]
cmp ecx, eax
jge 0x100249c4
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x3c], eax
jmp 0x100249c6
xor eax, eax
or ecx, 0xffffffff
test eax, eax
cmovne ecx, ebx
mov dword [ebp - 0x40], ecx
mov ecx, dword [edi + 0xd0]
cmp ecx, eax
je 0x10024ac7
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x10024a1a
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov edx, dword [edi + 0xcc]
test edx, edx
je 0x10024a17
mov dword [edi + 0xcc], 0
mov dword [ebp - 4], 1
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10024b91
cmp dword [eax + 0x10], 0
je 0x10024b91
mov dword [edi + 0xd0], eax
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 2
push ecx
push 0x10103e10
push dword [eax + 0x10]
call dword [sym.imp.SHELL32.dll_SHCreateItemFromIDList]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10024aa9
mov ecx, dword [eax]
lea edx, [edi + 0xcc]
push edx
push 0x10103d30
push 0x10103cc0
push 0
push eax
call dword [ecx + 0xc]
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x10024aa6
push dword [ebp - 0x44]
mov eax, dword [ecx]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 0xc8]
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
jne 0x10024aa6
mov dword [edi + 0xd0], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 3
test eax, eax
je 0x10024aba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0xd0]
test ecx, ecx
jne 0x10024af9
mov ecx, dword [edi + 0xcc]
or eax, 0xffffffff
mov dword [ebp - 0x40], eax
test ecx, ecx
je 0x10024afc
mov dword [edi + 0xcc], 0
mov dword [ebp - 4], 5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
mov ecx, dword [edi + 0xd4]
cmp eax, ecx
je 0x10024b53
test eax, eax
js 0x10024b2b
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, edi
call fcn.10059640
push 1
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [edi + 0xd4]
test ecx, ecx
js 0x10024b4a
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, edi
call fcn.10059640
push 1
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0x40]
mov dword [edi + 0xd4], eax
cmp dword [edi + 0xcc], 0
je 0x10024ba0
mov ecx, dword [edi + 0xc8]
xor dl, dl
call fcn.100243b0
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.10059ec0
push dword [ebp - 0x44]
mov ecx, dword [edi + 0xcc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov eax, dword [ecx]
push dword [ebp + 0xc]
push ecx
call dword [eax + 0x10]
jmp 0x10025013
mov dword [edi + 0xd0], 0
jmp 0x10024acb
mov eax, dword [ebp + 0xc]
mov ecx, edi
push dword [ebp - 0x44]
shr eax, 1
and al, 1
mov byte [0x1014b4d3], al
lea eax, [ebp + 0xc]
push eax
call fcn.10024530
test ebx, ebx
js 0x10024cd1
cmp ebx, dword [edi + 0x1c8]
jge 0x10024cd1
imul eax, ebx, 0x54
add eax, dword [edi + 0xa0]
mov dword [ebp - 0x40], eax
mov esi, dword [eax]
cmp esi, 4
je 0x10024cce
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
cdq
sub eax, edx
mov dword [ebp - 0x3c], ebx
sar eax, 1
cmp dword [ebp - 0x4c], eax
jge 0x10024c1b
mov ecx, dword [ebp - 0x40]
test esi, esi
je 0x10024c63
cmp esi, 2
je 0x10024c63
cmp esi, 3
je 0x10024c63
test ebx, ebx
je 0x10024c13
cmp dword [ecx - 0x54], 0
je 0x10024c63
or eax, 0xffffffff
mov dword [ebp - 0x3c], eax
jmp 0x10024c68
mov byte [ebp - 0x48], 1
test esi, esi
je 0x10024c60
cmp esi, 2
je 0x10024c60
cmp esi, 3
je 0x10024c60
mov ecx, dword [edi + 0xa4]
mov eax, 0x30c30c31
sub ecx, dword [edi + 0xa0]
imul ecx
mov ecx, dword [ebp - 0x40]
sar edx, 4
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp ebx, eax
je 0x10024c13
cmp dword [ecx + 0x54], 0
je 0x10024c63
or eax, 0xffffffff
mov dword [ebp - 0x3c], eax
jmp 0x10024c68
mov ecx, dword [ebp - 0x40]
cmp ebx, 0xffffffff
jne 0x10024c7e
mov al, byte [ecx + 0x30]
test al, 1
je 0x10024c7e
test al, 4
jne 0x10024c77
test esi, esi
jne 0x10024c7e
push 0
push 0
push ebx
jmp 0x10024c84
push 0
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.10059a50
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
je 0x10024cc6
test dword [edi + 0x3c], 0x2000
je 0x10024e23
cmp dword [0x1014b4f4], edi
jne 0x10024e23
cmp byte [0x1014b4eb], 0
jne 0x10024e23
cmp byte [0x1014b4e6], 0
je 0x10024e23
or esi, 0xffffffff
jmp 0x10024e26
or esi, 0xffffffff
cmp dword [0x1014b4f4], edi
jne 0x10024d7a
cmp byte [0x1014b4eb], 0
jne 0x10024d7a
cmp byte [0x1014b4e6], 0
je 0x10024d7a
imul eax, dword [edi + 0xbc], 0x54
mov ecx, dword [edi + 0xa0]
mov eax, dword [eax + ecx + 0x50]
movzx edx, ax
test eax, eax
js 0x10024d7a
test ebx, ebx
js 0x10024d7a
imul eax, ebx, 0x54
mov eax, dword [eax + ecx + 0x50]
movzx ecx, ax
mov dword [ebp - 0x3c], ecx
test eax, eax
js 0x10024d7a
mov eax, dword [0x1014c0bc]
lea ecx, [edx + edx*2]
cmp dword [eax + ecx*8], 4
jne 0x10024d70
mov eax, dword [ebp - 0x3c]
movzx eax, ax
cmp eax, edx
jne 0x10024d70
mov eax, dword [ebp - 0x44]
test byte [eax], 2
je 0x10024d70
mov dword [eax], 2
mov ecx, edi
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
cdq
sub eax, edx
push 0
sar eax, 1
cmp dword [ebp - 0x4c], eax
push 0
push 0xffffffffffffffff
setge byte [ebp - 0x48]
call fcn.10059a50
mov esi, ebx
jmp 0x10024e26
or ebx, 0xffffffff
mov esi, ebx
jmp 0x10024e26
cmp byte [edi + 0x30], 0
jne 0x10024e1e
cmp ebx, dword [edi + 0x1c8]
jge 0x10024e1e
push dword [ebp - 0x4c]
lea eax, [edi + 0x11c]
push dword [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x10024e1e
cmp dword [0x1014b4f4], edi
jne 0x10024dd4
cmp byte [0x1014b4eb], 0
jne 0x10024dd4
cmp byte [0x1014b4e6], 0
je 0x10024dd4
imul ecx, dword [edi + 0xbc], 0x54
mov eax, dword [edi + 0xa0]
cmp dword [ecx + eax], 4
jne 0x10024e1e
cmp byte [0x1014b4d1], 0
je 0x10024e13
mov ebx, dword [edi + 0x178]
xor eax, eax
test ebx, ebx
jle 0x10024e1a
mov edx, dword [edi + 0xa0]
nop
mov ecx, dword [edx]
test ecx, ecx
je 0x10024e00
cmp ecx, 2
je 0x10024e00
cmp ecx, 3
jne 0x10024e02
mov esi, eax
inc eax
add edx, 0x54
cmp eax, ebx
jl 0x10024df0
mov byte [ebp - 0x48], 1
or ebx, 0xffffffff
jmp 0x10024e26
mov esi, dword [edi + 0x178]
dec esi
mov byte [ebp - 0x48], 1
or ebx, 0xffffffff
jmp 0x10024e26
mov esi, dword [ebp - 0x3c]
push dword [ebp - 0x48]
mov ecx, edi
push esi
call fcn.10059ec0
push 0
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.10058ea0
test ebx, ebx
js 0x10024f8b
cmp ebx, dword [edi + 0xb8]
jne 0x10024f8b
mov eax, dword [0x1014b4e0]
imul ecx, ebx, 0x54
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0xa0]
mov dword [ebp - 0x3c], ecx
cmp dword [ecx + eax], 9
jne 0x10024ed4
mov esi, dword [0x1014e914]
cmp dword [esi], 0
je 0x10024ed4
mov eax, dword [esi + 4]
cmp eax, 2
je 0x10024e8e
cmp eax, 3
je 0x10024e8e
cmp eax, 4
je 0x10024e8e
cmp eax, 5
jne 0x10024ea1
push str.ProgramsStyle
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x10024eab
add esi, 0x60
cmp dword [esi], 0
jne 0x10024e77
jmp 0x10024ed4
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov esi, dword [esi + 0x40]
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov eax, dword [ebp - 0x48]
cmp esi, 1
cmove eax, dword [0x1014b4dc]
mov dword [ebp - 0x48], eax
mov esi, dword [sym.imp.USER32.dll_GetMessageTime]
call esi
sub eax, dword [edi + 0xb4]
cmp eax, dword [ebp - 0x48]
jle 0x10024f9d
mov eax, dword [edi + 0x4c]
cmp eax, dword [edi + 0xb8]
je 0x10024f9d
mov ecx, dword [ebp - 0x3c]
cmp ebx, dword [edi + 0x1c8]
jge 0x10024f6d
mov eax, dword [edi + 0xa0]
test byte [ecx + eax + 0x31], 2
jne 0x10024f6d
test byte [ecx + eax + 0x30], 1
je 0x10024f20
cmp dword [ecx + eax + 0x38], 0
je 0x10024f6d
lea ecx, [ebp - 0x38]
call fcn.10023510
push 0x10
mov dword [ebp - 4], 6
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, edi
lea eax, [ebp - 0x38]
push eax
push 0
push 1
push ebx
sets byte [ebp - 0x38]
call fcn.10040810
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10024f63
push eax
call dword [sym.imp.SHELL32.dll_ILFree]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov eax, dword [edi + 0xa0]
test byte [ecx + eax + 0x30], 1
jne 0x10024f87
push 0
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.10059a50
call esi
jmp 0x10024f97
mov dword [edi + 0xb8], ebx
call dword [sym.imp.USER32.dll_GetMessageTime]
mov dword [edi + 0xb4], eax
mov ecx, dword [edi + 0x58]
mov edx, dword [ebp - 0x44]
test ecx, ecx
jns 0x10024fb4
mov dword [edx], 0
mov ecx, dword [edi + 0x58]
test ecx, ecx
js 0x10025004
cmp byte [edi + 0x5c], 0
je 0x10024fd1
test ecx, ecx
jne 0x10024fd0
mov eax, dword [edi + 0xa0]
mov eax, dword [eax]
cmp eax, 2
je 0x10024fd1
cmp eax, 3
je 0x10024fd1
inc ecx
test ecx, ecx
js 0x10025004
cmp byte [edi + 0x30], 0
jne 0x10025004
test byte [edx], 4
je 0x10025004
cmp dword [0x1014b4f4], edi
jne 0x10024ffa
cmp byte [0x1014b4eb], 0
jne 0x10024ffa
cmp byte [0x1014b4e6], 0
jne 0x10025004
mov dword [edx], 4
mov dl, 1
jmp 0x10025006
xor dl, dl
mov ecx, dword [edi + 0xc8]
call fcn.100243b0
xor eax, 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.100d4906
mov esp, ebp
pop ebp
ret 0x14