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

Disassembly:
sub esp, 0xc10
mov eax, dword [0x5de00c]
xor eax, esp
mov dword [esp + 0xc0c], eax
mov eax, dword [esp + 0xc18]
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0xc2c]
push esi
mov esi, dword [esp + 0xc20]
mov dword [esp + 0x10], esi
push edi
cmp eax, 0x10f
ja 0x4437b2
je 0x44361a
sub eax, 0x10d
je 0x44360a
sub eax, 1
jne case.0x4437d5.8
push esi
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov esi, dword [sym.imp.IMM32.dll_ImmNotifyIME]
mov edi, eax
push 0
push 4
push 0x15
push edi
call esi
push 0
push 0
push 0x11
push edi
call esi
push edi
push dword [esp + 0x18]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov dword [ebx + 0x14], 0xffffffff
mov dword [ebx + 8], 0
mov dword [ebp], 0
xor eax, eax
mov ecx, dword [esp + 0xc1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052d3c5
add esp, 0xc10
ret 0x14
mov dword [ebx + 8], 1
mov dword [ebx + 0x14], 0xffffffff
jmp case.0x4437d5.1
push esi
call dword [sym.imp.IMM32.dll_ImmGetContext]
push 0x800
lea ecx, [ebx + 0x18]
mov edi, eax
push ecx
push 0x20
push edi
mov dword [esp + 0x28], edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
shr eax, 2
dec eax
push 0x400
mov dword [ebx + 0x14], eax
lea eax, [esp + 0x20]
push eax
push 0x10
push edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov edi, eax
mov dword [ebx + 0x10], 0xffffffff
xor ecx, ecx
test edi, edi
jle 0x443682
or edx, 0xffffffff
movzx eax, byte [esp + ecx + 0x1c]
sub eax, 1
je 0x443674
sub eax, 2
jne 0x443679
mov edx, ecx
mov dword [ebx + 0x10], ecx
test edx, edx
jns 0x443682
inc ecx
cmp ecx, edi
jl 0x443665
push 0x800
lea eax, [ebx + 0x818]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0xc3c]
add esp, 0xc
test eax, 0x800
je 0x443769
push 0x800
lea eax, [esp + 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x41c]
push 0x800
push eax
push 0x800
push dword [esp + 0x24]
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
lea edi, [ebx + 0x1018]
mov edx, edi
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4436f0
sub edx, ecx
lea ecx, [esp + 0x41c]
lea eax, [ecx + 2]
sar edx, 1
mov dword [esp + 0x10], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443710
sub ecx, dword [esp + 0x10]
sar ecx, 1
lea eax, [ecx + edx]
cmp eax, 0x400
jae 0x443762
lea edx, [esp + 0x41c]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x443734
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x443744
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xc30]
mov edi, dword [esp + 0x18]
test al, 8
je 0x443799
push 0
push 0
push 0x80
push edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
push 0x800
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x818]
push eax
push 8
push edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
push edi
push esi
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov dword [ebp], 0
mov eax, 1
jmp 0x4435ef
cmp eax, 0x282
jne case.0x4437d5.8
mov eax, dword [esp + 0xc2c]
dec eax
cmp eax, 0xb
ja case.0x4437d5.8
movzx eax, byte [eax + 0x443938]
jmp dword [eax*4 + 0x443924]
push esi
call dword [sym.imp.IMM32.dll_ImmGetContext]
push 0
push 0
mov edi, eax
push 0
push edi
call dword [sym.imp.IMM32.dll_ImmGetCandidateListW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x443851
push eax
call fcn.0052d7ad
add esp, 4
mov esi, eax
mov dword [ebx + 0x182c], esi
push dword [esp + 0x10]
push esi
push 0
push edi
call dword [sym.imp.IMM32.dll_ImmGetCandidateListW]
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [ebx + 0x181c], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0x1820], ecx
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x1828], eax
mov eax, ecx
div dword [esi + 0x14]
mov dword [ebx + 0x1818], 1
mov esi, dword [esp + 0x14]
sub ecx, edx
mov dword [ebx + 0x1824], ecx
push edi
push esi
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov dword [ebp], 0
mov eax, 1
jmp 0x4435ef
mov eax, dword [ebx + 0x182c]
test eax, eax
je 0x443887
push eax
call fcn.0052d7a8
add esp, 4
mov dword [ebx + 0x182c], 0
push esi
call dword [sym.imp.IMM32.dll_ImmGetContext]
push 0
push 0
mov edi, eax
push 0
push edi
call dword [sym.imp.IMM32.dll_ImmGetCandidateListW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x443851
push eax
call fcn.0052d7ad
add esp, 4
mov esi, eax
mov dword [ebx + 0x182c], esi
push dword [esp + 0x10]
push esi
push 0
push edi
call dword [sym.imp.IMM32.dll_ImmGetCandidateListW]
mov ecx, dword [esi + 0xc]
xor edx, edx
mov dword [ebx + 0x1820], ecx
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x1828], eax
mov eax, ecx
div dword [esi + 0x14]
jmp 0x443845
mov eax, dword [ebx + 0x182c]
mov dword [ebx + 0x181c], 0
test eax, eax
je 0x443909
push eax
call fcn.0052d7a8
add esp, 4
mov dword [ebx + 0x182c], 0
mov dword [ebp], 0
mov eax, 1
mov dword [ebx + 0x1818], 0
jmp 0x4435ef