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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd450
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x51c5a4]
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 0x45476a
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 0x454571
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004b1e12
add esp, 4
test eax, eax
je 0x45478a
mov ecx, dword [ebp - 0x34]
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x45458a
test ecx, ecx
je 0x454588
push ecx
call fcn.004b1e12
mov ecx, dword [ebp - 0x34]
add esp, 4
mov edi, eax
mov dword [ebp - 0x3c], eax
jmp 0x45458d
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.004b4570
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 0x45473a
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 0x454604
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], 0x4ed9d0
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 0x45465d
mov dword [edi], 0x4ed9d0
mov dword [edi + 0x1c], 0
movups xmmword [edi + 4], xmm0
movq qword [edi + 0x14], xmm1
add dword [esi + 4], 0x20
jmp 0x454723
mov eax, edi
sub eax, dword [esi]
sar eax, 5
mov dword [ebp - 0x38], eax
cmp eax, 0x7ffffff
je 0x454785
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 0x454697
mov eax, edx
mov dword [ebp - 0x34], edx
jmp 0x4546a4
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.00419970
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], 0x4ed9d0
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 0x4546f7
push ecx
push dword [esi]
mov ecx, esi
call fcn.00454c60
jmp 0x454713
push edi
push dword [esi]
mov ecx, esi
call fcn.00454c00
mov eax, dword [ebp - 0x38]
mov ecx, esi
add eax, 0x20
push eax
push dword [esi + 4]
push edi
call fcn.00454c00
push dword [ebp - 0x34]
mov ecx, esi
push dword [ebp - 0x44]
push dword [ebp - 0x54]
call fcn.00454b00
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 0x4545d1
test edi, edi
je 0x45476a
mov ecx, dword [ebp - 0x48]
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x454760
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x45478a
mov edi, edx
push ecx
push edi
call fcn.004b1e42
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.004b1e50
mov esp, ebp
pop ebp
ret
call fcn.00412e40
call fcn.004b744c
int3