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

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov esi, dword [ebx + 0x72574]
test esi, esi
jne 0x43b927
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
mov eax, dword [esp + 0x14]
sub eax, 0x102
je 0x43ba6d
sub eax, 0xd
je 0x43b943
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
mov eax, dword [esp + 0x1c]
push ebp
lea ebp, [ebx + 0x730e9]
test ah, 8
mov dword [ebp], 0
je 0x43b9fe
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 0x43b983
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 + 0x72574]
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 + 0x730e8]
not ecx
dec ecx
add esi, ecx
cmp esi, eax
jge 0x43ba5d
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 0x43ba64
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 0x43ba24
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 + 0x72574]
not ecx
dec ecx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov al, byte [ebx + 0x730e8]
not ecx
dec ecx
add edx, ecx
cmp edx, eax
jl 0x43ba64
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 0x43bb01
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43bb3d
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 0x43baac
mov eax, 3
jmp 0x43bab4
cmp byte [edx], 0x80
sbb eax, eax
add eax, 2
inc edx
dec edi
jns 0x43baa0
cmp eax, 1
je 0x43bae8
jle 0x43baed
cmp eax, 3
jg 0x43baed
mov byte [esi + ecx - 2], 0
mov edx, dword [ebx + 0x72574]
add ebx, 0x730e9
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, 0x730e9
pop edi
pop esi
mov al, 1
mov dword [ebx], 0
pop ebx
ret 0x10
cmp edx, 9
je 0x43bb3d
cmp edx, 0xd
je 0x43bb3d
cmp edx, 0x1b
je 0x43bb3d
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov al, byte [ebx + 0x730e8]
not ecx
dec ecx
dec eax
cmp ecx, eax
jl 0x43bb2f
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
mov byte [esi + ecx], dl
mov edx, dword [ebx + 0x72574]
mov byte [ecx + edx + 1], 0
pop edi
pop esi
mov al, 1
pop ebx
ret 0x10