Function at 0x14007dfa0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x128
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
xor edi, edi
mov dword [rbp + 0x80], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1401377c0]
movdqu xmmword [rsp + 0x70], xmm1
mov byte [rsp + 0x60], dil
call fcn.14008eb40
mov qword [rbp - 8], rax
test rax, rax
je 0x14007ea04
movdqa xmm6, xmmword [0x1401383c0]
movdqu xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x30], 0x465e005d
mov word [rsp + 0x34], 0x2e5e
mov r14d, 8
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov qword [rbp - 0x10], rbx
lea rsi, [0x140272a70]
mov eax, dword [r14 + rbx]
cmp dword [0x1402734dc], eax
jle 0x14007e0bd
lea rcx, [0x1402734dc]
call fcn.1400c6f30
cmp dword [0x1402734dc], 0xffffffff
jne 0x14007e0bd
mov edx, edi
movups xmmword [0x140272a70], xmm6
mov eax, dword [rsp + 0x30]
mov dword [0x140272a80], eax
movzx eax, word [rsp + 0x34]
mov word [0x140272a84], ax
inc edx
cmp edx, 0x16
jb 0x14007e075
movsxd r8, edx
cmp r8, 0x16
jae 0x14007e0a5
nop word [rax + rax]
movzx eax, byte [rsp + r8 + 0x20]
mov byte [r8 + rsi], al
inc edx
lea r8, [r8 + 1]
cmp edx, 0x16
jb 0x14007e090
lea rcx, [0x140106430]
call fcn.1400c72a0
lea rcx, [0x1402734dc]
call fcn.1400c6ec4
cmp byte [0x140272a85], 0
je 0x14007e0fd
movdqa xmm1, xmmword [0x140137b00]
movdqu xmm0, xmmword [0x140272a70]
xorps xmm1, xmm0
movdqu xmmword [0x140272a70], xmm1
mov eax, reloc.WS2_32.dll_recv
nop word [rax + rax]
xor byte [rax + rsi], 0x2e
inc rax
cmp rax, 0x16
jb 0x14007e0f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r12, 0xffffffffffffffff
mov r8, r12
inc r8
cmp byte [rsi + r8], 0
jne 0x14007e116
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.14008a990
nop
mov eax, dword [r14 + rbx]
cmp dword [0x140271d8c], eax
jle 0x14007e16f
lea rcx, [0x140271d8c]
call fcn.1400c6f30
cmp dword [0x140271d8c], 0xffffffff
jne 0x14007e16f
mov word [0x140271c1c], 0x2e11
lea rcx, [0x140106420]
call fcn.1400c72a0
lea rcx, [0x140271d8c]
call fcn.1400c6ec4
movzx eax, byte [0x140271c1d]
test al, al
je 0x14007e189
xor byte [0x140271c1c], 0x2e
xor al, 0x2e
mov byte [0x140271c1d], al
lea rdx, [0x140271c1c]
mov r8, r12
inc r8
cmp byte [rdx + r8], 0
jne 0x14007e193
lea rcx, [rbp - 0x60]
call fcn.140087910
lea rcx, [rbp - 0x40]
call fcn.140083620
nop
cmp qword [rax + 0x18], 0xf
jbe 0x14007e1ba
mov rax, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
mov r8, r12
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14007e1d0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14008a990
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov r15, rdi
mov qword [rsp + 0x30], rdi
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x20], r15b
mov dword [rbp + 0x80], 1
mov rdx, qword [0x140271478]
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov r8, r12
nop dword [rax]
inc r8
cmp byte [rdx + r8], r15b
jne 0x14007e230
lea rcx, [rsp + 0x40]
call fcn.14008a990
nop
mov eax, dword [rbp - 0x70]
mov r14d, edi
mov r8, qword [rbp - 0x80]
test eax, eax
je 0x14007e9f4
mov rdx, rdi
mov rcx, rdi
movzx esi, byte [rbp + 0x79]
mov r9, qword [rbp - 0x68]
nop dword [rax]
nop dword [rax + rax]
dec eax
mov dword [rbp + 0x88], eax
lea rax, [rbp - 0x80]
cmp r9, 0xf
cmova rax, r8
cmp byte [rax + rdx], 0x3d
je 0x14007e4b4
lea rax, [rbp - 0x80]
cmp r9, 0xf
cmova rax, r8
movzx eax, byte [rax + rdx]
mov byte [rbp + rcx + 0x78], al
inc r14d
inc rcx
inc rdx
mov qword [rbp - 0x18], rdx
cmp rcx, 4
jne 0x14007e4a2
lea rbx, [rsp + 0x40]
mov rsi, qword [rsp + 0x40]
mov r13, qword [rsp + 0x58]
cmp r13, 0xf
cmova rbx, rsi
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x14007e2f3
movsx edx, byte [rbp + 0x78]
mov r8, r14
mov rcx, rbx
call fcn.1401026b0
test rax, rax
je 0x14007e2f3
sub rax, rbx
jmp 0x14007e2f6
mov rax, r12
mov byte [rbp + 0x78], al
lea rbx, [rsp + 0x40]
cmp r13, 0xf
cmova rbx, rsi
test r14, r14
je 0x14007e327
movsx edx, byte [rbp + 0x79]
mov r8, r14
mov rcx, rbx
call fcn.1401026b0
mov rsi, rax
test rax, rax
je 0x14007e327
sub rsi, rbx
jmp 0x14007e32a
mov rsi, r12
mov byte [rbp + 0x79], sil
lea r13, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r13, qword [rsp + 0x40]
test r14, r14
je 0x14007e360
movsx edx, byte [rbp + 0x7a]
mov r8, r14
mov rcx, r13
call fcn.1401026b0
mov rbx, rax
test rax, rax
je 0x14007e360
sub rbx, r13
jmp 0x14007e363
mov rbx, r12
mov byte [rbp + 0x7a], bl
lea r13, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r13, qword [rsp + 0x40]
test r14, r14
je 0x14007e398
movsx edx, byte [rbp + 0x7b]
mov r8, r14
mov rcx, r13
call fcn.1401026b0
mov rcx, rax
test rax, rax
je 0x14007e398
sub rcx, r13
jmp 0x14007e39b
mov rcx, r12
mov byte [rbp + 0x7b], cl
movzx r14d, bl
shr r14b, 2
and r14b, 0xf
movzx eax, sil
shl al, 4
add r14b, al
shl bl, 6
add bl, cl
mov byte [rbp + 0x72], bl
movzx r9d, sil
shr r9b, 4
and r9b, 3
movzx eax, byte [rbp + 0x78]
shl al, 2
add r9b, al
mov rcx, qword [rsp + 0x38]
cmp r15, rcx
jae 0x14007e400
lea rax, [r15 + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rcx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + r15], r9b
mov byte [rax + r15 + 1], 0
jmp 0x14007e40a
lea rcx, [rsp + 0x20]
call fcn.14008b260
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x14007e43c
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rcx], r14b
mov byte [rax + rcx + 1], 0
jmp 0x14007e44a
movzx r9d, r14b
lea rcx, [rsp + 0x20]
call fcn.14008b260
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x14007e47b
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rcx], bl
mov byte [rax + rcx + 1], 0
jmp 0x14007e489
movzx r9d, bl
lea rcx, [rsp + 0x20]
call fcn.14008b260
mov r14d, edi
mov rcx, rdi
mov r15, qword [rsp + 0x30]
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x80]
mov r9, qword [rbp - 0x68]
jmp 0x14007e4a6
movzx esi, byte [rbp + 0x79]
mov eax, dword [rbp + 0x88]
test eax, eax
jne 0x14007e270
mov qword [rbp + 0x88], r15
test r14d, r14d
je 0x14007e9ef
mov r13, qword [rsp + 0x40]
jle 0x14007e52d
mov rbx, rdi
mov rax, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
movsxd r15, r14d
nop dword [rax + rax]
lea rsi, [rsp + 0x40]
cmp rdi, 0xf
cmova rsi, r13
test rax, rax
je 0x14007e50c
movsx edx, byte [rbp + rbx + 0x78]
mov r8, rax
mov rcx, rsi
call fcn.1401026b0
test rax, rax
je 0x14007e50c
sub rax, rsi
jmp 0x14007e50f
mov rax, r12
mov byte [rbp + rbx + 0x78], al
inc rbx
cmp rbx, r15
mov rax, qword [rsp + 0x50]
jl 0x14007e4e0
movzx esi, byte [rbp + 0x79]
xor edi, edi
mov r15, qword [rbp + 0x88]
movzx ecx, sil
shr cl, 4
and cl, 3
movzx eax, byte [rbp + 0x78]
shl al, 2
add cl, al
mov byte [rbp + 0x70], cl
movzx eax, byte [rbp + 0x7a]
shr al, 2
and al, 0xf
shl sil, 4
add al, sil
mov byte [rbp + 0x71], al
lea eax, [r14 - 1]
movsxd rsi, eax
test eax, eax
jle 0x14007e5c9
mov rbx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rbp + rbx + 0x70]
mov r12, qword [rsp + 0x38]
cmp r15, r12
jae 0x14007e5a4
lea rax, [r15 + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp r12, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + r15], r9b
mov byte [rax + r15 + 1], 0
jmp 0x14007e5ae
lea rcx, [rsp + 0x20]
call fcn.14008b260
inc rbx
cmp rbx, rsi
jge 0x14007e5bd
mov r15, qword [rsp + 0x30]
jmp 0x14007e570
mov r13, qword [rsp + 0x40]
mov r12, 0xffffffffffffffff
mov rbx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
cmp rax, 0xf
jbe 0x14007e60a
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x14007e602
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007ea0a
mov rcx, r13
call fcn.1400c72b8
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x20]
cmp rbx, 0xf
cmova rdx, qword [rsp + 0x20]
nop dword [rax]
inc r12
cmp byte [rdx + r12], 0
jne 0x14007e630
mov r8, r12
lea rcx, [rbp - 0x60]
call fcn.140087910
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14007e685
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007e67f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007ea10
call fcn.1400c72b8
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14007e6c1
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007e6bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007ea16
call fcn.1400c72b8
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14007e6fc
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007e6f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007ea1c
call fcn.1400c72b8
movdqa xmm6, xmmword [0x140138340]
movdqu xmmword [rbp - 0x40], xmm6
movdqa xmm7, xmmword [0x140138040]
movdqu xmmword [rbp - 0x30], xmm7
mov byte [rbp - 0x20], 0x2e
lea rsi, [0x140271940]
mov rbx, qword [rbp - 0x10]
mov r14d, 8
mov eax, dword [r14 + rbx]
cmp dword [0x140272904], eax
jle 0x14007e7ad
lea rcx, [0x140272904]
call fcn.1400c6f30
cmp dword [0x140272904], 0xffffffff
jne 0x14007e7ad
mov edx, edi
movups xmmword [0x140271940], xmm6
movups xmmword [0x140271950], xmm7
mov byte [0x140271960], 0x2e
inc edx
cmp edx, 0x21
jb 0x14007e763
movsxd r8, edx
cmp r8, 0x21
jae 0x14007e795
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + r8 - 0x40]
mov byte [r8 + rsi], al
inc edx
lea r8, [r8 + 1]
cmp edx, 0x21
jb 0x14007e780
lea rcx, [0x140106400]
call fcn.1400c72a0
lea rcx, [0x140272904]
call fcn.1400c6ec4
cmp byte [0x140271960], 0
je 0x14007e7ed
movdqa xmm1, xmmword [0x140137b00]
nop
movdqu xmm0, xmmword [rdi + rsi]
xorps xmm0, xmm1
movdqu xmmword [rdi + rsi], xmm0
add rdi, 0x10
cmp rdi, 0x20
jb 0x14007e7c0
cmp rdi, 0x21
jae 0x14007e7ed
nop dword [rax]
xor byte [rdi + rsi], 0x2e
inc rdi
cmp rdi, 0x21
jb 0x14007e7e0
mov r8, rsi
lea rcx, [rbp - 0x60]
call fcn.1400877f0
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r8, qword [rbp - 0x60]
mov edx, 0x2712
mov rdi, qword [rbp - 8]
mov rcx, rdi
call fcn.140090f10
lea r8, [0x140084320]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.140090f10
lea r8, [rsp + 0x60]
mov edx, 0x2711
mov rcx, rdi
call fcn.140090f10
mov rcx, rdi
call fcn.14008ec10
test eax, eax
jne 0x14007ea22
mov rcx, rdi
call fcn.14008eb20
mov eax, dword [r14 + rbx]
cmp dword [0x140272470], eax
jle 0x14007e8a2
lea rcx, [0x140272470]
call fcn.1400c6f30
cmp dword [0x140272470], 0xffffffff
jne 0x14007e8a2
mov dword [0x140271ab8], 0x4a4a4a56
mov word [0x140271abc], 0x2e1f
lea rcx, [0x1401063e0]
call fcn.1400c72a0
lea rcx, [0x140272470]
call fcn.1400c6ec4
movzx eax, byte [0x140271abd]
test al, al
je 0x14007e8d8
xor byte [0x140271ab8], 0x2e
xor byte [0x140271ab9], 0x2e
xor byte [0x140271aba], 0x2e
xor byte [0x140271abb], 0x2e
xor byte [0x140271abc], 0x2e
xor al, 0x2e
mov byte [0x140271abd], al
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
lea rdx, [0x140271ab8]
call case.0x14000806e.3
lea rcx, [rsp + 0x60]
test rax, rax
jne 0x14007ea28
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x78]
cmp r9, 0xf
cmova rcx, r8
lea rdx, [0x140271410]
sub rdx, rcx
nop
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14007e920
lea rdi, [rsp + 0x60]
cmp r9, 0xf
cmova rdi, r8
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14007e97f
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007e97a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007eae5
call fcn.1400c72b8
movdqa xmm0, xmmword [0x1401377c0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14007e9c9
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007e9c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007e9fe
call fcn.1400c72b8
xor eax, eax
movaps xmm6, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x100]
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rbx, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
jmp 0x14007e5ce
call fcn.1400e16e0
nop
call fcn.14006a2c0
nop
call fcn.1400e16e0
nop
call fcn.1400e16e0
nop
call fcn.1400e16e0
nop
call fcn.1400e16e0
int3
call fcn.14006a2c0
int3
call fcn.140087730
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.140083620
nop
mov rcx, rax
call fcn.140087730
mov rdx, rax
mov r8d, reloc.WS2_32.dll_socket
lea rcx, [rsp + 0x40]
call fcn.140083b00
mov rdi, rax
lea rcx, [rbp - 0x40]
call fcn.140083620
mov rsi, rax
mov edx, setsockopt
mov r8d, setsockopt
mov rcx, rdi
call fcn.140087780
mov rcx, rax
call fcn.140087730
mov rbx, rax
mov rcx, rsi
call fcn.140087730
mov rdi, rax
call fcn.14007eaf0
mov rcx, rax
call fcn.140087430
mov rcx, rax
mov r8, rbx
mov rdx, rdi
call fcn.14004d370
nop
lea rcx, [rbp - 0x40]
call fcn.1400879b0
nop
lea rcx, [rsp + 0x40]
call fcn.1400879b0
nop
lea rcx, [rsp + 0x20]
call fcn.1400879b0
movss xmm0, dword [0x1401376e8]
call fcn.14004cfb0
call fcn.14006a2c0
nop
call fcn.1400e16e0
int3