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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545715
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x58313c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x58], eax
call fcn.004d5b10
mov edi, eax
mov dword [ebp - 0x50], edi
test edi, edi
je 0x4e43d1
push dword [ebp - 0x58]
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4e43d1
cmp dword [esi], 0
jge 0x4e405c
mov ecx, dword [edi]
lea eax, [ebp - 0x60]
push eax
mov edx, dword [ecx + 8]
mov ecx, edi
call edx
mov eax, dword [eax]
mov dword [esi], eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x10]
test ecx, 0x800
je 0x4e40fa
push 0x800
push eax
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.004d8560
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push edi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004fe010
lea ecx, [ebp - 0x34]
call fcn.0040e7a0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movq qword [ebp - 0x44], xmm0
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov byte [esi + 8], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call dword [eax + 0x10]
push dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x3c], 0
call fcn.00518201
jmp 0x4e433c
test cl, 8
je 0x4e433f
xor edi, edi
xor esi, esi
test cl, 0x10
je 0x4e4181
push esi
push esi
push 0x10
push eax
call sub.IMM32.dll_ImmGetCompositionStringW
mov dword [ebp - 0x34], eax
test eax, eax
jle 0x4e4181
push eax
call fcn.0051821c
add esp, 4
mov esi, eax
push dword [ebp - 0x34]
push esi
push 0x10
push dword [ebp - 0x38]
call sub.IMM32.dll_ImmGetCompositionStringW
mov ecx, dword [ebp - 0x34]
nop dword [eax]
mov al, byte [esi + edi]
cmp al, 1
je 0x4e4150
cmp al, 3
je 0x4e4150
inc edi
cmp edi, ecx
jl 0x4e4140
mov dword [ebp - 0x34], edi
mov eax, edi
cmp edi, ecx
jge 0x4e4175
nop dword [eax]
mov dl, byte [esi + eax]
cmp dl, 1
je 0x4e416d
cmp dl, 3
jne 0x4e4172
inc eax
cmp eax, ecx
jl 0x4e4160
mov dword [ebp - 0x34], eax
push esi
call fcn.00518201
mov esi, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [ebp - 0x4c]
cmp edi, esi
mov edx, edi
cmovl edx, esi
push 8
mov ecx, dword [ecx]
push dword [ebp - 0x38]
lea esi, [ecx + edi]
lea eax, [edx + ecx]
cmp esi, eax
lea eax, [ebp - 0x54]
push eax
cmovl edi, edx
add edi, ecx
mov ecx, dword [ebp - 0x4c]
call fcn.004d8560
mov ecx, dword [ebp - 0x4c]
push edi
mov edi, dword [ebp - 0x50]
push esi
push eax
push edi
mov dword [ebp - 4], 2
call fcn.004fe010
lea ecx, [ebp - 0x54]
call fcn.0040e7a0
test byte [ebp + 0x10], 0x20
mov eax, dword [edi]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x5c], ecx
je 0x4e430f
push 0
push 0
push 0x20
push dword [ebp - 0x38]
call sub.IMM32.dll_ImmGetCompositionStringW
mov edi, eax
test edi, edi
jle 0x4e430c
shr eax, 2
mov dword [ebp - 0x34], eax
lea ecx, [eax*4]
push ecx
call fcn.0051821c
add esp, 4
mov esi, eax
mov dword [ebp - 0x6c], esi
push edi
push esi
push 0x20
push dword [ebp - 0x38]
call sub.IMM32.dll_ImmGetCompositionStringW
test eax, eax
jle 0x4e4303
cmp dword [ebp - 0x34], 1
jbe 0x4e4303
mov edi, esi
mov esi, 1
lea eax, [edi + 4]
mov edi, dword [edi]
mov dword [ebp - 0x68], eax
mov edx, edi
mov eax, dword [eax]
cmp edi, eax
cmovl edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], edx
mov ecx, dword [eax]
lea eax, [edx + ecx]
lea edx, [ecx + edi]
cmp edx, eax
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x40]
cmovl edi, dword [ebp - 0x54]
add edi, ecx
mov ecx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x54], edi
cmp ecx, edx
jle 0x4e42dd
mov eax, ecx
test eax, eax
jns 0x4e4289
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp edx, edi
je 0x4e42d7
test edi, edi
jle 0x4e42c5
mov ecx, dword [ebp - 0x44]
lea eax, [edi*8]
push eax
test ecx, ecx
jne 0x4e42b7
call fcn.0051821c
add esp, 4
mov dword [ebp - 0x44], eax
jmp 0x4e42d7
push ecx
call fcn.00518227
add esp, 8
mov dword [ebp - 0x44], eax
jmp 0x4e42d7
push dword [ebp - 0x44]
call fcn.00518201
add esp, 4
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x3c]
inc esi
mov edx, dword [ebp - 0x64]
lea eax, [ecx + 1]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
mov dword [eax + ecx*8 + 4], edi
mov edi, dword [ebp - 0x68]
mov dword [eax + ecx*8], edx
cmp esi, dword [ebp - 0x34]
jb 0x4e4248
mov esi, dword [ebp - 0x6c]
push esi
call fcn.00518201
add esp, 4
mov edi, dword [ebp - 0x50]
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 3
push eax
mov ecx, edi
call dword [ebp - 0x5c]
push dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x3c], 0
call fcn.00518201
mov eax, dword [ebp - 0x4c]
mov byte [eax + 8], 1
add esp, 4
push 0
push 0x583c88
push 0x583e74
push 0
push edi
call fcn.00515239
add esp, 0x14
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x4e43c6
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edi, dword [ebp - 0x70]
mov esi, dword [eax]
mov edi, dword [edi + 4]
mov edx, dword [esi + 0x1c]
call edx
mov ecx, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [esi + 0x20]
movups xmm0, xmmword [ebp - 0x80]
sub esp, 0x10
mov eax, esp
push dword [ebp - 0x5c]
movups xmmword [eax], xmm0
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.004a5b40
mov eax, dword [ebp - 0x48]
add esp, 0x1c
mov dword [ebp - 0x28], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x38]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x40
movups xmmword [ebp - 0x20], xmm0
call sub.IMM32.dll_ImmSetCandidateWindow
push dword [ebp - 0x38]
push dword [ebp - 0x58]
call sub.IMM32.dll_ImmReleaseContext
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.00512b0b
mov esp, ebp
pop ebp
ret 0xc