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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45da8a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x458
push ebx
push edi
mov dword [ebp - 0x448], ecx
mov eax, dword [ebp - 0x448]
mov ecx, dword [eax + 0x20]
push ecx
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42bc77
mov eax, 1
jmp 0x42c343
mov byte [ebp - 0x410], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x40f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp + 8], 0
je 0x42bca7
mov edx, dword [ebp + 8]
and edx, 0x800
test edx, edx
je 0x42bf1b
mov eax, dword [ebp - 0x448]
cmp dword [eax + 0x13c], 0
jl 0x42bcc3
push 1
mov ecx, dword [ebp - 0x448]
call fcn.0042f7a9
push 0x400
lea ecx, [ebp - 0x410]
push ecx
push 0x800
mov edx, dword [ebp - 0x10]
push edx
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x448]
cmp dword [eax + 0x144], 0
jge 0x42bcfe
mov dword [ebp - 0x44c], 0
jmp 0x42bd10
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx + 0x144]
mov dword [ebp - 0x44c], edx
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x448]
cmp dword [ecx + 0xec], 0
je 0x42bd81
push 1
xor ebx, ebx
cmp dword [ebp - 0x414], 0
setl bl
dec ebx
and ebx, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x448]
add ecx, 0x14c
call fcn.00402060
lea edx, [ebx + eax - 1]
push edx
xor eax, eax
cmp dword [ebp - 0x414], 0
setl al
dec eax
and eax, dword [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x448]
call fcn.0042c39f
mov ecx, dword [ebp - 0x448]
mov dword [ecx + 0x138], eax
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x438], esp
lea edx, [ebp - 0x410]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x448]
call fcn.0042c897
mov dword [ebp - 0x454], eax
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x418], ecx
mov edx, dword [ebp - 0x448]
movsx eax, word [edx + 0x10e]
test eax, eax
jne 0x42bdeb
mov ecx, dword [ebp - 0x414]
add ecx, dword [ebp - 0x41c]
mov edx, dword [ebp - 0x448]
mov dword [edx + 0x138], ecx
mov eax, dword [ebp - 0x448]
mov dword [eax + 0xec], 0
mov ecx, dword [ebp - 0x448]
mov edx, dword [ebp - 0x448]
mov eax, dword [edx + 0x138]
mov dword [ecx + 0x144], eax
push 0
mov ecx, dword [ebp - 0x448]
call fcn.004291f5
mov ecx, dword [ebp - 0x448]
call fcn.0042f9b9
mov ecx, dword [ebp - 0x448]
call fcn.0042a0e0
mov ecx, dword [ebp - 0x448]
call fcn.00428ba0
mov ecx, dword [ebp - 0x448]
call fcn.00404ac0
test eax, eax
je 0x42be8c
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx + 0x20]
push edx
mov ecx, dword [ebp - 0x448]
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
and eax, 0xffff
and eax, 0xffff
or eax, 0x3000000
push eax
push 0x111
mov ecx, dword [ebp - 0x448]
call fcn.00404ac0
mov ecx, eax
call fcn.004049a0
mov eax, dword [ebp - 0x448]
cmp dword [eax + 0xd4], 0
jle 0x42bf16
mov ecx, dword [ebp - 0x448]
movsx edx, word [ecx + 0xd8]
push edx
mov ecx, dword [ebp - 0x448]
call fcn.0042730d
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x448]
movsx ecx, word [eax + 0xd8]
test ecx, ecx
jne 0x42bef3
mov ecx, dword [ebp - 0x448]
add ecx, 0x44
call fcn.00402060
and eax, 0x80000001
jns 0x42bee5
dec eax
or eax, 0xfffffffe
inc eax
mov edx, dword [ebp - 0x420]
add edx, eax
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x448]
mov ecx, dword [eax + 0xd4]
cmp ecx, dword [ebp - 0x420]
jg 0x42bf16
push 0
push 1
push 0x15
mov edx, dword [ebp - 0x10]
push edx
call sub.IMM32.dll_ImmNotifyIME
jmp 0x42c31e
mov eax, dword [ebp + 8]
and eax, 8
test eax, eax
je 0x42c31e
mov ecx, dword [ebp - 0x448]
cmp dword [ecx + 0x144], 0
jge 0x42bf3f
xor eax, eax
jmp 0x42c343
mov edx, dword [ebp - 0x448]
cmp dword [edx + 0x13c], 0
jl 0x42bf5b
push 1
mov ecx, dword [ebp - 0x448]
call fcn.0042f7a9
push 0x400
lea eax, [ebp - 0x410]
push eax
push 8
mov ecx, dword [ebp - 0x10]
push ecx
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 0x428], eax
push 0
push 0
push 0x80
mov edx, dword [ebp - 0x10]
push edx
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x448]
cmp dword [eax + 0xec], 0
je 0x42c0b3
mov ecx, dword [ebp - 0x448]
cmp dword [ecx + 0x144], 0
jge 0x42bfbe
mov dword [ebp - 0x458], 0
jmp 0x42bfd0
mov edx, dword [ebp - 0x448]
mov eax, dword [edx + 0x144]
mov dword [ebp - 0x458], eax
mov ecx, dword [ebp - 0x448]
cmp dword [ecx + 0x144], 0
jge 0x42bfeb
mov dword [ebp - 0x45c], 0
jmp 0x42bffd
mov edx, dword [ebp - 0x448]
mov eax, dword [edx + 0x144]
mov dword [ebp - 0x45c], eax
push 1
mov ecx, dword [ebp - 0x448]
add ecx, 0x14c
call fcn.00402060
mov ecx, dword [ebp - 0x458]
lea edx, [ecx + eax - 1]
push edx
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [ebp - 0x448]
call fcn.0042c39f
mov ecx, dword [ebp - 0x448]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp - 0x448]
movsx eax, word [edx + 0x10e]
cmp eax, 2
jne 0x42c0b3
mov ecx, dword [ebp - 0x448]
cmp dword [ecx + 0x670], 0
je 0x42c0b3
lea edx, [ebp - 0x410]
push edx
lea ecx, [ebp - 0x43c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
lea eax, [ebp - 0x43c]
push eax
push 0
mov ecx, dword [ebp - 0x448]
call fcn.004310f7
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx + 0x670]
sub edx, eax
mov eax, dword [ebp - 0x448]
mov dword [eax + 0x670], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x428], 0
jle 0x42c19e
mov ecx, dword [ebp - 0x448]
mov dword [ecx + 0xec], 1
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x440], esp
lea edx, [ebp - 0x410]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x448]
mov ecx, dword [eax + 0x144]
push ecx
mov ecx, dword [ebp - 0x448]
call fcn.0042c897
mov dword [ebp - 0x464], eax
mov edx, dword [ebp - 0x464]
mov dword [ebp - 0x430], edx
mov eax, dword [ebp - 0x448]
movsx ecx, word [eax + 0x10e]
cmp ecx, 2
jne 0x42c19c
mov edx, dword [ebp - 0x448]
cmp dword [edx + 0x670], 0
je 0x42c19c
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x444]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x444]
push ecx
push 0
mov ecx, dword [ebp - 0x448]
call fcn.004310f7
mov edx, dword [ebp - 0x448]
mov ecx, dword [edx + 0x670]
add ecx, eax
mov edx, dword [ebp - 0x448]
mov dword [edx + 0x670], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x448]
call fcn.0042a0e0
jmp 0x42c1ae
mov eax, dword [ebp - 0x448]
mov dword [eax + 0xec], 0
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx + 0x144]
add edx, dword [ebp - 0x424]
mov eax, dword [ebp - 0x448]
mov dword [eax + 0x138], edx
lea ecx, [ebp - 0x410]
push ecx
push 0x472b20
mov edx, dword [ebp - 0x448]
add edx, 0x14c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x448]
call fcn.004291f5
mov ecx, dword [ebp - 0x448]
call fcn.0042f9b9
mov ecx, dword [ebp - 0x448]
call fcn.0042a0e0
mov ecx, dword [ebp - 0x448]
call fcn.00428ba0
mov dword [ebp - 0x42c], 0
mov eax, dword [ebp - 0x448]
cmp dword [eax + 0x108], 0
je 0x42c284
mov ecx, dword [ebp - 0x448]
cmp dword [ecx + 0x13c], 0
jl 0x42c25d
mov edx, dword [ebp - 0x448]
mov eax, dword [ebp - 0x448]
mov ecx, dword [edx + 0x13c]
cmp ecx, dword [eax + 0x138]
jne 0x42c282
mov ecx, dword [ebp - 0x448]
add ecx, 0x44
call fcn.00402060
mov edx, dword [ebp - 0x448]
xor ecx, ecx
cmp dword [edx + 0x138], eax
sete cl
mov dword [ebp - 0x42c], ecx
jmp 0x42c28e
mov dword [ebp - 0x42c], 1
cmp dword [ebp - 0x42c], 0
je 0x42c31e
mov edx, dword [ebp - 0x448]
cmp dword [edx + 0xd4], 0
jle 0x42c31e
mov eax, dword [ebp - 0x448]
movsx ecx, word [eax + 0xd8]
push ecx
mov ecx, dword [ebp - 0x448]
call fcn.0042730d
mov dword [ebp - 0x434], eax
mov edx, dword [ebp - 0x448]
movsx eax, word [edx + 0xd8]
test eax, eax
jne 0x42c2fb
mov ecx, dword [ebp - 0x434]
and ecx, 0x80000001
jns 0x42c2ed
dec ecx
or ecx, 0xfffffffe
inc ecx
mov edx, dword [ebp - 0x434]
add edx, ecx
mov dword [ebp - 0x434], edx
mov eax, dword [ebp - 0x448]
mov ecx, dword [eax + 0xd4]
cmp ecx, dword [ebp - 0x434]
jg 0x42c31e
push 0
push 1
push 0x15
mov edx, dword [ebp - 0x10]
push edx
call sub.IMM32.dll_ImmNotifyIME
push 0
mov ecx, dword [ebp - 0x448]
call fcn.00404a40
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx + 0x20]
push edx
call sub.IMM32.dll_ImmReleaseContext
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4