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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cc02
mov eax, dword fs:[0]
push eax
sub esp, 0x544
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 - 0x4bc], ebx
mov eax, dword [ebx + 0x2020]
push 0x400
push 0
mov ecx, dword [eax + 0x40]
mov edi, dword [eax + 8]
lea eax, [ebp - 0x410]
push eax
mov dword [ebp - 0x4b8], ecx
mov dword [ebp - 0x4b4], edi
call fcn.005001b0
add esp, 0xc
push dword [ebx + 8]
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov esi, eax
lea eax, [ebp - 0x410]
push 0x400
push eax
push 0x10
push esi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
push esi
push dword [ebx + 8]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
push 0x44
lea eax, [ebp - 0x454]
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea ecx, [ebp - 0x454]
call fcn.0041ad80
cmp dword [ebp - 0x41c], 0
mov dword [ebp - method.CStringBase.virtual_0], vtable.CStringUTF8.0
je 0x43787a
lea ecx, [ebp - 0x420]
call fcn.0041a760
mov dword [ebp - 0x418], 0xffffffff
mov dword [ebp - 0x414], 0xffffffff
push 0x44
lea eax, [ebp - 0x498]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005001b0
mov eax, dword [ebx + 0x2020]
lea ecx, [ebp - 0x498]
add esp, 0xc
push dword [eax + 0x38]
call fcn.0041f320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x498]
mov eax, dword [ebp - 0x498]
xor esi, esi
mov dword [ebp - 0x4a8], esi
call dword [eax + 0x48]
test eax, eax
je 0x437b12
mov eax, edi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 0x4ac], edi
lea eax, [edi + edi]
mov dword [ebp - 0x4b0], eax
push esi
lea eax, [ebp - 0x550]
push eax
lea ecx, [ebp - 0x498]
call fcn.004247e0
mov byte [ebp - 4], 2
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x78]
push eax
lea ecx, [ebp - 0x50c]
call fcn.0041a9d0
lea eax, [ebp - 0x50c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x454]
call fcn.0041a900
lea ecx, [ebp - 0x50c]
call fcn.0041c2a0
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 1
call fcn.0041c2a0
mov eax, dword [ebp + 8]
sub esp, 0x44
mov esi, esp
mov dword [ebp - 0x4a4], eax
mov al, byte [ebp - 0x410]
mov ecx, esi
mov byte [ebp - 0x499], al
mov dword [ebp - 0x4c0], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x43798c
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.0041a900
mov byte [ebp - 4], 1
call fcn.004e7ad0
add esp, 0x44
test eax, eax
je 0x4379ca
mov edi, dword [ebp - 0x4b4]
mov eax, dword [ebp - 0x4b0]
jmp 0x4379d0
mov eax, dword [ebp - 0x4ac]
add dword [ebp + 8], eax
mov ebx, dword [ebx + 0x2020]
mov eax, dword [ebp - 0x4a4]
add eax, edi
cmp eax, dword [ebx + 0x2c]
jg 0x437b12
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x28]
or eax, 0xff000000
mov ecx, dword [ebp - 0x4b8]
push 1
push eax
mov eax, dword [ebx + 0x30]
add ecx, 0x130
sub eax, edx
push eax
push edi
mov esi, dword [ecx]
mov edi, dword [ebp - 0x4a4]
push edx
push edi
call dword [esi + 0xe0]
cmp byte [ebp - 0x499], 1
mov ebx, dword [ebp - 0x4bc]
mov edx, dword [ebx + 0x2020]
mov ecx, dword [edx + 0x40]
push dword [edx + 0x10]
lea eax, [ecx + 0x130]
je 0x437a86
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [edx + 0x18]
push dword [edx + 0x14]
push 0
push edi
sub esp, 0x44
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x4c4], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x437a72
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
mov byte [ebp - 4], 5
jmp 0x437ace
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [edx + 0x14]
push dword [edx + 0x18]
push 0
push edi
sub esp, 0x44
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x4c8], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x437abc
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
mov byte [ebp - 4], 6
lea eax, [ebp - 0x454]
mov ecx, esi
push eax
call fcn.0041a900
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 4]
call fcn.00435f30
mov esi, dword [ebp - 0x4a8]
lea ecx, [ebp - 0x498]
mov eax, dword [ebp - 0x498]
inc esi
mov dword [ebp - 0x4a8], esi
call dword [eax + 0x48]
mov edi, dword [ebp - 0x4ac]
cmp esi, eax
jb 0x4378f7
lea ecx, [ebp - 0x498]
call fcn.0041c2a0
lea ecx, [ebp - 0x454]
call fcn.0041c2a0
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