Function at 0x180002a4c
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x18003b3b0]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor r14d, r14d
mov esi, r8d
cmp byte [0x18003b539], r14b
mov edi, edx
mov rbx, rcx
je 0x180002cf1
cmp qword [0x18003c530], r14
jne 0x180002cea
mov rax, qword [rcx]
lea r8, [0x18003c530]
lea rdx, [0x180032450]
call qword [rax + 0x38]
mov rcx, qword [0x18003c530]
lea rdx, [0x18003c538]
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, [0x180035db0]
mov qword [rbp - 0x70], r14
xor edx, edx
mov rcx, rbx
call qword [rax + 0x48]
test eax, eax
js 0x180002cea
mov rcx, qword [0x18003c530]
lea r9, [0x18003c518]
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 [0x18003c530]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rbx]
lea r9, [rbp - 0x68]
lea r8, [0x180035db0]
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], 0x23e923d7
mov r8d, 0x2387
mov dword [rsp + 0x24], 0x23eb23e5
mov dword [rsp + 0x28], 0x23e523ef
mov dword [rsp + 0x2c], 0x23fd23e3
mov dword [rsp + 0x30], 0x23b823af
mov dword [rsp + 0x34], 0x23a623a7
mov dword [rsp + 0x38], 0x23f623be
mov dword [rsp + 0x3c], 0x23e223fc
mov dword [rsp + 0x40], 0x23b823bb
mov dword [rsp + 0x44], 0x23c223dd
mov dword [rsp + 0x48], 0x23ad23aa
mov dword [rsp + 0x4c], 0x23b4
mov byte [rsp + 0x50], 1
lea eax, [r8 + rcx]
xor word [rsp + rcx*2 + 0x20], ax
inc rcx
cmp rcx, 0x17
jb 0x180002bc8
mov byte [rsp + 0x50], r14b
mov rcx, r14
mov dword [rsp + 0x58], 0x23e923cb
mov dword [rsp + 0x5c], 0x23e423fc
mov dword [rsp + 0x60], 0x23e423e8
mov dword [rsp + 0x64], 0x23e023d8
mov dword [rsp + 0x68], 0x23f523fd
mov dword [rsp + 0x6c], 0x23fe23f0
mov dword [rsp + 0x70], 0x23c323c6
mov dword [rsp + 0x74], 0x23f823fc
mov dword [rsp + 0x78], 0x23f723f3
mov dword [rsp + 0x7c], 0x23e923ee
mov dword [rbp - 0x80], 0x23f023d8
mov dword [rbp - 0x7c], 0x23fb23f4
mov dword [rbp - 0x78], 0x23d423f1
mov word [rbp - 0x74], r14w
mov byte [rbp - 0x72], 1
lea eax, [r8 + rcx]
xor word [rsp + rcx*2 + 0x58], ax
inc rcx
cmp rcx, 0x1a
jb 0x180002c50
lea rdx, [rsp + 0x20]
mov byte [rbp - 0x72], r14b
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_FindWindowW]
movss xmm0, dword [0x18003c498]
ucomiss xmm0, dword [0x180036340]
mov qword [0x18003ff18], rax
jp 0x180002cac
jne 0x180002cac
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 [0x18003fe20], 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 [0x18003c498], xmm0
movss dword [0x18003c470], xmm1
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x30]
call fcn.18002a0d0
call fcn.180029ccc
mov byte [0x18003b539], r14b
cmp qword [0x18003c518], r14
je 0x180002d4a
mov rcx, qword [0x18003c538]
lea r8, [0x18003c518]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
call fcn.18002a1e0
call fcn.18000516c
call fcn.1800018b0
call fcn.18000a2b4
mov r9, qword [0x18003b530]
add r9, 0x1978
mov al, byte [r9]
neg al
sbb rcx, rcx
and rcx, r9
call fcn.180028e14
mov rax, qword [0x18003c510]
mov r8d, esi
mov edx, edi
mov rcx, rbx
call rax
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.18002e180
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret