Function at 0x140041e10
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xf0
mov rax, qword [0x1400f5980]
xor rax, rsp
mov qword [rsp + 0xe8], rax
test ecx, ecx
je 0x140041f2b
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [0x1400d6800]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x80
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x20], 0x30
lea r9, str.c63w
mov ecx, 1
xor edx, edx
xor r8d, r8d
call fcn.140042180
mov esi, eax
test eax, eax
jne 0x140042074
pxor xmm0, xmm0
xor eax, eax
lea rcx, [0x1400d6820]
pxor xmm2, xmm2
pxor xmm1, xmm1
movdqa xmm3, xmmword [rax + rcx]
mov edx, dword [rax + rcx + 4]
pxor xmm3, xmmword [rsp + rax + 0x60]
xor edx, dword [rsp + rax + 0x64]
movd xmm4, edx
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
por xmm3, xmm2
punpcklbw xmm4, xmm0
punpcklwd xmm4, xmm0
por xmm4, xmm1
mov edx, dword [rax + rcx + 8]
mov r8d, dword [rax + rcx + 0xc]
xor edx, dword [rsp + rax + 0x68]
movd xmm2, edx
xor r8d, dword [rsp + rax + 0x6c]
movd xmm1, r8d
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
por xmm2, xmm3
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm1, xmm4
add rax, 0x10
cmp rax, 0x80
jne 0x140041ea0
por xmm1, xmm2
pxor xmm0, xmm0
pcmpeqd xmm0, xmm1
movmskps eax, xmm0
xor eax, 0xf
xor esi, esi
neg eax
sbb esi, esi
jmp 0x140042074
lea rbx, [rsp + 0x60]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x80
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x30
lea r9, [0x1400d68a0]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
call fcn.140042180
mov esi, eax
test eax, eax
jne 0x140042074
pxor xmm0, xmm0
mov eax, recv
lea rdi, [0x1400d68d0]
pxor xmm2, xmm2
pxor xmm1, xmm1
nop word cs:[rax + rax]
movdqa xmm3, xmmword [rax + rdi - 0xc]
mov ecx, dword [rax + rdi - 8]
pxor xmm3, xmmword [rsp + rax + 0x54]
xor ecx, dword [rsp + rax + 0x58]
movd xmm4, ecx
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
por xmm3, xmm2
punpcklbw xmm4, xmm0
punpcklwd xmm4, xmm0
por xmm4, xmm1
mov ecx, dword [rax + rdi - 4]
mov edx, dword [rax + rdi]
xor ecx, dword [rsp + rax + 0x5c]
movd xmm2, ecx
xor edx, dword [rsp + rax + 0x60]
movd xmm1, edx
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
por xmm2, xmm3
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm1, xmm4
add rax, 0x10
cmp rax, 0x8c
jne 0x140041fa0
por xmm1, xmm2
pxor xmm0, xmm0
pcmpeqd xmm0, xmm1
movmskps eax, xmm0
xor eax, 0xf
mov esi, 0xffffffff
jne 0x140042074
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x80
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x20
lea rdx, [0x1400d68c0]
lea r9, [0x1400d68a0]
xor ecx, ecx
mov r8d, reloc.WS2_32.dll_recv
call fcn.140042180
mov esi, eax
test eax, eax
je 0x140042091
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.14009adb0
mov eax, esi
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
ret
pxor xmm0, xmm0
xor eax, eax
pxor xmm2, xmm2
pxor xmm1, xmm1
nop
movdqa xmm3, xmmword [rax + rdi]
mov ecx, dword [rax + rdi + 4]
pxor xmm3, xmmword [rsp + rax + 0x60]
xor ecx, dword [rsp + rax + 0x64]
movd xmm4, ecx
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
por xmm3, xmm2
punpcklbw xmm4, xmm0
punpcklwd xmm4, xmm0
por xmm4, xmm1
mov ecx, dword [rax + rdi + 8]
mov edx, dword [rax + rdi + 0xc]
xor ecx, dword [rsp + rax + 0x68]
movd xmm2, ecx
xor edx, dword [rsp + rax + 0x6c]
movd xmm1, edx
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
por xmm2, xmm3
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm1, xmm4
add rax, 0x10
cmp rax, 0x80
jne 0x1400420a0
jmp 0x140041f0e