Function at 0x47902f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
call sub.USER32.dll_GetFocus
mov edi, eax
test edi, edi
jne 0x479051
push 0
call fcn.0042c4bf
xor eax, eax
jmp 0x47935f
push 0x19
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.0054c150
add esp, 0xc
push 0x14
lea ecx, [ebp - 0x24]
push ecx
push edi
call sub.USER32.dll_GetClassNameA
lea eax, [ebp - 0x24]
push eax
call fcn.00478fe6
test eax, eax
jne 0x479088
push 0
call fcn.0042c4bf
xor eax, eax
jmp 0x47935f
push 0xfffffffffffffff0
push edi
call sub.USER32.dll_GetWindowLongA
test ah, 8
je 0x47909c
xor eax, eax
jmp 0x47935f
push edi
call sub.USER32.dll_GetParent
mov esi, eax
push esi
call fcn.0051df9b
test eax, eax
je 0x4790b8
mov eax, 1
jmp 0x47914c
cmp esi, dword [0x56b808]
je 0x4790ee
cmp esi, dword [0x55eae0]
je 0x4790ee
push esi
call sub.USER32.dll_GetParent
cmp eax, dword [0x55eae0]
je 0x4790ee
cmp esi, dword [0x562140]
je 0x4790ee
cmp esi, dword [0x563bcc]
je 0x4790ee
cmp esi, dword [0x563be4]
jne 0x4790f5
mov eax, 2
jmp 0x47914c
cmp dword [0x563bcc], 0
je 0x479113
push esi
call sub.USER32.dll_GetParent
cmp eax, dword [0x563bcc]
jne 0x479113
mov eax, 2
jmp 0x47914c
mov ebx, dword [0x561350]
test ebx, ebx
je 0x47913c
mov eax, dword [ebx + 0xc8]
cmp esi, eax
je 0x47913c
push esi
push eax
call sub.USER32.dll_IsChild
test eax, eax
jne 0x47913c
mov ebx, dword [ebx + 0x1018]
test ebx, ebx
jne 0x47911d
test ebx, ebx
jne 0x479147
xor eax, eax
jmp 0x47935f
mov eax, 2
cmp byte [ebp + 8], 3
jne 0x479162
cmp dword [0x55f88c], 0
je 0x479162
push eax
push edi
call fcn.004422fc
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 4]
push ecx
push 1
push edi
call fcn.00478d41
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x479252
cmp byte [ebp + 8], 3
jne 0x4791cf
push 0x10
call sub.USER32.dll_GetKeyState
movsx edx, ax
and edx, 0x8000
cmp edx, 0x8000
jne 0x4791b6
xor eax, eax
mov al, byte [ebp + 8]
push eax
push eax
push 0x562952
lea edx, [ebp - 0x24]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x479218
xor ecx, ecx
mov cl, byte [ebp + 8]
push ecx
push 0x562958
lea eax, [ebp - 0x24]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x479218
push 0x10
call sub.USER32.dll_GetKeyState
movsx edx, ax
and edx, 0x8000
cmp edx, 0x8000
jne 0x479201
xor eax, eax
mov al, byte [ebp + 8]
push eax
push eax
push str._c_c
lea edx, [ebp - 0x24]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x479218
xor ecx, ecx
mov cl, byte [ebp + 8]
push ecx
push 0x562962
lea eax, [ebp - 0x24]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebp - 4]
push dword [ebp - 4]
push 1
push edi
call fcn.00478c58
lea edx, [ebp - 0x24]
push edx
push 0
push 0xc2
push edi
call sub.USER32.dll_SendMessageA
inc dword [ebp - 4]
push dword [ebp - 4]
push dword [ebp - 4]
push 1
push edi
call fcn.00478c58
mov eax, 1
jmp 0x47935f
cmp byte [ebp + 8], 3
jne 0x4792e3
xor ebx, ebx
mov bl, byte [ebp + 8]
push ebx
push 0x562966
lea eax, [ebp - 0x24]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebp - 8]
push dword [ebp - 8]
push 1
push edi
call fcn.00478c58
lea edx, [ebp - 0x24]
push edx
push 0
push 0xc2
push edi
call sub.USER32.dll_SendMessageA
push ebx
push 0x56296a
lea ecx, [ebp - 0x24]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebp - 4]
push dword [ebp - 4]
push 1
push edi
call fcn.00478c58
lea eax, [ebp - 0x24]
push eax
push 0
push 0xc2
push edi
call sub.USER32.dll_SendMessageA
lea edx, [ebp - 0x24]
push edx
call fcn.0054c2d0
pop ecx
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp - 4]
push 1
push edi
call fcn.00478c58
jmp 0x47935a
xor ebx, ebx
mov bl, byte [ebp + 8]
push ebx
push 0x56296e
lea eax, [ebp - 0x24]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebp - 4]
push dword [ebp - 4]
push 1
push edi
call fcn.00478c58
lea edx, [ebp - 0x24]
push edx
push 0
push 0xc2
push edi
call sub.USER32.dll_SendMessageA
lea ecx, [ebp - 0x24]
push ecx
call fcn.0054c2d0
pop ecx
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
push ebx
push 0x562972
lea eax, [ebp - 0x24]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebp - 8]
push dword [ebp - 8]
push 1
push edi
call fcn.00478c58
lea edx, [ebp - 0x24]
push edx
push 0
push 0xc2
push edi
call sub.USER32.dll_SendMessageA
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4