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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ccc8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6f36d4]
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 0x4c408e
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, edi
jne 0x4c4077
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 0x4c40a0
mov eax, dword [eax + 4]
jmp 0x4c40a2
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 0x4c4199
push 0
push 0
push 0x10
push ecx
call sub.IMM32.dll_ImmGetCompositionStringW
mov dword [ebp - 0x40], eax
test eax, eax
jle 0x4c4196
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], ecx
test eax, eax
jne 0x4c40df
mov dword [ebp - 0x4c], ecx
jmp 0x4c4114
cmp eax, 0x7fffffff
ja 0x4c42e0
push eax
lea ecx, [ebp - 0x58]
call fcn.00483c30
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.005d9d70
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 0x4c4145
mov esi, dword [ebp - 0x4c]
nop
mov dl, byte [esi + ecx]
cmp dl, 1
je 0x4c4142
cmp dl, 3
je 0x4c4142
inc ecx
cmp ecx, eax
jl 0x4c4130
mov dword [ebp - 0x30], ecx
mov esi, ecx
cmp ecx, eax
jge 0x4c4162
mov edx, dword [ebp - 0x44]
nop
mov cl, byte [edx + esi]
cmp cl, 1
je 0x4c415d
cmp cl, 3
jne 0x4c4162
inc esi
cmp esi, eax
jl 0x4c4150
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x4c4196
mov edx, dword [ebp - 0x38]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4c418c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c42e5
push edx
push ecx
call fcn.0055d2a5
add esp, 8
mov eax, dword [ebp + 0xc]
and eax, 0x4080
cmp eax, 0x80
jne 0x4c41b9
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 0x4c41c2
mov ecx, dword [ebp - 0x48]
mov dword [ecx], 0
test byte [ebp + 0xc], 0x20
je 0x4c41d8
push edi
push esi
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.004c42f0
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 0x4c42c3
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 0x4c425c
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 0x4c4251
mov ecx, eax
call fcn.004c3b20
add dword [edi + 4], 0x1c
jmp 0x4c4259
push eax
mov ecx, edi
call fcn.004c3810
mov eax, dword [ebp - 0x30]
cmp esi, eax
jle 0x4c428e
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 0x4c4286
mov ecx, eax
call fcn.004c3b20
add dword [edi + 4], 0x1c
jmp 0x4c428e
push eax
mov ecx, edi
call fcn.004c3810
mov eax, dword [ebp - 0x3c]
cmp esi, eax
jge 0x4c42c3
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 0x4c42bb
mov ecx, eax
call fcn.004c3b20
add dword [edi + 4], 0x1c
jmp 0x4c42c3
push eax
mov ecx, edi
call fcn.004c3810
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.0055d6c3
mov esp, ebp
pop ebp
ret 0x14
call fcn.0049bbf0
call fcn.005e3e64
int3