Function at 0x23ae80ee
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
call fcn.23ae4e30
mov ebx, eax
mov dword [esp + 8], ebx
test ebx, ebx
je 0x23ae8035
cmp dword [ebx + 0x5c], 0
je 0x23ae8035
pop esi
mov eax, 2
pop ebx
pop ecx
ret 8
mov ecx, esi
call fcn.23ae7d20
test eax, eax
jne 0x23ae802a
cmp dword [esi + 0xe8], eax
jle 0x23ae8053
pop esi
mov eax, 1
pop ebx
pop ecx
ret 8
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, esi
call fcn.23ae64b0
mov edx, dword [eax + 0x20]
push esi
lea ecx, [esp + 0x14]
push ecx
push 0x285a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.23a3d5bc
test eax, eax
je 0x23ae8048
mov eax, dword [esi + 0x8c]
push edi
push eax
mov ecx, esi
call fcn.23ae57c0
mov edi, eax
test edi, edi
je 0x23ae80c6
mov edx, dword [edi]
mov eax, dword [edx + 0x74]
mov ecx, edi
call eax
test eax, eax
je 0x23ae80c6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi]
mov edx, dword [edx + 0xe0]
push eax
push ecx
mov ecx, edi
call edx
cmp eax, 1
je 0x23ae8134
cmp eax, 2
je 0x23ae8134
cmp dword [esi + 0x20], 0
je 0x23ae8449
mov eax, dword [esp + 0x14]
add eax, 0xfffffff7
cmp eax, 0x17
ja case.0x23ae80e7.10
movzx eax, byte [eax + 0x23ae846c]
jmp dword [eax*4 + 0x23ae8458]
mov ecx, dword [esi + 0x8c]
push ebp
push ecx
mov ecx, esi
call fcn.23ae57c0
mov ebp, eax
push ebp
push 0x23c6e1bc
call fcn.23a37db1
add esp, 8
test eax, eax
je 0x23ae813b
mov edi, dword [sym.imp.USER32.dll_GetFocus]
call edi
test eax, eax
je 0x23ae813b
call edi
mov edx, dword [esi + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x23ae813b
mov eax, 2
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
test ax, ax
jge 0x23ae818b
cmp dword [esp + 0x10], 0
je 0x23ae818b
mov ecx, esi
call fcn.23ae4e00
mov edi, eax
push edi
push 0x23c6d1dc
call fcn.23a37db1
add esp, 8
test eax, eax
je 0x23ae818b
push 0x10
call ebx
xor ecx, ecx
test ax, ax
setge cl
lea ecx, [ecx + ecx - 1]
push ecx
mov ecx, dword [esp + 0x14]
push edi
call fcn.23ae34c0
test eax, eax
jne 0x23ae81c5
mov edi, dword [esi]
push 0x10
call ebx
xor edx, edx
test ax, ax
mov eax, dword [edi + 0x1cc]
setl dl
mov ecx, esi
push edx
call eax
test ebp, ebp
je 0x23ae81c5
mov edx, dword [ebp]
mov eax, dword [edx + 0xdc]
mov ecx, ebp
call eax
test eax, eax
je 0x23ae81c5
mov edx, dword [ebp]
mov eax, dword [edx + 0x70]
push 1
mov ecx, ebp
call eax
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 0x1cc]
push 5
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 0x1cc]
push 4
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 0x1cc]
push 0xa
mov ecx, esi
call eax
test eax, eax
jne 0x23ae8449
mov edi, dword [sym.imp.USER32.dll_GetFocus]
call edi
test eax, eax
je 0x23ae823b
call edi
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x23ae823b
pop edi
pop esi
mov eax, 2
pop ebx
pop ecx
ret 8
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x23ae8261
cmp eax, 1
je 0x23ae8261
cmp eax, 4
je 0x23ae8261
cmp eax, 5
jne 0x23ae825d
cmp dword [esi + 0xb4], 1
je 0x23ae8261
xor edi, edi
jmp 0x23ae8266
mov edi, 1
mov ecx, esi
call fcn.23ae4f80
mov edx, dword [esp + 0x14]
lea ecx, [edx - 0x23]
cmp ecx, 5
ja case.default.0x23ae827d
jmp dword [ecx*4 + 0x23ae8484]
test edi, edi
je 0x23ae82a8
xor edx, edx
test eax, eax
setne dl
mov ecx, esi
add edx, 8
mov eax, edx
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x1cc]
call eax
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov edx, dword [esi]
xor ecx, ecx
test eax, eax
setne cl
add ecx, 2
mov eax, ecx
push eax
mov eax, dword [edx + 0x1cc]
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
pop ecx
ret 8
test edi, edi
je 0x23ae82e7
mov edx, dword [esi]
neg eax
sbb eax, eax
add eax, 9
push eax
mov eax, dword [edx + 0x1cc]
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov edx, dword [esi]
neg eax
sbb eax, eax
add eax, 3
push eax
mov eax, dword [edx + 0x1cc]
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov edx, dword [esi]
mov edx, dword [edx + 0x1cc]
xor eax, eax
test edi, edi
setne al
mov ecx, esi
inc eax
push eax
call edx
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov eax, dword [esi]
mov edx, dword [eax + 0x1cc]
neg edi
sbb edi, edi
and edi, 3
push edi
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov eax, dword [esi]
mov edx, dword [eax + 0x1cc]
push 6
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov eax, dword [esi]
mov edx, dword [eax + 0x1cc]
push 7
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
pop ecx
ret 8
test edx, edx
je 0x23ae8449
push 2
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
je 0x23ae8449
mov ecx, esi
call fcn.23ae25e0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
test eax, eax
je 0x23ae83ae
push 0x11
call edi
test ax, ax
jl 0x23ae83ae
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.23ae7e20
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 8
test ebx, ebx
je 0x23ae83d4
push esi
push 0x23c6d1dc
call fcn.23a37db1
add esp, 8
test eax, eax
je 0x23ae83d4
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.23ae49c0
test eax, eax
jne 0x23ae8449
push 0x11
mov dword [esp + 0x1c], 0
call edi
test ax, ax
jl 0x23ae8433
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.23ae76c0
mov edi, eax
cmp edi, 0xffffffff
je 0x23ae8433
mov edx, dword [esi]
mov eax, dword [edx + 0x148]
push 2
push edi
mov ecx, esi
call eax
cmp dword [esp + 0x18], 0
jne 0x23ae8427
push edi
mov ecx, esi
call fcn.23ae57c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xb0]
call eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x14]
cmp eax, 0x10
je 0x23ae8449
cmp eax, 0x11
je 0x23ae8449
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 8