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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1401161c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov esi, r8d
mov r14, rdx
xor r9d, r9d
cmp ecx, 0x7b
ja 0x14006550a
movsxd rax, ecx
lea r9, [0x140115cc0]
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], 0
mov r12d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x2f], r12
mov byte [rbp + 0x17], 0
test r9, r9
jne 0x1400656e8
mov byte [rbp - 0x11], 0xf3
mov byte [rbp - 0x10], 0xc4
mov byte [rbp - 0xf], Ordinal_200
mov byte [rbp - 0xe], 0xc3
mov byte [rbp - 0xd], 0xcf
mov byte [rbp - 0xc], reloc.WLDAP32.dll_Ordinal_211
mov byte [rbp - 0xb], 0x99
mov byte [rbp - 0xa], 0xfb
mov byte [rbp - 9], 0xdd
mov byte [rbp - 8], 0xc2
mov byte [rbp - 7], 0xb2
movzx eax, byte [rbp - 0x11]
movabs r11, 0xc816968a1982b5aa
mov r10, r11
lea rax, [rbp - 0x11]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp - 0x11]
add rdx, r9
movsx r8, byte [rdx]
mov rcx, r9
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r12
shl cl, 2
mov rax, r11
shr rax, cl
and al, 0xf
add dl, r10b
xor al, dl
xor al, r8b
mov byte [rbp + r9 - 0x11], al
inc r9
cmp r9, 0xb
jb 0x140065580
lea rax, [rbp - 0x11]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400655d0
lea rcx, [rbp + 0x17]
cmp rbx, 0xf
ja 0x1400655fa
mov qword [rbp + 0x27], rbx
mov r8, rbx
lea rdx, [rbp - 0x11]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx + 0x17], 0
jmp 0x14006560b
lea r9, [rbp - 0x11]
movzx r8d, byte [rbp - 0x19]
mov rdx, rbx
call fcn.140052060
cmp esi, 1
jne 0x140065738
mov byte [rbp - 1], 0xa0
mov byte [rbp], 0x86
mov byte [rbp + 1], 0x9f
mov byte [rbp + 2], 0x85
mov byte [rbp + 3], 0x84
mov byte [rbp + 4], Ordinal_211
mov byte [rbp + 5], WSAStartup
mov byte [rbp + 6], 0x65
mov byte [rbp + 7], 0x68
mov byte [rbp + 8], reloc.WLDAP32.dll_Ordinal_35
mov byte [rbp + 9], 0x6a
mov byte [rbp + 0xa], 0x64
mov byte [rbp + 0xb], 0x7b
mov byte [rbp + 0xc], sil
movzx eax, byte [rbp - 1]
xor r9d, r9d
movabs r11, 0x9764450fc6e9b6fa
mov r10, r11
lea rax, [rbp - 1]
sub r10, rax
nop word [rax + rax]
lea rdx, [rbp - 1]
add rdx, r9
movsx r8, byte [rdx]
mov rcx, r9
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r12
shl cl, 2
mov rax, r11
shr rax, cl
and al, 0xf
add dl, r10b
xor al, dl
xor al, r8b
mov byte [rbp + r9 - 1], al
inc r9
cmp r9, 0xe
jb 0x140065670
lea rax, [rbp - 1]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400656b0
mov rax, qword [rbp + 0x2f]
cmp rdi, rax
ja 0x140065723
lea rbx, [rbp + 0x17]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x17]
mov qword [rbp + 0x27], rdi
mov r8, rdi
lea rdx, [rbp - 1]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
jmp 0x140065738
mov rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [r9 + rbx], 0
jne 0x1400656f2
lea rcx, [rbp + 0x17]
cmp rbx, 0xf
ja 0x1400655fe
mov qword [rbp + 0x27], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx + 0x17], 0
jmp 0x14006560b
lea r9, [rbp - 1]
movzx r8d, byte [rbp - 0x19]
mov rdx, rdi
lea rcx, [rbp + 0x17]
call fcn.140052060
mov dword [rbp + 0xf], 0x42fa0000
mov dword [rbp + 0x13], 0x41c80000
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rcx, qword [rbp + 0x17]
lea rdx, [rbp + 0xf]
call fcn.1400416d0
test al, al
je 0x140065783
test esi, esi
jne 0x140065783
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x1400657c1
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400657bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400657bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c243c
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400c23e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret