Function at 0x140041fd0
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov edi, r8d
mov rsi, rdx
xor r14d, r14d
mov edx, r14d
cmp ecx, 0x7b
ja 0x140042016
movsxd rax, ecx
lea rdx, [0x1400e9320]
mov rdx, qword [rdx + rax*8]
mov qword [rbp - 0x11], r14
mov qword [rbp - 1], r14
mov qword [rbp + 7], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x11], 0
mov rbx, 0xffffffffffffffff
mov r8, rbx
test rdx, rdx
jne 0x1400420a0
movsd xmm0, qword [str.gPZR_M]
movsd qword [rbp - 0x39], xmm0
movzx eax, word [0x1400d74e0]
mov word [rbp - 0x31], ax
movzx eax, byte [0x1400d74e2]
mov byte [rbp - 0x39], 0x53
xor byte [rbp - 0x38], 0x35
xor byte [rbp - 0x37], 0x36
xor byte [rbp - 0x36], 0x37
xor byte [rbp - 0x35], 0x38
xor byte [rbp - 0x34], 0x39
xor byte [rbp - 0x33], 0x3a
xor byte [rbp - 0x32], 0x3b
xor byte [rbp - 0x31], 0x3c
xor byte [rbp - 0x30], 0x3d
xor al, 0x3e
mov byte [rbp - 0x2f], al
lea rax, [rbp - 0x39]
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140042090
lea rdx, [rbp - 0x39]
jmp 0x1400420aa
inc r8
cmp byte [rdx + r8], 0
jne 0x1400420a0
lea rcx, [rbp - 0x11]
call fcn.14003cf10
cmp edi, 1
jne 0x1400422a0
movups xmm0, xmmword [str.dGSDK]
movups xmmword [rbp - 0x29], xmm0
movzx eax, word [0x1400d7608]
mov word [rbp - 0x19], ax
cmp byte [0x1400d7609], 0
je 0x140042283
mov r8d, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14004223f
movdqa xmm5, xmmword [0x1400d7930]
movdqa xmm4, xmmword [0x1400d7f00]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1400d7960]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x1400d79f0]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x25]
mov edx, dword [rbp - 0x39]
nop
movd xmm2, r8d
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
paddd xmm1, xmm2
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 [0x1400d7980]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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
paddd xmm1, xmm3
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 [0x1400d7980]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140042130
cmp r8d, 0x12
jge 0x140042283
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x140042250
lea rax, [rbp - 0x29]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140042287
mov r8, rbx
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call fcn.14003cf10
movss xmm0, dword [0x1400d77d0]
movss dword [rbp + 0x7f], xmm0
movss xmm1, dword [0x1400d7794]
movss dword [rbp + 0x83], xmm1
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rcx, qword [rbp - 0x11]
lea rdx, [rbp + 0x7f]
call fcn.14002dbf0
test al, al
je 0x1400422f7
test edi, edi
jne 0x1400422f7
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x140042335
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042330
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042330
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b9a6c
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret