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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x470
mov rax, qword [0x140026040]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.CarbonLauncher.WINDOWS64
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
test rax, rax
jne 0x140004863
lea rdx, str.Failed_to_initialize_WinINet
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400111c0
lea rdx, [0x140011390]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
xor r8d, r8d
lea rdx, [0x14001d934]
mov rcx, rbp
call fcn.140011d50
jmp 0x1400049c1
mov r9d, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140004871
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 0xf
jbe 0x14000487b
mov rdi, qword [rdi]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
mov r8, rbx
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
jne 0x1400048d0
lea rdx, str.Failed_to_open_URL
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400111c0
lea rdx, [0x140011390]
mov rcx, rax
call qword [sym.imp.MSVCP140.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, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14000483d
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov rbx, r12
mov qword [rsp + 0x50], rbx
mov esi, 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x40], bl
lea r9, [rsp + 0x38]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000499d
nop
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x14000499d
mov edi, eax
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x14000495a
lea rax, [rbx + rdi]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rsi, 0xf
cmova rax, qword [rsp + 0x40]
add rbx, rax
mov r8d, edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140004971
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140011bc0
lea r9, [rsp + 0x38]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000499d
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
jmp 0x140004910
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp + 0x10], xmm1
mov rax, rbp
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14001a1d0
add rsp, 0x470
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret