Function at 0x47e860
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x70
push ebx
mov bl, cl
push esi
mov byte [esp + 8], bl
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
test esi, esi
je 0x47e8c8
mov edx, 0x64
lea ecx, [esp + 0x14]
call fcn.00420e60
push 0x63
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea ecx, [esp + 0x14]
push str.Edit
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x47e8d7
mov eax, dword [0x5eeecc]
test eax, eax
je 0x47e8c8
lea edx, [esp + 0x14]
push str.RichEdit20A
push edx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x47e8d7
xor ecx, ecx
call fcn.0041f0a0
pop esi
xor eax, eax
pop ebx
add esp, 0x70
ret
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test ah, 8
jne 0x47e8cf
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetParent]
push edi
push esi
call ebp
mov edi, eax
mov ecx, edi
call fcn.005612d0
test eax, eax
je 0x47e907
mov edx, 1
jmp 0x47e98f
cmp edi, dword [0x5f4f30]
je 0x47e98a
cmp edi, dword [0x5c7518]
je 0x47e98a
push edi
call ebp
cmp eax, dword [0x5c7518]
je 0x47e98a
cmp edi, dword [0x5ee260]
je 0x47e98a
mov eax, dword [0x5cc2b8]
cmp edi, eax
je 0x47e98a
cmp edi, dword [0x5cc3fc]
je 0x47e98a
test eax, eax
je 0x47e94a
push edi
call ebp
cmp eax, dword [0x5cc2b8]
je 0x47e98a
mov ebp, dword [0x5c9f3c]
test ebp, ebp
je 0x47e97c
mov ebx, dword [sym.imp.USER32.dll_IsChild]
lea ebx, [ebx]
mov eax, dword [ebp + 0xc8]
cmp eax, edi
je 0x47e986
push edi
push eax
call ebx
test eax, eax
jne 0x47e986
mov ebp, dword [ebp + 0x13b0]
test ebp, ebp
jne 0x47e960
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x70
ret
mov bl, byte [esp + 0x10]
mov edx, 2
cmp bl, 3
mov dword [0x5bfa4c], 0xffffffff
jne 0x47e9ae
mov eax, dword [0x5c9d34]
test eax, eax
je 0x47e9ae
mov ecx, esi
call fcn.00439420
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edx, 1
mov ecx, esi
call fcn.0047e430
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp ebp, edi
jne 0x47ea76
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cmp bl, 3
jne 0x47e9fe
test ah, ah
push 3
jns 0x47ea20
push 3
lea edx, [esp + 0x24]
push str._c_c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x47ea33
test ah, ah
jns 0x47ea1c
movzx eax, bl
push eax
push eax
lea ecx, [esp + 0x24]
push str._c_c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x47ea33
movzx edx, bl
push edx
lea eax, [esp + 0x20]
push 0x5a4fa8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
push edi
mov edx, 1
mov ecx, esi
call fcn.0047e370
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xc2
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
inc edi
push edi
push edi
mov edx, 1
mov ecx, esi
call fcn.0047e370
mov dword [0x5bfa4c], edi
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x70
ret
cmp bl, 3
jne 0x47eb1c
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push 3
lea edx, [esp + 0x20]
push 0x5a4fa8
push edx
call ebx
add esp, 0xc
push ebp
push ebp
mov edx, 1
mov ecx, esi
call fcn.0047e370
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x1c]
push eax
push 0
push 0xc2
push esi
call ebp
push 3
lea ecx, [esp + 0x20]
push 0x5a4fa8
push ecx
call ebx
add esp, 0xc
push edi
push edi
mov edx, 1
mov ecx, esi
call fcn.0047e370
lea edx, [esp + 0x1c]
push edx
push 0
push 0xc2
push esi
call ebp
lea eax, [esp + 0x1c]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47eaf0
sub eax, ecx
add edi, eax
push edi
push edi
mov edx, 1
mov ecx, esi
call fcn.0047e370
mov dword [0x5bfa4c], edi
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x70
ret
movzx ebx, bl
push ebx
lea eax, [esp + 0x20]
push 0x5a4fa8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
push edi
mov edx, 1
mov ecx, esi
call fcn.0047e370
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xc2
push esi
call edi
lea eax, [esp + 0x1c]
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47eb60
push ebx
lea edx, [esp + 0x20]
sub eax, ecx
push 0x5a4fa8
push edx
add ebp, eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebp
push ebp
mov edx, 1
mov ecx, esi
call fcn.0047e370
lea eax, [esp + 0x1c]
push eax
push 0
push 0xc2
push esi
call edi
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x70
ret