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

Disassembly:
jmp 0x140023ba0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x958
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x18a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x978]
mov rax, qword [0x140040040]
xor rax, rbp
mov qword [rbp + 0x910], rax
lea rcx, [0x14004a106]
call fcn.140011e83
lea rdx, str.Downloading_file_from:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400111db
mov rdx, qword [rbp + 0x940]
mov rcx, rax
call fcn.140011cdf
mov qword [rbp + 0x908], rax
lea rdx, [0x140011096]
mov rcx, qword [rbp + 0x908]
call qword [sym.imp.MSVCP140D.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 dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Loader
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140023c8b
lea rdx, str.Failed_to_open_Internet
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400111db
mov qword [rbp + 0x908], rax
lea rdx, [0x140011096]
mov rcx, qword [rbp + 0x908]
call qword [sym.imp.MSVCP140D.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 0x140023e7f
mov rcx, qword [rbp + 0x940]
call fcn.14001119a
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140023d05
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, str.Failed_to_open_URL
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400111db
mov qword [rbp + 0x908], rax
lea rdx, [0x140011096]
mov rcx, qword [rbp + 0x908]
call qword [sym.imp.MSVCP140D.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 0x140023e7f
mov edx, 0x108
lea rcx, [rbp + 0x50]
call fcn.1400115dc
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
mov rdx, qword [rbp + 0x948]
lea rcx, [rbp + 0x50]
call fcn.140011361
nop
mov rax, qword [rbp + 0x50]
movsxd rax, dword [rax + 4]
lea rax, [rbp + rax + 0x50]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x140023db3
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, str.Failed_to_create_file
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400111db
mov qword [rbp + 0x908], rax
lea rdx, [0x140011096]
mov rcx, qword [rbp + 0x908]
call qword [sym.imp.MSVCP140D.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 byte [rbp + 0x8d4], 0
lea rcx, [rbp + 0x50]
call fcn.1400113c0
movzx eax, byte [rbp + 0x8d4]
jmp 0x140023e7f
mov dword [rbp + 0x174], 0x400
mov dword [rbp + 0x5b4], 0
lea r9, [rbp + 0x5b4]
mov r8d, 0x400
lea rdx, [rbp + 0x1a0]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140023e0e
cmp dword [rbp + 0x5b4], 0
jbe 0x140023e0e
mov eax, dword [rbp + 0x5b4]
mov r8d, eax
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140D.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]
jmp 0x140023dc7
lea rcx, [rbp + 0x50]
call fcn.14001178f
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, str.File_downloaded_successfully_to:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140011794
mov rdx, qword [rbp + 0x948]
mov rcx, rax
call fcn.140011861
mov qword [rbp + 0x908], rax
lea rdx, [0x140011721]
mov rcx, qword [rbp + 0x908]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov byte [rbp + 0x8f4], 1
lea rcx, [rbp + 0x50]
call fcn.1400113c0
movzx eax, byte [rbp + 0x8f4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140036ca0]
call fcn.140011bef
mov rax, rdi
mov rcx, qword [rbp + 0x910]
xor rcx, rbp
call fcn.140011712
lea rsp, [rbp + 0x928]
pop rdi
pop rbp
ret