Function at 0x1800060f4
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x18003f3c0]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r14d, r14d
mov esi, r8d
cmp byte [0x18003f5d1], r14b
mov edi, edx
mov rbx, rcx
je 0x180006471
cmp qword [0x180040650], r14
jne 0x18000646a
mov rax, qword [rcx]
lea r8, [0x180040650]
lea rdx, [0x180039e40]
call qword [rax + 0x38]
mov rcx, qword [0x180040650]
lea rdx, [0x180040658]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov rax, qword [rbx]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [rax + 0x60]
mov rax, qword [rbx]
lea r9, [rbp - 0x60]
lea r8, [0x180039e50]
mov qword [rbp - 0x60], r14
xor edx, edx
mov rcx, rbx
call qword [rax + 0x48]
test eax, eax
js 0x18000646a
mov rcx, qword [0x180040650]
lea r9, [0x180040638]
mov rdx, qword [rbp - 0x60]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x180040650]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rbx]
lea r9, [rbp - 0x58]
lea r8, [0x180039e50]
mov qword [rbp - 0x58], r14
xor edx, edx
mov rcx, rbx
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x58]
lea rdx, [rbp]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x20], rax
movups xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x28], eax
mov rax, qword [rcx]
call qword [rax + 0x50]
mov ecx, r14d
mov dword [rsp + 0x30], 0x92ff92cd
mov r8d, 0x6d63
mov dword [rsp + 0x34], 0x92c192f3
mov dword [rsp + 0x38], 0x92cb92c5
mov dword [rsp + 0x3c], 0x92d792cd
mov dword [rsp + 0x40], 0x928e9285
mov dword [rsp + 0x44], 0x929c9291
mov dword [rsp + 0x48], 0x92c89284
mov dword [rsp + 0x4c], 0x92d892c2
mov dword [rsp + 0x50], 0x928e9281
mov dword [rsp + 0x54], 0x92e892eb
mov dword [rsp + 0x58], 0x92839280
mov dword [rsp + 0x5c], 0x929a
mov byte [rsp + 0x60], 1
movzx eax, cx
sub ax, r8w
xor word [rsp + rcx*2 + 0x30], ax
inc rcx
cmp rcx, 0x17
jb 0x180006274
mov byte [rsp + 0x60], r14b
mov rcx, r14
mov dword [rsp + 0x68], 0x92ff92d1
mov dword [rsp + 0x6c], 0x92ce92ea
mov dword [rsp + 0x70], 0x92ca92c2
mov dword [rsp + 0x74], 0x92ca92f6
mov dword [rsp + 0x78], 0x92c392d7
mov dword [rsp + 0x7c], 0x92c492c6
mov dword [rbp - 0x80], 0x92fd92fc
mov dword [rbp - 0x7c], 0x92c292c2
mov dword [rbp - 0x78], 0x92c192c9
mov dword [rbp - 0x74], 0x92c392d8
mov dword [rbp - 0x70], 0x92de92f2
mov dword [rbp - 0x6c], 0x92d192da
mov dword [rbp - 0x68], 0x92c292db
mov word [rbp - 0x64], r14w
mov byte [rbp - 0x62], 1
movzx eax, cx
sub ax, r8w
xor word [rsp + rcx*2 + 0x68], ax
inc rcx
cmp rcx, 0x1a
jb 0x1800062fb
lea rdx, [rsp + 0x30]
mov byte [rbp - 0x62], r14b
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_FindWindowW]
movss xmm0, dword [0x1800405a0]
ucomiss xmm0, dword [0x18003a3f0]
mov qword [0x180044098], rax
jp 0x18000635a
jne 0x18000635a
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 [0x180043f98], rax
mov eax, dword [rbp]
xorps xmm0, xmm0
mov rcx, qword [rbp - 0x58]
xorps xmm1, xmm1
cvtsi2ss xmm0, rax
mov eax, dword [rbp + 4]
cvtsi2ss xmm1, rax
mov rax, qword [rcx]
movss dword [0x1800405a0], xmm0
movss dword [0x180040578], xmm1
call qword [rax + 0x10]
mov rax, qword [0x18003f5c8]
mov rdx, r14
movdqa xmm0, xmmword [0x18003a800]
movdqa xmm1, xmmword [0x18003a7c0]
movdqu xmmword [rsp + 0x30], xmm0
mov rcx, qword [rax + 0x94]
movdqu xmmword [rsp + 0x40], xmm1
mov dword [rsp + 0x50], 0xeecddfd1
mov dword [rsp + 0x54], 0xa5b6b5
mov byte [rsp + 0x58], 1
lea eax, [rdx - 0x63]
xor byte [rsp + rdx + 0x30], al
inc rdx
cmp rdx, 0x27
jb 0x1800063cc
movss xmm2, dword [0x18003a504]
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x58], r14b
call fcn.180029f8c
mov rax, qword [0x18003f5c8]
mov rdx, r14
movdqa xmm0, xmmword [0x18003a800]
movdqa xmm1, xmmword [0x18003a7c0]
mov rcx, qword [rax + 0x94]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x50], 0xeecddfd1
movdqu xmmword [rsp + 0x40], xmm1
mov dword [rsp + 0x54], 0xa5a4b5
mov byte [rsp + 0x58], 1
lea eax, [rdx - 0x63]
xor byte [rsp + rdx + 0x30], al
inc rdx
cmp rdx, 0x27
jb 0x180006435
movss xmm2, dword [0x18003a504]
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x58], r14b
call fcn.180029f8c
mov rcx, qword [rbp - 0x20]
call fcn.18002dc70
call fcn.18002d86c
mov byte [0x18003f5d1], r14b
cmp qword [0x180040638], r14
je 0x1800064ca
mov rcx, qword [0x180040658]
lea r8, [0x180040638]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + pe_nt_image_headers64]
call fcn.18002dd80
call fcn.1800089a8
call fcn.180004dcc
call fcn.18000db90
mov r9, qword [0x18003f5c8]
add r9, 0x1978
mov al, byte [r9]
neg al
sbb rcx, rcx
and rcx, r9
call fcn.18002c9d0
mov rax, qword [0x180040630]
mov r8d, esi
mov edx, edi
mov rcx, rbx
call rax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180031ce0
add rsp, 0x140
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret