Function at 0x140011555
Capabilities:
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
jmp 0x14001a5e0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x9a8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x19a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x9c8]
mov rax, qword [0x14002d040]
xor rax, rbp
mov qword [rbp + 0x958], rax
lea rcx, [0x1400340fd]
call fcn.140011924
mov rdx, qword [rbp + 0x980]
lea rcx, [rbp + 8]
call fcn.140011023
nop
xor r8d, r8d
lea rdx, str.github.com
lea rcx, [rbp + 8]
call fcn.140011690
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
je 0x14001a674
lea r9, str.raw.githubusercontent.com
mov r8d, 0xb
mov rdx, qword [rbp + 0x48]
lea rcx, [rbp + 8]
call fcn.14001128f
jmp 0x14001a6b3
lea rdx, str.Invalid_GitHub_URL_format.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
lea rdx, [0x140011069]
mov rcx, rax
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 + 0x8c4], 0
lea rcx, [rbp + 8]
call fcn.14001183e
movzx eax, byte [rbp + 0x8c4]
jmp 0x14001aa74
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.WinINet
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14001a73a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x954], eax
lea rdx, str.Failed_to_initialize_WinINet._Error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
mov ecx, dword [rbp + 0x954]
mov edx, ecx
mov rcx, rax
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___unsigned_long_int____ptr64]
lea rdx, [0x140011069]
mov rcx, rax
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 + 0x8e4], 0
lea rcx, [rbp + 8]
call fcn.14001183e
movzx eax, byte [rbp + 0x8e4]
jmp 0x14001aa74
lea rcx, [rbp + 8]
call fcn.140011302
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x400100
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x14001a7de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x954], eax
lea rdx, str.Failed_to_open_URL._Error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
mov ecx, dword [rbp + 0x954]
mov edx, ecx
mov rcx, rax
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___unsigned_long_int____ptr64]
lea rdx, [0x140011069]
mov rcx, rax
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 rcx, qword [rbp + 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rbp + 0x904], 0
lea rcx, [rbp + 8]
call fcn.14001183e
movzx eax, byte [rbp + 0x904]
jmp 0x14001aa74
mov r8, 0xffffffffffffffff
lea rdx, [0x1400285dc]
mov rcx, qword [rbp + 0x980]
call fcn.140011622
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rbp + 0xa8]
mov rcx, qword [rbp + 0x980]
call fcn.1400111f4
nop
lea r8, [rbp + 0xa8]
lea rdx, [0x1400285e0]
lea rcx, [rbp + 0xe8]
call fcn.1400119b0
nop
lea rcx, [rbp + 0xe8]
call fcn.140011302
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0xffffffffffffffff
jne 0x14001a90f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x954], eax
lea rdx, str.Failed_to_create_file._Error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
mov ecx, dword [rbp + 0x954]
mov edx, ecx
mov rcx, rax
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___unsigned_long_int____ptr64]
lea rdx, [0x140011069]
mov rcx, rax
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 rcx, qword [rbp + 0x88]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rbp + 0x924], 0
lea rcx, [rbp + 0xe8]
call fcn.14001183e
nop
lea rcx, [rbp + 0xa8]
call fcn.14001183e
nop
lea rcx, [rbp + 8]
call fcn.14001183e
movzx eax, byte [rbp + 0x924]
jmp 0x14001aa74
mov byte [rbp + 0x584], 1
lea r9, [rbp + 0x144]
mov r8d, 0x400
lea rdx, [rbp + 0x170]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14001a9c5
cmp dword [rbp + 0x144], 0
jbe 0x14001a9c5
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x5a4]
mov r8d, dword [rbp + 0x144]
lea rdx, [rbp + 0x170]
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14001a9c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x954], eax
lea rdx, str.Failed_to_write_to_file._Error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
mov ecx, dword [rbp + 0x954]
mov edx, ecx
mov rcx, rax
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___unsigned_long_int____ptr64]
lea rdx, [0x140011069]
mov rcx, rax
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 + 0x584], 0
jmp 0x14001a9c5
jmp 0x14001a916
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movzx eax, byte [rbp + 0x584]
test eax, eax
je 0x14001aa28
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.1400114ba
lea rdx, [rbp + 0xe8]
mov rcx, rax
call fcn.140011546
lea rdx, [0x14001146f]
mov rcx, rax
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]
jmp 0x14001aa3d
lea rcx, [rbp + 0xe8]
call fcn.140011302
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx eax, byte [rbp + 0x584]
mov byte [rbp + 0x944], al
lea rcx, [rbp + 0xe8]
call fcn.14001183e
nop
lea rcx, [rbp + 0xa8]
call fcn.14001183e
nop
lea rcx, [rbp + 8]
call fcn.14001183e
movzx eax, byte [rbp + 0x944]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400273c0]
call fcn.1400117f3
mov rax, rdi
mov rcx, qword [rbp + 0x958]
xor rcx, rbp
call fcn.140011460
lea rsp, [rbp + 0x968]
pop rdi
pop rbp
ret