Function at 0x140002d70
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov r14, qword [rbp + 0x58]
mov rdi, rcx
mov qword [rbp - 0x28], rcx
mov r10, r8
mov rcx, qword [rbp + 0x68]
mov r13d, edx
mov qword [rbp - 0x48], rcx
mov dword [rbp - 0x4c], edx
test dl, 0xf
je 0x140002db8
mov esi, 1
jmp 0x1400030f7
lea eax, [r9 - 0x10]
test eax, 0xffffffe7
jne 0x1400030f2
cmp r9d, 0x28
je 0x1400030f2
test rcx, rcx
jne 0x140002de6
cmp dword [rbp + 0x60], r13d
jae 0x140002df8
mov esi, 3
jmp 0x1400030f7
lea eax, [rdx - 0x10]
cmp dword [rbp + 0x60], eax
jae 0x140002df8
mov esi, 3
jmp 0x1400030f7
mov qword [rsp + 0xb0], rbx
lea rcx, [rbp - 0x40]
xorps xmm0, xmm0
mov qword [rsp + 0x68], r12
xor eax, eax
mov qword [rsp + 0x60], r15
mov r8d, r9d
mov qword [rbp - 0x30], rax
mov rdx, r10
movups xmmword [rbp - 0x40], xmm0
call fcn.1400028d0
mov r8, r14
lea rcx, [rbp - 0x40]
mov rdx, rdi
call fcn.140002c40
mov r8, qword [rbp + 0x50]
xor esi, esi
mov r12d, reloc.WS2_32.dll_recv
test r8, r8
je 0x140002e95
lea rax, [r8 + 0xf]
lea rcx, [r14 + 0xf]
cmp r14, rax
ja 0x140002e83
cmp rcx, r8
jb 0x140002e83
sub r8, r14
lea rax, [rsi + r14]
mov edx, r12d
sub rdx, rsi
nop word [rax + rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140002e70
jmp 0x140002e95
movdqu xmm0, xmmword [r14]
movdqu xmm1, xmmword [r8]
xorps xmm1, xmm0
movdqu xmmword [r14], xmm1
mov r15d, r13d
shr r15d, 4
dec r15d
cmp r15d, 1
jbe 0x140002f57
lea r13d, [r15 - 1]
mov rsi, rdi
movsxd rax, r12d
lea rcx, [rbp - 0x40]
lea rdi, [rax + r14]
lea rbx, [rax + rsi]
mov r8, rdi
mov rdx, rbx
call fcn.140002c40
movzx eax, byte [rbx - 0x10]
add r12d, 0x10
xor byte [rdi], al
movzx eax, byte [rbx - 0xf]
xor byte [rdi + 1], al
movzx eax, byte [rbx - 0xe]
xor byte [rdi + 2], al
movzx eax, byte [rbx - 0xd]
xor byte [rdi + 3], al
movzx eax, byte [rbx - 0xc]
xor byte [rdi + 4], al
movzx eax, byte [rbx - 0xb]
xor byte [rdi + 5], al
movzx eax, byte [rbx - 0xa]
xor byte [rdi + 6], al
movzx eax, byte [rbx - 9]
xor byte [rdi + 7], al
movzx eax, byte [rbx - 8]
xor byte [rdi + 8], al
movzx eax, byte [rbx - 7]
xor byte [rdi + 9], al
movzx eax, byte [rbx - 6]
xor byte [rdi + 0xa], al
movzx eax, byte [rbx - 5]
xor byte [rdi + 0xb], al
movzx eax, byte [rbx - 4]
xor byte [rdi + 0xc], al
movzx eax, byte [rbx - 3]
xor byte [rdi + 0xd], al
movzx eax, byte [rbx - 2]
xor byte [rdi + 0xe], al
movzx eax, byte [rbx - 1]
xor byte [rdi + 0xf], al
sub r13, 1
jne 0x140002eb0
mov r13d, dword [rbp - 0x4c]
xor esi, esi
mov rdi, qword [rbp - 0x28]
mov r12d, reloc.WS2_32.dll_recv
shl r15d, 4
xorps xmm0, xmm0
mov ebx, r15d
mov r15, qword [rsp + 0x60]
movups xmmword [rbp - 0x28], xmm0
cmp r13d, 0x10
jbe 0x140003011
lea rdx, [rbx + rdi]
lea r8, [rbp - 0x28]
lea rcx, [rbp - 0x40]
call fcn.140002c40
lea eax, [rbx - 0x10]
mov ecx, eax
movzx eax, byte [rax + rdi]
xor byte [rbp - 0x28], al
movzx eax, byte [rcx + rdi + 1]
xor byte [rbp - 0x27], al
movzx eax, byte [rcx + rdi + 2]
xor byte [rbp - 0x26], al
movzx eax, byte [rcx + rdi + 3]
xor byte [rbp - 0x25], al
movzx eax, byte [rcx + rdi + 4]
xor byte [rbp - 0x24], al
movzx eax, byte [rcx + rdi + 5]
xor byte [rbp - 0x23], al
movzx eax, byte [rcx + rdi + 6]
xor byte [rbp - 0x22], al
movzx eax, byte [rcx + rdi + 7]
xor byte [rbp - 0x21], al
movzx eax, byte [rcx + rdi + 8]
xor byte [rbp - 0x20], al
movzx eax, byte [rcx + rdi + 9]
xor byte [rbp - 0x1f], al
movzx eax, byte [rcx + rdi + 0xa]
xor byte [rbp - 0x1e], al
movzx eax, byte [rcx + rdi + 0xb]
xor byte [rbp - 0x1d], al
movzx eax, byte [rcx + rdi + 0xc]
xor byte [rbp - 0x1c], al
movzx eax, byte [rcx + rdi + 0xd]
xor byte [rbp - 0x1b], al
movzx eax, byte [rcx + rdi + 0xe]
xor byte [rbp - 0x1a], al
movzx eax, byte [rbp - 0x19]
xor al, byte [rcx + rdi + 0xf]
mov edi, dword [rbp + 0x60]
mov byte [rbp - 0x19], al
jmp 0x140003034
mov r8d, r13d
lea rcx, [rbp - 0x28]
mov rdx, r14
call fcn.140020fd0
mov edi, dword [rbp + 0x60]
xor edx, edx
mov r8d, edi
mov rcx, r14
call fcn.140021670
movzx eax, byte [rbp - 0x19]
mov rcx, qword [rbp - 0x48]
mov rdx, rbx
test rcx, rcx
je 0x1400030a0
movzx r8d, al
sub r12d, r8d
mov dword [rcx], r8d
cmp r8d, 0x10
ja 0x140003099
mov edx, esi
test al, al
je 0x140003078
nop word [rax + rax]
mov eax, recv
sub eax, edx
movzx ecx, byte [rbp + rax - 0x28]
cmp ecx, r8d
jne 0x140003099
inc edx
cmp edx, r8d
jb 0x140003060
lea eax, [rbx + r12]
cmp edi, eax
jb 0x140003092
mov r8d, r12d
lea rcx, [r14 + rbx]
lea rdx, [rbp - 0x28]
call fcn.140020fd0
jmp 0x1400030a9
mov esi, 3
jmp 0x1400030a9
mov esi, 4
jmp 0x1400030a9
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [r14 + rdx], xmm0
mov rcx, qword [rbp - 0x40]
mov r12, qword [rsp + 0x68]
mov rbx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400030f7
mov rdx, qword [rbp - 0x30]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x1400030eb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003111
call fcn.140007640
jmp 0x1400030f7
mov esi, 2
mov eax, esi
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.140007620
add rsp, 0x70
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
call fcn.14000d710
int3