Function at 0x14004b150
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1402e1040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x59], rdx
xor ebx, ebx
cmp qword [rcx + 0x40], rbx
jne 0x14004b19d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdx], bl
jmp 0x14004b3b0
lea rcx, [rbp - 1]
call fcn.14005b740
nop
add rsi, 0x30
mov r9, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14004b1b8
mov r9, qword [rsi]
mov r10, qword [rsi + 0x10]
add r10, r9
cmp r9, r10
je 0x14004b200
nop dword [rax]
nop dword [rax + rax]
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, ebx
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
inc r9
cmp r9, r10
jne 0x14004b1d0
lea ecx, [rbx + rbx*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
lea r9, [rbp + 0x34]
imul ecx, ecx, 0x8001
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul ecx
mov r8d, edx
shr r8d, 3
movzx eax, r8b
shl al, 2
lea edx, [rax + r8]
add dl, dl
sub cl, dl
add cl, 0x30
mov byte [r9], cl
mov ecx, r8d
test r8d, r8d
jne 0x14004b220
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea rax, [rbp + 0x34]
cmp r9, rax
jne 0x14004b279
movdqa xmm0, xmmword [0x1402bb730]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], r8b
jmp 0x14004b28d
lea r8, [rbp + 0x34]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x49]
call fcn.140049eb0
nop
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rax, qword [rbp - 0x49]
mov qword [rbp - 0x59], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x51], rax
call fcn.140171104
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm0
lea r8, [rbp - 0x59]
mov edx, eax
lea rcx, [rbp - 0x29]
call fcn.1400489a0
nop
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 1]
call fcn.140048c00
nop
lea rcx, [rbp - 0x29]
call fcn.140063b30
nop
lea rcx, [rbp - 0x49]
call fcn.140063ba0
mov rcx, rsi
call fcn.140061d60
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov rcx, qword [rsi + 0x10]
cmp rcx, rax
jb 0x14004b3d2
sub rcx, rax
mov r8, 0xffffffffffffffff
cmp rcx, r8
cmovb r8, rcx
cmp qword [rsi + 0x18], 0xf
jbe 0x14004b325
mov rsi, qword [rsi]
lea rdx, [rsi + rax]
lea rcx, [rbp - 0x49]
call fcn.140049eb0
nop
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rax, qword [rbp - 0x49]
mov qword [rbp - 0x59], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x51], rax
call fcn.140171104
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm0
lea r8, [rbp - 0x59]
mov edx, eax
lea rcx, [rbp - 0x29]
call fcn.1400489a0
nop
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
lea rcx, [rbp - 1]
call fcn.140061bb0
nop
lea rcx, [rbp - 0x29]
call fcn.140063b30
nop
lea rcx, [rbp - 0x49]
call fcn.140063ba0
mov rdx, rdi
lea rcx, [rbp - 1]
call fcn.140048e20
nop
lea rcx, [rbp - 1]
call fcn.140063b30
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140171bd0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
call fcn.140064600
nop
int3