Function at 0x140046d80
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xe8
mov rax, qword [0x1400fe980]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov ebx, 0xffffff53
test rcx, rcx
je 0x140047043
test rdx, rdx
je 0x140047043
test r8d, r8d
je 0x140046f04
cmp r8d, 0x10000
ja 0x140047043
mov ebx, 0xffffff39
cmp byte [rcx + 0x18], 1
jne 0x140047043
mov r14, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
mov esi, r8d
call fcn.140047070
mov ebx, eax
cmp eax, 2
jne 0x140047024
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.140047b00
test eax, eax
jne 0x14004702d
pxor xmm0, xmm0
mov eax, recv
lea rdx, [0x1400dd820]
pxor xmm2, xmm2
pxor xmm1, xmm1
mov rcx, r14
nop word [rax + rax]
movdqa xmm3, xmmword [rax + rdx - 0xc]
mov r8d, dword [rax + rdx - 8]
pxor xmm3, xmmword [rsp + rax + 0x54]
xor r8d, dword [rsp + rax + 0x58]
movd xmm4, r8d
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
por xmm3, xmm2
punpcklbw xmm4, xmm0
punpcklwd xmm4, xmm0
por xmm4, xmm1
mov r8d, dword [rax + rdx - 4]
mov r9d, dword [rax + rdx]
xor r8d, dword [rsp + rax + 0x5c]
movd xmm2, r8d
xor r9d, dword [rsp + rax + 0x60]
movd xmm1, r9d
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 0x140046e70
por xmm1, xmm2
pxor xmm0, xmm0
pcmpeqd xmm0, xmm1
movmskps eax, xmm0
xor eax, 0xf
je 0x140046f0b
mov ebx, 0xffffff2f
mov al, 3
jmp 0x140047040
xor ebx, ebx
jmp 0x140047043
lea rdx, [rsp + 0x60]
mov r8d, 0x24
call fcn.140047a90
mov ebx, 1
test eax, eax
jne 0x140046f64
lea rcx, [rsp + 0x60]
mov edx, 0x24
call fcn.140046750
mov ebx, eax
test eax, eax
jne 0x140046f64
lea rdx, [rsp + 0x64]
mov rcx, qword [r14 + 0x10]
mov r8d, 0x20
call fcn.140046550
mov ebx, eax
test eax, eax
jne 0x140046f64
mov rcx, qword [r14 + 0x10]
mov rdx, rdi
mov r8d, esi
call fcn.140047070
mov ebx, eax
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x61], 0
mov byte [rsp + 0x62], 0
mov byte [rsp + 0x63], 0
mov byte [rsp + 0x64], 0
mov byte [rsp + 0x65], 0
mov byte [rsp + 0x66], 0
mov byte [rsp + 0x67], 0
mov byte [rsp + 0x68], 0
mov byte [rsp + 0x69], 0
mov byte [rsp + 0x6a], 0
mov byte [rsp + 0x6b], 0
mov byte [rsp + 0x6c], 0
mov byte [rsp + 0x6d], 0
mov byte [rsp + 0x6e], 0
mov byte [rsp + 0x6f], 0
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x71], 0
mov byte [rsp + 0x72], 0
mov byte [rsp + 0x73], 0
mov byte [rsp + 0x74], 0
mov byte [rsp + 0x75], 0
mov byte [rsp + 0x76], 0
mov byte [rsp + 0x77], 0
mov byte [rsp + 0x78], 0
mov byte [rsp + 0x79], 0
mov byte [rsp + 0x7a], 0
mov byte [rsp + 0x7b], 0
mov byte [rsp + 0x7c], 0
mov byte [rsp + 0x7d], 0
mov byte [rsp + 0x7e], 0
mov byte [rsp + 0x7f], 0
mov byte [rsp + 0x80], 0
mov byte [rsp + 0x81], 0
mov byte [rsp + 0x82], 0
mov byte [rsp + 0x83], 0
test ebx, ebx
je 0x140047043
cmp ebx, 3
jne 0x140047036
mov ebx, 0xffffff2f
mov al, 3
jmp 0x14004703d
mov ebx, 0xffffff39
mov al, 2
mov rcx, r14
mov byte [rcx + 0x18], al
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400a1150
mov eax, ebx
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r14
ret