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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ff4d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x100c50e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ecx + 0x60]
mov edi, dword [ebx + 8]
shl eax, 4
add eax, dword [ecx + 0x38]
mov edx, dword [eax]
mov eax, dword [ecx + 0xb8]
push edx
mov dword [ebp - 0x50], edx
mov ecx, dword [eax + 0x6c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [ebp - 0x48]
mov esi, eax
push esi
mov edx, dword [ecx + 0xb8]
mov ecx, dword [edx + 4]
add edx, 4
push edx
call dword [ecx + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
push esi
mov edx, dword [eax + 0xb8]
add edx, 4
push edx
mov ecx, dword [edx]
call dword [ecx + 0x54]
mov esi, eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0xb8]
mov edx, dword [ecx + 0x1e4]
mov ecx, dword [eax + 0xf4]
mov ecx, dword [ecx + 0xf14]
call fcn.1000d280
mov ecx, dword [ebp - 0x48]
push esi
push dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x44]
push eax
call fcn.10050c70
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x10013116
mov eax, dword [eax]
mov edx, dword [ebp - 0x4c]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000bac0
mov edx, dword [ebp - 0x30]
add esp, 8
cmp edx, 0x10
jb 0x1001315a
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013150
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013267
push edx
push ecx
call fcn.1008376a
add esp, 8
mov eax, dword [ebp - 0x1c]
lea edx, [eax + eax]
mov dword [ebp - 0x5c], edx
lea esi, [edx + 0x22]
test edi, edi
je 0x1001323d
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push edx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [edi + 0x20]
push eax
push ecx
call fcn.10084ee0
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov eax, dword [eax + 0xc4]
push eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov ecx, eax
xor esi, esi
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x1001323d
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0xb8]
mov eax, dword [edx + 0x64]
cmp dword [eax + 0x40], esi
jl 0x100131fa
push esi
push esi
mov esi, dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
push 8
push ecx
call esi
push 0
push 0
push 0x80
push dword [ebp - 0x4c]
shr eax, 1
mov dword [ebp - 0x58], eax
call esi
mov esi, dword [ebp - 0x48]
neg eax
push eax
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [esi + 0xb8]
call fcn.100311a0
mov edx, dword [esi + 0xb8]
mov esi, dword [ebp - 0x58]
jmp 0x100131fd
mov eax, dword [ebp - 0x50]
push eax
push dword [ebp - 0x54]
mov ecx, edx
call fcn.100326f0
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x4c]
mov dword [edi + 0x10], esi
push dword [ebp - 0x60]
mov dword [edi + 0x18], esi
mov esi, dword [ebp - 0x5c]
mov dword [edi + 8], ecx
add esi, 0x22
lea ecx, [eax + eax]
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0x20
mov dword [edi + 0x14], ecx
mov dword [edi + 0x1c], ecx
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
lea ecx, [ebp - 0x2c]
call fcn.100147b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10083210
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10089306
int3