Function at 0x1400477e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xf0
mov rax, qword [0x1400fe980]
xor rax, rsp
mov qword [rsp + 0xe8], rax
test ecx, ecx
je 0x1400478fb
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [0x1400dd800]
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.140047b50
mov esi, eax
test eax, eax
jne 0x140047a44
pxor xmm0, xmm0
xor eax, eax
lea rcx, [0x1400dd820]
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 0x140047870
por xmm1, xmm2
pxor xmm0, xmm0
pcmpeqd xmm0, xmm1
movmskps eax, xmm0
xor eax, 0xf
xor esi, esi
neg eax
sbb esi, esi
jmp 0x140047a44
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, [0x1400dd8a0]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
call fcn.140047b50
mov esi, eax
test eax, eax
jne 0x140047a44
pxor xmm0, xmm0
mov eax, recv
lea rdi, [0x1400dd8d0]
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 0x140047970
por xmm1, xmm2
pxor xmm0, xmm0
pcmpeqd xmm0, xmm1
movmskps eax, xmm0
xor eax, 0xf
mov esi, 0xffffffff
jne 0x140047a44
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, [0x1400dd8c0]
lea r9, [0x1400dd8a0]
xor ecx, ecx
mov r8d, reloc.WS2_32.dll_recv
call fcn.140047b50
mov esi, eax
test eax, eax
je 0x140047a61
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400a11a0
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 0x140047a70
jmp 0x1400478de