Function at 0x4ffb10
Capabilities:
Log keystrokes via input method manager

Disassembly:
sub esp, 0x114
push ebp
mov ebp, dword [esp + 0x11c]
push esi
mov esi, eax
mov eax, dword [ebp]
push edi
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
lea eax, [edi - 0x412]
cmp eax, 0xd4
ja case.0x4ffb46.1043
movzx ecx, byte [eax + 0x4ffe40]
jmp dword [ecx*4 + 0x4ffe1c]
cmp dword [ebp + 8], 0x2e
jne case.0x4ffb46.1043
mov eax, esi
call fcn.004fd5f0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x114
ret 4
cmp dword [ebp + 8], 0x2e
jne case.0x4ffb46.1043
mov eax, esi
call fcn.004fd6e0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x114
ret 4
mov ebp, dword [ebp + 8]
cmp ebp, 0x2e
jne 0x4ffbad
call fcn.004fcbe0
pop edi
pop esi
lea eax, [ebp - 0x2d]
pop ebp
add esp, 0x114
ret 4
cmp ebp, 0x71
jne case.0x4ffb46.1043
call fcn.004ffaa0
pop edi
pop esi
lea eax, [ebp - 0x70]
pop ebp
add esp, 0x114
ret 4
mov ebp, dword [ebp + 8]
cmp ebp, 0x2e
jne 0x4ffbe8
mov eax, esi
call fcn.004fc870
pop edi
pop esi
lea eax, [ebp - 0x2d]
pop ebp
add esp, 0x114
ret 4
cmp ebp, 0x71
jne case.0x4ffb46.1043
mov edx, dword [esi + 0x44]
push 0
push 0
push 0x188
push 0x4b7
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [0x58b054]
push eax
mov eax, esi
call fcn.004fc900
pop edi
pop esi
lea eax, [ebp - 0x70]
pop ebp
add esp, 0x114
ret 4
mov ebp, dword [ebp + 8]
cmp ebp, 0x2e
jne 0x4ffc3f
call fcn.004fb050
pop edi
pop esi
lea eax, [ebp - 0x2d]
pop ebp
add esp, 0x114
ret 4
cmp ebp, 0x71
jne case.0x4ffb46.1043
push esi
call fcn.004fb1c0
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x114
ret 4
mov ebp, dword [ebp + 8]
cmp ebp, 0x2e
jne 0x4ffc76
mov edi, esi
call fcn.004f7940
pop edi
pop esi
lea eax, [ebp - 0x2d]
pop ebp
add esp, 0x114
ret 4
cmp ebp, 0x71
jne case.0x4ffb46.1043
push 1
push esi
call fcn.004fc6c0
pop edi
pop esi
lea eax, [ebp - 0x70]
pop ebp
add esp, 0x114
ret 4
push ebx
call fcn.004b07b0
mov ebx, dword [ebp + 8]
lea ecx, [ebx - 8]
cmp ecx, 0xdd
mov dword [esp + 0x10], eax
ja case.0x4ffcb1.10
movzx ecx, byte [ecx + 0x4fff2c]
jmp dword [ecx*4 + 0x4fff18]
test eax, eax
jne case.0x4ffcb1.10
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x114
ret 4
test eax, eax
jne case.0x4ffcb1.10
xor ebx, ebx
jmp case.0x4ffcb1.10
mov edx, dword [ebp]
push edx
call sub.IMM32.dll_ImmGetVirtualKey
mov ebx, eax
mov eax, dword [esp + 0x10]
mov ecx, edi
sub ecx, 0x48c
je 0x4ffd12
sub ecx, 1
je 0x4ffd04
sub ecx, 1
jne 0x4ffd1e
mov byte [esi + 0x13c], al
mov byte [esi + 0x13d], bl
jmp 0x4ffd1e
mov byte [esi + 0x138], al
mov byte [esi + 0x139], bl
jmp 0x4ffd1e
mov byte [esi + 0x13a], al
mov byte [esi + 0x13b], bl
push edi
push ebx
push eax
call fcn.004f8630
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp]
push ebx
push eax
push ecx
call fcn.004b1030
mov edx, dword [ebp]
push edx
call fcn.004ad210
mov eax, dword [esi]
push 0x3e9
push eax
call fcn.004a7b60
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x114
ret 4
call fcn.004b07b0
mov esi, 0xe5
cmp dword [ebp + 8], esi
mov edi, eax
jne 0x4ffd80
mov edi, edi
mov ecx, dword [ebp]
push ecx
call sub.IMM32.dll_ImmGetVirtualKey
cmp eax, esi
mov dword [ebp + 8], eax
je 0x4ffd70
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
cmp eax, 0x95
ja case.0x4ffd94.19
movzx edx, byte [eax + 0x500014]
jmp dword [edx*4 + 0x50000c]
lea eax, [esp + 0x10]
push eax
call fcn.0051ec40
mov ecx, dword [ebp + 8]
push ecx
push edi
push 0
lea edx, [esp + 0x1c]
push edx
call fcn.004a0050
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp]
push eax
push ecx
call fcn.004a79e0
lea edx, [esp + 0x10]
push edx
call fcn.00522920
mov eax, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_GetParent]
push eax
call esi
push eax
call fcn.004a9de0
mov edx, dword [eax + 4]
mov ecx, dword [ebp + 8]
and edx, 0xf0
or edx, edi
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp]
push eax
call esi
push eax
call fcn.004fc140
mov ecx, dword [ebp]
push ecx
call fcn.004ad210
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x114
ret 4