Function at 0x180006f40
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1868]
mov eax, 0x1968
call fcn.18000b280
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x180010010]
xor rax, rsp
mov qword [rbp + 0x1850], rax
mov r12d, r9d
mov r15, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
movdqa xmm0, xmmword [0x18000ce10]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.https:__
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
cmp rax, rsi
jne 0x1800071ff
mov edx, 0x2f
lea rcx, [rsi + 8]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov rbx, rax
test rax, rax
je 0x1800071ff
mov r8, rax
sub r8, rsi
sub r8, 8
lea rdx, [rsi + 8]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0x80]
sub rcx, rbx
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x180007020
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
mov r8d, 0x1bb
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rsi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0x803000
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, str.HTTP_1.1
lea r8, [rbp + 0x80]
lea rdx, [0x18000cc3c]
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r14, rax
mov dword [rsp + 0x20], r12d
mov r9, r15
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x54]
mov edx, 0x20000013
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1800071e4
cmp dword [rsp + 0x54], 0x194
je 0x1800071e4
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x850]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x50], 0x1000
lea r9, [rsp + 0x50]
mov r8d, 0xfff
lea rdx, [rbp + 0x850]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
lea rax, [rbp + 0x850]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x180007147
lea rdx, [rbp + 0x850]
lea rcx, [rsp + 0x58]
call fcn.180007860
test esi, esi
je 0x1800071d4
cmp dword [rsp + 0x50], 0xfff
jne 0x1800071d4
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x850]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x50], 0x1000
lea r9, [rsp + 0x50]
mov r8d, 0xfff
lea rdx, [rbp + 0x850]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
lea rax, [rbp + 0x850]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x1800071b6
lea rdx, [rbp + 0x850]
lea rcx, [rsp + 0x58]
call fcn.180007860
test esi, esi
jne 0x180007165
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
jmp 0x1800071f0
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rdi + 0x10], xmm1
mov rax, rdi
mov rcx, qword [rbp + 0x1850]
xor rcx, rsp
call fcn.18000a060
add rsp, 0x1968
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret