Function at 0x4ae2c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562661
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], 0
mov ebx, 1
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 0xc]
test esi, esi
je 0x4ae5ea
test ecx, ecx
jne 0x4ae316
cmp dword [ebp + 0x10], ecx
sete al
test al, al
jne 0x4ae5ea
mov edi, dword [ebp + 8]
cmp dword [edi + 8], 0
sete al
test al, al
jne 0x4ae5ea
mov byte [ebp - 0xd], al
mov eax, dword [esi + 4]
cmp eax, 0x20a
jne 0x4ae583
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], ecx
mov ecx, dword [edi + 0x4c]
push eax
push ecx
mov dword [ebp - 0x30], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4ae390
lea ecx, [ebp - 0x18]
call fcn.004741c0
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], esp
call fcn.00473d80
lea esi, [ebp - 0x34]
call fcn.00493a90
add esp, 4
cmp al, 1
jne 0x4ae390
mov bl, al
jmp 0x4ae392
xor bl, bl
mov dword [ebp - 4], 1
test byte [ebp - 0x14], 1
je 0x4ae3ae
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4ae3ae
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
test bl, bl
je 0x4ae3e6
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x10]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
je 0x4ae3e6
test al, 2
je 0x4ae3e6
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebp - 0xd], 1
jmp 0x4ae5aa
cmp dword [ebp + 0x10], 0
je 0x4ae5aa
cmp word [ebp + 0x14], 0
je 0x4ae5aa
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x28], esp
call fcn.00473d80
lea esi, [ebp - 0x34]
call fcn.00493a90
add esp, 4
cmp al, 1
jne 0x4ae5aa
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4ae42d
push 0x80004003
call fcn.0053d640
call fcn.00470ef0
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
test eax, eax
jle 0x4ae5aa
mov eax, 3
mov word [ebp - 0x48], ax
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], al
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4ae423
lea ecx, [ebp - 0x48]
push ecx
lea esi, [ebp - 0x1c]
call fcn.00470ec0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.004704c0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4ae483
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 7
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4ae4fb
mov edx, dword [ebp + 0x14]
push 0
push edx
lea esi, [ebp - 0x24]
mov eax, ebx
call fcn.00471100
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.004b4760
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4ae4c7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x4ae4eb
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
call fcn.00473d80
lea esi, [ebp - 0x34]
call fcn.00493a90
add esp, 4
cmp al, 1
je 0x4ae520
mov byte [ebp - 4], 7
test edi, edi
je 0x4ae4fb
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x4ae50b
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov ecx, dword [ebp - 0x18]
inc ecx
cmp ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
jl 0x4ae442
jmp 0x4ae5aa
mov eax, edi
call fcn.00470c10
push 0
push 0
mov esi, eax
push 0x402
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
je 0x4ae569
test al, 2
je 0x4ae569
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4ae55c
push 0x80004003
call fcn.0053d640
mov edx, dword [eax]
push edi
push eax
mov eax, dword [edx + 0x4c]
call eax
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 7
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
jmp 0x4ae5aa
cmp eax, 0x100
jne 0x4ae5aa
cmp dword [esi + 8], 0x41
jne 0x4ae5aa
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x4ae5aa
mov eax, dword [edi + 0x4c]
mov dword [esi], eax
mov byte [ebp - 0xd], bl
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4ae5bd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4ae5d3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4ae5fa
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4ae610
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10