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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45da16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x20]
push ecx
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42ab6b
mov eax, 1
jmp 0x42b264
mov byte [ebp - 0x18], 0
xor edx, edx
mov dword [ebp - 0x17], edx
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0xe8], 0
je 0x42af28
mov ecx, dword [ebp + 8]
and ecx, 8
test ecx, ecx
je 0x42af28
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0xec], 0
jne 0x42acbc
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x108], 0
je 0x42acbc
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x13c], 0
jl 0x42abd6
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [edx + 0x13c]
cmp ecx, dword [eax + 0x138]
jne 0x42acbc
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x138], 0
jl 0x42ac46
mov ecx, dword [ebp - 0x6c]
add ecx, 0x44
call fcn.00402060
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x138], eax
jge 0x42ac46
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x138]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x44
call fcn.0040c780
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.0042f613
test eax, eax
je 0x42ac46
push 1
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x138]
add edx, 1
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x138]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0042c39f
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x138], eax
jmp 0x42ac8f
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x138], 0
jl 0x42ac8f
mov ecx, dword [ebp - 0x6c]
add ecx, 0x44
call fcn.00402060
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x138], eax
jge 0x42ac8f
push 1
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x138]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x138]
push edx
mov ecx, dword [ebp - 0x6c]
call fcn.0042c39f
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x138], 0
jge 0x42aca4
mov dword [ebp - 0x70], 0
jmp 0x42acb0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x138]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
mov dword [edx + 0x138], eax
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x13c], 0
jl 0x42ad26
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x13c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x138]
mov dword [ebp - 0x28], edx
push 1
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.0042f80b
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 1
mov ecx, dword [ebp - 0x6c]
call fcn.00432c9b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
push 5
lea ecx, [ebp - 0x18]
push ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0xec], 0
je 0x42addf
push 1
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x138]
sub edx, 1
push edx
mov eax, dword [ebp - 0x6c]
movsx ecx, word [eax + 0x14a]
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x138]
sub eax, ecx
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.0042c39f
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp - 0x6c]
movsx eax, word [edx + 0x10e]
cmp eax, 2
jne 0x42addf
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x670], 0
je 0x42addf
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 1
lea eax, [ebp - 0x4c]
push eax
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.004310f7
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x670]
sub edx, eax
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0x670], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0xec], 1
cmp dword [ebp - 0x1c], 0
sbb edx, edx
not edx
and edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x6c]
mov word [eax + 0x14a], dx
cmp dword [ebp - 0x1c], 0
je 0x42aec2
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x18]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x138]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0042c897
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x6c]
movsx ecx, word [eax + 0x10e]
cmp ecx, 2
jne 0x42aea1
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x670], 0
je 0x42aea1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x54]
push ecx
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.004310f7
mov edx, dword [ebp - 0x6c]
mov ecx, dword [edx + 0x670]
add ecx, eax
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x670], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x6c]
call fcn.0042a0e0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x138], ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x6c]
add eax, 0x14c
push eax
call sub.MFC42.DLL_CString::Format
add esp, 8
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.004291f5
mov ecx, dword [ebp - 0x6c]
call fcn.0042f9b9
mov ecx, dword [ebp - 0x6c]
call fcn.0042a0e0
mov ecx, dword [ebp - 0x6c]
call fcn.00428ba0
mov ecx, dword [ebp - 0x6c]
call fcn.00404ac0
test eax, eax
je 0x42af23
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x20]
push edx
mov ecx, dword [ebp - 0x6c]
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
and eax, 0xffff
and eax, 0xffff
or eax, 0x3000000
push eax
push 0x111
mov ecx, dword [ebp - 0x6c]
call fcn.00404ac0
mov ecx, eax
call fcn.004049a0
jmp 0x42b245
mov eax, dword [ebp + 8]
and eax, 0x800
test eax, eax
je 0x42b245
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x13c], 0
jl 0x42afa2
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x13c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x138]
mov dword [ebp - 0x48], edx
push 1
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.0042f80b
push 0
push 1
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x40]
push eax
push 1
mov ecx, dword [ebp - 0x6c]
call fcn.00432c9b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::CString
push 5
lea ecx, [ebp - 0x18]
push ecx
push 0x800
mov edx, dword [ebp - 0x10]
push edx
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x6c]
movsx ecx, word [eax + 0x14a]
test ecx, ecx
jle 0x42affd
push 1
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x138]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x6c]
movsx edx, word [ecx + 0x14a]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x138]
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0042c39f
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x138], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x138]
mov dword [ebp - 0x30], ecx
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp - 0x18]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x138]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0042c897
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0xffffffff
jle 0x42b082
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x38]
je 0x42b082
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 4
push 0
push 0
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.00432c9b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x138], eax
mov ecx, dword [ebp - 0x6c]
mov word [ecx + 0x14a], 0
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0xec], 0
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.004291f5
mov ecx, dword [ebp - 0x6c]
call fcn.0042f9b9
mov ecx, dword [ebp - 0x6c]
call fcn.0042a0e0
mov ecx, dword [ebp - 0x6c]
call fcn.00428ba0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x6c]
add eax, 0x14c
push eax
call fcn.00420190
and eax, 0xff
test eax, eax
je 0x42b129
mov ecx, dword [ebp - 0x6c]
call fcn.00404ac0
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x42b129
mov dword [ebp - 0x8c], 1
jmp 0x42b133
mov dword [ebp - 0x8c], 0
mov cl, byte [ebp - 0x8c]
mov byte [ebp - 0x60], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x60]
and edx, 0xff
test edx, edx
je 0x42b18b
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x20]
push ecx
mov ecx, dword [ebp - 0x6c]
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
and eax, 0xffff
and eax, 0xffff
or eax, 0x3000000
push eax
push 0x111
mov ecx, dword [ebp - 0x6c]
call fcn.00404ac0
mov ecx, eax
call fcn.004049d0
mov ecx, dword [ebp - 0x6c]
add ecx, 0x14c
call sub.MFC42.DLL_CString::Empty
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x108], 0
je 0x42b1eb
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x13c], 0
jl 0x42b1cc
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ecx + 0x13c]
cmp eax, dword [edx + 0x138]
jne 0x42b1e9
mov ecx, dword [ebp - 0x6c]
add ecx, 0x44
call fcn.00402060
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x138], eax
jne 0x42b1e9
mov dword [ebp - 0x3c], 1
jmp 0x42b1f2
mov dword [ebp - 0x3c], 1
cmp dword [ebp - 0x3c], 0
je 0x42b245
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0xd4], 0
jle 0x42b245
mov eax, dword [ebp - 0x6c]
movsx ecx, word [eax + 0xd8]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0042730d
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0xd4], eax
jg 0x42b245
push 0
push 4
push 0x15
mov eax, dword [ebp - 0x10]
push eax
call sub.IMM32.dll_ImmNotifyIME
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x20]
push eax
call sub.IMM32.dll_ImmReleaseContext
xor eax, eax
jmp 0x42b264
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.00404a40
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x20]
push eax
call sub.IMM32.dll_ImmReleaseContext
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4