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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7a0]
sub rsp, 0x8a0
mov rax, qword [0x7ffd21c77690]
xor rax, rsp
mov qword [rbp + 0x790], rax
mov rbx, rdx
mov r15, rcx
mov qword [rbp - 0x68], rcx
mov dword [rbp - 0x68], 1
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.wininet.dll_InternetOpenA]
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
mov esi, 0xf
mov qword [rbp - 0x48], rsi
mov byte [rbp - 0x60], dil
test rax, rax
je 0x7ffd21bce808
cmp qword [rbx + 0x18], 0x10
jb 0x7ffd21bce6ad
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.wininet.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x7ffd21bce808
nop dword [rax]
nop dword [rax + rax]
lea r9, [rbp - 0x68]
mov r8d, 0x7d0
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [sym.imp.wininet.dll_InternetReadFile]
mov ebx, dword [rbp - 0x68]
mov rax, rsi
sub rax, rdi
cmp rbx, rax
ja 0x7ffd21bce732
lea rax, [rbx + rdi]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x60]
cmp rsi, 0x10
cmovae rax, qword [rbp - 0x60]
add rdi, rax
mov r8d, ebx
lea rdx, [rbp - 0x40]
mov rcx, rdi
call sub.vcruntime140.dll_memcpy
mov byte [rdi + rbx], 0
jmp 0x7ffd21bce747
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x40]
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.7ffd21b90400
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x40]
call sub.vcruntime140.dll_memset
cmp dword [rbp - 0x68], 0
je 0x7ffd21bce76b
mov rsi, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x50]
jmp 0x7ffd21bce6e0
mov rcx, r12
call qword [sym.imp.wininet.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.wininet.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 2
lea rdx, [0x7ffd21c576cc]
lea rcx, [rsp + 0x50]
call fcn.7ffd21b902c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 2
lea rdx, [0x7ffd21c5ec5c]
lea rcx, [rsp + 0x30]
call fcn.7ffd21b902c0
nop
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
call fcn.7ffd21b92940
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r15
call fcn.7ffd21bce4c0
nop
lea rcx, [rsp + 0x30]
call fcn.7ffd21b8c150
nop
lea rcx, [rsp + 0x50]
jmp 0x7ffd21bce897
mov rcx, r12
call qword [sym.imp.wininet.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 2
lea rdx, [0x7ffd21c576cc]
lea rcx, [rsp + 0x30]
call fcn.7ffd21b902c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 2
lea rdx, [0x7ffd21c5ec5c]
lea rcx, [rsp + 0x50]
call fcn.7ffd21b902c0
nop
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
call fcn.7ffd21b92940
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, r15
call fcn.7ffd21bce4c0
nop
lea rcx, [rsp + 0x50]
call fcn.7ffd21b8c150
nop
lea rcx, [rsp + 0x30]
call fcn.7ffd21b8c150
nop
lea rcx, [rbp - 0x60]
call fcn.7ffd21b8c150
mov rax, r15
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.7ffd21c3f7f0
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret