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

Disassembly:
jmp 0x140030ad0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1838
call fcn.140014357
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x482
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1858]
mov rax, qword [0x140050040]
xor rax, rbp
mov qword [rbp + 0x17f0], rax
lea rcx, [0x14005b167]
call fcn.1400151ee
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.User_Agent
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140030b86
lea rdx, str.InternetOpen_failed.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140014226
mov qword [rbp + 0x17e8], rax
lea rdx, [0x1400140be]
mov rcx, qword [rbp + 0x17e8]
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]
nop
xor al, al
jmp 0x140030d22
mov rcx, qword [rbp + 0x1820]
call fcn.14001461d
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
cmp qword [rbp + 0x28], 0
jne 0x140030c02
lea rdx, str.InternetOpenUrl_failed.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140014226
mov qword [rbp + 0x17e8], rax
lea rdx, [0x1400140be]
mov rcx, qword [rbp + 0x17e8]
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]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
xor al, al
jmp 0x140030d22
mov edx, 0x108
lea rcx, [rbp + 0x50]
call fcn.140014730
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
mov rdx, qword [rbp + 0x1828]
lea rcx, [rbp + 0x50]
call fcn.140015248
nop
lea rcx, [rbp + 0x50]
call fcn.140014c5d
movzx eax, al
test eax, eax
jne 0x140030ca3
lea rdx, str.Failed_to_open_output_file.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140014226
mov qword [rbp + 0x17e8], rax
lea rdx, [0x1400140be]
mov rcx, qword [rbp + 0x17e8]
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]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov byte [rbp + 0x17b4], 0
lea rcx, [rbp + 0x50]
call fcn.140014492
movzx eax, byte [rbp + 0x17b4]
jmp 0x140030d22
lea r9, [rbp + 0x1194]
mov r8d, 0x1000
lea rdx, [rbp + 0x180]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140030ceb
cmp dword [rbp + 0x1194], 0
jbe 0x140030ceb
mov eax, dword [rbp + 0x1194]
mov r8d, eax
lea rdx, [rbp + 0x180]
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]
nop
jmp 0x140030ca3
lea rcx, [rbp + 0x50]
call fcn.140014960
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov byte [rbp + 0x17d4], 1
lea rcx, [rbp + 0x50]
call fcn.140014492
movzx eax, byte [rbp + 0x17d4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140044af0]
call fcn.140014ed3
mov rax, rdi
mov rcx, qword [rbp + 0x17f0]
xor rcx, rbp
call fcn.1400148c5
lea rsp, [rbp + 0x1808]
pop rdi
pop rbp
ret