Function at 0x1800bae70
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
mov rax, qword [0x1802ebe40]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov r9d, dword [0x1802f08a0]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + r9*8]
mov eax, dword [rcx + rax]
cmp dword [0x1802f04b0], eax
jg 0x1800bafb2
mov rbx, qword [0x1802f04a8]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.18005b090
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsi + 8]
call rbx
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1800baf21
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1800baf1c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800baf56
mov rcx, r8
call fcn.18015d0f0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18015d6a0
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1b
jl 0x1800baf60
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, rbx
mov qword [0x1802f04a8], rax
lea rcx, [0x1802f04b0]
call fcn.18015d4a4
jmp 0x1800baeca
lea rcx, [0x1802f04b0]
call fcn.18015d510
cmp dword [0x1802f04b0], 0xffffffff
jne 0x1800baeca
movups xmm3, xmmword [0x1801ad990]
movups xmmword [rsp + 0x20], xmm3
movsd xmm0, qword [0x1801ad9a0]
movsd qword [rsp + 0x30], xmm0
movzx eax, word [0x1801ad9a8]
mov word [rsp + 0x38], ax
movzx eax, byte [0x1801ad9aa]
mov byte [rsp + 0x3a], al
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800bb26c
movdqa xmm5, xmmword [0x1801b4e30]
movdqa xmm6, xmmword [str.4444]
movdqa xmm7, xmmword [str.7777777777777777]
movdqa xmm2, xmmword [0x18016cbe0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x180173d80]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x180173cc0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rsp + 0x24]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movdqa xmm3, xmmword [0x180173ce0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, dword [rsp + 0x28]
xorps xmm3, xmm0
movd dword [rsp + 0x28], xmm3
movdqa xmm2, xmmword [0x180173cf0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rsp + 0x2c]
xorps xmm2, xmm0
movd dword [rsp + 0x2c], xmm2
movdqa xmm3, xmmword [0x180173d00]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, dword [rsp + 0x30]
xorps xmm3, xmm0
movd dword [rsp + 0x30], xmm3
movdqa xmm2, xmmword [0x180173d10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov ecx, 0x18
mov eax, ecx
lea r8, [rsp + 0x20]
add r8, rax
jmp 0x1800baf60