Function at 0x14013b940
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x180
mov rax, qword [0x140250100]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor r8d, r8d
lea rax, [rsp + 0xe0]
xor edx, edx
mov qword [rsp + 0x38], rax
test ecx, ecx
je 0x14013ba58
lea rax, [0x140235df0]
mov dword [rsp + 0x30], 0x20
mov qword [rsp + 0x28], rax
lea r9, [0x140235cb8]
mov ecx, 1
mov dword [rsp + 0x20], 0x30
call fcn.14013b7b0
mov ecx, eax
test eax, eax
jne 0x14013bcc8
xorps xmm4, xmm4
lea rbp, [0x140000000]
xorps xmm3, xmm3
xor ebx, ebx
movd xmm2, dword [rbx + rbp + 0x235cf0]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rbx + 0xe0]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rsp + rbx + 0xe4]
orps xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rbx + rbp + 0x235cf4]
add rbx, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rbx, 0x80
jl 0x14013b9c4
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 0x14013ba51
mov eax, 0xffffffff
jmp 0x14013bcc8
mov eax, ecx
jmp 0x14013bcc8
xor ebx, ebx
lea r9, [0x140235c88]
mov dword [rsp + 0x30], ebx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x30
call fcn.14013b7b0
test eax, eax
jne 0x14013bcc8
movaps xmmword [rsp + 0x170], xmm6
lea rbp, [0x140000000]
xorps xmm6, xmm6
xorps xmm4, xmm4
xorps xmm3, xmm3
mov eax, ebx
nop dword [rax + rax]
movd xmm2, dword [rax + rbp + 0x235d70]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rax + 0xe0]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rsp + rax + 0xe4]
orps xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rax + rbp + 0x235d74]
add rax, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rax, 0x80
jl 0x14013baa0
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 0x14013bb2c
mov eax, 0xffffffff
jmp 0x14013bcc0
mov esi, 0xffffffff
mov qword [rsp + 0x190], rdi
lea r9, [0x140235ca8]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r8d, 0x20
lea rdx, [0x140235c88]
lea rcx, [rsp + 0x60]
mov edi, esi
call fcn.14013b0f0
test eax, eax
jne 0x14013bb9e
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.14013aab0
test eax, eax
jne 0x14013bb9e
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.14013aab0
test eax, eax
cmove edi, ebx
mov eax, 0x78
lea rcx, [rsp + 0x60]
nop dword [rax + rax]
mov byte [rcx], bl
lea rcx, [rcx + 1]
add eax, 0xffffffff
jne 0x14013bbb0
movdqa xmm3, xmm6
lea rax, [rsp + 0x60]
movdqa xmm2, xmm6
mov ecx, recv
nop dword [rax]
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 0x14013bbd0
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd ecx, xmm2
test ecx, ecx
je 0x14013bc26
mov eax, esi
jmp 0x14013bcb8
test edi, edi
jne 0x14013bcb6
movdqa xmm3, xmm6
movd xmm2, dword [rbx + rbp + 0x235d70]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rbx + 0xe0]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rsp + rbx + 0xe4]
orps xmm6, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [rbx + rbp + 0x235d74]
add rbx, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rbx, 0x80
jl 0x14013bc32
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 edi, esi
mov eax, edi
mov rdi, qword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x170]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140140e90
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret