Function at 0x238b76a996c
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.238b76b6360
mov rdi, rax
test rax, rax
jne 0x238b76a99a1
lea rbx, [rax - 2]
jmp 0x238b76a9ac3
mov r15d, dword [rbp + 0x48]
test r15d, r15d
je 0x238b76a99d2
mov rdx, rdi
mov r8d, r15d
mov rax, qword [0x238b76ca050]
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 0x238b76a99b0
mov rax, qword [0x238b76ca050]
cmp dword [rax + 0xa4], 1
jne 0x238b76a9add
mov rcx, qword [0x238b76cab68]
test rcx, rcx
je 0x238b76a9ac1
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 0x238b76a9ac1
lea rsi, [rax + 8]
xor ecx, ecx
mov dword [rsi], r15d
mov rdx, r15
mov rax, qword [str.p_t1c]
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [rax + 0xb8]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x238b76a9ab6
and dword [rbp + 0x48], 0
mov ecx, dword [rsi]
test rcx, rcx
je 0x238b76a9a5e
mov al, byte [rdi]
inc rdi
mov byte [rdx], al
inc rdx
sub rcx, 1
jne 0x238b76a9a4e
lea rax, [rbp + 0x48]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x238b76a98d8]
mov rax, qword [str.p_t1c]
xor edx, edx
and dword [rsp + 0x20], 0
xor ecx, ecx
call qword [rax + 0xf0]
test rax, rax
jne 0x238b76a9ac1
mov rax, qword [str.p_t1c]
mov r8d, 0x8000
mov edx, dword [rsi]
mov rcx, qword [rbx]
call qword [rax + 0xc0]
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.238b76ac7c4
mov ebx, 0xfffffffd
jmp 0x238b76a9ac3
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.238b76ac7c4
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.238b76ae604
mov qword [rbp + 0x58], rax
mov r14, rax
test rax, rax
jne 0x238b76a9afe
lea ebx, [rax - 5]
jmp 0x238b76a9ac3
call fcn.238b76ae364
mov esi, dword [rbp + 0x48]
xor ebx, ebx
mov rax, qword [0x238b76cab78]
mov qword [rbp + 0x50], rax
test esi, esi
je 0x238b76a9c3c
test r12d, r12d
jne 0x238b76a9c3c
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
mov rax, qword [0x238b76ca050]
movups xmmword [rbp - 0x20], xmm0
test dword [rax + 0x18c0], 0x200
je 0x238b76a9b4e
mov ecx, 0xce0
call fcn.238b76b37c0
mov rcx, qword [r14 + rbx*8]
lea rdx, [rbp - 0x20]
call fcn.238b76b1990
test eax, eax
js 0x238b76a9c02
mov rdx, qword [rbp - 0x20]
mov r9d, r15d
mov rcx, qword [rbp + 0x50]
mov r8, rdi
mov dword [rsp + 0x20], 4
call fcn.238b76b18c8
mov qword [0x238b76cab58], rax
test rax, rax
jne 0x238b76a9ba8
mov rax, qword [str.p_t1c]
mov rcx, qword [rbp - 0x18]
call qword [rax + 0x68]
mov rax, qword [str.p_t1c]
mov rcx, qword [rbp - 0x20]
call qword [rax + 0x68]
jmp 0x238b76a9c02
mov r8, qword [0x238b76ca050]
lea rdx, [rbp - 0x20]
mov r9d, 1
mov dword [0x238b76cab4c], r15d
lea rcx, [0x238b76a97d4]
mov r8, qword [r8 + 0x238]
call fcn.238b76ae9dc
test rax, rax
je 0x238b76a9b8a
lea rcx, [rbp - 0x20]
call fcn.238b76aeb54
test eax, eax
je 0x238b76a9c02
mov rcx, qword [rbp - 0x20]
call fcn.238b76a739c
mov rax, qword [str.p_t1c]
mov rcx, qword [rbp - 0x18]
call qword [rax + 0x68]
mov r12d, 1
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x238b76a9c32
test r12d, r12d
jne 0x238b76a9c1f
mov rax, qword [str.p_t1c]
xor edx, edx
call qword [rax + 0x228]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x238b76a9c32
mov rax, qword [str.p_t1c]
call qword [rax + 0x68]
inc ebx
cmp ebx, esi
jb 0x238b76a9b1b
call fcn.238b76ae3b0
test esi, esi
je 0x238b76a9c64
mov rdi, rsi
mov rbx, 0xfffffffffffffffe
mov rdx, rbx
mov rcx, r14
call fcn.238b76ac7c4
add r14, 8
sub rdi, 1
jne 0x238b76a9c4f
mov rdx, rsi
lea rcx, [rbp + 0x58]
shl rdx, 3
call fcn.238b76ac7c4
test r12d, r12d
jne 0x238b76a9ac1
lea ebx, [r12 - 0xa]
jmp 0x238b76a9ac3