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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0920
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x51f5a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
push 0
push 0
push 0x20
push eax
mov dword [ebp - 0x44], eax
call sub.IMM32.dll_ImmGetCompositionStringW
mov dword [ebp - 0x40], eax
shr eax, 2
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4578ba
lea ecx, [eax*4]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x34], ecx
cmp ecx, 0x1000
jb 0x4576c1
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004b4f3c
add esp, 4
test eax, eax
je 0x4578da
mov ecx, dword [ebp - 0x34]
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4576da
test ecx, ecx
je 0x4576d8
push ecx
call fcn.004b4f3c
mov ecx, dword [ebp - 0x34]
add esp, 4
mov edi, eax
mov dword [ebp - 0x3c], eax
jmp 0x4576dd
xor edi, edi
mov dword [ebp - 0x3c], edi
push ecx
lea eax, [ecx + edi]
mov dword [ebp - 0x50], edi
push 0
push edi
mov dword [ebp - 0x48], eax
call fcn.004b7610
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x40]
mov dword [ebp - 4], 0
push edi
push 0x20
push dword [ebp - 0x44]
call sub.IMM32.dll_ImmGetCompositionStringW
mov eax, dword [ebp - 0x38]
xor ecx, ecx
dec eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x58], eax
test eax, eax
jle 0x45788a
mov eax, dword [edi + ecx*4]
mov edx, dword [edi + ecx*4 + 4]
xor ecx, ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], 0xff000000
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], ecx
cmp eax, dword [ebp + 0xc]
jl 0x457754
cmp edx, dword [ebp + 0x10]
mov eax, 1
cmovle ecx, eax
mov dword [ebp - 0x60], ecx
movq xmm1, qword [ebp - 0x60]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], 0x4f0ab0
movq qword [ebp - 0x1c], xmm0
movups xmm0, xmmword [ebp - 0x70]
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm1
movups xmmword [ebp - 0x2c], xmm0
mov ecx, dword [esi + 8]
mov edi, dword [esi + 4]
mov byte [ebp - 4], 1
cmp ecx, edi
je 0x4577ad
mov dword [edi], 0x4f0ab0
mov dword [edi + 0x1c], 0
movups xmmword [edi + 4], xmm0
movq qword [edi + 0x14], xmm1
add dword [esi + 4], 0x20
jmp 0x457873
mov eax, edi
sub eax, dword [esi]
sar eax, 5
mov dword [ebp - 0x38], eax
cmp eax, 0x7ffffff
je 0x4578d5
sub ecx, dword [esi]
lea edx, [eax + 1]
sar ecx, 5
mov eax, ecx
mov dword [ebp - 0x44], edx
shr eax, 1
mov dword [ebp - 0x34], eax
mov eax, 0x7ffffff
sub eax, dword [ebp - 0x34]
cmp ecx, eax
jbe 0x4577e7
mov eax, edx
mov dword [ebp - 0x34], edx
jmp 0x4577f4
mov eax, dword [ebp - 0x34]
add eax, ecx
cmp eax, edx
cmovb eax, edx
mov dword [ebp - 0x34], eax
push eax
mov ecx, esi
call fcn.0041aaf0
mov ecx, dword [ebp - 0x38]
movups xmm0, xmmword [ebp - 0x70]
shl ecx, 5
add ecx, eax
mov dword [ebp - 0x54], eax
mov edx, ecx
mov dword [ebp - 0x38], ecx
push eax
mov dword [ecx], 0x4f0ab0
mov dword [ecx + 0x1c], 0
add ecx, 4
neg edx
sbb edx, edx
and edx, ecx
movups xmmword [edx], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [edx + 0x10], xmm0
mov ecx, dword [esi + 4]
cmp edi, ecx
jne 0x457847
push ecx
push dword [esi]
mov ecx, esi
call fcn.00457db0
jmp 0x457863
push edi
push dword [esi]
mov ecx, esi
call fcn.00457d50
mov eax, dword [ebp - 0x38]
mov ecx, esi
add eax, 0x20
push eax
push dword [esi + 4]
push edi
call fcn.00457d50
push dword [ebp - 0x34]
mov ecx, esi
push dword [ebp - 0x44]
push dword [ebp - 0x54]
call fcn.00457c50
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
inc ecx
mov byte [ebp - 4], 0
mov dword [ebp - 0x40], ecx
cmp ecx, dword [ebp - 0x58]
jl 0x457721
test edi, edi
je 0x4578ba
mov ecx, dword [ebp - 0x48]
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4578b0
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4578da
mov edi, edx
push ecx
push edi
call fcn.004b4f6c
add esp, 8
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.004b5264
mov esp, ebp
pop ebp
ret
call fcn.004083b0
call fcn.004ba5bc
int3