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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101e6198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0xe0]
push 0
push eax
call sym.i3FrameworkDx.dll_protected:_int___thiscall_i3Ime::_GetInputSize_unsigned_int__bool_
mov ecx, dword [esi + 0xc4]
cmp ecx, eax
jg 0x10078668
test ecx, ecx
je 0x10078668
xor al, al
jmp 0x10078896
mov eax, dword [ebp + 8]
push eax
call sub.IMM32.dll_ImmGetContext
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x10078894
push 0
push 0
push 0x800
push ebx
call sub.IMM32.dll_ImmGetCompositionStringW
mov edi, eax
call fcn.100ef320
mov eax, esp
push edi
push eax
push 0x800
push ebx
mov dword [ebp - 0x10], eax
call sub.IMM32.dll_ImmGetCompositionStringW
mov edx, dword [esi + 0xe0]
mov ecx, dword [esi + 0x58]
shr edi, 1
shr edx, 4
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ecx
test dl, 1
je 0x100786cb
mov eax, dword [esi + 0xc4]
mov ebx, edi
mov edi, eax
jmp 0x100786e6
push 0
push 0
push 0x800
push ebx
call sub.IMM32.dll_ImmGetCompositionStringA
mov ebx, eax
mov eax, dword [esi + 0xc4]
mov edi, eax
shr edi, 1
test eax, eax
jle 0x1007871c
mov eax, dword [esi + 0xe0]
push 0
push eax
mov ecx, esi
call sym.i3FrameworkDx.dll_protected:_int___thiscall_i3Ime::_GetInputSize_unsigned_int__bool_
add eax, ebx
cmp dword [esi + 0xc4], eax
jge 0x1007871c
mov eax, dword [ebp - 0xc]
sub eax, edi
add eax, dword [ebp - 8]
jns 0x10078710
xor eax, eax
sub dword [ebp - 8], eax
jns 0x1007871c
mov dword [ebp - 8], 0
mov eax, dword [esi + 0xbc]
cmp eax, dword [esi + 0x58]
jg 0x100787df
xor ecx, ecx
cmp dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
jle 0x100787df
lea esp, [esp]
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + ecx*2]
mov edx, 0xff01
cmp ax, dx
jb 0x1007875b
mov edx, 0xffe3
cmp ax, dx
jbe 0x100787d2
mov edx, dword [esi + 0x5c]
lea edi, [esi + 0x44]
lea eax, [edi + 4]
cmp edx, 8
jb 0x1007876d
mov ebx, dword [eax]
jmp 0x1007876f
mov ebx, eax
test ebx, ebx
je 0x10078793
cmp edx, 8
jb 0x1007877c
mov ecx, dword [eax]
jmp 0x1007877e
mov ecx, eax
cmp ecx, ebx
ja 0x10078793
cmp edx, 8
jb 0x10078789
mov eax, dword [eax]
mov ecx, dword [edi + 0x14]
lea edx, [eax + ecx*2]
cmp ebx, edx
jbe 0x10078798
call fcn.100ef305
mov eax, dword [esi + 0xbc]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call fcn.10075a90
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
movzx eax, word [ecx + edx*2]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push eax
push 1
push ecx
push edx
mov ecx, edi
call fcn.10077820
inc dword [esi + 0xbc]
mov ecx, dword [ebp - 0xc]
inc ecx
cmp ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
jl 0x10078740
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
push eax
push ecx
call sub.IMM32.dll_ImmReleaseContext
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esi + 0x60]
call fcn.1001af10
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x7c]
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xb4], ebx
call fcn.1001af10
mov eax, dword [esi + 0xec]
sub eax, 0xd
mov byte [esi + 0xe9], bl
je 0x10078885
sub eax, 0x16
je 0x10078833
sub eax, 1
jne 0x1007883c
mov dword [esi + 0xbc], ebx
jmp 0x1007883c
mov edx, dword [esi + 0x58]
mov dword [esi + 0xbc], edx
lea edi, [esi + 0x98]
push edi
mov ecx, esi
mov dword [esi + 0xec], ebx
mov dword [esi + 0xe4], 4
call sym.i3FrameworkDx.dll_public:_int___thiscall_i3Ime::GetText_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int____
cmp byte [esi + 0xe8], 0
jne 0x1007886a
mov ecx, edi
call fcn.10076a90
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x10078894
mov edx, dword [esi + 0xe4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
push ebx
push edx
push esi
push 6
call eax
jmp 0x10078894
push 2
mov ecx, esi
mov dword [esi + 0xec], ebx
call sym.i3FrameworkDx.dll_public:_void___thiscall_i3Ime::_editProc_enum_EDIT_STATE_
mov al, 1
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ed375
mov esp, ebp
pop ebp
ret 4