Function at 0x180003d00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x90
mov rcx, qword [0x1802dbb10]
xor ebx, ebx
call fcn.18003e620
cmp eax, 0x4142
je 0x1800040ba
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
cmp eax, 0x5373
jne 0x180003f07
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [str.wY_RVM]
movzx eax, byte [0x1800df180]
mov byte [rsp + 0x50], al
movups xmmword [rsp + 0x40], xmm0
jl 0x180003eba
movdqa xmm0, xmmword [0x180104600]
lea rcx, [rsp + 0x40]
movdqa xmm5, xmmword [0x180104490]
mov eax, 4
movdqa xmm4, xmmword [0x1801048f0]
movdqa xmm7, xmmword [0x1801044e0]
movaps xmmword [rsp + 0x60], xmm8
movd xmm6, eax
mov eax, Ordinal_33
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp ebx, 0x10
jl 0x180003db0
movaps xmm8, xmmword [rsp + 0x60]
cmp ebx, 0x11
jge 0x180003efd
movsxd rax, ebx
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x34
xor byte [r8 - 1], al
cmp ebx, 0x11
jl 0x180003ed0
lea rcx, [rsp + 0x40]
jmp 0x180004092
cmp dword [reloc.WS2_32.dll_accept], 2
mov eax, dword [0x1800fc500]
movsd xmm0, qword [0x1800fc4f8]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x1800fc504]
mov byte [rsp + 0x3c], al
movsd qword [rsp + 0x30], xmm0
jl 0x18000404a
movdqa xmm2, xmmword [0x180104490]
mov eax, 4
movdqa xmm4, xmmword [0x1801048f0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1801044b0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ebx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, Ordinal_33
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
mov eax, dword [0x180104600]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801044e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1800fc4f8]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x30], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801044e0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1801045a0]
movd xmm1, dword [rsp + 0x34]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rsp + 0x34], xmm2
movsxd rax, ebx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x34
xor byte [r8 - 1], al
cmp ebx, 0xd
jl 0x180004060
lea rcx, [rsp + 0x30]
call fcn.180003c40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
movaps xmm7, xmmword [rsp + 0x70]
xor al, al
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
ret
cmp byte [0x1802db4b1], bl
je 0x180004137
cmp byte [0x1802dbbcc], bl
je 0x180004131
cmp dword [0x1802dbbd8], ebx
mov byte [0x1802dbbcc], bl
jne 0x1800040e4
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [0x1802dbbd8], eax
jne 0x1800040fe
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movups xmm0, xmmword [0x1802dbbd0]
xor edx, edx
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x180004127
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movups xmmword [0x1802dbbd0], xmm0
mov byte [0x1802db4b1], bl
call fcn.18003ef10
cmp eax, 0x4142
je 0x180004155
cmp eax, 0x4d45
je 0x180004155
xor al, al
add rsp, 0x90
pop rbx
ret
mov rcx, qword [0x1802dbb10]
call fcn.18003f070
mov al, 1
add rsp, 0x90
pop rbx
ret