Function at 0x18002b7f0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
mov dword [r11 + 0x10], r14d
mov rax, qword [rdx]
cmp dword [rax + 4], 0x24
jne 0x18002ba0e
mov rax, qword [rcx]
cmp dword [rax + 4], 1
jl 0x18002ba0e
mov rdx, r8
lea rcx, [r11 + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov dword [rsp + 0x88], 1
lea r8d, [r14 - 1]
lea rdx, str._abcdefghijklmn
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf8_char_const____ptr64__int_]
nop
mov rdx, rax
lea rcx, [rsp + 0x98]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x98]
call qword [sym.imp.Qt5Core.dll__toUtf8_QString__QEGBA_AVQByteArray__XZ]
nop
lea rcx, [rsp + 0x98]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_char____ptr64___cdecl_QByteArray::data_void____ptr64]
mov rbx, rax
lea rdx, [rsp + 0x88]
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll__toUtf8_QString__QEGBA_AVQByteArray__XZ]
nop
lea r8d, [r14 + 1]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QByteArray___cdecl_QCryptographicHash::hash_class_QByteArray_const____ptr64__enum_QCryptographicHash::Algorithm_]
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_char____ptr64___cdecl_QByteArray::data_void____ptr64]
mov rdx, rax
add rax, 0xf
lea rcx, [rbx + 0xf]
cmp rdx, rcx
ja 0x18002b922
cmp rax, rbx
jb 0x18002b922
lea rax, [r14 + rdx]
sub rbx, rdx
mov edx, 0x10
sub rdx, r14
nop dword [rax + rax]
movzx ecx, byte [rbx + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x18002b910
jmp 0x18002b932
movdqu xmm1, xmmword [rbx]
movdqu xmm0, xmmword [rdx]
pxor xmm1, xmm0
movdqu xmmword [rdx], xmm1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call sym.OnePiece.dll_class_QString___cdecl_OnePiece::regBuffToString_class_QByteArray_const____ptr64_
nop
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
je 0x18002b9e4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug___cdecl_QMessageLogger::debug_void____ptr64]
nop
lea rdx, str.validateRegCode:_OK
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___class_QString_const____ptr64____ptr64]
lea rdx, [0x180046874]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___class_QString_const____ptr64____ptr64]
lea rdx, [0x180046874]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___class_QString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDebug::destructor_void____ptr64]
mov bl, 1
jmp 0x18002b9e6
xor bl, bl
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
movzx eax, bl
jmp 0x18002ba10
xor al, al
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret