Function at 0x140143350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
xor edi, edi
mov r14d, 0xffffffff
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
mov ebx, r14d
lea r8d, [r14 + 0x31]
test ecx, ecx
je 0x14014351b
lea rdx, str.c63w
lea rcx, [rbp - 0x40]
call fcn.140143ca0
test eax, eax
jne 0x1401433f3
lea r8d, [r14 + 0x21]
lea rdx, [0x1401d4e90]
lea rcx, [rbp - 0x40]
call fcn.1401449b0
test eax, eax
jne 0x1401433f3
mov r8d, 0x80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140144080
test eax, eax
jne 0x1401433f3
mov r8d, 0x80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140144080
test eax, eax
cmove ebx, edi
mov eax, 0x80
lea rcx, [rbp - 0x40]
nop dword [rax]
mov byte [rcx], dil
lea rcx, [rcx + 1]
add eax, 0xffffffff
jne 0x140143400
xorps xmm4, xmm4
lea rax, [rbp - 0x40]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov esi, reloc.WS2_32.dll_recv
nop
movd xmm1, dword [rax]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
lea rax, [rax + 8]
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [rax - 4]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm2, xmm1
sub rsi, 1
jne 0x140143420
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd eax, xmm2
test eax, eax
jne 0x140143513
test ebx, ebx
jne 0x1401437fc
movdqa xmm3, xmm4
lea r15, [0x140000000]
nop word [rax + rax]
movd xmm2, dword [rdi + r15 + 0x1d4f60]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rdi + 0x40]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rsp + rdi + 0x44]
orps xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rdi + r15 + 0x1d4f64]
add rdi, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rdi, 0x80
jl 0x140143490
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
test eax, eax
je 0x1401437fc
mov ebx, r14d
jmp 0x1401437fc
lea rdx, [0x1401d4e60]
movaps xmmword [rsp + 0x240], xmm6
lea rcx, [rbp + 0x40]
call fcn.140143ca0
test eax, eax
jne 0x140143568
mov r8d, 0x80
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.140144080
test eax, eax
jne 0x140143568
mov r8d, 0x80
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.140144080
test eax, eax
cmove ebx, edi
mov eax, 0x80
lea rcx, [rbp + 0x40]
mov byte [rcx], dil
lea rcx, [rcx + 1]
add eax, 0xffffffff
jne 0x140143571
mov esi, reloc.WS2_32.dll_recv
lea rax, [rbp + 0x40]
mov ecx, esi
xorps xmm6, xmm6
xorps xmm3, xmm3
xorps xmm2, xmm2
movd xmm1, dword [rax]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
lea rax, [rax + 8]
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [rax - 4]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm2, xmm1
sub rcx, 1
jne 0x140143591
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd eax, xmm2
test eax, eax
jne 0x14014375f
test ebx, ebx
jne 0x1401437f4
movdqa xmm4, xmm6
lea r15, [0x140000000]
movdqa xmm3, xmm6
mov rax, rdi
nop
movd xmm2, dword [rax + r15 + 0x1d4ee0]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rax + 0x40]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rsp + rax + 0x44]
orps xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rax + r15 + 0x1d4ee4]
add rax, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rax, 0x80
jl 0x140143600
orps xmm3, xmm4
mov ebx, r14d
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
test eax, eax
jne 0x1401437f4
mov qword [rsp + 0x28], rdi
lea r9, [0x1401d4e80]
lea r8d, [rax + 0x20]
mov dword [rsp + 0x20], esi
lea rdx, [0x1401d4e60]
lea rcx, [rbp + 0xc0]
call fcn.140143ca0
test eax, eax
jne 0x1401436e7
mov r8d, 0x80
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.140144080
test eax, eax
jne 0x1401436e7
mov r8d, 0x80
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.140144080
test eax, eax
cmove ebx, edi
mov eax, 0x80
lea rcx, [rbp + 0xc0]
mov byte [rcx], dil
lea rcx, [rcx + 1]
add eax, 0xffffffff
jne 0x1401436f3
movdqa xmm3, xmm6
lea rax, [rbp + 0xc0]
movdqa xmm2, xmm6
nop
movd xmm1, dword [rax]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
lea rax, [rax + 8]
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [rax - 4]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm2, xmm1
sub rsi, 1
jne 0x140143710
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd eax, xmm2
test eax, eax
je 0x140143767
mov ebx, r14d
jmp 0x1401437f4
test ebx, ebx
jne 0x1401437f4
movdqa xmm3, xmm6
movd xmm2, dword [rdi + r15 + 0x1d4ee0]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rdi + 0x40]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rsp + rdi + 0x44]
orps xmm6, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rdi + r15 + 0x1d4ee4]
add rdi, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rdi, 0x80
jl 0x140143773
orps xmm3, xmm6
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd ecx, xmm3
test ecx, ecx
cmovne ebx, r14d
movaps xmm6, xmmword [rsp + 0x240]
lea r11, [rsp + 0x250]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret