Function at 0x180024e60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x180361f20]
xor ebx, ebx
lea edi, [rbx + 1]
lea esi, [rbx + 0x1f]
test rax, rax
jne 0x1800250f9
cmp word [0x1801578ea], bx
movups xmm0, xmmword [0x1801578d8]
mov eax, dword [0x1801578e8]
mov dword [rbp + 0x19], eax
movups xmmword [rbp + 9], xmm0
je 0x180024ee7
xor word [rbp + 0xb], 0x33
mov eax, WSAGetLastError
xor word [rbp + 0xd], 0x34
xor word [rbp + 0xf], 0x35
xor word [rbp + 0x11], 0x36
xor word [rbp + 0x13], 0x37
xor word [rbp + 0x15], 0x38
xor word [rbp + 0x17], 0x39
xor word [rbp + 0x19], 0x3a
xor word [rbp + 0x1b], 0x3b
mov word [rbp + 9], ax
lea rcx, [rbp + 9]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9, rax
test rax, rax
je 0x1800250f5
cmp byte [0x180157fa1], bl
movups xmm0, xmmword [str.GwGSVLjIS_WS_]
movzx eax, word [0x180157fa0]
mov word [rbp + 7], ax
movups xmmword [rbp - 9], xmm0
je 0x1800250dc
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, ebx
jl 0x18002509b
movdqa xmm0, xmmword [0x18015beb0]
lea rdx, [rbp - 5]
movdqa xmm5, xmmword [0x18015bd60]
movdqa xmm4, xmmword [0x18015bea0]
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm7
movdqa xmm7, xmmword [0x18015bdd0]
movdqa xmmword [rbp - 0x19], xmm0
mov r8d, dword [rbp - 0x19]
movaps xmmword [rsp + 0xa0], xmm8
movd xmm6, edi
movd xmm8, esi
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 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
andps xmm2, xmmword [0x18015be90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], 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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18015be90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x180024f80
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
cmp ecx, 0x12
jge 0x1800250dc
movsxd rax, ecx
lea r8, [rbp - 9]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x12
jl 0x1800250b0
lea rdx, [rbp - 9]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180361f20], rax
test rax, rax
jne 0x1800250f9
mov eax, edi
jmp 0x180025128
mov byte [rsp + 0x50], bl
xor r9d, r9d
mov qword [rsp + 0x48], rbx
xor r8d, r8d
mov word [rsp + 0x40], bx
xor edx, edx
mov dword [rsp + 0x38], 0x25
xor ecx, ecx
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
call rax
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret