Function at 0x140c20440
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r13
sub rsp, 0x88
mov r13, r8
lea rax, [r9 - 1]
xor r8d, r8d
mov rdi, rcx
movabs rcx, 0x1ffffffffffffffe
mov qword [r11 - 0x48], r8
mov rbp, r9
cmp rax, rcx
ja 0x140c20723
mov rsi, qword [rsp + 0xd8]
movabs rax, 0x2000000000000000
cmp rsi, rax
jae 0x140c20723
mov qword [r11 + 0x18], r14
xorps xmm0, xmm0
mov qword [r11 - 0x28], r15
lea r14, [rdi + 0x178]
mov qword [r11 + 8], rbx
movups xmmword [r14], xmm0
movups xmmword [rdi + 0x188], xmm0
mov dword [rdi + 0x198], edx
mov qword [rdi + 0x158], r8
mov qword [rdi + 0x160], r8
cmp r9, 0xc
jne 0x140c204eb
movsd xmm0, qword [r13]
movsd qword [r14], xmm0
mov eax, dword [r13 + 8]
mov dword [r14 + 8], eax
mov byte [rdi + 0x187], 1
jmp 0x140c2066d
mov qword [rsp + 0xb8], r12
lea r12, [r9*8]
mov rax, r12
shr rax, 0x38
mov qword [rsp + 0xc8], rax
mov rax, r12
shr rax, 0x30
mov qword [rsp + 0x30], rax
mov rax, r12
shr rax, 0x28
mov qword [rsp + 0x38], rax
mov rax, r12
shr rax, 0x20
mov qword [rsp + 0x40], rax
mov rax, r12
shr rax, 0x18
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x10
mov qword [rsp + 0x50], rax
mov rax, r12
shr rax, 8
mov qword [rsp + 0x58], rax
movups xmmword [rsp + 0x68], xmm0
nop word [rax + rax]
mov ebx, reloc.WS2_32.dll_recv
cmp rbp, rbx
cmovb rbx, rbp
test rbx, rbx
je 0x140c20595
mov r8, r13
mov rcx, r14
sub r8, rdi
mov rdx, rbx
nop dword [rax]
movzx eax, byte [r8 + rcx - 0x178]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140c20580
mov r8, r14
mov rdx, r14
mov rcx, rdi
call fcn.140c1fa40
add r13, rbx
sub rbp, rbx
jne 0x140c20560
movzx eax, byte [rsp + 0x68]
mov r8, r14
xor byte [r14], al
mov rdx, r14
movzx eax, byte [rsp + 0x69]
mov rcx, rdi
xor byte [rdi + 0x179], al
movzx eax, byte [rsp + 0x6a]
xor byte [rdi + 0x17a], al
movzx eax, byte [rsp + 0x6b]
xor byte [rdi + 0x17b], al
movzx eax, byte [rsp + 0x6c]
xor byte [rdi + 0x17c], al
movzx eax, byte [rsp + 0x6d]
xor byte [rdi + 0x17d], al
movzx eax, byte [rsp + 0x6e]
xor byte [rdi + 0x17e], al
movzx eax, byte [rsp + 0x6f]
xor byte [rdi + 0x17f], al
mov rax, qword [rsp + 0xc8]
xor byte [rdi + 0x180], al
mov rax, qword [rsp + 0x30]
xor byte [rdi + 0x181], al
mov rax, qword [rsp + 0x38]
xor byte [rdi + 0x182], al
mov rax, qword [rsp + 0x40]
xor byte [rdi + 0x183], al
mov rax, qword [rsp + 0x48]
xor byte [rdi + 0x184], al
mov rax, qword [rsp + 0x50]
xor byte [rdi + 0x185], al
mov rax, qword [rsp + 0x58]
xor byte [rdi + 0x186], al
xor byte [rdi + 0x187], r12b
call fcn.140c1fa40
mov r12, qword [rsp + 0xb8]
lea rax, [rsp + 0x60]
mov r8d, reloc.WS2_32.dll_recv
lea r9, [rdi + 0x168]
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rdi
call fcn.140c1e080
mov r14, qword [rsp + 0xc0]
test eax, eax
jne 0x140c20706
mov rbp, qword [rsp + 0xd0]
mov qword [rdi + 0x160], rsi
test rsi, rsi
je 0x140c20704
nop
mov ebx, reloc.WS2_32.dll_recv
cmp rsi, rbx
cmovb rbx, rsi
test rbx, rbx
je 0x140c206e6
mov r8, rbp
lea rax, [rdi + 0x188]
sub r8, rdi
mov rdx, rbx
movzx ecx, byte [rax + r8 - 0x188]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140c206d1
lea r8, [rdi + 0x188]
mov rcx, rdi
lea rdx, [rdi + 0x188]
call fcn.140c1fa40
add rbp, rbx
sub rsi, rbx
jne 0x140c206b0
xor eax, eax
mov rbx, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x80]
add rsp, 0x88
pop r13
pop rdi
pop rsi
pop rbp
ret
mov eax, 0xffffffec
add rsp, 0x88
pop r13
pop rdi
pop rsi
pop rbp
ret