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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x4e0]
sub rsp, 0x5e0
mov rax, qword [0x1801519f8]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov r15, r8
mov rsi, rdx
mov rdi, rcx
call fcn.180011180
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QLoggingCategory::isDebugEnabled_void_const___ptr64]
xor r12d, r12d
test al, al
je 0x18002b652
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x18002b4e4
mov eax, dword [rax + 4]
test eax, eax
je 0x18002b4e4
mov rbx, qword [rdi + 0x40]
jmp 0x18002b4e7
mov rbx, r12
call fcn.180011180
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug___cdecl_QMessageLogger::debug_void____ptr64]
mov rcx, rax
mov dl, 0x3e
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char____ptr64]
mov rcx, rax
lea rdx, str.QWindowsInputContext::composition
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov r8, rbx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
inc dword [rax + 0x18]
call qword [sym.imp.Qt5Core.dll_class_QDebug___cdecl_operator___class_QDebug__class_QObject_const____ptr64_]
lea rcx, [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_void____ptr64]
bt r15d, 0xb
jae 0x18002b575
lea rdx, str.RESULTSTR
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_char_const____ptr64____ptr64]
test r15b, 8
je 0x18002b58d
lea rdx, str.COMPSTR
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_char_const____ptr64____ptr64]
test r15b, 0x10
je 0x18002b5a5
lea rdx, str.COMPATTR
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_char_const____ptr64____ptr64]
test r15b, r15b
jns 0x18002b5bc
lea rdx, str.CURSORPOS
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_char_const____ptr64____ptr64]
test r15b, 0x20
je 0x18002b5d4
lea rdx, str.COMPCLAUSE
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_char_const____ptr64____ptr64]
bt r15d, 0xd
jae 0x18002b5ed
lea rdx, str.INSERTCHAR
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_char_const____ptr64____ptr64]
bt r15d, 0xe
jae 0x18002b606
lea rdx, str.NOMOVECARET
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_char_const____ptr64____ptr64]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___class_QByteArray_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str._composing
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
movzx edx, byte [rdi + 0x34]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___bool____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDebug::destructor_void____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDebug::destructor_void____ptr64]
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x620], r14
test rax, rax
je 0x18002ba73
mov eax, dword [rax + 4]
test eax, eax
je 0x18002ba73
cmp qword [rdi + 0x40], r12
je 0x18002ba73
mov rcx, qword [rdi + 0x20]
cmp rcx, rsi
jne 0x18002ba73
test r15d, r15d
je 0x18002ba73
call sub.IMM32.dll_ImmGetContext
mov qword [rsp + 0x68], rax
mov r14, rax
test rax, rax
je 0x18002ba73
mov qword [rsp + 0x618], r13
test r15b, 0x98
je 0x18002b87b
cmp byte [rdi + 0x34], r12b
jne 0x18002b6c8
mov rcx, rdi
call fcn.18002d550
mov r9d, 0x200
lea r8, [rbp + 0xd0]
mov edx, 8
mov rcx, r14
call sub.IMM32.dll_ImmGetCompositionStringW
movsxd r8, eax
lea rdx, [rbp + 0xd0]
shr r8, 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
lea rdx, [rsp + 0x48]
lea rcx, [rdi + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80
mov rcx, r14
call sub.IMM32.dll_ImmGetCompositionStringW
mov r9d, 0x100
mov dword [rdi + 0x30], eax
lea r8, [rbp - 0x30]
mov edx, 0x10
mov rcx, r14
mov esi, r12d
mov r13d, r12d
call sub.IMM32.dll_ImmGetCompositionStringW
test eax, eax
je 0x18002b78c
mov edx, r12d
movsxd r8, eax
mov rcx, r12
jle 0x18002b767
test byte [rbp + rcx - 0x30], 1
jne 0x18002b767
inc edx
inc rcx
cmp rcx, r8
jl 0x18002b756
cmp edx, eax
jge 0x18002b78c
lea esi, [rdx + 1]
movsxd rax, esi
cmp rax, r8
jge 0x18002b787
test byte [rbp + rax - 0x30], 1
je 0x18002b787
inc esi
inc rax
cmp rax, r8
jl 0x18002b776
mov r13d, edx
sub esi, edx
mov eax, r15d
and eax, 0x6000
cmp eax, 0x6000
jne 0x18002b7a5
mov rax, qword [rdi + 0x28]
mov r13d, r12d
mov esi, dword [rax + 4]
mov ecx, 0x38
call fcn.1800ee3d0
mov edx, dword [rdi + 0x30]
lea rcx, [rsp + 0x38]
mov rbx, rax
mov dword [rsp + 0x20], esi
mov rax, qword [rdi + 0x28]
mov r9d, r12d
test esi, esi
cmovne r9d, r13d
mov r8d, dword [rax + 4]
call fcn.18002c270
mov r8, rax
lea rdx, [rdi + 0x28]
mov rcx, rbx
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QInputMethodEvent::constructor_class_QString_const____ptr64__class_QList_class_QInputMethodEvent::Attribute__const____ptr64____ptr64]
lea rax, vtable.QInputMethodEvent.0
mov qword [rbx], rax
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x18002b819
cmp ecx, 0xffffffff
je 0x18002b89b
mov rax, qword [rsp + 0x38]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18002b89b
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rcx
movsxd r13, dword [rcx + 8]
movsxd rsi, dword [rcx + 0xc]
add r13, 2
add rsi, 2
lea r13, [rcx + r13*8]
lea rsi, [rcx + rsi*8]
cmp rsi, r13
je 0x18002b873
mov r14, qword [rsi - 8]
sub rsi, 8
test r14, r14
je 0x18002b864
lea rcx, [r14 + 0x10]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov edx, 0x20
mov rcx, r14
call fcn.1800ee414
cmp rsi, r13
jne 0x18002b840
mov rcx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
jmp 0x18002b89b
mov ecx, 0x38
call fcn.1800ee3d0
mov rcx, rax
mov rbx, rax
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QInputMethodEvent::constructor_void____ptr64]
lea rax, vtable.QInputMethodEvent.0
mov qword [rbx], rax
mov r13, qword [rsp + 0x618]
bt r15d, 0xb
jae 0x18002b90a
mov r9d, 0x200
lea r8, [rbp + 0x2d0]
mov edx, 0x800
mov rcx, r14
call sub.IMM32.dll_ImmGetCompositionStringW
movsxd r8, eax
lea rdx, [rbp + 0x2d0]
shr r8, 1
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
xor r9d, r9d
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QInputMethodEvent::setCommitString_class_QString_const____ptr64__int__int____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
bt r15d, 8
jb 0x18002b90a
mov rcx, rdi
call fcn.18002bfd0
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x18002b920
mov eax, dword [rax + 4]
test eax, eax
je 0x18002b920
mov rcx, qword [rdi + 0x40]
jmp 0x18002b923
mov rcx, r12
mov rdx, rbx
call qword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QCoreApplication::sendEvent_class_QObject____ptr64__class_QEvent____ptr64_]
movzx esi, al
call fcn.180011180
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QLoggingCategory::isDebugEnabled_void_const___ptr64]
test al, al
je 0x18002ba41
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x18002b959
mov ecx, dword [rcx + 4]
test ecx, ecx
je 0x18002b959
mov r12, qword [rdi + 0x40]
call fcn.180011180
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug___cdecl_QMessageLogger::debug_void____ptr64]
mov rcx, rax
mov dl, 0x3c
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char____ptr64]
mov rcx, rax
lea rdx, str.QWindowsInputContext::composition
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.sending_markup
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov rcx, qword [rbx + 0x20]
mov edx, dword [rcx + 0xc]
sub edx, dword [rcx + 8]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___int____ptr64]
mov rcx, rax
lea rdx, str._commit
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rbx + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___class_QString_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str._to
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov r8, r12
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
inc dword [rax + 0x18]
call qword [sym.imp.Qt5Core.dll_class_QDebug___cdecl_operator___class_QDebug__class_QObject_const____ptr64_]
mov rcx, rax
lea rdx, str._returns
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov rcx, rax
movzx edx, sil
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___bool____ptr64]
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDebug::destructor_void____ptr64]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDebug::destructor_void____ptr64]
mov rax, qword [rdi]
mov edx, 0xffffffff
mov rcx, rdi
call qword [rax + 0x78]
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.IMM32.dll_ImmReleaseContext
test rbx, rbx
je 0x18002ba6d
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
movzx eax, sil
jmp 0x18002ba75
xor al, al
mov r14, qword [rsp + 0x620]
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.1800eea90
mov rbx, qword [rsp + 0x628]
add rsp, 0x5e0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret