Function at 0x7ff627a0c280
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 [0x7ff627aa8040]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rsi, rdx
mov r12, rcx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], 1
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
lea rcx, [0x7ff627a94378]
call qword [sym.imp.wininet.dll_InternetOpenA]
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov ebx, edi
mov qword [rbp - 0x48], rbx
mov r14d, 0xf
mov qword [rbp - 0x40], r14
mov byte [rbp - 0x58], bl
test rax, rax
je 0x7ff627a0c55e
mov rdx, rsi
cmp qword [rsi + 0x18], r14
jbe 0x7ff627a0c313
mov rdx, qword [rsi]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.wininet.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x7ff627a0c55e
nop word [rax + rax]
lea r9, [rbp - 0x60]
mov r8d, 0x7d0
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.wininet.dll_InternetReadFile]
mov edi, dword [rbp - 0x60]
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x7ff627a0c392
lea rax, [rbx + rdi]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x58]
cmp r14, 0xf
cmova rax, qword [rbp - 0x58]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy_1
mov byte [rbx + rdi], 0
jmp 0x7ff627a0c3a7
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.7ff627a04610
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x60], 0
je 0x7ff627a0c3cb
mov r14, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x48]
jmp 0x7ff627a0c340
mov rcx, r13
call qword [sym.imp.wininet.dll_InternetCloseHandle]
mov rcx, r15
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, [0x7ff627a94384]
lea rcx, [rsp + 0x50]
call fcn.7ff627a04190
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 2
lea rdx, [0x7ff627a94388]
lea rcx, [rsp + 0x30]
call fcn.7ff627a04190
nop
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x78]
call fcn.7ff627a038f0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r12
call fcn.7ff627a0c140
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x7ff627a0c494
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a0c48e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a0c48e
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x7ff627a0c4d5
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a0c4cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a0c4cf
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x7ff627a0c514
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a0c50e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a0c50e
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x7ff627a0c54a
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x7ff627a0c545
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff627a0c557
mov rcx, r8
call fcn.7ff627a83324
mov qword [rsi + 0x10], 0
jmp 0x7ff627a0c6d8
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r13
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, [0x7ff627a94384]
lea rcx, [rsp + 0x30]
call fcn.7ff627a04190
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 2
lea rdx, [0x7ff627a94388]
lea rcx, [rsp + 0x50]
call fcn.7ff627a04190
nop
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x78]
call fcn.7ff627a038f0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, r12
call fcn.7ff627a0c140
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x7ff627a0c61e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a0c618
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a0c618
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x7ff627a0c65f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a0c659
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a0c659
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x7ff627a0c69e
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a0c698
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a0c698
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x7ff627a0c6d4
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x7ff627a0c6cf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff627a0c710
mov rcx, r8
call fcn.7ff627a83324
mov qword [rsi + 0x10], rdi
mov rax, r12
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.7ff627a832c0
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