Function at 0x1400678c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r9
mov esi, r8d
movabs r12, 0xe100000000000000
mov r15, qword [rcx + 0x130]
bswap r15
mov r13, qword [rcx + 0x138]
bswap r13
test rdx, rdx
je 0x140067a4b
mov qword [rsp + 0x48], rcx
mov eax, esi
and eax, 0xf
je 0x140067a52
mov r14, rdx
mov ebp, eax
mov r8d, reloc.WS2_32.dll_recv
sub r8, rbp
lea rcx, [rsp + rbp]
add rcx, 0x30
xor ebx, ebx
xor edx, edx
call fcn.14016e0e0
lea rcx, [rsp + 0x30]
mov rdx, r14
mov r8, rbp
call fcn.14016e4a0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
bswap rax
bswap rcx
mov edx, 0x40
mov r8, r15
xor r14d, r14d
nop word [rax + rax]
mov r10, r8
sar r10, 0x3f
mov r11, rax
and r11, r10
xor r11, rbx
and r10, rcx
xor r10, r14
mov r9d, ecx
and r9d, 1
neg r9
and r9, r12
mov rbp, rcx
shrd rbp, rax, 1
shr rax, 1
xor r9, rax
lea r14, [r8 + r8]
sar r14, 0x3f
mov rbx, r9
and rbx, r14
xor rbx, r11
and r14, rbp
xor r14, r10
mov rcx, rax
shld rcx, rbp, 0x3f
and ebp, 1
neg rbp
and rbp, r12
shr r9, 1
mov rax, r9
xor rax, rbp
shl r8, 2
add edx, 0xfffffffe
jne 0x140067960
mov edx, 0x40
mov r8, r13
nop word cs:[rax + rax]
mov r10, r8
sar r10, 0x3f
mov r11, rax
and r11, r10
xor r11, rbx
and r10, rcx
xor r10, r14
mov r9d, ecx
and r9d, 1
neg r9
and r9, r12
shrd rcx, rax, 1
shr rax, 1
xor r9, rax
lea r14, [r8 + r8]
sar r14, 0x3f
mov rbx, r9
and rbx, r14
xor rbx, r11
and r14, rcx
xor r14, r10
mov r10d, ecx
and r10d, 1
neg r10
and r10, r12
shrd rcx, rax, 1
shr r9, 1
xor r9, r10
shl r8, 2
mov rax, r9
add edx, 0xfffffffe
jne 0x1400679e0
jmp 0x140067a57
xor r14d, r14d
xor ebx, ebx
jmp 0x140067a83
xor r14d, r14d
xor ebx, ebx
mov rax, rbx
shr rax, 0x20
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x140], eax
mov dword [rcx + 0x144], ebx
mov rax, r14
shr rax, 0x20
mov dword [rcx + 0x148], eax
mov dword [rcx + 0x14c], r14d
mov ebp, dword [rsp + 0xc0]
test rdi, rdi
je 0x140067d7b
test ebp, ebp
je 0x140067d7b
mov edx, dword [rcx + 0x150]
test edx, edx
je 0x140067ad6
mov eax, dword [rcx + 0x140]
mov ebx, dword [rcx + 0x144]
shl rax, 0x20
or rbx, rax
mov qword [rsp + 0x30], rbx
mov eax, dword [rcx + 0x148]
mov r14d, dword [rcx + 0x14c]
shl rax, 0x20
or r14, rax
mov qword [rsp + 0x38], r14
mov eax, ebp
and eax, 0xf
cmp ebp, 0x10
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x50], eax
jb 0x140067c3a
mov ecx, ebp
shr ecx, 4
nop word cs:[rax + rax]
mov qword [rsp + 0x48], rdi
vmovups xmm0, xmmword [rdi]
vmovaps xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
bswap rdx
bswap r8
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], r8
xor rdx, rbx
xor r8, r14
mov r9d, 0x40
xor ebx, ebx
mov rbp, r15
xor r14d, r14d
nop dword [rax]
mov r10, rbp
sar r10, 0x3f
mov rax, rdx
and rax, r10
xor rax, rbx
and r10, r8
xor r10, r14
mov r11d, r8d
and r11d, 1
neg r11
and r11, r12
mov rdi, r8
shrd rdi, rdx, 1
shr rdx, 1
xor r11, rdx
lea r14, [rbp*2]
sar r14, 0x3f
mov rbx, r11
and rbx, r14
xor rbx, rax
and r14, rdi
xor r14, r10
mov r8, rdx
shld r8, rdi, 0x3f
and edi, 1
neg rdi
and rdi, r12
shr r11, 1
mov rdx, r11
xor rdx, rdi
shl rbp, 2
add r9d, 0xfffffffe
jne 0x140067b40
mov r9d, 0x40
mov r10, r13
nop dword [rax]
mov rbp, r10
sar rbp, 0x3f
mov rax, rdx
and rax, rbp
xor rax, rbx
and rbp, r8
xor rbp, r14
mov r11d, r8d
and r11d, 1
neg r11
and r11, r12
shrd r8, rdx, 1
shr rdx, 1
xor r11, rdx
lea r14, [r10 + r10]
sar r14, 0x3f
mov rbx, r11
and rbx, r14
xor rbx, rax
and r14, r8
xor r14, rbp
mov eax, r8d
and eax, 1
neg rax
and rax, r12
shrd r8, rdx, 1
shr r11, 1
xor r11, rax
shl r10, 2
mov rdx, r11
add r9d, 0xfffffffe
jne 0x140067bc0
mov rdi, qword [rsp + 0x48]
add rdi, 0x10
dec ecx
jne 0x140067b00
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140067d83
vxorps xmm0, xmm0, xmm0
vmovaps xmmword [rsp + 0x20], xmm0
mov r8d, eax
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.14016e4a0
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
bswap rcx
bswap rdx
mov rax, rbx
xor rax, rcx
mov rcx, r14
xor rcx, rdx
mov edx, 0x40
xor ebx, ebx
mov r8, r15
xor r14d, r14d
nop dword [rax]
mov r10, r8
sar r10, 0x3f
mov r11, rax
and r11, r10
xor r11, rbx
and r10, rcx
xor r10, r14
mov r9d, ecx
and r9d, 1
neg r9
and r9, r12
mov rdi, rcx
shrd rdi, rax, 1
shr rax, 1
xor r9, rax
lea r14, [r8 + r8]
sar r14, 0x3f
mov rbx, r9
and rbx, r14
xor rbx, r11
and r14, rdi
xor r14, r10
mov rcx, rax
shld rcx, rdi, 0x3f
and edi, 1
neg rdi
and rdi, r12
shr r9, 1
mov rax, r9
xor rax, rdi
shl r8, 2
add edx, 0xfffffffe
jne 0x140067c90
mov edx, 0x40
mov r8, r13
mov ebp, dword [rsp + 0xc0]
nop word [rax + rax]
mov r10, r8
sar r10, 0x3f
mov r11, rax
and r11, r10
xor r11, rbx
and r10, rcx
xor r10, r14
mov r9d, ecx
and r9d, 1
neg r9
and r9, r12
shrd rcx, rax, 1
shr rax, 1
xor r9, rax
lea r14, [r8 + r8]
sar r14, 0x3f
mov rbx, r9
and rbx, r14
xor rbx, r11
and r14, rcx
xor r14, r10
mov r10d, ecx
and r10d, 1
neg r10
and r10, r12
shrd rcx, rax, 1
shr r9, 1
xor r9, r10
shl r8, 2
mov rax, r9
add edx, 0xfffffffe
jne 0x140067d10
jmp 0x140067d8a
mov edx, dword [rcx + 0x150]
jmp 0x140067d8e
mov ebp, dword [rsp + 0xc0]
mov edx, dword [rsp + 0x54]
mov eax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc8]
test edx, edx
cmovne esi, edx
mov edx, ebp
shl rsi, 3
xor rsi, rbx
shl rdx, 3
xor rdx, r14
mov r10d, 0x40
xor r9d, r9d
xor r8d, r8d
nop
mov rdi, r15
sar rdi, 0x3f
mov rbx, rsi
and rbx, rdi
xor rbx, r9
and rdi, rdx
xor rdi, r8
mov r11d, edx
and r11d, 1
neg r11
and r11, r12
mov r14, rdx
shrd r14, rsi, 1
shr rsi, 1
xor r11, rsi
lea r8, [r15 + r15]
sar r8, 0x3f
mov r9, r11
and r9, r8
xor r9, rbx
and r8, r14
xor r8, rdi
mov rdx, rsi
shld rdx, r14, 0x3f
and r14d, 1
neg r14
and r14, r12
shr r11, 1
mov rsi, r11
xor rsi, r14
shl r15, 2
add r10d, 0xfffffffe
jne 0x140067dc0
mov r10d, 0x40
nop word cs:[rax + rax]
mov rdi, r13
sar rdi, 0x3f
mov rbx, rsi
and rbx, rdi
xor rbx, r9
and rdi, rdx
xor rdi, r8
mov r11d, edx
and r11d, 1
neg r11
and r11, r12
shrd rdx, rsi, 1
shr rsi, 1
xor r11, rsi
lea r8, [r13*2]
sar r8, 0x3f
mov r9, r11
and r9, r8
xor r9, rbx
and r8, rdx
xor r8, rdi
mov edi, edx
and edi, 1
neg rdi
and rdi, r12
shrd rdx, rsi, 1
shr r11, 1
xor r11, rdi
shl r13, 2
mov rsi, r11
add r10d, 0xfffffffe
jne 0x140067e40
bswap r9
mov qword [rsp + 0x30], r9
bswap r8
mov qword [rsp + 0x38], r8
mov r8d, eax
lea rdx, [rsp + 0x30]
call fcn.14016e4a0
nop
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret