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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45da68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4a0
push esi
push edi
mov dword [ebp - 0x470], ecx
mov eax, dword [ebp - 0x470]
mov ecx, dword [eax + 0x20]
push ecx
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42b2bc
mov eax, 1
jmp 0x42bc1d
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
mov edx, dword [ebp - 0x470]
cmp dword [edx + 0xe8], 0
je 0x42b738
mov eax, dword [ebp + 8]
and eax, 8
test eax, eax
je 0x42b738
mov ecx, dword [ebp - 0x470]
cmp dword [ecx + 0x13c], 0
jl 0x42b312
push 1
mov ecx, dword [ebp - 0x470]
call fcn.0042f7a9
push 0x400
lea edx, [ebp - 0x410]
push edx
push 8
mov eax, dword [ebp - 0x10]
push eax
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 0x41c], eax
push 0
push 0
push 0x80
mov ecx, dword [ebp - 0x10]
push ecx
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 0x418], eax
mov edx, dword [ebp - 0x470]
mov dword [edx + 0x150], 0
mov eax, dword [ebp + 8]
and eax, 0x10
test eax, eax
je 0x42b38a
push 0x101
mov ecx, dword [ebp - 0x470]
add ecx, 0x158
push ecx
push 0x10
mov edx, dword [ebp - 0x10]
push edx
call sub.IMM32.dll_ImmGetCompositionStringW
mov ecx, dword [ebp - 0x470]
mov dword [ecx + 0x150], eax
mov edx, dword [ebp - 0x470]
mov dword [edx + 0x154], 0
mov eax, dword [ebp + 8]
and eax, 0x20
test eax, eax
je 0x42b3cd
push 0x404
mov ecx, dword [ebp - 0x470]
add ecx, 0x25c
push ecx
push 0x20
mov edx, dword [ebp - 0x10]
push edx
call sub.IMM32.dll_ImmGetCompositionStringW
mov ecx, dword [ebp - 0x470]
mov dword [ecx + 0x154], eax
mov dword [ebp - 0x414], 0
mov edx, dword [ebp - 0x470]
cmp dword [edx + 0x150], 0
jbe 0x42b452
mov dword [ebp - 0x420], 0
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x470]
mov edx, dword [ebp - 0x470]
mov eax, dword [ecx + eax*4 + 0x25c]
cmp eax, dword [edx + 0x150]
je 0x42b452
mov ecx, dword [ebp - 0x420]
mov edx, dword [ebp - 0x470]
mov eax, dword [edx + ecx*4 + 0x25c]
mov ecx, dword [ebp - 0x470]
xor edx, edx
mov dl, byte [ecx + eax + 0x158]
mov eax, dword [ebp - 0x420]
add eax, 1
mov dword [ebp - 0x420], eax
test edx, edx
je 0x42b450
mov dword [ebp - 0x414], 1
jmp 0x42b3f0
mov ecx, dword [ebp - 0x470]
cmp dword [ecx + 0xec], 0
je 0x42b575
mov edx, dword [ebp - 0x470]
cmp dword [edx + 0x140], 0
jge 0x42b480
mov dword [ebp - 0x474], 0
jmp 0x42b492
mov eax, dword [ebp - 0x470]
mov ecx, dword [eax + 0x140]
mov dword [ebp - 0x474], ecx
mov edx, dword [ebp - 0x470]
cmp dword [edx + 0x140], 0
jge 0x42b4ad
mov dword [ebp - 0x478], 0
jmp 0x42b4bf
mov eax, dword [ebp - 0x470]
mov ecx, dword [eax + 0x140]
mov dword [ebp - 0x478], ecx
push 1
mov ecx, dword [ebp - 0x470]
add ecx, 0x14c
call fcn.00402060
mov edx, dword [ebp - 0x474]
lea eax, [edx + eax - 1]
push eax
mov ecx, dword [ebp - 0x478]
push ecx
mov ecx, dword [ebp - 0x470]
call fcn.0042c39f
mov edx, dword [ebp - 0x470]
mov dword [edx + 0x138], eax
mov eax, dword [ebp - 0x470]
movsx ecx, word [eax + 0x10e]
cmp ecx, 2
jne 0x42b575
mov edx, dword [ebp - 0x470]
cmp dword [edx + 0x670], 0
je 0x42b575
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x454]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x454]
push ecx
push 0
mov ecx, dword [ebp - 0x470]
call fcn.004310f7
mov edx, dword [ebp - 0x470]
mov ecx, dword [edx + 0x670]
sub ecx, eax
mov edx, dword [ebp - 0x470]
mov dword [edx + 0x670], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x470]
mov dword [eax + 0xec], 1
cmp dword [ebp - 0x41c], 0
je 0x42b6e8
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x458], esp
lea edx, [ebp - 0x410]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0x470]
mov ecx, dword [eax + 0x140]
push ecx
mov ecx, dword [ebp - 0x470]
call fcn.0042c897
mov dword [ebp - 0x480], eax
mov edx, dword [ebp - 0x480]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x470]
movsx ecx, word [eax + 0x10e]
cmp ecx, 2
jne 0x42b65e
mov edx, dword [ebp - 0x470]
cmp dword [edx + 0x670], 0
je 0x42b65e
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x45c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x45c]
push ecx
push 0
mov ecx, dword [ebp - 0x470]
call fcn.004310f7
mov edx, dword [ebp - 0x470]
mov ecx, dword [edx + 0x670]
add ecx, eax
mov edx, dword [ebp - 0x470]
mov dword [edx + 0x670], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x45c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x470]
call fcn.0042a0e0
cmp dword [ebp - 0x414], 0
je 0x42b675
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x484], eax
jmp 0x42b681
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 0x484], ecx
mov edx, dword [ebp - 0x470]
mov eax, dword [edx + 0x140]
add eax, dword [ebp - 0x484]
mov ecx, dword [ebp - 0x470]
mov dword [ecx + 0x138], eax
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp - 0x470]
add eax, 0x14c
push eax
call sub.MFC42.DLL_CString::Format
add esp, 8
push 0
mov ecx, dword [ebp - 0x470]
call fcn.004291f5
mov ecx, dword [ebp - 0x470]
call fcn.0042f9b9
mov ecx, dword [ebp - 0x470]
call fcn.0042a0e0
mov ecx, dword [ebp - 0x470]
call fcn.00428ba0
mov ecx, dword [ebp - 0x470]
call fcn.00404ac0
test eax, eax
je 0x42b733
mov ecx, dword [ebp - 0x470]
mov edx, dword [ecx + 0x20]
push edx
mov ecx, dword [ebp - 0x470]
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
and eax, 0xffff
and eax, 0xffff
or eax, 0x3000000
push eax
push 0x111
mov ecx, dword [ebp - 0x470]
call fcn.00404ac0
mov ecx, eax
call fcn.004049a0
jmp 0x42bbf8
cmp dword [ebp + 8], 0
je 0x42b74e
mov eax, dword [ebp + 8]
and eax, 0x800
test eax, eax
je 0x42bbf8
mov ecx, dword [ebp - 0x470]
cmp dword [ecx + 0x13c], 0
jl 0x42b76a
push 1
mov ecx, dword [ebp - 0x470]
call fcn.0042f7a9
push 0x400
lea edx, [ebp - 0x410]
push edx
push 0x800
mov eax, dword [ebp - 0x10]
push eax
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 0x434], eax
push 0
push 0
push 0x80
mov ecx, dword [ebp - 0x10]
push ecx
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 0x42c], eax
mov edx, dword [ebp - 0x470]
cmp dword [edx + 0xec], 0
je 0x42b84b
mov eax, dword [ebp - 0x470]
cmp dword [eax + 0x140], 0
jge 0x42b7d0
mov dword [ebp - 0x488], 0
jmp 0x42b7e2
mov ecx, dword [ebp - 0x470]
mov edx, dword [ecx + 0x140]
mov dword [ebp - 0x488], edx
mov eax, dword [ebp - 0x470]
cmp dword [eax + 0x140], 0
jge 0x42b7fd
mov dword [ebp - 0x48c], 0
jmp 0x42b80f
mov ecx, dword [ebp - 0x470]
mov edx, dword [ecx + 0x140]
mov dword [ebp - 0x48c], edx
push 1
mov ecx, dword [ebp - 0x470]
add ecx, 0x14c
call fcn.00402060
mov ecx, dword [ebp - 0x488]
lea edx, [ecx + eax - 1]
push edx
mov eax, dword [ebp - 0x48c]
push eax
mov ecx, dword [ebp - 0x470]
call fcn.0042c39f
mov ecx, dword [ebp - 0x470]
mov dword [ecx + 0x138], eax
lea edx, [ebp - 0x410]
push edx
lea ecx, [ebp - 0x428]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x470]
cmp dword [eax + 0xd4], 0
jle 0x42bac9
mov ecx, dword [ebp - 0x470]
movsx edx, word [ecx + 0xd8]
cmp edx, 1
jne 0x42b97f
mov ecx, dword [ebp - 0x470]
add ecx, 0x44
call fcn.00402060
mov esi, eax
lea ecx, [ebp - 0x428]
call fcn.00402060
add esi, eax
mov dword [ebp - 0x43c], esi
mov eax, dword [ebp - 0x470]
mov ecx, dword [ebp - 0x43c]
sub ecx, dword [eax + 0xd4]
mov dword [ebp - 0x438], ecx
cmp dword [ebp - 0x438], 0
jle 0x42b97a
lea ecx, [ebp - 0x428]
call fcn.00402060
sub eax, dword [ebp - 0x438]
test eax, eax
jge 0x42b8f6
mov dword [ebp - 0x490], 0
jmp 0x42b90d
lea ecx, [ebp - 0x428]
call fcn.00402060
sub eax, dword [ebp - 0x438]
mov dword [ebp - 0x490], eax
mov edx, dword [ebp - 0x490]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x440]
push eax
lea ecx, [ebp - 0x460]
push ecx
lea ecx, [ebp - 0x428]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x494], eax
mov edx, dword [ebp - 0x494]
mov dword [ebp - 0x498], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x498]
push eax
lea ecx, [ebp - 0x428]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x460]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x428]
call fcn.00402060
mov dword [ebp - 0x434], eax
jmp 0x42bac9
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x464]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 4
lea edx, [ebp - 0x464]
push edx
mov ecx, dword [ebp - 0x470]
call fcn.004330e8
mov dword [ebp - 0x44c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x464]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x470]
add eax, 0x44
push eax
mov ecx, dword [ebp - 0x470]
call fcn.004330e8
add eax, dword [ebp - 0x44c]
mov dword [ebp - 0x448], eax
mov ecx, dword [ebp - 0x470]
mov edx, dword [ebp - 0x448]
sub edx, dword [ecx + 0xd4]
mov dword [ebp - 0x444], edx
cmp dword [ebp - 0x444], 0
jle 0x42bac9
mov eax, dword [ebp - 0x444]
and eax, 0x80000001
jns 0x42ba14
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [ebp - 0x444]
add ecx, eax
mov edx, dword [ebp - 0x44c]
sub edx, ecx
test edx, edx
jae 0x42ba34
mov dword [ebp - 0x49c], 0
jmp 0x42ba5c
mov eax, dword [ebp - 0x444]
and eax, 0x80000001
jns 0x42ba46
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [ebp - 0x444]
add ecx, eax
mov edx, dword [ebp - 0x44c]
sub edx, ecx
mov dword [ebp - 0x49c], edx
mov eax, dword [ebp - 0x49c]
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp - 0x450]
push ecx
lea edx, [ebp - 0x468]
push edx
lea ecx, [ebp - 0x428]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x4a0], eax
mov eax, dword [ebp - 0x4a0]
mov dword [ebp - 0x4a4], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4a4]
push ecx
lea ecx, [ebp - 0x428]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x468]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x428]
call fcn.00402060
mov dword [ebp - 0x434], eax
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x46c], esp
lea edx, [ebp - 0x428]
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp - 0x470]
mov ecx, dword [eax + 0x140]
push ecx
mov ecx, dword [ebp - 0x470]
call fcn.0042c897
mov dword [ebp - 0x4ac], eax
mov edx, dword [ebp - 0x4ac]
mov dword [ebp - 0x430], edx
mov eax, dword [ebp - 0x470]
movsx ecx, word [eax + 0x10e]
test ecx, ecx
jne 0x42bb3f
mov edx, dword [ebp - 0x470]
mov eax, dword [edx + 0x140]
add eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x470]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp - 0x470]
mov dword [edx + 0x140], 0xffffffff
mov ecx, dword [ebp - 0x470]
add ecx, 0x14c
call sub.MFC42.DLL_CString::Empty
mov eax, dword [ebp - 0x470]
mov dword [eax + 0x150], 0
mov ecx, dword [ebp - 0x470]
mov dword [ecx + 0x154], 0
mov edx, dword [ebp - 0x470]
mov dword [edx + 0xe8], 0
mov eax, dword [ebp - 0x470]
mov dword [eax + 0xec], 0
push 0
mov ecx, dword [ebp - 0x470]
call fcn.004291f5
mov ecx, dword [ebp - 0x470]
call fcn.0042f9b9
mov ecx, dword [ebp - 0x470]
call fcn.0042a0e0
mov ecx, dword [ebp - 0x470]
call fcn.00428ba0
mov ecx, dword [ebp - 0x470]
mov edx, dword [ebp - 0x470]
mov eax, dword [edx + 0x138]
mov dword [ecx + 0x140], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call sub.MFC42.DLL_CString::CString
push 0
mov ecx, dword [ebp - 0x470]
call fcn.00404a40
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x470]
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
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4