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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6313e8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6d1554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
cmp esi, eax
je 0x4c62ae
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, edi
jne 0x4c6297
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov esi, dword [edi]
mov eax, dword [ebp + 0x10]
mov dword [edi + 4], esi
mov eax, dword [eax + 4]
test eax, eax
je 0x4c62c0
mov eax, dword [eax + 4]
jmp 0x4c62c2
xor eax, eax
mov dword [ebp - 0x3c], eax
mov esi, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
test al, 0x10
je 0x4c63b9
push 0
push 0
push 0x10
push ecx
call sub.IMM32.dll_ImmGetCompositionStringW
mov dword [ebp - 0x40], eax
test eax, eax
jle 0x4c63b6
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], ecx
test eax, eax
jne 0x4c62ff
mov dword [ebp - 0x4c], ecx
jmp 0x4c6334
cmp eax, 0x7fffffff
ja 0x4c6500
push eax
lea ecx, [ebp - 0x58]
call fcn.00483410
mov ecx, dword [ebp - 0x40]
mov esi, eax
add ecx, esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], ecx
sub ecx, esi
push ecx
push 0
push esi
call fcn.005c88b0
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x4c], esi
push eax
push esi
push 0x10
push dword [ebp - 0x34]
call sub.IMM32.dll_ImmGetCompositionStringW
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
test eax, eax
jle 0x4c6365
mov esi, dword [ebp - 0x4c]
nop
mov dl, byte [esi + ecx]
cmp dl, 1
je 0x4c6362
cmp dl, 3
je 0x4c6362
inc ecx
cmp ecx, eax
jl 0x4c6350
mov dword [ebp - 0x30], ecx
mov esi, ecx
cmp ecx, eax
jge 0x4c6382
mov edx, dword [ebp - 0x44]
nop
mov cl, byte [edx + esi]
cmp cl, 1
je 0x4c637d
cmp cl, 3
jne 0x4c6382
inc esi
cmp esi, eax
jl 0x4c6370
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x4c63b6
mov edx, dword [ebp - 0x38]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4c63ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c6505
push edx
push ecx
call fcn.0054dcd5
add esp, 8
mov eax, dword [ebp + 0xc]
and eax, 0x4080
cmp eax, 0x80
jne 0x4c63d9
push 0
push 0
push eax
push dword [ebp - 0x34]
call sub.IMM32.dll_ImmGetCompositionStringW
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
jmp 0x4c63e2
mov ecx, dword [ebp - 0x48]
mov dword [ecx], 0
test byte [ebp + 0xc], 0x20
je 0x4c63f8
push edi
push esi
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.004c6510
add esp, 0x10
mov ecx, dword [edi + 4]
mov eax, 0x92492493
sub ecx, dword [edi]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4c64e3
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], vtable.CefStructBase_struct_CefCompositionUnderlineTraits_.0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], 0xff000000
test eax, eax
jle 0x4c647c
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
mov eax, dword [edi + 4]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
push ecx
cmp dword [edi + 8], eax
je 0x4c6471
mov ecx, eax
call fcn.004c5d40
add dword [edi + 4], 0x1c
jmp 0x4c6479
push eax
mov ecx, edi
call fcn.004c5a30
mov eax, dword [ebp - 0x30]
cmp esi, eax
jle 0x4c64ae
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x2c]
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], 1
push ecx
cmp dword [edi + 8], eax
je 0x4c64a6
mov ecx, eax
call fcn.004c5d40
add dword [edi + 4], 0x1c
jmp 0x4c64ae
push eax
mov ecx, edi
call fcn.004c5a30
mov eax, dword [ebp - 0x3c]
cmp esi, eax
jge 0x4c64e3
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
mov eax, dword [edi + 4]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], 0
push ecx
cmp dword [edi + 8], eax
je 0x4c64db
mov ecx, eax
call fcn.004c5d40
add dword [edi + 4], 0x1c
jmp 0x4c64e3
push eax
mov ecx, edi
call fcn.004c5a30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054e0f3
mov esp, ebp
pop ebp
ret 0x14
call fcn.0049aa40
call fcn.005d2e9f
int3