Function at 0x2265f95996c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
and dword [rbp + 0x48], 0
lea rdx, [rbp + 0x48]
call fcn.2265f966360
mov rdi, rax
test rax, rax
jne 0x2265f9599a1
lea rbx, [rax - 2]
jmp 0x2265f959ac3
mov r15d, dword [rbp + 0x48]
test r15d, r15d
je 0x2265f9599d2
mov rdx, rdi
mov r8d, r15d
mov rax, qword [0x2265f97a050]
mov rcx, rdx
sub rcx, rdi
and ecx, 0x1f
mov cl, byte [rcx + rax + 0x1880]
xor byte [rdx], cl
inc rdx
sub r8, 1
jne 0x2265f9599b0
mov rax, qword [0x2265f97a050]
cmp dword [rax + 0xa4], 1
jne 0x2265f959add
mov rcx, qword [0x2265f97ab68]
test rcx, rcx
je 0x2265f959ac1
mov edx, 8
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x50], rax
mov rbx, rax
test rax, rax
je 0x2265f959ac1
lea rsi, [rax + 8]
xor ecx, ecx
mov dword [rsi], r15d
mov rdx, r15
mov rax, qword [0x2265f979fe8]
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [rax + 0xb8]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x2265f959ab6
and dword [rbp + 0x48], 0
mov ecx, dword [rsi]
test rcx, rcx
je 0x2265f959a5e
mov al, byte [rdi]
inc rdi
mov byte [rdx], al
inc rdx
sub rcx, 1
jne 0x2265f959a4e
lea rax, [rbp + 0x48]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x2265f9598d8]
mov rax, qword [0x2265f979fe8]
xor edx, edx
and dword [rsp + 0x20], 0
xor ecx, ecx
call qword [rax + 0xf0]
test rax, rax
jne 0x2265f959ac1
mov rax, qword [0x2265f979fe8]
mov r8d, 0x8000
mov edx, dword [rsi]
mov rcx, qword [rbx]
call qword [rax + 0xc0]
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.2265f95c7c4
mov ebx, 0xfffffffd
jmp 0x2265f959ac3
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.2265f95c7c4
xor ebx, ebx
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
and dword [rbp + 0x48], 0
lea rcx, [rbp + 0x48]
xor r12d, r12d
call fcn.2265f95e604
mov qword [rbp + 0x58], rax
mov r14, rax
test rax, rax
jne 0x2265f959afe
lea ebx, [rax - 5]
jmp 0x2265f959ac3
call fcn.2265f95e364
mov esi, dword [rbp + 0x48]
xor ebx, ebx
mov rax, qword [0x2265f97ab78]
mov qword [rbp + 0x50], rax
test esi, esi
je 0x2265f959c3c
test r12d, r12d
jne 0x2265f959c3c
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
mov rax, qword [0x2265f97a050]
movups xmmword [rbp - 0x20], xmm0
test dword [rax + 0x18c0], 0x200
je 0x2265f959b4e
mov ecx, 0xce0
call fcn.2265f9637c0
mov rcx, qword [r14 + rbx*8]
lea rdx, [rbp - 0x20]
call fcn.2265f961990
test eax, eax
js 0x2265f959c02
mov rdx, qword [rbp - 0x20]
mov r9d, r15d
mov rcx, qword [rbp + 0x50]
mov r8, rdi
mov dword [rsp + 0x20], 4
call fcn.2265f9618c8
mov qword [0x2265f97ab58], rax
test rax, rax
jne 0x2265f959ba8
mov rax, qword [0x2265f979fe8]
mov rcx, qword [rbp - 0x18]
call qword [rax + 0x68]
mov rax, qword [0x2265f979fe8]
mov rcx, qword [rbp - 0x20]
call qword [rax + 0x68]
jmp 0x2265f959c02
mov r8, qword [0x2265f97a050]
lea rdx, [rbp - 0x20]
mov r9d, 1
mov dword [0x2265f97ab4c], r15d
lea rcx, [0x2265f9597d4]
mov r8, qword [r8 + 0x238]
call fcn.2265f95e9dc
test rax, rax
je 0x2265f959b8a
lea rcx, [rbp - 0x20]
call fcn.2265f95eb54
test eax, eax
je 0x2265f959c02
mov rcx, qword [rbp - 0x20]
call fcn.2265f95739c
mov rax, qword [0x2265f979fe8]
mov rcx, qword [rbp - 0x18]
call qword [rax + 0x68]
mov r12d, 1
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x2265f959c32
test r12d, r12d
jne 0x2265f959c1f
mov rax, qword [0x2265f979fe8]
xor edx, edx
call qword [rax + 0x228]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x2265f959c32
mov rax, qword [0x2265f979fe8]
call qword [rax + 0x68]
inc ebx
cmp ebx, esi
jb 0x2265f959b1b
call fcn.2265f95e3b0
test esi, esi
je 0x2265f959c64
mov rdi, rsi
mov rbx, 0xfffffffffffffffe
mov rdx, rbx
mov rcx, r14
call fcn.2265f95c7c4
add r14, 8
sub rdi, 1
jne 0x2265f959c4f
mov rdx, rsi
lea rcx, [rbp + 0x58]
shl rdx, 3
call fcn.2265f95c7c4
test r12d, r12d
jne 0x2265f959ac1
lea ebx, [r12 - 0xa]
jmp 0x2265f959ac3