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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x788]
sub rsp, 0x888
mov rdi, rdx
mov dword [rbp + reloc.VCRUNTIME140.dll___std_exception_copy], 1
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, [0x7ff7eaa67870]
call qword [sym.imp.wininet.dll_InternetOpenA]
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov ebx, r12d
mov qword [rsp + 0x60], rbx
mov esi, 0xf
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x50], bl
test rax, rax
je 0x7ff7eaa516ac
mov rdx, rdi
cmp qword [rdi + 0x18], rsi
jbe 0x7ff7eaa513a8
mov rdx, qword [rdi]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.wininet.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x7ff7eaa516ac
nop dword [rax]
lea r9, [rbp + 0x7e0]
mov r8d, 0x7d0
lea rdx, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.wininet.dll_InternetReadFile]
mov edi, dword [rbp + reloc.VCRUNTIME140.dll___std_exception_copy]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x7ff7eaa5142b
lea rax, [rbx + rdi]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rsi, 0xf
cmova rax, qword [rsp + 0x50]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.7ff7eaa532b0
mov byte [rbx + rdi], 0
jmp 0x7ff7eaa51441
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.7ff7eaa3c350
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x50]
call fcn.7ff7eaa5319c
cmp dword [rbp + reloc.VCRUNTIME140.dll___std_exception_copy], 0
je 0x7ff7eaa5146a
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
jmp 0x7ff7eaa513d0
mov rcx, r15
call qword [sym.imp.wininet.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.wininet.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 2
mov r13d, 0xf
mov qword [rsp + 0x48], r13
mov eax, 0xa0d
mov word [rsp + 0x30], ax
mov byte [rsp + 0x32], 0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], 2
mov qword [rbp - 0x78], r13
mov eax, 0x6e7c
mov word [rsp + 0x70], ax
mov byte [rsp + 0x72], 0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.7ff7eaa386e0
mov rdi, rax
mov qword [rbp + 0x7e8], rax
mov rdx, r12
movzx r15d, byte [rsp + 0x71]
movzx r12d, byte [rsp + 0x70]
nop
mov rcx, qword [rdi + 0x10]
mov r14, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x7ff7eaa51501
mov r14, qword [rdi]
cmp rcx, 2
jb 0x7ff7eaa5156c
add rcx, 0xfffffffffffffffe
cmp rdx, rcx
ja 0x7ff7eaa5156c
lea rsi, [r14 + rcx]
lea rcx, [r14 + rdx]
lea r8, [rsi + 1]
sub r8, rcx
mov edx, 0x7c
call fcn.7ff7eaa5329e
mov rbx, rax
test rax, rax
je 0x7ff7eaa5156c
cmp byte [rbx], r12b
jne 0x7ff7eaa51540
cmp byte [rbx + 1], r15b
jne 0x7ff7eaa51540
xor eax, eax
jmp 0x7ff7eaa51545
sbb eax, eax
or eax, 1
test eax, eax
je 0x7ff7eaa515d8
inc rbx
lea r8, [rsi + 1]
sub r8, rbx
mov edx, 0x7c
mov rcx, rbx
call fcn.7ff7eaa5329e
mov rbx, rax
test rax, rax
jne 0x7ff7eaa51531
xorps xmm0, xmm0
mov rsi, qword [rbp + 0x7d0]
movups xmmword [rsi], xmm0
xor r14d, r14d
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r14b
cmp r13, 0xf
jbe 0x7ff7eaa51623
lea rdx, [r13 + 1]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7eaa5161d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7eaa5161d
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x7ff7eaa5156c
lea r9, [rsp + 0x30]
cmp r13, 0xf
cmova r9, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, 2
mov rdx, rbx
mov rcx, rdi
call fcn.7ff7eaa51910
mov rdx, qword [rsp + 0x40]
add rdx, rbx
mov r13, qword [rsp + 0x48]
jmp 0x7ff7eaa514f0
call fcn.7ff7eaa524a0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x7ff7eaa51664
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7eaa5165e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7eaa5165e
jmp qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
call fcn.7ff7eaa524a0
nop
mov rbx, qword [rbp + 0x7d8]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x7ff7eaa518e1
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x7ff7eaa518dc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x7ff7eaa518d9
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r15
call qword [sym.imp.wininet.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 2
mov r13d, 0xf
mov qword [rsp + 0x48], r13
mov eax, 0xa0d
mov word [rsp + 0x30], ax
mov byte [rsp + 0x32], 0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], 2
mov qword [rbp - 0x78], r13
mov eax, 0x6e7c
mov word [rsp + 0x70], ax
mov byte [rsp + 0x72], 0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.7ff7eaa386e0
mov rdi, rax
mov qword [rbp + 0x7e0], rax
mov rdx, r12
movzx r15d, byte [rsp + 0x71]
movzx r12d, byte [rsp + 0x70]
nop word [rax + rax]
mov rcx, qword [rdi + 0x10]
mov r14, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x7ff7eaa51741
mov r14, qword [rdi]
cmp rcx, 2
jb 0x7ff7eaa517ac
add rcx, 0xfffffffffffffffe
cmp rdx, rcx
ja 0x7ff7eaa517ac
lea rsi, [r14 + rcx]
lea rcx, [r14 + rdx]
lea r8, [rsi + 1]
sub r8, rcx
mov edx, 0x7c
call fcn.7ff7eaa5329e
mov rbx, rax
test rax, rax
je 0x7ff7eaa517ac
cmp byte [rbx], r12b
jne 0x7ff7eaa51780
cmp byte [rbx + 1], r15b
jne 0x7ff7eaa51780
xor eax, eax
jmp 0x7ff7eaa51785
sbb eax, eax
or eax, 1
test eax, eax
je 0x7ff7eaa51818
inc rbx
lea r8, [rsi + 1]
sub r8, rbx
mov edx, 0x7c
mov rcx, rbx
call fcn.7ff7eaa5329e
mov rbx, rax
test rax, rax
jne 0x7ff7eaa51771
xorps xmm0, xmm0
mov rsi, qword [rbp + 0x7d0]
movups xmmword [rsi], xmm0
xor r14d, r14d
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r14b
cmp r13, 0xf
jbe 0x7ff7eaa51863
lea rdx, [r13 + 1]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7eaa5185d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7eaa5185d
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x7ff7eaa517ac
lea r9, [rsp + 0x30]
cmp r13, 0xf
cmova r9, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, 2
mov rdx, rbx
mov rcx, rdi
call fcn.7ff7eaa51910
mov rdx, qword [rsp + 0x40]
add rdx, rbx
mov r13, qword [rsp + 0x48]
jmp 0x7ff7eaa51730
call fcn.7ff7eaa524a0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x7ff7eaa518a4
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7eaa5189e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7eaa5189e
jmp qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
call fcn.7ff7eaa524a0
nop
mov rbx, qword [rbp + 0x7d8]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x7ff7eaa518e1
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x7ff7eaa518dc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff7eaa51907
mov rcx, r8
call fcn.7ff7eaa524a0
mov rax, rsi
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r14
add rsp, 0x888
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
jmp qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]