Function at 0x180002080
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x60
mov rax, qword [0x180023008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r15, rdx
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_105.0.0.0_Safari_537.36
xor edi, edi
xor edx, edx
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x38], rdi
lea r9, [0x18001ddd0]
mov dword [rsp + 0x30], edi
lea rdx, str.status.backendapi_fe4.workers.dev
mov dword [rsp + 0x28], 3
mov rcx, rax
mov r8d, 0x1bb
mov qword [rsp + 0x20], r9
mov r12, rax
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x38], rdi
lea r8, [0x18001ddd4]
mov dword [rsp + 0x30], 0x800000
lea rdx, [0x18001ddd8]
mov qword [rsp + 0x28], rdi
mov rcx, rax
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r13, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov rcx, rax
lea r8d, [rdi + 0x13]
lea rdx, [0x18001dde0]
mov rbp, rax
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x180002185
nop word [rax + rax]
mov ebx, 0x3e8
mov ecx, 0x3c
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rbx, 1
jne 0x180002155
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea r8d, [rbx + 0x13]
mov rcx, rbp
lea rdx, [0x18001dde0]
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x180002150
mov qword [rsp + 0x90], rsi
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x44]
mov qword [rsp + 0xa0], r14
mov edx, 0x20000013
mov dword [rsp + 0x44], edi
mov rcx, rbp
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [rsp + 0x44], 0xc8
xorps xmm0, xmm0
movups xmmword [r15], xmm0
jne 0x18000229a
mov ecx, 0x200
call fcn.180002510
mov ecx, 0x200
mov rsi, rax
mov r14d, ecx
call fcn.18000a75c
lea r9, [rsp + 0x40]
mov r8d, r14d
mov rdx, rsi
mov rcx, rbp
mov rdi, rax
xor ebx, ebx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18000226c
nop word [rax + rax]
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x18000227e
lea eax, [rcx + rbx]
cmp eax, r14d
jbe 0x180002235
add r14d, r14d
mov rcx, rdi
mov edx, r14d
call fcn.18000a764
mov ecx, dword [rsp + 0x40]
mov rdi, rax
xor eax, eax
test ecx, ecx
je 0x180002251
nop dword [rax + rax]
movzx ecx, byte [rax + rsi]
inc eax
mov byte [rbx + rdi], cl
inc ebx
cmp eax, dword [rsp + 0x40]
jb 0x180002240
lea r9, [rsp + 0x40]
mov r8d, 0x200
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180002210
mov rcx, rsi
call fcn.1800024a0
mov rcx, rdi
call fcn.18000a71c
jmp 0x1800022c7
mov rcx, rsi
call fcn.1800024a0
cmp ebx, 0x500000
mov qword [r15], rdi
mov dword [r15 + 8], ebx
seta al
mov byte [r15 + 0xc], al
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x27]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r14, qword [rsp + 0xa0]
mov rax, r15
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180002480
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret