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

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov esi, dword [ebx + 0x4dd30]
test esi, esi
jne 0x4343e7
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
mov eax, dword [esp + 0x14]
sub eax, 0x102
je 0x43452d
sub eax, 0xd
je 0x434403
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
mov eax, dword [esp + 0x1c]
push ebp
lea ebp, [ebx + 0x4e75f]
test ah, 8
mov dword [ebp], 0
je 0x4344be
mov edi, dword [esp + 0x14]
push edi
call sub.imm32.dll_ImmGetContext
push 0
mov esi, eax
push 0
push 0x800
push esi
call sub.imm32.dll_ImmGetCompositionStringA
cmp eax, 4
jle 0x434443
mov eax, 4
push eax
push ebp
push 0x800
push esi
call sub.imm32.dll_ImmGetCompositionStringA
push esi
push edi
call sub.imm32.dll_ImmReleaseContext
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx + 0x4dd30]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov esi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov al, byte [ebx + 0x4e75e]
not ecx
dec ecx
add esi, ecx
cmp esi, eax
jge 0x43451d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov ebx, ecx
or ecx, 0xffffffff
add ebx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp], eax
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
ret 0x10
test al, 8
je 0x434524
mov edi, dword [esp + 0x14]
push edi
call sub.imm32.dll_ImmGetContext
push 0
mov esi, eax
push 0
push 8
push esi
call sub.imm32.dll_ImmGetCompositionStringA
cmp eax, 4
jle 0x4344e4
mov eax, 4
push eax
push ebp
push 8
push esi
call sub.imm32.dll_ImmGetCompositionStringA
push esi
push edi
call sub.imm32.dll_ImmReleaseContext
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [ebx + 0x4dd30]
not ecx
dec ecx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov al, byte [ebx + 0x4e75e]
not ecx
dec ecx
add edx, ecx
cmp edx, eax
jl 0x434524
mov dword [ebp], 0
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
ret 0x10
mov edx, dword [esp + 0x18]
cmp edx, 8
jne 0x4345c1
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4345fd
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, esi
mov eax, 1
lea edi, [ecx - 1]
cmp eax, 2
jne 0x43456c
mov eax, 3
jmp 0x434574
cmp byte [edx], 0x80
sbb eax, eax
add eax, 2
inc edx
dec edi
jns 0x434560
cmp eax, 1
je 0x4345a8
jle 0x4345ad
cmp eax, 3
jg 0x4345ad
mov byte [esi + ecx - 2], 0
mov edx, dword [ebx + 0x4dd30]
add ebx, 0x4e75f
pop edi
mov byte [ecx + edx - 1], 0
pop esi
mov dword [ebx], 0
mov al, 1
pop ebx
ret 0x10
mov byte [esi + ecx - 1], 0
add ebx, 0x4e75f
pop edi
pop esi
mov al, 1
mov dword [ebx], 0
pop ebx
ret 0x10
cmp edx, 9
je 0x4345fd
cmp edx, 0xd
je 0x4345fd
cmp edx, 0x1b
je 0x4345fd
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov al, byte [ebx + 0x4e75e]
not ecx
dec ecx
dec eax
cmp ecx, eax
jl 0x4345ef
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
mov byte [esi + ecx], dl
mov edx, dword [ebx + 0x4dd30]
mov byte [ecx + edx + 1], 0
pop edi
pop esi
mov al, 1
pop ebx
ret 0x10