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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e51e7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x766480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x87], 0
jne 0x484a9a
cmp byte [esi + 0x86], 0
je 0x4848ef
push 0x7f4
call fcn.006df8c3
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4848b2
mov ecx, eax
call fcn.00486c20
jmp 0x4848b4
xor eax, eax
sub esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esp + 4], 0x43480000
mov dword [esp], 0x43780000
push 0
push 0xa319c8
call fcn.004871c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0x800
push dword [esi + 4]
call sub.IMM32.dll_ImmGetCompositionStringA
mov edi, dword [esi + 0x74]
mov edx, edi
mov ecx, dword [esi + 0x80]
sub edx, ecx
mov dword [esi + 0x78], eax
cmp eax, edx
jbe 0x484933
sub ecx, edi
add ecx, eax
test cl, 1
je 0x48492e
cmp byte [esi + 0x85], 0
je 0x48492e
lea eax, [edx - 1]
mov dword [esi + 0x78], eax
jmp 0x484933
mov dword [esi + 0x78], edx
mov eax, edx
inc eax
push eax
call fcn.006dff04
mov ecx, dword [esi + 0x78]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push dword [esi + 0x78]
push edi
push 0x800
push dword [esi + 4]
call sub.IMM32.dll_ImmGetCompositionStringA
mov eax, dword [esi + 0x78]
mov byte [edi + eax], 0
cmp byte [edi], 0
je 0x4849ee
cmp dword [esi + 0x8c], 3
jne 0x484999
cmp dword [esi + 0x48], 0
jbe 0x484988
lea eax, [esi + 0x38]
push eax
lea ecx, [esi + 8]
call fcn.00483a80
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x484990
jmp 0x4849b7
lea eax, [esi + 0x38]
push eax
lea ecx, [esi + 8]
call fcn.00483a80
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4849b0
sub ecx, edx
push ecx
push edi
push dword [esi + 0x80]
lea ecx, [esi + 8]
call fcn.0047b340
mov eax, dword [esi + 0x74]
cmp dword [esi + 0x18], eax
jbe 0x4849dc
push 0
push eax
lea ecx, [esi + 8]
call fcn.00486510
mov eax, dword [esi + 0x78]
add eax, dword [esi + 0x80]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
push edi
call fcn.006dfeff
lea eax, [esi + 8]
mov dword [esi + 0x78], 0
lea ecx, [esi + 0x38]
add esp, 4
cmp ecx, eax
je 0x484a1b
cmp dword [eax + 0x14], 0xf
mov edx, eax
jbe 0x484a12
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00451530
lea eax, [esi + 0x20]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0xf
jbe 0x484a2d
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0x50]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0xf
jbe 0x484a42
mov eax, dword [eax]
mov byte [eax], 0
mov eax, dword [esi + 0x68]
cmp eax, dword [esi + 0x6c]
je 0x484a50
mov dword [esi + 0x6c], eax
cmp byte [esi + 0xbe], 0
jne 0x484a6b
mov eax, dword [esi + 0x80]
mov dword [esi + 0xb8], eax
mov dword [esi + 0xb4], eax
cmp dword [esi + 0x8c], 2
je 0x484a9a
push 0
push 0
push 8
push dword [esi + 4]
call sub.IMM32.dll_ImmGetCompositionStringA
test eax, eax
je 0x484a9a
push 0x1bf
push 0
push 0x10f
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4