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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x1c], eax
call sym.tk85.dll_TkWinGetPlatformId
xor ecx, ecx
cmp eax, 2
sete cl
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
and edx, 0x800
jne 0x102eacc5
xor eax, eax
jmp 0x102eaf82
mov eax, dword [ebp + 8]
push eax
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x102eacde
xor eax, eax
jmp 0x102eaf82
cmp dword [ebp - 8], 0
je 0x102eacfb
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0xc]
push ecx
call sub.IMM32.dll_ImmGetCompositionStringW
mov dword [ebp - 4], eax
jmp 0x102ead10
push 0
push 0
push 0x800
mov edx, dword [ebp - 0xc]
push edx
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x102eaf70
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x103513c8]
mov edx, dword [ecx + 0x14]
call edx
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 0
je 0x102ead53
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x800
mov edx, dword [ebp - 0xc]
push edx
call sub.IMM32.dll_ImmGetCompositionStringW
mov dword [ebp - 4], eax
jmp 0x102eae5f
call fcn.102ea630
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x800
mov edx, dword [ebp - 0xc]
push edx
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 4], eax
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [0x103513c8]
mov edx, dword [ecx + 0x1f0]
call edx
add esp, 4
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [0x10351280]
push eax
mov ecx, dword [0x103513c8]
mov edx, dword [ecx + 0x4a8]
call edx
add esp, 0x10
lea eax, [ebp - 0x158]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
mov eax, dword [0x103513c8]
mov ecx, dword [eax + 0x53c]
call ecx
add esp, 0x10
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jge 0x102eae14
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x103513c8]
mov eax, dword [edx + 0x18]
call eax
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [0x103513c8]
mov eax, dword [edx + 0x14]
call eax
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
lea edx, [ebp - 0x238]
push edx
mov eax, dword [0x103513c8]
mov ecx, dword [eax + 0x1e8]
call ecx
add esp, 4
lea edx, [ebp - 0x158]
push edx
mov eax, dword [0x103513c8]
mov ecx, dword [eax + 0x1e8]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
push edx
call sym.tk85.dll_Tk_HWNDToWindow
add esp, 4
mov dword [ebp - 0x18], eax
push 0x60
push 0
lea eax, [ebp - 0x80]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
add eax, 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [edx + 0x5c], eax
mov dword [ebp - 0x78], 0xfffffffe
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0x50
mov edx, dword [edx + 0x88]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 0
call sym.tk85.dll_TkWinGetModifierState
mov dword [ebp - 0x50], eax
call sym.tk85.dll_TkpGetMS
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 4]
jge 0x102eaf5e
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ebp - 0x44], al
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ebp - 0x43], al
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x80], 2
push 0
lea edx, [ebp - 0x80]
push edx
call sym.tk85.dll_Tk_QueueWindowEvent
add esp, 8
mov dword [ebp - 0x80], 3
push 0
lea eax, [ebp - 0x80]
push eax
call sym.tk85.dll_Tk_QueueWindowEvent
add esp, 8
jmp 0x102eaf02
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x103513c8]
mov eax, dword [edx + 0x18]
call eax
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.IMM32.dll_ImmReleaseContext
mov eax, 1
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1022118e
mov esp, ebp
pop ebp
ret