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

Disassembly:
jmp 0x14009fb40
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1838
call fcn.14004788e
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 [0x14010b248]
xor rax, rbp
mov qword [rbp + 0x17f0], rax
lea rcx, [0x14011d131]
call fcn.140049e59
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.AutoUpdater
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14009fbf4
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.140047537
mov qword [rbp + 0x17e8], rax
lea rdx, [0x1400471d1]
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]
xor al, al
jmp 0x14009fd8c
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x1820]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14009fc66
lea rdx, str.InternetOpenUrlA_failed.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140047537
mov qword [rbp + 0x17e8], rax
lea rdx, [0x1400471d1]
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]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x14009fd8c
mov edx, 0x108
lea rcx, [rbp + 0x50]
call fcn.1400482a2
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
mov rdx, qword [rbp + 0x1828]
lea rcx, [rbp + 0x50]
call fcn.140048248
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 0x14009fd11
lea rdx, str.Failed_to_create_local_file.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140047537
mov qword [rbp + 0x17e8], rax
lea rdx, [0x1400471d1]
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]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rbp + 0x17b4], 0
lea rcx, [rbp + 0x50]
call fcn.140047bbd
movzx eax, byte [rbp + 0x17b4]
jmp 0x14009fd8c
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 0x14009fd58
cmp dword [rbp + 0x1194], 0
jbe 0x14009fd58
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]
jmp 0x14009fd11
lea rcx, [rbp + 0x50]
call fcn.14004886a
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rbp + 0x17d4], 1
lea rcx, [rbp + 0x50]
call fcn.140047bbd
movzx eax, byte [rbp + 0x17d4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400e4d70]
call fcn.14004966b
mov rax, rdi
mov rcx, qword [rbp + 0x17f0]
xor rcx, rbp
call fcn.140048702
lea rsp, [rbp + 0x1808]
pop rdi
pop rbp
ret