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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x7ff659252080]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x38], rcx
mov qword [rbp - 0x60], rdx
mov dword [rbp - 0x58], 1
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
lea rcx, [0x7ff65923b938]
call qword [sym.imp.wininet.dll_InternetOpenA]
mov rbx, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov edi, esi
mov qword [rbp - 0x40], rsi
mov r15d, 0xf
mov qword [rbp - 0x38], r15
mov byte [rbp - 0x50], sil
test rax, rax
je 0x7ff65916a563
mov rdx, r14
cmp qword [r14 + 0x18], r15
jbe 0x7ff65916a30a
mov rdx, qword [r14]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.wininet.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
je 0x7ff65916a563
movzx ebx, byte [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
lea r9, [rbp - 0x58]
mov r8d, 0x7d0
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.wininet.dll_InternetReadFile]
mov esi, dword [rbp - 0x58]
mov rax, r15
sub rax, rdi
cmp rsi, rax
ja 0x7ff65916a392
lea rax, [rdi + rsi]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
cmp r15, 0xf
cmova rax, qword [rbp - 0x50]
add rdi, rax
mov r8d, esi
lea rdx, [rbp - 0x30]
mov rcx, rdi
call sub.vcruntime140.dll_memcpy
mov byte [rdi + rsi], 0
jmp 0x7ff65916a3ab
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x30]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.7ff659164770
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x30]
call sub.vcruntime140.dll_memset
cmp dword [rbp - 0x58], 0
je 0x7ff65916a3cf
mov r15, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x40]
jmp 0x7ff65916a340
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.wininet.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.wininet.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 2
lea rdx, [0x7ff65923b944]
lea rcx, [rsp + 0x60]
call fcn.7ff6591642f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 2
lea rdx, [0x7ff65923b948]
lea rcx, [rsp + 0x40]
call fcn.7ff6591642f0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.7ff659163a50
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, r13
call fcn.7ff65916a130
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x7ff65916a499
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65916a493
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff65916a493
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff65921dc54
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x7ff65916a4da
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65916a4d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff65916a4d4
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff65921dc54
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x7ff65916a519
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65916a513
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff65916a513
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff65921dc54
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x7ff65916a54f
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x7ff65916a54a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff65916a55c
mov rcx, r8
call fcn.7ff65921dc54
mov qword [r14 + 0x10], 0
jmp 0x7ff65916a6dc
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call qword [sym.imp.wininet.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 2
lea rdx, [0x7ff65923b944]
lea rcx, [rsp + 0x40]
call fcn.7ff6591642f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 2
lea rdx, [0x7ff65923b948]
lea rcx, [rsp + 0x60]
call fcn.7ff6591642f0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.7ff659163a50
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, r13
call fcn.7ff65916a130
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x7ff65916a622
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65916a61c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff65916a61c
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff65921dc54
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x7ff65916a663
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65916a65d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff65916a65d
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff65921dc54
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x7ff65916a6a2
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65916a69c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff65916a69c
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff65921dc54
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x7ff65916a6d8
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x7ff65916a6d3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff65916a715
mov rcx, r8
call fcn.7ff65921dc54
mov qword [r14 + 0x10], rsi
mov rax, r13
mov byte [r14], 0
mov qword [r14 + 0x18], 0xf
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.7ff65921dbf0
mov rbx, qword [rsp + 0x900]
add rsp, 0x8b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3