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

Disassembly:
push 0xffffffffffffffff
push 0x43ca00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x20]
push eax
call sub.IMM32.dll_ImmGetContext
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x10], ebx
je 0x41bf03
mov eax, dword [esi + 0xe8]
mov byte [esp + 0x18], 0
cmp eax, edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x19], edi
je 0x41bf1d
test al, 8
je 0x41bf1d
cmp dword [esi + 0xec], edi
jne 0x41bce4
cmp dword [esi + 0x108], edi
je 0x41bce4
mov eax, dword [esi + 0x13c]
cmp eax, edi
jl 0x41bc74
cmp eax, dword [esi + 0x138]
jne 0x41bce4
mov eax, dword [esi + 0x138]
cmp eax, edi
jl 0x41bcab
mov ecx, dword [esi + 0x44]
cmp eax, dword [ecx - 8]
jge 0x41bcab
mov cl, byte [ecx + eax]
mov byte [esp + 0x30], cl
mov edx, dword [esp + 0x30]
push edx
mov ecx, esi
call fcn.0041ef80
test eax, eax
je 0x41bcab
mov eax, dword [esi + 0x138]
push 1
lea ecx, [eax + 1]
push ecx
jmp 0x41bcc0
mov eax, dword [esi + 0x138]
cmp eax, edi
jl 0x41bcce
mov edx, dword [esi + 0x44]
cmp eax, dword [edx - 8]
jge 0x41bcce
push 1
push eax
push eax
mov ecx, esi
call fcn.0041cbb0
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x138]
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
and eax, ecx
mov dword [esi + 0x138], eax
cmp dword [esi + 0x13c], edi
jl 0x41bd39
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_3
mov ebp, dword [esi + 0x138]
lea edx, [esp + 0x30]
push 1
mov dword [esp + 0x2c], edi
mov edi, dword [esi + 0x13c]
push edx
mov ecx, esi
call fcn.0041f0f0
push 0
lea eax, [esp + 0x34]
push 1
push eax
push ebp
push edi
push 1
mov ecx, esi
call fcn.004214e0
or ebx, 0xffffffff
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString
jmp 0x41bd3c
or ebx, 0xffffffff
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push 5
push ecx
push 8
push edx
call sub.IMM32.dll_ImmGetCompositionStringA
mov edi, eax
mov eax, dword [esi + 0xec]
test eax, eax
mov ebp, 2
je 0x41bdd5
mov eax, dword [esi + 0x138]
push 1
movsx edx, word [esi + 0x14a]
lea ecx, [eax - 1]
sub eax, edx
push ecx
push eax
mov ecx, esi
call fcn.0041cbb0
cmp word [esi + 0x10e], bp
mov dword [esi + 0x138], eax
jne 0x41bdd5
mov eax, dword [esi + 0x670]
test eax, eax
je 0x41bdd5
lea eax, [esp + 0x18]
lea ecx, [esp + 0x30]
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 1
push ecx
push 0
mov ecx, esi
call fcn.00420300
mov ecx, dword [esi + 0x670]
mov dword [esp + 0x28], ebx
sub ecx, eax
mov dword [esi + 0x670], ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
test edi, edi
mov dword [esi + 0xec], 1
mov word [esi + 0x14a], di
je 0x41be80
push 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x138]
mov ecx, esi
push eax
call fcn.0041cfb0
cmp word [esi + 0x10e], bp
mov edi, eax
jne 0x41be66
mov eax, dword [esi + 0x670]
test eax, eax
je 0x41be66
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x30]
mov ecx, esi
push edx
push 0
mov dword [esp + 0x30], ebp
call fcn.00420300
mov ecx, dword [esi + 0x670]
mov dword [esp + 0x28], ebx
add ecx, eax
mov dword [esi + 0x670], ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call fcn.0041b540
lea eax, [esp + 0x18]
lea ecx, [esi + 0x14c]
push eax
push ecx
mov dword [esi + 0x138], edi
call sub.MFC42.DLL_CString::Format
add esp, 8
push 0
mov ecx, esi
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 + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push edx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
je 0x41bee7
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ebp, dword [esi + 0x20]
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
mov ecx, dword [edi + 0x20]
and eax, 0xffff
or eax, 0x3000000
push ebp
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x20]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x20]
push eax
push ecx
call sub.IMM32.dll_ImmReleaseContext
mov eax, 1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4
test ah, 8
je 0x41bee7
cmp dword [esi + 0x13c], edi
jl 0x41bf7a
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_3
mov edi, dword [esi + 0x13c]
mov ebp, dword [esi + 0x138]
lea edx, [esp + 0x30]
push 1
push edx
mov ecx, esi
mov dword [esp + 0x30], 3
call fcn.0041f0f0
push 0
lea eax, [esp + 0x34]
push 1
push eax
push ebp
push edi
push 1
mov ecx, esi
call fcn.004214e0
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push 5
push ecx
push 0x800
push ebx
call sub.IMM32.dll_ImmGetCompositionStringA
mov cx, word [esi + 0x14a]
test cx, cx
jle 0x41bfb7
mov eax, dword [esi + 0x138]
push 1
movsx ecx, cx
lea edx, [eax - 1]
sub eax, ecx
push edx
push eax
mov ecx, esi
call fcn.0041cbb0
mov dword [esi + 0x138], eax
mov ebp, dword [esi + 0x138]
push 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x138]
mov ecx, esi
push eax
call fcn.0041cfb0
mov edi, eax
cmp edi, 0xffffffff
jle 0x41c024
cmp ebp, edi
je 0x41c024
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
push 0
lea edx, [esp + 0x34]
push 0
push edx
push edi
push ebp
push 0
mov ecx, esi
mov dword [esp + 0x40], 4
call fcn.004214e0
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor ebx, ebx
mov ecx, esi
push ebx
mov dword [esi + 0x138], edi
mov word [esi + 0x14a], bx
mov dword [esi + 0xec], ebx
call fcn.0041ac10
mov ecx, esi
call fcn.0041f170
mov ecx, esi
call fcn.0041b540
mov ecx, esi
call fcn.0041a8d0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
mov ecx, dword [esi + 0x14c]
lea edi, [esi + 0x14c]
push eax
push ecx
mov dword [esp + 0x30], 5
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebp, dword [sym.imp.USER32.dll_GetParent]
add esp, 8
test eax, eax
je 0x41c0a3
mov ecx, dword [esi + 0x20]
push ecx
call ebp
push eax
call sub.MFC42.DLL_CWnd::FromHandle
cmp eax, ebx
je 0x41c0a3
mov bl, 1
jmp 0x41c0a5
xor bl, bl
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41c0ed
mov edx, dword [esi + 0x20]
push edx
call ebp
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ebx, dword [esi + 0x20]
mov ecx, esi
mov ebp, eax
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
and eax, 0xffff
push ebx
or eax, 0x3000000
push eax
mov eax, dword [ebp + 0x20]
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, edi
call sub.MFC42.DLL_CString::Empty
mov eax, dword [esi + 0x108]
test eax, eax
je 0x41c126
mov eax, dword [esi + 0x13c]
test eax, eax
jl 0x41c114
cmp eax, dword [esi + 0x138]
jne 0x41bee7
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x138]
cmp edx, dword [ecx - 8]
jne 0x41bee7
mov eax, dword [esi + 0xd4]
test eax, eax
jle 0x41bee7
movsx eax, word [esi + 0xd8]
push eax
mov ecx, esi
call fcn.00419f00
cmp dword [esi + 0xd4], eax
jg 0x41bee7
mov edi, dword [esp + 0x10]
push 0
push 4
push 0x15
push edi
call sub.IMM32.dll_ImmNotifyIME
mov ecx, dword [esi + 0x20]
push edi
push ecx
call sub.IMM32.dll_ImmReleaseContext
xor eax, eax
jmp 0x41bf08