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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1248
call fcn.140007f30
sub rsp, rax
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x1230], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.UpdaterService
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140002272
lea rdx, str.Failed_to_open_internet_connection.
lea rcx, [rsp + 0x78]
call fcn.140003cf0
nop
lea rcx, [rsp + 0x78]
call fcn.140001f40
nop
lea rcx, [rsp + 0x78]
call fcn.140003c60
nop
lea rdx, [0x14000974e]
mov rcx, qword [rsp + 0x1250]
call fcn.140003cf0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1250]
jmp 0x14000249f
mov rcx, qword [rsp + 0x1258]
call fcn.140003bd0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000232c
mov r8, qword [rsp + 0x1258]
lea rdx, str.Failed_to_open_URL:
lea rcx, [rsp + 0x98]
call fcn.140005550
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140001f40
nop
lea rcx, [rsp + 0x98]
call fcn.140003c60
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x14000974f]
mov rcx, qword [rsp + 0x1250]
call fcn.140003cf0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1250]
jmp 0x14000249f
mov edx, 0xa
lea rcx, [rsp + 0xd8]
call fcn.1400020b0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x60]
lea rdx, [0x140009c28]
lea rcx, [rsp + 0xb8]
call fcn.140005620
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea r8, str..exe
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x100]
call fcn.140005670
nop
lea rcx, [rsp + 0xb8]
call fcn.140003c60
nop
lea rcx, [rsp + 0xd8]
call fcn.140003c60
nop
mov edx, 0x108
lea rcx, [rsp + 0x120]
call fcn.1400018d0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x120]
call fcn.1400039e0
nop
lea r9, [rsp + 0xf8]
mov r8d, 0x1000
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002439
cmp dword [rsp + 0xf8], 0
je 0x140002439
mov eax, dword [rsp + 0xf8]
mov r8d, eax
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x120]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
nop
jmp 0x1400023e7
lea rcx, [rsp + 0x120]
call fcn.1400038e0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x1250]
call fcn.140003c90
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x120]
call fcn.140002000
nop
lea rcx, [rsp + 0x100]
call fcn.140003c60
mov rax, qword [rsp + 0x1250]
mov rcx, qword [rsp + 0x1230]
xor rcx, rsp
call fcn.140007950
add rsp, 0x1248
ret