Function at 0x180004170
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1801165d8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800ac1f0
mov r14, rax
mov rdx, qword [0x1802dbb10]
mov qword [rax], rdx
lea rax, [fcn.180003c40]
mov qword [r14 + 0x10], rax
lea rax, [0x180003aa0]
mov qword [r14 + 0x18], rax
lea rax, [fcn.180003ab0]
mov qword [r14 + 8], rax
mov rcx, r14
xor eax, eax
nop dword [rax]
shr rcx, 4
inc eax
test rcx, rcx
jne 0x1800041f0
add eax, 2
movsxd rbx, eax
mov eax, 2
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800ac23c
mov rdi, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r9d, reloc.WS2_32.dll_recv
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__i64tow_s]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.180007790
nop
mov rdx, rdi
mov rcx, rax
call fcn.180002780
test al, al
jne 0x180004427
movups xmm0, xmmword [str.xZWSQW_ezWS__cC]
movups xmmword [rsp + 0x20], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18000441c
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800043e1
movdqa xmm5, xmmword [0x180104490]
xor edx, edx
movdqa xmm4, xmmword [0x1801048f0]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x1801044e0]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x180104600]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x20]
mov r8d, dword [rsp + 0x30]
nop dword [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pand xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
pxor xmm2, xmm0
movd dword [rcx + 4], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x1800042e0
jmp 0x18000441c
lea r8, [rsp + 0x20]
xor ecx, ecx
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x10
jl 0x1800043f0
lea rcx, [rsp + 0x20]
call fcn.180003c40
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x180004473
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x180004457
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800044a9
mov rcx, r8
call fcn.1800ac234
mov qword [rsi], 0
mov qword [rsi + 8], 0
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800ac1d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3