Function at 0x14000d5e4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
mov rax, qword [0x140096980]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor edi, edi
lea rcx, [rbp + 0x30]
call fcn.14000d458
nop
lea rcx, [rsp + 0x20]
call fcn.1400016e8
movabs r8, 0x7fffffffe2329aff
mov rax, qword [rsp + 0x20]
cmp rax, r8
je 0x14000d652
lea ecx, [rdi + 1]
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14000d652
add rax, 0x1dcd6500
jmp 0x14000d65c
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.140003090
mov cl, 0x4c
mov dword [rsp + 0x20], 0x2b22294c
mov dword [rsp + 0x24], 0x62292225
mov dword [rsp + 0x28], 0x202028
mov rax, rdi
xor byte [rsp + rax + 0x21], cl
inc rax
cmp rax, 0xa
jae 0x14000d69b
mov cl, byte [rsp + 0x20]
jmp 0x14000d688
mov byte [rsp + 0x2b], dil
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x38]
call fcn.140002880
nop
mov r14d, reloc.WS2_32.dll_ntohs
cmp qword [rax + 0x18], r14
jbe 0x14000d6bf
mov rax, qword [rax]
mov rcx, rax
call fcn.140007720
mov rbx, rax
mov r15d, 0x1000
mov rdx, qword [rsp + 0x50]
cmp rdx, r14
jbe 0x14000d70b
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, r15
jb 0x14000d706
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d706
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
movdqa xmm0, xmmword [0x14008b360]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], dil
test rbx, rbx
jne 0x14000d906
mov cl, 0x50
mov dword [rsp + 0x20], 0x373e3550
mov dword [rsp + 0x24], 0x7e353e39
mov dword [rsp + 0x28], 0x3c3c34
mov rax, rdi
xor byte [rsp + rax + 0x21], cl
inc rax
cmp rax, 0xa
jae 0x14000d757
mov cl, byte [rsp + 0x20]
jmp 0x14000d744
mov byte [rsp + 0x2b], dil
lea rdx, [rsp + 0x21]
lea rcx, [rbp - 0x68]
call fcn.140002880
mov rdx, rax
movdqa xmm0, xmmword [0x14008b610]
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x14008b530]
movdqu xmmword [rbp - 0x18], xmm1
mov dword [rbp - 8], 0x20622627
mov dword [rbp - 4], 0x37232127
mov dword [rbp], 0x622731
mov rcx, rdi
mov al, byte [rbp - 0x28]
xor byte [rbp + rcx - 0x27], al
inc rcx
cmp rcx, 0x2a
jb 0x14000d79f
mov byte [rbp + 3], dil
lea r8, [rbp - 0x27]
mov rcx, rdx
call fcn.140002d80
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
mov byte [rax], dil
mov rdx, qword [rbp - 0x50]
cmp rdx, r14
jbe 0x14000d821
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, r15
jb 0x14000d81c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d81c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
movdqa xmm0, xmmword [0x14008b360]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], dil
movdqa xmm0, xmmword [0x14008b5e0]
movdqu xmmword [rsp + 0x20], xmm0
xor eax, eax
mov byte [rsp + 0x30], al
mov rcx, rdi
mov al, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x21], al
inc rcx
cmp rcx, r14
jb 0x14000d849
mov byte [rsp + 0x30], dil
lea rdx, [rsp + 0x21]
lea rcx, [rbp + 0x10]
call fcn.140006db0
movdqa xmm0, xmmword [0x14008b7b0]
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x14008b730]
movdqu xmmword [rbp - 0x18], xmm1
movdqa xmm0, xmmword [0x14008b570]
movdqu xmmword [rbp - 8], xmm0
xor eax, eax
mov byte [rbp + 8], al
mov rcx, rdi
mov al, byte [rbp - 0x28]
xor byte [rbp + rcx - 0x27], al
inc rcx
cmp rcx, 0x2f
jb 0x14000d89b
mov byte [rbp + 8], dil
lea rdx, [rbp - 0x27]
lea rcx, [rbp + 0x10]
call fcn.140006db0
lea rcx, [rbp + 0x10]
call fcn.1400071c4
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, r14
jbe 0x14000db9e
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, r15
jb 0x14000db99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000db99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov cl, 0x53
mov dword [rsp + 0x20], 0x2a2a2453
mov dword [rsp + 0x24], 0x7d041b7d
mov word [rsp + 0x28], 0x241c
xor eax, eax
mov byte [rsp + 0x2a], al
mov rax, rdi
xor byte [rsp + rax + 0x21], cl
inc rax
cmp rax, 9
jae 0x14000d93b
mov cl, byte [rsp + 0x20]
jmp 0x14000d928
mov byte [rsp + 0x2a], dil
lea rdx, [rsp + 0x21]
lea rcx, [rbp - 0x28]
call fcn.140002880
nop
cmp qword [rax + 0x18], r14
jbe 0x14000d958
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400071f0
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, r14
jbe 0x14000d99f
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, r15
jb 0x14000d99a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d99a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
test rbx, rbx
jne 0x14000dba1
movdqa xmm0, xmmword [0x14008b780]
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x14008b7d0]
movdqu xmmword [rsp + 0x68], xmm1
movdqa xmm0, xmmword [0x14008b790]
movdqu xmmword [rsp + 0x78], xmm0
mov dword [rbp - 0x78], 0x7727746e
mov dword [rbp - 0x74], 0x6b656875
mov dword [rbp - 0x70], 0x296a62
mov rcx, rdi
mov al, byte [rsp + 0x58]
xor byte [rsp + rcx + 0x59], al
inc rcx
cmp rcx, 0x3a
jb 0x14000d9ea
mov byte [rbp - 0x6d], dil
mov cl, reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x20], 0x727b7015
mov dword [rsp + 0x24], 0x3b707b7c
mov dword [rsp + 0x28], 0x797971
mov rax, rdi
xor byte [rsp + rax + 0x21], cl
inc rax
cmp rax, 0xa
jae 0x14000da2f
mov cl, byte [rsp + 0x20]
jmp 0x14000da1c
mov byte [rsp + 0x2b], dil
lea rdx, [rsp + 0x21]
lea rcx, [rbp - 0x48]
call fcn.140002880
nop
mov dl, ntohs
mov dword [rsp + 0x20], 0x6267480e
mov word [rsp + 0x24], 0x2e6b
xor ecx, ecx
mov byte [rsp + 0x26], cl
mov rcx, rdi
xor byte [rsp + rcx + 0x21], dl
inc rcx
cmp rcx, 5
jae 0x14000da70
mov dl, byte [rsp + 0x20]
jmp 0x14000da5d
mov byte [rsp + 0x26], dil
lea r8, [rsp + 0x21]
mov rcx, rax
call fcn.140002d80
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
mov byte [rax], dil
lea r8, [rsp + 0x59]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.1400029b4
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, r14
jbe 0x14000dafe
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, r15
jb 0x14000daf9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000daf9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
movdqa xmm0, xmmword [0x14008b360]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], dil
mov rdx, qword [rbp - 0x30]
cmp rdx, r14
jbe 0x14000db4a
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, r15
jb 0x14000db45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000db45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
movdqa xmm0, xmmword [0x14008b360]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], dil
lea rcx, [rbp - 0x28]
call fcn.1400071c4
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, r14
jbe 0x14000db9e
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, r15
jb 0x14000db99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000db99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
mov rbx, rdi
cmp dword [rbp + 0x38], edi
je 0x14000dbad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rax, rbx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140072870
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret