Function at 0x47bd30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x14]
call fcn.0040d550
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x149]
call fcn.0047e9b0
test eax, eax
je 0x47bde5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xa0], ecx
cmp dword [ebp - 0xa0], 9
je 0x47bd7a
cmp dword [ebp - 0xa0], 0xd
je 0x47bdb5
jmp 0x47bdd8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
test edx, edx
je 0x47bda2
push 0
push 0x25
push 0x100
mov ecx, dword [ebp - 4]
call fcn.0040da20
jmp 0x47bdb3
push 0
push 0x27
push 0x100
mov ecx, dword [ebp - 4]
call fcn.0040da20
jmp 0x47bde0
mov eax, dword [ebp - 4]
mov dword [eax + 0x173], 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x41], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.0047d9d0
jmp 0x47bde0
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x47c13b
mov edx, dword [ebp - 4]
cmp dword [edx + 0x16b], 0
jne 0x47be51
cmp dword [ebp + 8], 9
je 0x47be51
cmp dword [ebp + 8], 0xd
je 0x47be51
cmp dword [ebp + 8], 0x1b
je 0x47be51
mov eax, dword [ebp - 4]
mov dword [eax + 0x16b], 1
push 0x80
push 0
lea ecx, [ebp - 0x98]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x80
lea edx, [ebp - 0x98]
push edx
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::GetWindowTextA_1
push 0x498130
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [ebp - 4]
mov dword [eax + 0x41], 1
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0040dad0
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
push 0x64
push 0
mov eax, dword [ebp - 4]
add eax, 0x49
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, 1
test ecx, ecx
je 0x47bea9
mov dword [ebp - 0xa4], 0
jmp 0x47bebc
push str._____Deld_InputBuffer_
call fcn.004150b0
add esp, 4
mov dword [ebp - 0xa4], eax
push 0x64
mov edx, dword [ebp - 4]
add edx, 0x49
push edx
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::GetWindowTextA_1
mov eax, 1
test eax, eax
je 0x47bee2
mov dword [ebp - 0xa8], 0
jmp 0x47befc
mov ecx, dword [ebp - 4]
add ecx, 0x49
push ecx
push str._____Now_InputBuffer_is__s
call fcn.004150b0
add esp, 8
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 4]
add edx, 0x49
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
sub ecx, 8
mov dword [ebp - 0xac], ecx
cmp dword [ebp - 0xac], 0x13
ja case.0x47bf41.4
mov eax, dword [ebp - 0xac]
xor edx, edx
mov dl, byte [eax + 0x47c158]
jmp dword [edx*4 + 0x47c144]
mov ecx, dword [ebp - 0x18]
sub ecx, 1
test ecx, ecx
jge 0x47bf5e
mov dword [ebp - 0xb0], 0
jmp 0x47bf6a
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
mov byte [ecx + 0x49], 0
jmp 0x47c11e
mov edx, dword [ebp - 4]
mov dword [edx + 0x16b], 0
push 0x64
mov eax, dword [ebp - 4]
add eax, 0x49
push eax
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x14d]
push edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x14f]
push ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x149]
call fcn.0047a910
jmp 0x47c11e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
and ecx, 0x8000
test ecx, ecx
jne 0x47bff5
push 0
push 0x27
push 0x100
mov ecx, dword [ebp - 4]
call fcn.0040da20
jmp 0x47c006
push 0
push 0x25
push 0x100
mov ecx, dword [ebp - 4]
call fcn.0040da20
jmp 0x47c11e
cmp dword [ebp + 8], 0xd
jne 0x47c02a
mov edx, dword [ebp - 4]
cmp dword [edx + 0x16f], 0
je 0x47c02a
mov eax, dword [ebp - 4]
mov dword [eax + 0x173], 1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x16b], 0
jne 0x47c042
mov edx, dword [ebp - 4]
cmp dword [edx + 0x173], 0
je 0x47c04c
push 0
mov ecx, dword [ebp - 4]
call fcn.0047d9d0
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
call fcn.004768c0
jmp 0x47c13b
mov cl, byte [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0047ded0
test eax, eax
je 0x47c0bf
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x14d]
push eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x149]
call fcn.0047ea00
cmp dword [ebp - 0x18], eax
jge 0x47c099
mov edx, dword [ebp - 4]
cmp dword [edx + 0x167], 0
je 0x47c0a7
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x167]
jge 0x47c0bf
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x18]
mov al, byte [ebp + 8]
mov byte [edx + 0x49], al
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
mov byte [ecx + 0x4a], 0
jmp 0x47c11e
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
cmp dword [ebp - 0x18], 0
jne 0x47c11c
push 0x64
mov edx, dword [ebp - 4]
add edx, 0x49
push edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x14d]
push ecx
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x14f]
push eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x149]
call fcn.0047a910
mov edx, dword [ebp - 4]
add edx, 0x49
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x149]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x16b], 0
jmp 0x47c13b
mov edx, dword [ebp - 4]
add edx, 0x49
push edx
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
call fcn.004768c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc