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

Disassembly:
jmp 0x14001c770
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xd2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x518]
mov rax, qword [0x140031040]
xor rax, rbp
mov qword [rbp + 0x4b8], rax
lea rcx, [0x1400390fb]
call fcn.140011a4b
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Download_Manager
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14001c81c
lea rdx, str.Error:_Unable_to_initialize_WinINet.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011145
mov qword [rbp + 0x488], rax
lea rdx, [0x14001106e]
mov rcx, qword [rbp + 0x488]
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]
jmp 0x14001cac2
lea rcx, [rbp + 0x3b4]
call fcn.1400115a5
mov qword [rbp + 0x488], rax
lea rax, [rbp + 0x3d8]
mov qword [rbp + 0x408], rax
mov rdx, qword [rbp + 0x408]
mov rcx, qword [rbp + 0x4e0]
call fcn.14001118b
mov qword [rbp + 0x490], rax
mov rax, qword [rbp + 0x490]
mov qword [rbp + 0x498], rax
lea rax, [rbp + 0x428]
mov qword [rbp + 0x458], rax
mov rdx, qword [rbp + 0x458]
mov rcx, qword [rbp + 0x4e0]
call fcn.14001100a
mov qword [rbp + 0x4a0], rax
mov rax, qword [rbp + 0x4a0]
mov qword [rbp + 0x4a8], rax
mov r9, qword [rbp + 0x488]
mov r8, qword [rbp + 0x498]
mov rdx, qword [rbp + 0x4a8]
lea rcx, [rbp + 0x378]
call fcn.140011311
mov qword [rbp + 0x4b0], rax
mov rcx, qword [rbp + 0x4b0]
call fcn.140011361
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_InternetOpenUrlW]
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x378]
call fcn.140011901
cmp qword [rbp + 0x28], 0
jne 0x14001c947
lea rdx, str.Error:_Unable_to_open_URL.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011145
mov qword [rbp + 0x488], rax
lea rdx, [0x14001106e]
mov rcx, qword [rbp + 0x488]
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 + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14001cac2
mov edx, 0x108
lea rcx, [rbp + 0x50]
call fcn.14001140b
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
mov rdx, qword [rbp + 0x4e8]
lea rcx, [rbp + 0x50]
call fcn.140011a78
nop
lea rcx, [rbp + 0x50]
call fcn.140011735
movzx eax, al
test eax, eax
jne 0x14001c9db
lea rdx, str.Error:_Unable_to_open_file_for_writing.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011145
mov qword [rbp + 0x488], rax
lea rdx, [0x14001106e]
mov rcx, qword [rbp + 0x488]
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 + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rbp + 0x50]
call fcn.14001128a
jmp 0x14001cac2
mov dword [rbp + 0x174], 0x2000
mov edx, 0x20
lea rcx, [rbp + 0x198]
call fcn.1400118d4
lea rcx, [rbp + 0x474]
call fcn.140011267
mov r8, rax
mov edx, 0x2000
lea rcx, [rbp + 0x198]
call fcn.140011753
nop
mov dword [rbp + 0x1d4], 0
lea rcx, [rbp + 0x198]
call fcn.1400112f3
lea r9, [rbp + 0x1d4]
mov r8d, 0x2000
mov rdx, rax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14001ca8e
cmp dword [rbp + 0x1d4], 0
jbe 0x14001ca8e
mov eax, dword [rbp + 0x1d4]
mov qword [rbp + 0x488], rax
lea rcx, [rbp + 0x198]
call fcn.1400112f3
mov qword [rbp + 0x490], rax
mov r8, qword [rbp + 0x488]
mov rdx, qword [rbp + 0x490]
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 0x14001ca21
lea rcx, [rbp + 0x50]
call fcn.140011546
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rbp + 0x198]
call fcn.140011983
nop
lea rcx, [rbp + 0x50]
call fcn.14001128a
lea rcx, [rbp - 0x30]
lea rdx, [0x14002a410]
call fcn.1400118ac
mov rcx, qword [rbp + 0x4b8]
xor rcx, rbp
call fcn.1400114f6
lea rsp, [rbp + 0x4c8]
pop rdi
pop rbp
ret