Function at 0x14001e1d0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rdi
sub rsp, 0x68
movzx eax, byte [rdx]
mov rbp, rdx
mov rdi, rcx
cmp eax, 8
ja case.default.0x14001e214
mov qword [r11 + 0x18], rbx
lea rcx, [0x140000000]
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
mov edx, dword [rcx + rax*4 + 0x1eb44]
add rdx, rcx
jmp rdx
mov rax, qword [rbp + 8]
mov rcx, qword [rdi]
cmp qword [rax + 8], 0
mov r9, qword [rcx]
jne 0x14001e243
mov rax, qword [r9 + 8]
lea rdx, [0x1401124ac]
mov r8d, 2
call qword [0x1400fac68]
jmp 0x14001eab0
test r8b, r8b
je 0x14001e4e7
mov rax, qword [r9 + 8]
lea rdx, [0x1401124b0]
mov r8d, 2
call qword [0x1400fac68]
mov r15d, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xa8]
mov rdx, qword [rdi + 0x270]
lea r12d, [r15 + r14]
mov r13d, r12d
cmp rdx, r13
jae 0x14001e2fc
lea rcx, [rdi + 0x260]
add rdx, rdx
mov r8, qword [rcx + 0x10]
cmp rdx, r8
ja 0x14001e2ad
mov qword [rcx + 0x10], rdx
cmp qword [rcx + 0x18], 0x10
jb 0x14001e2a7
mov rcx, qword [rcx]
mov byte [rcx + rdx], 0
jmp 0x14001e2fc
mov r9, qword [rcx + 0x18]
mov rsi, rdx
mov rax, r9
sub rsi, r8
sub rax, r8
cmp rsi, rax
ja 0x14001e2e9
mov qword [rcx + 0x10], rdx
cmp r9, 0x10
jb 0x14001e2cf
mov rcx, qword [rcx]
lea rbx, [rcx + r8]
mov edx, 0x20
mov rcx, rbx
mov r8, rsi
call fcn.1400c5120
mov byte [rbx + rsi], 0
jmp 0x14001e2fc
lfence
mov r9, rsi
mov byte [rsp + 0x20], 0x20
mov rdx, rsi
call fcn.140026250
mov rax, qword [rbp + 8]
xor esi, esi
mov rbx, qword [rax]
mov rax, qword [rax + 8]
mov rbx, qword [rbx]
cmp rax, 1
je 0x14001e423
nop word [rax + rax]
cmp qword [rdi + 0x278], 0x10
lea rdx, [rdi + 0x260]
mov rcx, qword [rdi]
jb 0x14001e33b
mov rdx, qword [rdi + 0x260]
mov rax, qword [rcx]
mov r8, r13
mov rax, qword [rax + 8]
call qword [0x1400fac68]
mov rcx, qword [rdi]
mov dl, 0x22
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
lea rdx, [rbx + 0x20]
mov rcx, rdi
call fcn.14001f5b0
mov rcx, qword [rdi]
lea rdx, [0x1401124b4]
mov r8d, 3
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400fac68]
lea rdx, [rbx + 0x40]
mov dword [rsp + 0x28], r12d
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8b, 1
mov rcx, rdi
call fcn.14001e1d0
mov rcx, qword [rdi]
lea rdx, [0x1401124b8]
mov r8d, 2
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400fac68]
mov rax, qword [rbx + 0x10]
inc rsi
cmp byte [rax + 0x19], 0
je 0x14001e3ed
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14001e3e8
cmp rbx, qword [rax + 0x10]
jne 0x14001e3e8
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14001e3d5
mov rbx, rax
jmp 0x14001e40f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x14001e40f
nop dword [rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14001e400
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
dec rcx
cmp rsi, rcx
jb 0x14001e320
mov rcx, qword [rdi]
lea rsi, [rdi + 0x260]
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x14001e43a
mov rdx, qword [rsi]
mov rax, qword [rcx]
mov r8, r13
mov rax, qword [rax + 8]
call qword [0x1400fac68]
mov rcx, qword [rdi]
mov dl, 0x22
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
lea rdx, [rbx + 0x20]
mov rcx, rdi
call fcn.14001f5b0
mov rcx, qword [rdi]
lea rdx, [0x1401124b4]
mov r8d, 3
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400fac68]
lea rdx, [rbx + 0x40]
mov dword [rsp + 0x28], r12d
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8b, 1
mov rcx, rdi
call fcn.14001e1d0
mov rcx, qword [rdi]
mov dl, 0xa
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
cmp qword [rsi + 0x18], 0x10
mov rcx, qword [rdi]
jb 0x14001e4be
mov rsi, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
mov r8d, r14d
mov rax, qword [rax + 8]
call qword [0x1400fac68]
mov rcx, qword [rdi]
mov dl, 0x7d
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
jmp 0x14001eab0
mov rax, qword [r9]
mov dl, 0x7b
call qword [0x1400fac68]
mov rax, qword [rbp + 8]
xor esi, esi
mov r14d, dword [rsp + 0xa8]
mov r15d, dword [rsp + 0xa0]
cmp qword [rax + 8], 1
mov rbx, qword [rax]
mov rbx, qword [rbx]
je 0x14001e5f3
nop dword [rax]
mov rcx, qword [rdi]
mov dl, 0x22
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
lea rdx, [rbx + 0x20]
mov rcx, rdi
call fcn.14001f5b0
mov rcx, qword [rdi]
lea rdx, [0x1401124bc]
mov r8d, 2
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400fac68]
lea rdx, [rbx + 0x40]
mov dword [rsp + 0x28], r14d
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
mov rcx, rdi
call fcn.14001e1d0
mov rcx, qword [rdi]
mov dl, 0x2c
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
mov rax, qword [rbx + 0x10]
inc rsi
cmp byte [rax + 0x19], 0
je 0x14001e5b8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14001e5b3
nop
cmp rbx, qword [rax + 0x10]
jne 0x14001e5b3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14001e5a0
mov rbx, rax
jmp 0x14001e5df
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x14001e5df
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14001e5d0
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
dec rcx
cmp rsi, rcx
jb 0x14001e520
mov rcx, qword [rdi]
mov dl, 0x22
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
lea rdx, [rbx + 0x20]
mov rcx, rdi
call fcn.14001f5b0
mov rcx, qword [rdi]
lea rdx, [0x1401124bc]
mov r8d, 2
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400fac68]
lea rdx, [rbx + 0x40]
mov dword [rsp + 0x28], r14d
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
mov rcx, rdi
call fcn.14001e1d0
mov rcx, qword [rdi]
mov dl, 0x7d
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
jmp 0x14001eab0
mov rdx, qword [rbp + 8]
mov rcx, qword [rdi]
mov rax, qword [rdx + 8]
mov r9, qword [rcx]
cmp qword [rdx], rax
jne 0x14001e68e
mov rax, qword [r9 + 8]
lea rdx, [0x1401124c0]
mov r8d, 2
call qword [0x1400fac68]
jmp 0x14001eab0
test r8b, r8b
je 0x14001e859
mov rax, qword [r9 + 8]
lea rdx, [0x1401124c4]
mov r8d, 2
call qword [0x1400fac68]
mov r14d, dword [rsp + 0xa0]
mov r13d, dword [rsp + 0xa8]
mov rdx, qword [rdi + 0x270]
lea r15d, [r14 + r13]
mov r12d, r15d
cmp rdx, r12
jae 0x14001e747
lea rcx, [rdi + 0x260]
add rdx, rdx
mov r8, qword [rcx + 0x10]
cmp rdx, r8
ja 0x14001e6f8
mov qword [rcx + 0x10], rdx
cmp qword [rcx + 0x18], 0x10
jb 0x14001e6f2
mov rcx, qword [rcx]
mov byte [rcx + rdx], 0
jmp 0x14001e747
mov r9, qword [rcx + 0x18]
mov rsi, rdx
mov rax, r9
sub rsi, r8
sub rax, r8
cmp rsi, rax
ja 0x14001e734
mov qword [rcx + 0x10], rdx
cmp r9, 0x10
jb 0x14001e71a
mov rcx, qword [rcx]
lea rbx, [rcx + r8]
mov edx, 0x20
mov rcx, rbx
mov r8, rsi
call fcn.1400c5120
mov byte [rbx + rsi], 0
jmp 0x14001e747
lfence
mov r9, rsi
mov byte [rsp + 0x20], 0x20
mov rdx, rsi
call fcn.140026250
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
mov rbx, qword [rax]
sub rcx, 0x10
cmp rbx, rcx
je 0x14001e7d8
nop dword [rax + rax]
cmp qword [rdi + 0x278], 0x10
lea rdx, [rdi + 0x260]
mov rcx, qword [rdi]
jb 0x14001e77b
mov rdx, qword [rdi + 0x260]
mov rax, qword [rcx]
mov r8, r12
mov rax, qword [rax + 8]
call qword [0x1400fac68]
xor r9d, r9d
mov dword [rsp + 0x28], r15d
mov r8b, 1
mov dword [rsp + 0x20], r14d
mov rdx, rbx
mov rcx, rdi
call fcn.14001e1d0
mov rcx, qword [rdi]
lea rdx, [0x1401124b8]
mov r8d, 2
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400fac68]
mov rax, qword [rbp + 8]
add rbx, 0x10
mov rax, qword [rax + 8]
sub rax, 0x10
cmp rbx, rax
jne 0x14001e760
mov rcx, qword [rdi]
lea rbx, [rdi + 0x260]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14001e7ef
mov rdx, qword [rbx]
mov rax, qword [rcx]
mov r8, r12
mov rax, qword [rax + 8]
call qword [0x1400fac68]
mov rax, qword [rbp + 8]
xor r9d, r9d
mov dword [rsp + 0x28], r15d
mov r8b, 1
mov rcx, rdi
mov dword [rsp + 0x20], r14d
mov rdx, qword [rax + 8]
sub rdx, 0x10
call fcn.14001e1d0
mov rcx, qword [rdi]
mov dl, 0xa
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
cmp qword [rbx + 0x18], 0x10
mov rcx, qword [rdi]
jb 0x14001e841
mov rbx, qword [rbx]
mov rax, qword [rcx]
mov r8, r13
mov rdx, rbx
mov rax, qword [rax + 8]
call qword [0x1400fac68]
jmp 0x14001e8ef
mov rax, qword [r9]
mov dl, 0x5b
call qword [0x1400fac68]
mov rdx, qword [rbp + 8]
mov esi, dword [rsp + 0xa8]
mov r14d, dword [rsp + 0xa0]
mov rax, qword [rdx + 8]
mov rbx, qword [rdx]
sub rax, 0x10
cmp rbx, rax
je 0x14001e8d0
nop word [rax + rax]
mov dword [rsp + 0x28], esi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov rdx, rbx
mov rcx, rdi
call fcn.14001e1d0
mov rcx, qword [rdi]
mov dl, 0x2c
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
mov rdx, qword [rbp + 8]
add rbx, 0x10
mov rax, qword [rdx + 8]
sub rax, 0x10
cmp rbx, rax
jne 0x14001e890
mov rdx, qword [rdx + 8]
xor r9d, r9d
sub rdx, 0x10
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov rcx, rdi
call fcn.14001e1d0
mov rcx, qword [rdi]
mov dl, 0x5d
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
jmp 0x14001eab0
mov rcx, qword [rdi]
mov dl, 0x22
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
mov rdx, qword [rbp + 8]
mov rcx, rdi
call fcn.14001f5b0
mov rcx, qword [rdi]
mov dl, 0x22
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
jmp 0x14001eab0
cmp byte [rbp + 8], 0
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
je 0x14001e960
mov r8d, 4
lea rdx, [0x140111b98]
call qword [0x1400fac68]
jmp 0x14001eab0
mov r8d, 5
lea rdx, [0x140111b90]
call qword [0x1400fac68]
jmp 0x14001eab0
mov r11, qword [rbp + 8]
mov r9, r11
test r11, r11
je 0x14001e9f5
lea rbx, [rdi + 0x10]
xor esi, esi
mov r10, rbx
movabs rbp, 0x6666666666666667
nop word [rax + rax]
mov rax, rbp
lea r10, [r10 + 1]
imul r9
inc rsi
mov r8, rdx
sar r8, 2
mov rcx, r8
shr rcx, 0x3f
add r8, rcx
lea ecx, [r8 + r8*4]
add ecx, ecx
sub r9d, ecx
mov eax, r9d
mov r9, r8
cdq
xor eax, edx
sub eax, edx
add al, 0x30
mov byte [r10 - 1], al
test r8, r8
jne 0x14001e9a0
test r11, r11
jg 0x14001ea53
mov byte [rsi + rdi + 0x10], 0x2d
inc rsi
jmp 0x14001ea53
mov r9, qword [rbp + 8]
test r9, r9
jne 0x14001ea0b
mov rcx, qword [rdi]
mov dl, 0x30
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x1400fac68]
jmp 0x14001eab0
lea rbx, [rdi + 0x10]
xor esi, esi
mov r10, rbx
movabs r11, 0xcccccccccccccccd
nop
mov rax, r11
lea r10, [r10 + 1]
mul r9
inc rsi
mov r8, rdx
shr r8, 3
lea ecx, [r8 + r8*4]
add ecx, ecx
sub r9d, ecx
mov eax, r9d
mov r9, r8
cdq
xor eax, edx
sub eax, edx
add al, 0x30
mov byte [r10 - 1], al
test r8, r8
jne 0x14001ea20
lea rdx, [rsi + rbx]
mov rcx, rbx
call fcn.14009b588
mov rcx, qword [rdi]
mov r8, rsi
mov rdx, rbx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400fac68]
jmp 0x14001eab0
movaps xmmword [rsp + 0x30], xmm6
movsd xmm6, qword [rbp + 8]
movaps xmm0, xmm6
call fcn.1400d8300
test ax, ax
jle 0x14001ead8
mov rcx, qword [rdi]
lea rdx, str.null
mov r8d, 4
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400fac68]
movaps xmm6, xmmword [rsp + 0x30]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
add rsp, 0x68
pop rdi
pop rbp
ret
lfence
lea rbx, [rdi + 0x10]
movaps xmm2, xmm6
mov rcx, rbx
call fcn.140025c60
mov rcx, qword [rdi]
mov r9, rax
sub r9, rbx
mov rdx, rbx
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
mov r8, r9
jmp 0x14001eaa5
mov rcx, qword [rdi]
lea rdx, str._discarded_
mov r8d, reloc.WS2_32.dll_inet_addr
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400fac68]
jmp 0x14001eab0
mov rcx, qword [rdi]
lea rdx, str.null
mov r8d, 4
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400fac68]
jmp 0x14001eab0