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

Disassembly:
push 0xffffffffffffffff
push 0x43ca52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x20]
push eax
call sub.IMM32.dll_ImmGetContext
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x1c], ebp
je 0x41c6e8
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [esp + 0x434]
stosb byte es:[edi], al
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x41c477
test bl, 8
je 0x41c477
mov eax, dword [esi + 0x13c]
test eax, eax
jl 0x41c1ee
push 1
mov ecx, esi
call fcn.0041f080
lea ecx, [esp + 0x24]
push 0x400
push ecx
push 8
push ebp
call sub.IMM32.dll_ImmGetCompositionStringA
xor edi, edi
mov dword [esp + 0x20], eax
push edi
push edi
push 0x80
push ebp
call sub.IMM32.dll_ImmGetCompositionStringA
test bl, 0x10
mov dword [esp + 0x18], eax
mov dword [esi + 0x150], edi
je 0x41c23c
lea edx, [esi + 0x158]
push 0x101
push edx
push 0x10
push ebp
call sub.IMM32.dll_ImmGetCompositionStringW
mov dword [esi + 0x150], eax
test bl, 0x20
mov dword [esi + 0x154], edi
je 0x41c261
lea eax, [esi + 0x25c]
push 0x404
push eax
push 0x20
push ebp
call sub.IMM32.dll_ImmGetCompositionStringW
mov dword [esi + 0x154], eax
mov ecx, dword [esi + 0x150]
mov dword [esp + 0x10], edi
cmp ecx, edi
jbe 0x41c29b
mov edx, dword [esi + 0x25c]
lea eax, [esi + 0x25c]
cmp edx, ecx
je 0x41c29b
mov edx, dword [eax]
add eax, 4
mov bl, byte [edx + esi + 0x158]
test bl, bl
je 0x41c297
mov dword [esp + 0x10], 1
cmp dword [eax], ecx
jne 0x41c27f
mov eax, dword [esi + 0xec]
or ebp, 0xffffffff
test eax, eax
mov ebx, 2
je 0x41c341
mov eax, dword [esi + 0x140]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
xor edx, edx
and ecx, eax
push 1
test eax, eax
setl dl
dec edx
and eax, edx
mov edx, dword [esi + 0x14c]
mov edx, dword [edx - 8]
lea ecx, [ecx + edx - 1]
push ecx
push eax
mov ecx, esi
call fcn.0041cbb0
cmp word [esi + 0x10e], bx
mov dword [esi + 0x138], eax
jne 0x41c341
mov eax, dword [esi + 0x670]
test eax, eax
je 0x41c341
lea edx, [esp + 0x24]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x434], 0
call fcn.00420300
mov ecx, dword [esi + 0x670]
mov dword [esp + 0x42c], ebp
sub ecx, eax
mov dword [esi + 0x670], ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x20]
mov dword [esi + 0xec], 1
test edi, edi
je 0x41c425
push 0
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x140]
mov ecx, esi
push eax
call fcn.0041cfb0
cmp word [esi + 0x10e], bx
jne 0x41c3d7
mov eax, dword [esi + 0x670]
test eax, eax
je 0x41c3d7
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x14]
mov ecx, esi
push edx
push 0
mov dword [esp + 0x434], 1
call fcn.00420300
mov ecx, dword [esi + 0x670]
mov dword [esp + 0x42c], ebp
add ecx, eax
mov dword [esi + 0x670], ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call fcn.0041b540
mov eax, dword [esp + 0x10]
test eax, eax
mov eax, edi
jne 0x41c3e5
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x140]
lea edx, [esp + 0x24]
add ecx, eax
lea eax, [esi + 0x14c]
push edx
push eax
mov dword [esi + 0x138], ecx
call sub.MFC42.DLL_CString::Format
add esp, 8
mov ecx, esi
push 0
call fcn.0041ac10
mov ecx, esi
call fcn.0041f170
mov ecx, esi
call fcn.0041b540
mov ecx, esi
call fcn.0041a8d0
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push ecx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
je 0x41c6cc
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ebx, dword [esi + 0x20]
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
and eax, 0xffff
push ebx
or eax, 0x3000000
push eax
mov eax, dword [edi + 0x20]
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x41c6cc
test ebx, ebx
je 0x41c484
test bh, 8
je 0x41c6d0
mov eax, dword [esi + 0x13c]
test eax, eax
jl 0x41c497
push 1
mov ecx, esi
call fcn.0041f080
lea ecx, [esp + 0x24]
push 0x400
push ecx
push 0x800
push ebp
call sub.IMM32.dll_ImmGetCompositionStringA
mov edx, dword [esp + 0x1c]
xor edi, edi
push edi
push edi
push 0x80
push edx
mov ebp, eax
call sub.IMM32.dll_ImmGetCompositionStringA
cmp dword [esi + 0xec], edi
je 0x41c501
mov eax, dword [esi + 0x140]
xor ecx, ecx
cmp eax, edi
push 1
setl cl
dec ecx
xor edx, edx
and ecx, eax
cmp eax, edi
setl dl
dec edx
and eax, edx
mov edx, dword [esi + 0x14c]
mov edx, dword [edx - 8]
lea ecx, [ecx + edx - 1]
push ecx
push eax
mov ecx, esi
call fcn.0041cbb0
mov dword [esi + 0x138], eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esi + 0xd4]
mov ebx, 2
cmp edx, edi
mov dword [esp + 0x42c], ebx
jle 0x41c62f
cmp word [esi + 0xd8], 1
jne 0x41c595
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax - 8]
mov ecx, dword [ecx - 8]
add eax, ecx
sub eax, edx
cmp eax, edi
jle 0x41c62f
mov edx, ecx
sub edx, eax
jns 0x41c556
xor ecx, ecx
jmp 0x41c558
sub ecx, eax
lea eax, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x430], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x42c], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov ebp, dword [ecx - 8]
jmp 0x41c62f
lea edx, [esp + 0x24]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x14]
mov ecx, esi
push eax
mov byte [esp + 0x430], 4
call fcn.00421780
lea ecx, [esp + 0x14]
mov edi, eax
mov byte [esp + 0x42c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
push ecx
mov ecx, esi
call fcn.00421780
mov edx, dword [esi + 0xd4]
add eax, edi
sub eax, edx
test eax, eax
jle 0x41c62d
mov edx, eax
and edx, 0x80000001
jns 0x41c5f1
dec edx
or edx, 0xfffffffe
inc edx
sub edi, edx
lea ecx, [esp + 0x10]
sub edi, eax
lea eax, [esp + 0x18]
push edi
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x430], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x42c], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov ebp, dword [ecx - 8]
xor edi, edi
push 1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x140]
mov ecx, esi
push eax
call fcn.0041cfb0
cmp word [esi + 0x10e], di
jne 0x41c667
mov ecx, dword [esi + 0x140]
add ecx, ebp
mov dword [esi + 0x138], ecx
or ebp, 0xffffffff
lea ecx, [esi + 0x14c]
mov dword [esi + 0x140], ebp
call sub.MFC42.DLL_CString::Empty
push edi
mov ecx, esi
mov dword [esi + 0x150], edi
mov dword [esi + 0x154], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
call fcn.0041ac10
mov ecx, esi
call fcn.0041f170
mov ecx, esi
call fcn.0041b540
mov ecx, esi
call fcn.0041a8d0
mov edx, dword [esi + 0x138]
lea ecx, [esp + 0x10]
mov dword [esi + 0x140], edx
mov dword [esp + 0x42c], ebp
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x20]
push ebp
push ecx
call sub.IMM32.dll_ImmReleaseContext
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x420
ret 4