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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cb35
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x74], ebx
cmp dword [ebx + 0x18], 2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
je 0x43755a
cmp dword [ebx + 0x10], 0
je 0x43755a
mov eax, dword [ebx + 0x2024]
lea esi, [ebx + 0x2024]
mov ecx, esi
mov dword [ebp - 0x14], esi
xor edi, edi
call dword [eax + 4]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], edi
mov edx, dword [sym.imp.IMM32.dll_ImmGetContext]
test cl, 0x20
je 0x43743d
push dword [ebp - 0x78]
call edx
mov edx, eax
lea edi, [ebx + 0x101c]
or eax, 0xffffffff
mov dword [ebp - 0x80], edx
mov ecx, 0x400
rep stosd dword es:[edi], eax
push 0x400
lea edi, [ebx + 0x101c]
push edi
push 0x20
push edx
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
xor ecx, ecx
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x437423
mov eax, dword [ebx + 0x2020]
mov edx, dword [eax + 0x34]
mov eax, dword [edi]
cmp eax, edx
jbe 0x437411
cmp eax, 0xffffffff
jne 0x43741c
inc ecx
add edi, 4
cmp ecx, dword [ebp - 0x7c]
jb 0x437406
jmp 0x437423
mov dword [ebx + ecx*4 + 0x101c], edx
push dword [ebp - 0x80]
push dword [ebp - 0x78]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov ecx, dword [ebp + 0x10]
mov edi, 1
mov edx, dword [sym.imp.IMM32.dll_ImmGetContext]
test ecx, 0x1000
je 0x437514
lea eax, [ebx + 0x1c]
test eax, eax
je 0x43750b
push dword [ebp - 0x78]
call edx
mov edi, eax
lea ecx, [ebx + 0x81c]
mov eax, dword [ebx + 0x2020]
push dword [eax + 0x34]
push ecx
push 8
push edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
push edi
push dword [ebp - 0x78]
mov ebx, eax
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov eax, dword [ebp - 0x74]
push 0x44
push 0
mov dword [eax + 0x18], 2
lea eax, [ebp - 0x70]
push eax
call fcn.005001b0
mov edi, dword [ebp - 0x74]
lea ecx, [ebp - 0x70]
add esp, 0xc
add edi, 0x81c
push edi
call fcn.0041f320
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x2020]
push dword [eax + 0x34]
mov eax, dword [ebp - 0x70]
call dword [eax + 0x24]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
call dword [eax + 0xd4]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x400
push edi
call fcn.00505e3a
mov eax, dword [ebp - 0x74]
xor ecx, ecx
add esp, 0xc
mov dword [eax + ebx*2 + 0x1c], ecx
lea ecx, [ebp - 0x2c]
call fcn.0041c1d0
lea ecx, [ebp - 0x70]
call fcn.0041c2a0
mov ebx, dword [ebp - 0x74]
mov dword [ebx + 0x14], 0
jmp 0x43752a
test cl, 0x88
je 0x43752f
push dword [ebp - 0x78]
mov ecx, ebx
call fcn.00437580
mov dword [ebx + 0x18], 1
mov edi, 1
cmp dword [ebp + 0x10], 0
jne 0x437548
cmp dword [ebp + 0xc], 0
jne 0x437548
xor eax, eax
mov dword [ebx + 0x18], 2
mov word [ebx + 0x1c], ax
mov dword [ebp - 4], 2
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
mov eax, edi
jmp 0x43755c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 0xc