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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140103080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rdx
mov dword [rbp + 0x1f], ecx
mov esi, dword [0x140104a94]
xor r9d, r9d
cmp ecx, 0x7b
ja 0x14005b89e
movsxd rax, ecx
lea r9, [0x1401031d0]
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], 0
mov qword [rbp + 0x17], reloc.WS2_32.dll_ntohs
mov byte [rbp - 1], 0
mov rdi, 0xffffffffffffffff
mov rbx, rdi
test r9, r9
jne 0x14005bb40
movsd xmm0, qword [0x1400ec858]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400ec860]
mov word [rbp - 0x21], cx
movzx eax, byte [0x1400ec862]
mov byte [rbp - 0x29], 0x53
xor byte [rbp - 0x28], 0x31
xor byte [rbp - 0x27], 0x32
xor byte [rbp - 0x26], 0x33
xor byte [rbp - 0x25], 0x34
xor byte [rbp - 0x24], 0x35
xor byte [rbp - 0x23], 0x36
xor byte [rbp - 0x22], 0x37
xor cl, 0x38
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x39
xor al, 0x3a
mov byte [rbp - 0x1f], al
lea rax, [rbp - 0x29]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005b920
lea rcx, [rbp - 1]
cmp rbx, 0xf
ja 0x14005b94a
mov qword [rbp + 0xf], rbx
mov r8, rbx
lea rdx, [rbp - 0x29]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 1], 0
jmp 0x14005b956
lea r9, [rbp - 0x29]
mov rdx, rbx
call fcn.14006a660
cmp esi, 1
jne 0x14005bb81
movups xmm0, xmmword [str._CW_G]
movups xmmword [rbp - 0x19], xmm0
movzx eax, word [0x1400ec548]
mov word [rbp - 9], ax
cmp byte [0x1400ec549], 0
je 0x14005baff
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14005bac5
movdqa xmm5, xmmword [0x1400eeb40]
movdqa xmm4, xmmword [0x1400eec70]
movdqa xmm6, xmmword [0x1400eeba0]
movdqa xmm0, xmmword [0x1400eecf0]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x29]
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
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400eec50]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps 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
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400eec50]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x14005b9c0
cmp r8d, 0x12
jge 0x14005baff
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x14005bad0
lea rax, [rbp - 0x19]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14005bb03
mov rax, qword [rbp + 0x17]
cmp rdi, rax
ja 0x14005bb71
lea rbx, [rbp - 1]
cmp rax, 0xf
cmova rbx, qword [rbp - 1]
mov qword [rbp + 0xf], rdi
mov r8, rdi
lea rdx, [rbp - 0x19]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
jmp 0x14005bb81
inc rbx
cmp byte [r9 + rbx], 0
jne 0x14005bb40
lea rcx, [rbp - 1]
cmp rbx, 0xf
ja 0x14005b94e
mov qword [rbp + 0xf], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 1], 0
jmp 0x14005b956
lea r9, [rbp - 0x19]
mov rdx, rdi
lea rcx, [rbp - 1]
call fcn.14006a660
mov dword [rbp - 0x29], 0x42fa0000
mov dword [rbp - 0x25], 0x41a00000
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rcx, qword [rbp - 1]
lea rdx, [rbp - 0x29]
call fcn.140035ec0
test al, al
je 0x14005bbcd
test esi, esi
jne 0x14005bbcd
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], esi
lea r9, [rbp + 0x1f]
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x14005bc0b
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bc06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005bc06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d25bc
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400d2300
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret