Function at 0x140002730
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140045110]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r15, r8
mov rdi, rdx
mov rbx, rcx
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
lea r8d, [r12 + 0x7d]
lea rdx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_128.0.0.0_Safari_537.36_Edg_128.0.0.0
lea rcx, [rsp + 0x38]
call fcn.140004260
nop
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
lea r8d, [r12 + 7]
lea rdx, str.WinHTTP
lea rcx, [rsp + 0x58]
call fcn.140004260
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
je 0x14000290d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80003000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
jne 0x14000283c
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80003000
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
je 0x140002904
mov dword [rsp + 0x30], r12d
mov ebx, r12d
mov ecx, 0x400
call fcn.140013dec
mov rdi, rax
mov rbp, r12
test rax, rax
je 0x1400028fb
mov r13, 0xffffffffffffffff
nop dword [rax]
nop dword [rax + rax]
lea r9, [rsp + 0x30]
mov r8d, 0x400
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400028f3
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x1400028c7
mov edx, ebx
add edx, ecx
cmovb rdx, r13
mov rcx, rbp
call fcn.140011410
test rax, rax
je 0x1400028e6
mov rbp, rax
mov r8d, dword [rsp + 0x30]
mov ecx, ebx
add rcx, rax
mov rdx, rdi
call fcn.14000d360
mov eax, dword [rsp + 0x30]
add ebx, eax
test eax, eax
jne 0x140002870
mov rcx, rdi
call fcn.1400138c4
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [r15], ebx
jmp 0x140002910
mov rcx, rdi
call fcn.1400138c4
mov rcx, rbp
jmp 0x1400028f6
mov rcx, rdi
call fcn.1400138c4
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbp, r12
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14000294f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002949
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029be
call fcn.14000b504
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14000298d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002988
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029b8
call fcn.14000b504
mov rax, rbp
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000b4e0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140013d74
nop
call fcn.140013d74
nop
int3