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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x707cb0
mov esi, ecx
mov edi, edx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea ecx, [ebp - 0x58]
push 8
call fcn.006fcf90
add esp, 4
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x6fcd71
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x58]
mov edx, edi
push 0x10
call fcn.006fd140
add esp, 4
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
mov eax, 1
mov edi, dword [ebp - 0x28]
test esi, esi
mov dword [ebp - 0x64], esi
cmove edx, esi
cmove esi, eax
mov eax, dword [ebp - 0x3c]
test edx, edx
mov dword [ebp - 0x60], esi
lea ecx, [eax + edi]
mov dword [ebp - 0x48], ecx
je 0x6fcd7c
mov ecx, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x40], 0
mov eax, ecx
jmp 0x6fcc1e
add dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x68]
inc esi
dec edx
je 0x6fcd8a
cmp eax, dword [ebp - 0x48]
je 0x6fcd8a
movzx ecx, byte [eax]
mov dword [ebp - 0x4c], ebx
movzx ebx, byte [esi]
mov dword [ebp - 0x68], edx
movzx edi, cl
test cl, cl
js 0x6fcc40
inc eax
mov dword [ebp - 0x38], eax
jmp 0x6fcc9a
movzx edx, byte [eax + 1]
and edi, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x6fcc8f
mov byte [ebp - 0x21], bl
movzx ebx, byte [eax + 2]
shl edx, 6
and ebx, 0x3f
or ebx, edx
cmp cl, 0xf0
jb 0x6fccf5
movzx ecx, byte [eax + 3]
and edi, 7
shl ebx, 6
shl edi, 0x12
and ecx, 0x3f
or ecx, ebx
or ecx, edi
cmp ecx, 0x110000
je 0x6fcf45
add eax, 4
mov dword [ebp - 0x38], eax
jmp 0x6fcd02
shl edi, 6
add eax, 2
mov dword [ebp - 0x38], eax
or edi, edx
mov ecx, edi
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
cmp eax, 1
jne 0x6fcd20
and bl, 0xfd
cmp eax, 1
mov eax, edi
mov edi, dword [ebp - 0x20]
sete dl
cmp bl, 1
setne dh
cmp edi, 1
setne bl
and bl, dl
test bl, dh
mov edx, dword [ebp - 0x2c]
mov ebx, 1
cmovne edi, ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x20], edi
mov edi, eax
cmovne edx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x38]
mov edx, 1
cmp ecx, 0x80
jb 0x6fcc10
jmp 0x6fcd4d
shl edi, 0xc
add eax, 3
or ebx, edi
mov dword [ebp - 0x38], eax
mov ecx, ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
movzx ebx, byte [ebp - 0x21]
cmp eax, 1
je 0x6fcca7
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx edx, bl
or edx, 2
cmp edx, 3
jne 0x6fcca7
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x38]
mov edx, 1
cmp ecx, 0x80
jb 0x6fcc10
mov edx, 2
cmp ecx, 0x800
jb 0x6fcc10
cmp ecx, 0x10000
mov edx, 4
sbb edx, 0
jmp 0x6fcc10
mov dword [esi], 2
jmp 0x6fcf34
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x64], 0
je 0x6fcda7
cmp dword [ebp - 0x54], 0
je 0x6fcda7
push dword [ebp - 0x60]
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov edx, 1
cmp eax, 1
jne 0x6fcdcc
cmp dword [ebp - 0x20], 1
je 0x6fcdcc
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], 1
jmp 0x6fcf14
cmp eax, 1
je 0x6fcf14
mov dword [ebp - 0x10], 0
push 0
push 0
push 0x80
push dword [ebp - 0x5c]
call dword [sym.imp.imm32.dll_ImmGetCompositionStringW]
mov edi, dword [ebp - 0x28]
test eax, eax
js 0x6fcee5
mov esi, dword [ebp - 0x30]
je 0x6fcef3
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
jmp 0x6fce2a
inc ecx
mov edx, 1
mov ebx, dword [ebp - 0x2c]
add ebx, edx
dec eax
mov edx, 1
mov dword [ebp - 0x2c], ebx
je 0x6fcf14
cmp ecx, dword [ebp - 0x48]
je 0x6fcf05
movzx ebx, byte [ecx]
mov dword [ebp - 0x20], 1
test bl, bl
jns 0x6fce10
movzx esi, byte [ecx + 1]
movzx edx, bl
and edx, 0x1f
and esi, 0x3f
cmp bl, 0xe0
jb 0x6fce94
movzx edi, byte [ecx + 2]
shl esi, 6
and edi, 0x3f
or edi, esi
cmp bl, 0xf0
jb 0x6fcead
movzx esi, byte [ecx + 3]
and edx, 7
shl edi, 6
shl edx, 0x12
and esi, 0x3f
or esi, edi
or esi, edx
cmp esi, 0x110000
je 0x6fcf5a
add ecx, 4
mov edi, dword [ebp - 0x28]
cmp esi, 0x80
jb 0x6fcea6
jmp 0x6fcec2
shl edx, 6
add ecx, 2
or edx, esi
mov esi, edx
cmp esi, 0x80
jae 0x6fcec2
mov edx, 1
jmp 0x6fcedd
shl edx, 0xc
add ecx, 3
or edi, edx
mov esi, edi
mov edi, dword [ebp - 0x28]
cmp esi, 0x80
jb 0x6fcea6
mov edx, 2
cmp esi, 0x800
jb 0x6fcedd
cmp esi, 0x10000
mov edx, 4
sbb edx, 0
mov esi, dword [ebp - 0x30]
jmp 0x6fce16
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x20], 0
xor edx, edx
jmp 0x6fcf14
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 1
xor ebx, ebx
jmp 0x6fcf0f
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], 1
mov edx, 1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edi
mov dword [esi], edx
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 4], ebx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x4c]
cmp dword [ebp - 0x64], 0
jne 0x6fcd90
jmp 0x6fcda7
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x28]
jmp 0x6fcf08