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

Disassembly:
push 0x64
mov eax, 0x100f46e5
call fcn.100bb090
mov edi, ecx
mov eax, dword [edi + 0x2a4]
push eax
mov dword [ebp - 0x58], eax
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov esi, eax
mov dword [ebp - 0x54], esi
and dword [ebp - 4], 0
test esi, esi
je 0x100b58de
mov eax, dword [edi + 0x298]
mov al, byte [eax + 0x54]
test al, al
jne 0x100b58c7
mov ecx, edi
call fcn.10011168
test al, al
jne 0x100b58c7
mov ecx, dword [edi + 0x298]
mov eax, dword [ecx + 0x7c]
shr eax, 0x1f
xor al, 1
mov dword [ebp - 0x4c], eax
je 0x100b5698
call fcn.100098aa
test byte [ebp + 0xc], 8
mov byte [edi + 0x4ae], 0
je 0x100b586e
push 8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.100b4191
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0
jne 0x100b56d5
mov ecx, edi
call fcn.100125fb
lea ecx, [ebp - 0x28]
call fcn.1000dca0
jmp 0x100b58d4
cmp byte [ebp - 0x4c], 0
jne 0x100b56e2
mov ecx, edi
call fcn.10013b5e
mov ecx, dword [edi + 0x298]
sub esp, 0xc
mov esi, esp
mov dword [ebp - 0x50], esi
mov eax, dword [ecx + 0x70]
push 0
push 0
push 0x10
push dword [ebp - 0x54]
mov dword [ecx + 0x7c], eax
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
push ecx
lea ecx, [ebp - 0x41]
mov byte [ebp - 0x41], 0
push ecx
push eax
mov ecx, esi
call fcn.100b98ac
mov eax, dword [esi + 4]
sub eax, dword [esi]
push eax
push dword [esi]
mov esi, dword [ebp - 0x54]
push 0x10
push esi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
lea ecx, [ebp - 0x70]
call fcn.100b54e5
add esp, 0xc
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.100b5b23
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov dword [ebp - 0x60], eax
cmovae edx, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
test eax, eax
je 0x100b57fc
lea eax, [edx + ecx*2]
mov edx, 0x3ff
mov dword [ebp - 0x5c], eax
movzx eax, word [eax]
add eax, 0x2800
cmp dx, ax
mov eax, dword [ebp - 0x4c]
sbb edx, edx
add edx, 2
mov dword [ebp - 0x64], edx
cmp eax, ecx
jb 0x100b58e8
sub eax, ecx
mov ecx, edx
cmp eax, edx
mov edx, dword [ebp - 0x60]
cmovb ecx, eax
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x40]
call fcn.100b4a2a
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov ecx, edi
mov eax, dword [edi]
cmp dword [ebp - 0x2c], 0x10
push 1
push dword [ebp - 0x30]
mov edx, dword [eax + 0x50]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x48]
push dword [ebp - 0x30]
push dword [eax + ecx*4]
mov ecx, edi
call fcn.100b5114
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
call fcn.10002065
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x4c]
jb 0x100b5764
push 0
push 0
push 0x80
push esi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov esi, dword [edi + 0x260]
mov edx, dword [edi + 0x238]
add esi, esi
sub eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x298]
push eax
push dword [edx + esi*8]
call fcn.1000abfd
mov edx, dword [edi + 0x260]
mov ecx, dword [edi + 0x238]
add edx, edx
sub eax, dword [ecx + edx*8]
mov ecx, edi
push eax
call fcn.100b50a2
call fcn.100b5046
test al, al
je 0x100b5855
mov byte [edi + 0x4ae], 1
lea ecx, [ebp - 0x70]
call fcn.10001ffd
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.1000dca0
mov esi, dword [ebp - 0x54]
jmp 0x100b58ab
mov eax, 0x800
test dword [ebp + 0xc], eax
je 0x100b58ab
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.100b4191
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x100b5894
mov eax, dword [eax]
push 2
push ecx
push eax
mov ecx, edi
call fcn.100b558d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.1000dca0
push ecx
push 1
push 1
mov ecx, edi
call fcn.1001257d
mov ecx, edi
call fcn.100b51a1
mov ecx, edi
call fcn.100125fb
jmp 0x100b58d4
push 0
push 4
push 0x15
push esi
call dword [sym.imp.IMM32.dll_ImmNotifyIME]
push esi
push dword [ebp - 0x58]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
xor eax, eax
call fcn.100bb03a
ret 8
call fcn.100b9938
int3