Function at 0x7ff7690c1b40
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 - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x7ff769193080]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rbx, rdx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x38], rcx
mov dword [rbp - 0x38], 1
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, [0x7ff76917b968]
call qword [sym.imp.wininet.dll_InternetOpenA]
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov edi, r13d
mov qword [rbp - 0x20], r13
mov r14d, 0xf
mov qword [rbp - 0x18], r14
mov byte [rbp - 0x30], dil
test rax, rax
je 0x7ff7690c1e27
cmp qword [rbx + 0x18], r14
jbe 0x7ff7690c1bd2
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.wininet.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x7ff7690c1e27
movzx ebx, byte [rsp + 0x30]
nop
lea r9, [rbp - 0x38]
mov r8d, 0x7d0
lea rdx, [rbp - 0x10]
mov rcx, r15
call qword [sym.imp.wininet.dll_InternetReadFile]
mov esi, dword [rbp - 0x38]
mov rax, r14
sub rax, rdi
cmp rsi, rax
ja 0x7ff7690c1c52
lea rax, [rdi + rsi]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x30]
cmp r14, 0xf
cmova rax, qword [rbp - 0x30]
add rdi, rax
mov r8d, esi
lea rdx, [rbp - 0x10]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
jmp 0x7ff7690c1c6b
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x10]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.7ff7690ba9b0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x38], 0
je 0x7ff7690c1c8f
mov r14, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x20]
jmp 0x7ff7690c1c00
mov rcx, r12
call qword [sym.imp.wininet.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.wininet.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov r8d, 2
lea rdx, [0x7ff769171774]
lea rcx, [rsp + 0x38]
call fcn.7ff7690ba770
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov r8d, 2
lea rdx, [0x7ff76917b974]
lea rcx, [rsp + 0x58]
call fcn.7ff7690ba770
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
call fcn.7ff7690be670
mov r14, rax
mov qword [rsp + 0x78], rax
mov rbx, r13
mov rdi, qword [rsp + 0x68]
lea rsi, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rsi, qword [rsp + 0x58]
mov rax, qword [r14 + 0x10]
mov r13, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x7ff7690c1d34
mov r13, qword [r14]
cmp rdi, rax
ja 0x7ff7690c1d9f
sub rax, rdi
cmp rbx, rax
ja 0x7ff7690c1d9f
test rdi, rdi
je 0x7ff7690c1dee
lea r15, [rax + r13]
lea rcx, [rbx + r13]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, rcx
mov edx, r12d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x7ff7690c1d9f
nop dword [rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x7ff7690c1deb
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x7ff7690c1d70
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x80]
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], 0xf
mov byte [r14], al
mov rcx, r14
call fcn.7ff7690b6990
nop
lea rcx, [rsp + 0x58]
call fcn.7ff7690b6990
nop
jmp 0x7ff7690c1f7a
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x7ff7690c1d9f
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova r9, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.7ff7690bf9f0
add rbx, qword [rsp + 0x48]
jmp 0x7ff7690c1d12
mov rcx, r12
call qword [sym.imp.wininet.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov r8d, 2
lea rdx, [0x7ff769171774]
lea rcx, [rsp + 0x38]
call fcn.7ff7690ba770
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov r8d, 2
lea rdx, [0x7ff76917b974]
lea rcx, [rsp + 0x58]
call fcn.7ff7690ba770
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x58]
call fcn.7ff7690be670
mov r14, rax
mov qword [rsp + 0x78], rax
mov rbx, r13
mov rdi, qword [rsp + 0x68]
lea rsi, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rsi, qword [rsp + 0x58]
mov rax, qword [r14 + 0x10]
mov r13, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x7ff7690c1ec3
mov r13, qword [r14]
cmp rdi, rax
ja 0x7ff7690c1f33
sub rax, rdi
cmp rbx, rax
ja 0x7ff7690c1f33
test rdi, rdi
je 0x7ff7690c1fbe
lea r15, [rax + r13]
lea rcx, [rbx + r13]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, rcx
mov edx, r12d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x7ff7690c1f33
nop dword [rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x7ff7690c1fbb
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x7ff7690c1f00
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x80]
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], 0xf
mov byte [r14], al
mov rcx, r14
call fcn.7ff7690b6990
nop
lea rcx, [rsp + 0x58]
call fcn.7ff7690b6990
nop
lea rcx, [rsp + 0x38]
call fcn.7ff7690b6990
nop
lea rcx, [rbp - 0x30]
call fcn.7ff7690b6990
mov rax, rbx
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.7ff76915d150
mov rbx, qword [rsp + 0x920]
add rsp, 0x8d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x7ff7690c1f33
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova r9, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.7ff7690bf9f0
add rbx, qword [rsp + 0x48]
jmp 0x7ff7690c1ea1