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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x270
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor esi, esi
lea ecx, [rsi + 1]
call fcn.14010ee60
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400cd8d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14006e544
cmp dword [rsp + 0x38], esi
jne 0x14006e25b
lea ecx, [rsi + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x90]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14006e286
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x90], 0xbd83b89a
mov dword [rsp + 0x94], 0xaa94aea1
mov dword [rsp + 0x98], 0x81b3acb8
mov word [rsp + 0x9c], 0x98
mov byte [rsp + 0x9e], 1
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x90], al
inc rcx
cmp rcx, 0xd
jb 0x14006e2d0
mov byte [rsp + 0x9e], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x90]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14006e310
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.14002c630
nop
lea r14, [0x140005700]
mov qword [rsp + 0x20], r14
lea r9, [0x1400056b0]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rsp + 0xa0]
call fcn.14010f1e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov dword [rsp + 0x50], 2
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova r9, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
lea rcx, [rsp + 0x70]
cmp rbx, 0xf
ja 0x14006e3bb
mov qword [rsp + 0x80], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x70], 0
jmp 0x14006e3c4
mov rdx, rbx
call fcn.14002c9a0
nop
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xb0], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xc0]
call fcn.14002a4b0
nop
lea rcx, [rsp + 0x70]
call fcn.14002b140
nop
lea rcx, [rsp + 0x30]
call fcn.14002b140
movdqa xmm0, xmmword [0x140135a50]
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x140137200]
movdqu xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x70], 0xd9939a87
mov word [rsp + 0x74], 0x100
mov rcx, rsi
nop
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x24
jb 0x14006e440
mov byte [rsp + 0x75], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14006e473
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14002c630
nop
mov dword [rsp + 0xe0], 2
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova r9, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x118]
cmp rdi, rax
ja 0x14006e4ec
lea rbx, [rsp + 0x100]
cmp rax, 0xf
cmova rbx, qword [rsp + 0x100]
mov qword [rsp + 0x110], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x14006e4fd
mov rdx, rdi
lea rcx, [rsp + 0x100]
call fcn.14002c9a0
nop
lea rcx, [rsp + 0x30]
call fcn.14002b140
mov dword [rsp + 0x20], esi
mov r9d, 0xffffffff
lea r8, [rsp + 0xa0]
mov rcx, qword [0x140167a98]
call fcn.140108950
nop
mov r9, r14
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rsp + 0xa0]
call fcn.14010ee9c
nop
mov al, 1
jmp 0x14006e556
mov dword [rsp + 0x38], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14010ee40
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret