Function at 0x47a53c
Capabilities:
Log keystrokes via input method manager
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
lea esi, [ebp - 0x40]
mov eax, dword [ebp - 4]
add eax, 0x5c
xor ecx, ecx
mov edx, 0xc
call fcn.00403234
mov eax, dword [ebp - 4]
call fcn.00476a30
xor edx, edx
push ebp
push 0x47ac99
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x47ac41
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov byte [ebp - 9], 0
test bl, bl
je 0x47a5fe
call sub.user32.dll_GetMessagePos
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00407eb4
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x11]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
call fcn.00476538
mov eax, dword [ebp - 0xd]
push eax
lea eax, [ebp - 9]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
mov ecx, dword [ebp - 0x11]
mov dl, byte [0x47acac]
mov ebx, dword [eax]
call dword [ebx + 0x34]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5c], 0
je 0x47a5f8
call fcn.004042e4
call fcn.004042e4
jmp 0x47aca0
mov byte [ebp - 9], 0
jmp 0x47a62a
cmp byte [ebp + 0x10], 0
je 0x47a62a
mov dl, byte [ebp + 0xc]
xor dl, 1
mov eax, dword [ebp - 4]
call fcn.00479e3c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5c], 0
je 0x47a62a
call fcn.004042e4
call fcn.004042e4
jmp 0x47aca0
mov bl, 1
jmp 0x47ac1c
test bl, bl
jne 0x47a63a
call sub.user32.dll_WaitMessage
xor ebx, ebx
jmp 0x47abfb
mov eax, dword [esi + 4]
sub eax, 0x201
je 0x47a654
sub eax, 3
jne 0x47a73f
lea edx, [ebp - 0x11]
mov eax, dword [esi + 0xc]
call fcn.00407eb4
lea eax, [ebp - 0x11]
push eax
mov eax, dword [esi]
push eax
call sub.user32.dll_ClientToScreen
lea eax, [ebp - 0x11]
mov dl, 1
call fcn.00448b84
mov edi, eax
mov eax, edi
mov edx, dword [0x472328]
call fcn.00403bf8
test al, al
je 0x47a69e
mov edx, dword [edi + 0x214]
mov eax, dword [ebp - 4]
call fcn.0047696c
test al, al
jne 0x47a73f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x70], 0
jne 0x47a6ea
mov eax, dword [ebp - 4]
cmp edi, dword [eax + 0xc8]
jne 0x47a6ea
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x11]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc8]
call fcn.00449e44
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc8]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x5c]
push eax
call sub.user32.dll_PtInRect
test eax, eax
jne 0x47a6f9
call fcn.004042e4
call fcn.004042e4
jmp 0x47aca0
cmp dword [esi + 4], 0x201
jne 0x47a73f
push ebp
lea eax, [ebp - 0x11]
mov dl, 1
call fcn.0047a1d0
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
test eax, eax
je 0x47a730
mov edx, dword [ebp - 4]
cmp byte [edx + 0x88], 0
je 0x47a730
mov eax, dword [eax + 0x1c]
test byte [eax + 0x64], 0x10
je 0x47a73f
call fcn.004042e4
call fcn.004042e4
jmp 0x47aca0
push 3
push 0
push 0
push 0
push esi
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x47abfb
mov eax, dword [esi + 4]
mov edx, eax
cmp edx, 0x113
jg 0x47a78a
je 0x47a922
sub edx, 0x4d
je case.0x47a995.512
sub edx, 0x2e
je case.0x47a995.512
add edx, 0xffffff7b
sub edx, 9
jb 0x47a7aa
jmp 0x47ab9e
sub edx, 0x118
je case.0x47a995.512
add edx, 0xffffff18
sub edx, 0xb
jb 0x47a97e
jmp 0x47ab9e
mov eax, dword [0x660138]
mov eax, dword [eax]
call fcn.0046c684
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x47a7d8
cmp byte [ebp + 8], 0
je 0x47a7d4
push 2
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x47a7d8
xor eax, eax
jmp 0x47a7da
mov al, 1
mov byte [ebp - 0x1a], al
mov eax, dword [esi + 4]
sub eax, 0x100
je 0x47a7fb
sub eax, 2
je 0x47a86b
sub eax, 2
je 0x47a7fb
sub eax, 2
je 0x47a86b
jmp case.0x47a995.512
cmp dword [esi + 8], 0xe5
jne 0x47a80f
mov eax, dword [esi]
push eax
call sub.imm32.dll_ImmGetVirtualKey
mov dword [esi + 8], eax
cmp byte [ebp - 0x1a], 0
je 0x47a81f
cmp dword [esi + 8], 0x70
jne case.0x47a995.512
mov ax, word [esi + 8]
mov word [ebp - 0x1c], ax
push ebp
mov eax, dword [esi + 0xc]
call fcn.00462884
push eax
push ebp
call fcn.0047a1b4
pop ecx
lea edx, [ebp - 0x1c]
pop ecx
call fcn.0047a2b0
pop ecx
test al, al
je 0x47a855
call fcn.004042e4
call fcn.004042e4
jmp 0x47aca0
cmp word [ebp - 0x1c], 0
je case.0x47a995.512
push esi
call sub.user32.dll_TranslateMessage
jmp case.0x47a995.512
cmp byte [ebp - 0x1a], 0
jne case.0x47a995.512
push ebp
call fcn.0047a1b4
pop ecx
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x19]
push eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xac]
mov eax, dword [ebp - 0x18]
call fcn.004798e0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x47a8f6
mov eax, dword [esi + 8]
sub eax, 0x20
je 0x47a8af
sub eax, 0xd
jne 0x47a8ea
mov eax, dword [ebp - 4]
cmp byte [eax + 0x70], 0
jne 0x47a8ea
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 4]
jne 0x47a8ea
call sub.user32.dll_GetActiveWindow
test eax, eax
je 0x47a8ea
call sub.user32.dll_GetActiveWindow
mov edx, eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 4]
call fcn.00479e24
call fcn.004042e4
call fcn.004042e4
jmp 0x47aca0
push 0
call sub.user32.dll_MessageBeep
jmp case.0x47a995.512
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
call fcn.004774b0
mov eax, dword [ebp - 0x18]
call fcn.00479fa0
cmp byte [ebp - 0x19], 0
je case.0x47a995.512
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.00479e3c
jmp case.0x47a995.512
mov eax, dword [esi]
call fcn.004471ec
mov edi, eax
test edi, edi
je 0x47a973
mov eax, edi
mov edx, dword [0x472328]
call fcn.00403bf8
test al, al
je 0x47a973
cmp dword [esi + 8], 0x2328
jl 0x47a973
cmp dword [esi + 8], 0x232b
jg 0x47a973
mov eax, dword [edi + 0x214]
test eax, eax
je case.0x47a995.512
mov edx, dword [esi + 8]
sub edx, 0x2328
call fcn.0047a4cc
jmp case.0x47a995.512
push esi
call sub.user32.dll_DispatchMessageA
jmp case.0x47a995.512
mov edx, eax
add edx, 0xfffffe00
cmp edx, 0xa
ja case.0x47a995.512
mov dl, byte [edx + 0x47a99c]
jmp dword [edx*4 + 0x47a9a7]
mov eax, dword [esi + 0x14]
cmp eax, dword [0x661d24]
jne 0x47a9d1
mov eax, dword [esi + 0x18]
cmp eax, dword [0x661d28]
je 0x47a9ea
mov eax, dword [esi + 0x14]
mov dword [0x661d24], eax
mov eax, dword [esi + 0x18]
mov dword [0x661d28], eax
push ebp
call fcn.0047a34c
pop ecx
push ebp
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x18]
call fcn.0047a224
pop ecx
test al, al
je case.0x47a995.512
lea ecx, [ebp - 0x11]
lea edx, [esi + 0x14]
mov eax, dword [ebp - 0x24]
call fcn.00476538
mov ecx, dword [ebp - 0xd]
mov edx, dword [ebp - 0x11]
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0x38]
jmp case.0x47a995.512
push ebp
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x18]
call fcn.0047a224
pop ecx
test al, al
je case.0x47a995.512
lea ecx, [ebp - 0x11]
lea edx, [esi + 0x14]
mov eax, dword [ebp - 0x24]
call fcn.00476538
mov eax, dword [ebp - 0xd]
push eax
movsx edx, word [esi + 0xa]
mov ecx, dword [ebp - 0x11]
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0x40]
jmp case.0x47a995.512
cmp eax, 0x204
setne al
or al, byte [ebp + 8]
je case.0x47a995.512
mov eax, dword [0x660138]
mov eax, dword [eax]
call fcn.0046c684
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
and byte [eax + 0xb3], 0xef
push ebp
lea eax, [esi + 0x14]
mov dl, 1
call fcn.0047a1d0
pop ecx
push ebp
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x18]
call fcn.0047a224
pop ecx
test al, al
je case.0x47a995.512
cmp dword [esi + 4], 0x203
je 0x47aaba
mov al, byte [0x47acac]
mov byte [ebp - 0x1d], al
jmp 0x47aac2
mov al, byte [0x47acb0]
mov byte [ebp - 0x1d], al
lea ecx, [ebp - 0x11]
lea edx, [esi + 0x14]
mov eax, dword [ebp - 0x24]
call fcn.00476538
mov eax, dword [ebp - 0xd]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 0x11]
mov dl, byte [ebp - 0x1d]
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0x34]
call sub.user32.dll_GetMessagePos
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00407eb4
mov eax, dword [ebp - 0x48]
mov dword [0x661d24], eax
mov eax, dword [ebp - 0x44]
mov dword [0x661d28], eax
jmp case.0x47a995.512
cmp eax, 0x202
sete al
or al, byte [ebp + 8]
je case.0x47a995.512
push ebp
lea eax, [esi + 0x14]
xor edx, edx
call fcn.0047a1d0
pop ecx
push ebp
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x18]
call fcn.0047a224
pop ecx
test al, al
jne 0x47ab7c
cmp dword [ebp - 0x18], 0
je 0x47ab55
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 4]
jne case.0x47a995.512
mov eax, dword [ebp - 4]
cmp byte [eax + 0x71], 0
je case.0x47a995.512
mov eax, dword [ebp - 4]
test byte [eax + 0xb3], 0x10
jne 0x47ab70
call fcn.004042e4
call fcn.004042e4
jmp 0x47aca0
mov eax, dword [ebp - 4]
and byte [eax + 0xb3], 0xef
jmp case.0x47a995.512
lea ecx, [ebp - 0x11]
lea edx, [esi + 0x14]
mov eax, dword [ebp - 0x24]
call fcn.00476538
mov al, byte [ebp - 9]
push eax
mov ecx, dword [ebp - 0xd]
mov edx, dword [ebp - 0x11]
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0x3c]
jmp case.0x47a995.512
push esi
call sub.user32.dll_DispatchMessageA
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5c], 0
je 0x47abbc
call fcn.004042e4
call fcn.004042e4
jmp 0x47aca0
cmp dword [0x661d24], 0x80000000
jne 0x47abf4
call sub.user32.dll_GetMessagePos
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00407eb4
mov eax, dword [ebp - 0x48]
mov dword [0x661d24], eax
mov eax, dword [ebp - 0x44]
mov dword [0x661d28], eax
push ebp
call fcn.0047a34c
pop ecx
push ebp
call fcn.0047a440
pop ecx
push ebp
call fcn.0047a298
pop ecx
test al, al
je 0x47ac1c
push 0
push 0
push 0
push 0
push esi
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x47a641
push ebp
call fcn.0047a298
pop ecx
test al, al
jne 0x47a631
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ac48
mov eax, dword [ebp - 4]
call fcn.00479b68
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc