Function at 0x14004cdc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp + 0x1f], rdx
xor r15d, r15d
test r9d, r9d
je 0x14004d005
cmp r9d, 1
jne 0x14004d208
mov edx, r8d
lea rcx, [rbp - 1]
call fcn.1400030e0
mov rsi, rax
movdqa xmm0, xmmword [0x1400f6b80]
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rbp - 0x71], 0x31222429
mov dword [rbp - 0x6d], 0x3d31223d
mov dword [rbp - 0x69], 0x1002f3e
mov ecx, r15d
nop dword [rax + rax]
lea eax, [rcx + 0x3a]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x1a
jb 0x14004ce40
mov byte [rbp - 0x66], 0
lea rcx, [rsp + 0x48]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14004ce63
mov rdx, qword [rdi + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, rax
jb 0x14004d239
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14004ce93
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea rcx, [rbp - 0x21]
call fcn.140026970
nop
mov dword [rsp + 0x40], 0x5b595746
mov dword [rsp + 0x44], 0x100434a
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x3a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 6
jb 0x14004ced0
mov byte [rsp + 0x47], 0
lea rax, [rsp + 0x40]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004cef0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x21]
call fcn.140024800
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x61], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x51], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rsi
lea r8, [rbp - 0x61]
lea rcx, [rbp - 0x41]
call fcn.140026780
nop
mov dword [rsp + 0x40], 0x1003146
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x3a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 2
jb 0x14004cf50
mov byte [rsp + 0x43], 0
lea rax, [rsp + 0x40]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004cf70
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x41]
call fcn.140024800
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x71], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x48]
movq r8, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, r8
movq r8, xmm1
mov rcx, r14
call fcn.140024800
nop
lea rcx, [rsp + 0x48]
call fcn.1400245d0
nop
lea rcx, [rbp - 0x41]
call fcn.1400245d0
nop
lea rcx, [rbp - 0x61]
call fcn.1400245d0
nop
lea rcx, [rbp - 0x21]
call fcn.1400245d0
nop
jmp 0x14004d1fe
mov edx, r8d
lea rcx, [rbp - 1]
call fcn.1400030e0
mov rsi, rax
movdqa xmm0, xmmword [0x1400f6b80]
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rbp - 0x71], 0x31222429
mov dword [rbp - 0x6d], 0x2d37262c
mov word [rbp - 0x69], 0x100
mov rcx, r15
nop dword [rax]
lea eax, [rcx + 0x3a]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x18
jb 0x14004d040
mov byte [rbp - 0x68], 0
lea rcx, [rsp + 0x48]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14004d063
mov rdx, qword [rdi + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, rax
jb 0x14004d233
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14004d093
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea rcx, [rbp - 0x41]
call fcn.140026970
nop
mov dword [rsp + 0x40], 0x5b595746
mov dword [rsp + 0x44], 0x100434a
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x3a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 6
jb 0x14004d0d0
mov byte [rsp + 0x47], 0
lea rax, [rsp + 0x40]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004d0f0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x41]
call fcn.140024800
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x71], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rsi
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x21]
call fcn.140026780
nop
mov dword [rsp + 0x40], 0x1003146
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x3a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 2
jb 0x14004d150
mov byte [rsp + 0x43], 0
lea rax, [rsp + 0x40]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004d170
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x21]
call fcn.140024800
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x61], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x51], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x61]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
mov rcx, r14
call fcn.140024800
nop
lea rcx, [rbp - 0x61]
call fcn.1400245d0
nop
lea rcx, [rbp - 0x21]
call fcn.1400245d0
nop
lea rcx, [rsp + 0x48]
call fcn.1400245d0
nop
lea rcx, [rbp - 0x41]
call fcn.1400245d0
nop
lea rcx, [rbp - 1]
call fcn.1400245d0
nop
mov rcx, rdi
call fcn.1400245d0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400cd0f0
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140003030
nop
call fcn.140003030
int3