Function at 0x53cc18
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
push esi
mov esi, ecx
call fcn.00538eb0
mov ebp, eax
test ebp, ebp
je 0x53ca8f
cmp dword [ebp + 0x5c], 0
je 0x53ca8f
pop esi
mov eax, 2
pop ebp
ret 8
mov ecx, esi
call fcn.0053ca50
test eax, eax
jne 0x53ca85
cmp dword [esi + 0x12c], eax
jle 0x53caac
pop esi
mov eax, 1
pop ebp
ret 8
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, esi
call fcn.0053b500
mov edx, dword [eax + 0x20]
push esi
lea ecx, [esp + 0x10]
push ecx
push 0x285a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call sub.mfc90u.dll_CCmdTarget::InternalRelease
test eax, eax
je 0x53caa2
mov eax, dword [esi + 0xcc]
push edi
push eax
mov ecx, esi
call fcn.00539c60
mov edi, eax
test edi, edi
je 0x53cb27
mov edx, dword [edi]
mov eax, dword [edx + 0x74]
mov ecx, edi
call eax
test eax, eax
je 0x53cb27
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
mov edx, dword [edx + 0xdc]
push eax
push ecx
mov ecx, edi
call edx
cmp eax, 1
je 0x53cbea
cmp eax, 2
je 0x53cbea
cmp dword [esi + 0x20], 0
je 0x53ce5b
mov eax, dword [esp + 0x10]
add eax, 0xfffffff7
cmp eax, 0x17
ja case.0x53cb48.10
movzx eax, byte [eax + 0x53ce7c]
jmp dword [eax*4 + 0x53ce68]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
test ax, ax
jge 0x53cb9c
test ebp, ebp
je 0x53cb9c
mov ecx, esi
call fcn.00538e80
mov edi, eax
push edi
call fcn.0053cfe0
push eax
call sub.mfc90u.dll_AfxDynamicDownCast
add esp, 8
test eax, eax
je 0x53cb9c
push 0x10
call ebx
xor ecx, ecx
test ax, ax
setge cl
lea ecx, [ecx + ecx - 1]
push ecx
push edi
mov ecx, ebp
call fcn.0052ac80
test eax, eax
jne 0x53cbe4
mov edi, dword [esi]
push 0x10
call ebx
xor edx, edx
test ax, ax
mov eax, dword [edi + 0x1d4]
setl dl
mov ecx, esi
push edx
call eax
mov ecx, dword [esi + 0xcc]
push ecx
mov ecx, esi
call fcn.00539c60
mov esi, eax
test esi, esi
je 0x53cbe4
mov edx, dword [esi]
mov eax, dword [edx + 0xd8]
mov ecx, esi
call eax
test eax, eax
je 0x53cbe4
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
push 1
mov ecx, esi
call eax
mov eax, 1
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 0x1d4]
push 5
mov ecx, esi
call eax
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 0x1d4]
push 4
mov ecx, esi
call eax
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 0x1d4]
push 0xa
mov ecx, esi
call eax
test eax, eax
jne 0x53ce5b
mov edi, dword [sym.imp.USER32.dll_GetFocus]
call edi
test eax, eax
je 0x53cc56
call edi
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x53cc56
pop edi
pop esi
mov eax, 2
pop ebp
ret 8
mov eax, dword [esi + 0x100]
test eax, eax
je 0x53cc7c
cmp eax, 1
je 0x53cc7c
cmp eax, 4
je 0x53cc7c
cmp eax, 5
jne 0x53cc78
cmp dword [esi + 0xf8], 1
je 0x53cc7c
xor edi, edi
jmp 0x53cc81
mov edi, 1
mov ecx, esi
call fcn.00539170
mov edx, dword [esp + 0x10]
lea ecx, [edx - 0x23]
cmp ecx, 5
ja case.default.0x53cc98
jmp dword [ecx*4 + 0x53ce94]
test edi, edi
je 0x53ccc2
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 + 0x1d4]
call eax
pop edi
pop esi
pop ebp
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 + 0x1d4]
mov ecx, esi
call eax
pop edi
pop esi
pop ebp
ret 8
test edi, edi
je 0x53ccff
mov edx, dword [esi]
neg eax
sbb eax, eax
add eax, 9
push eax
mov eax, dword [edx + 0x1d4]
mov ecx, esi
call eax
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esi]
neg eax
sbb eax, eax
add eax, 3
push eax
mov eax, dword [edx + 0x1d4]
mov ecx, esi
call eax
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esi]
mov edx, dword [edx + 0x1d4]
xor eax, eax
test edi, edi
setne al
mov ecx, esi
inc eax
push eax
call edx
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi]
mov edx, dword [eax + 0x1d4]
neg edi
sbb edi, edi
and edi, 3
push edi
mov ecx, esi
call edx
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi]
mov edx, dword [eax + 0x1d4]
push 6
mov ecx, esi
call edx
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi]
mov edx, dword [eax + 0x1d4]
push 7
mov ecx, esi
call edx
pop edi
pop esi
pop ebp
ret 8
test edx, edx
je 0x53ce5b
push 2
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
je 0x53ce5b
mov ecx, esi
call fcn.005280e0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
test eax, eax
je 0x53cdc0
push 0x11
call edi
test ax, ax
jl 0x53cdc0
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.0053b060
pop edi
pop esi
mov eax, 1
pop ebp
ret 8
test ebp, ebp
je 0x53cde7
push esi
call fcn.0053cfe0
push eax
call sub.mfc90u.dll_AfxDynamicDownCast
add esp, 8
test eax, eax
je 0x53cde7
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.00529f40
test eax, eax
jne 0x53ce5b
push 0x11
mov dword [esp + 0x18], 0
call edi
test ax, ax
jl 0x53ce45
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.0053a050
mov edi, eax
cmp edi, 0xffffffff
je 0x53ce45
mov edx, dword [esi]
mov eax, dword [edx + 0x150]
push 2
push edi
mov ecx, esi
call eax
cmp dword [esp + 0x14], 0
jne 0x53ce3a
push edi
mov ecx, esi
call fcn.00539c60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xb0]
call eax
pop edi
pop esi
mov eax, 1
pop ebp
ret 8
mov eax, dword [esp + 0x10]
cmp eax, 0x10
je 0x53ce5b
cmp eax, 0x11
je 0x53ce5b
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
pop edi
pop esi
mov eax, 1
pop ebp
ret 8