Function at 0x180006268
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x18003e3b0]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor r14d, r14d
mov esi, r8d
cmp byte [0x18003e591], r14b
mov edi, edx
mov rbx, rcx
je 0x180006517
cmp qword [0x18003f620], r14
jne 0x180006510
mov rax, qword [rcx]
lea r8, [0x18003f620]
lea rdx, [0x180038e50]
call qword [rax + 0x38]
mov rcx, qword [0x18003f620]
lea rdx, [0x18003f628]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov rax, qword [rbx]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [rax + 0x60]
mov rax, qword [rbx]
lea r9, [rbp - 0x70]
lea r8, [0x180038e60]
mov qword [rbp - 0x70], r14
xor edx, edx
mov rcx, rbx
call qword [rax + 0x48]
test eax, eax
js 0x180006510
mov rcx, qword [0x18003f620]
lea r9, [0x18003f608]
mov rdx, qword [rbp - 0x70]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x18003f620]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rbx]
lea r9, [rbp - 0x68]
lea r8, [0x180038e60]
mov qword [rbp - 0x68], r14
xor edx, edx
mov rcx, rbx
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x68]
lea rdx, [rbp - 0x10]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp + 0x10], rax
movups xmmword [rbp], xmm0
mov dword [rbp + 0x18], eax
mov rax, qword [rcx]
call qword [rax + 0x50]
mov ecx, r14d
mov dword [rsp + 0x20], 0xe75be769
mov r9d, 0x18c7
mov dword [rsp + 0x24], 0xe75de757
mov dword [rsp + 0x28], 0xe757e759
mov dword [rsp + 0x2c], 0xe733e751
mov dword [rsp + 0x30], 0xe76ae761
mov dword [rsp + 0x34], 0xe770e775
mov dword [rsp + 0x38], 0xe724e768
mov dword [rsp + 0x3c], 0xe73ce72e
mov dword [rsp + 0x40], 0xe76ae765
mov dword [rsp + 0x44], 0xe714e70f
mov dword [rsp + 0x48], 0xe77fe77c
mov dword [rsp + 0x4c], 0xe766
mov byte [rsp + 0x50], 1
movzx eax, cx
sub ax, r9w
xor word [rsp + rcx*2 + 0x20], ax
inc rcx
cmp rcx, 0x17
jb 0x1800063e8
mov byte [rsp + 0x50], r14b
mov rcx, r14
mov dword [rsp + 0x58], 0xe75be775
mov dword [rsp + 0x5c], 0xe752e74e
mov dword [rsp + 0x60], 0xe756e75e
mov dword [rsp + 0x64], 0xe72ee76a
mov dword [rsp + 0x68], 0xe727e733
mov dword [rsp + 0x6c], 0xe728e722
mov dword [rsp + 0x70], 0xe711e710
mov dword [rsp + 0x74], 0xe726e72e
mov dword [rsp + 0x78], 0xe725e72d
mov dword [rsp + 0x7c], 0xe73fe73c
mov dword [rbp - 0x80], 0xe722e70e
mov dword [rbp - 0x7c], 0xe735e726
mov dword [rbp - 0x78], 0xe726e73f
mov word [rbp - 0x74], r14w
mov byte [rbp - 0x72], 1
movzx eax, cx
sub ax, r9w
xor word [rsp + rcx*2 + 0x58], ax
inc rcx
cmp rcx, 0x1a
jb 0x180006473
lea rdx, [rsp + 0x20]
mov byte [rbp - 0x72], r14b
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_FindWindowW]
movss xmm0, dword [0x18003f570]
ucomiss xmm0, dword [0x1800393f0]
mov qword [0x180043068], rax
jp 0x1800064d2
jne 0x1800064d2
lea r8, [sym.test.dll_long_long___int64____cdecl_WndProcHook_struct_HWND______ptr64__unsigned_int__unsigned_long_long_unsigned___int64___long_long___int64__]
mov edx, 0xfffffffc
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x180042f68], rax
mov eax, dword [rbp - 0x10]
xorps xmm0, xmm0
mov rcx, qword [rbp - 0x68]
xorps xmm1, xmm1
cvtsi2ss xmm0, rax
mov eax, dword [rbp - 0xc]
cvtsi2ss xmm1, rax
mov rax, qword [rcx]
movss dword [0x18003f570], xmm0
movss dword [0x18003f548], xmm1
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x30]
call fcn.18002d98c
call fcn.18002d588
mov byte [0x18003e591], r14b
cmp qword [0x18003f608], r14
je 0x180006570
mov rcx, qword [0x18003f628]
lea r8, [0x18003f608]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
call fcn.18002da9c
call fcn.180008a54
call fcn.180004d60
call fcn.18000db88
mov r9, qword [0x18003e588]
add r9, 0x1978
mov al, byte [r9]
neg al
sbb rcx, rcx
and rcx, r9
call fcn.18002c6d0
mov rax, qword [0x18003f600]
mov r8d, esi
mov edx, edi
mov rcx, rbx
call rax
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180031a00
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret