Function at 0x140007c70
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 [0x1400ac0c0]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x38], rcx
mov qword [rbp - 0x40], rdx
mov dword [rbp - 0x38], 1
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x140095950]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov edi, esi
mov qword [rbp - 0x20], rsi
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x18], r15
mov byte [rbp - 0x30], sil
test rax, rax
je 0x140007ff6
mov rdx, r14
cmp qword [r14 + 0x18], r15
jbe 0x140007d0c
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 0x140007ff6
movzx ebx, byte [rsp + 0x30]
nop word [rax + rax]
lea r9, [rbp - 0x38]
mov r8d, 0x7d0
lea rdx, [rbp - 0x10]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rbp - 0x38]
mov rax, r15
sub rax, rdi
cmp rsi, rax
ja 0x140007d92
lea rax, [rdi + rsi]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x30]
cmp r15, 0xf
cmova rax, qword [rbp - 0x30]
add rdi, rax
mov r8d, esi
lea rdx, [rbp - 0x10]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x140007dab
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x10]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.14001b530
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x38], 0
je 0x140007dcf
mov r15, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x20]
jmp 0x140007d40
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 + 0x40], xmm0
xor r12d, r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, 2
lea rdx, [0x14009595c]
lea rcx, [rsp + 0x40]
call fcn.14001b6c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 2
lea rdx, [0x140095960]
lea rcx, [rsp + 0x60]
call fcn.14001b6c0
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x80]
call fcn.140019670
mov rbx, rax
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400192b0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140007eb4
mov r15, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r9, qword [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov r8, r15
mov rdx, rdi
mov rcx, rbx
call fcn.140019f20
mov rsi, qword [rsp + 0x50]
lea r8, [rsi + rdi]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400192b0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140007e71
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
movups xmm0, xmmword [rbx]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r13 + 0x10], xmm1
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140007f30
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007f2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082104
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140007f71
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007f6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082104
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140007fb0
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007faa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007faa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082104
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140007fe6
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140007fe1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007fef
mov rcx, r8
call fcn.140082104
mov qword [r14 + 0x10], r12
jmp 0x14000820b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8d, 2
lea rdx, [0x14009595c]
lea rcx, [rsp + 0x40]
call fcn.14001b6c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 2
lea rdx, [0x140095960]
lea rcx, [rsp + 0x60]
call fcn.14001b6c0
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x60]
call fcn.140019670
mov rbx, rax
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400192b0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400080d5
mov r15, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x50]
nop word [rax + rax]
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r9, qword [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov r8, r15
mov rdx, rdi
mov rcx, rbx
call fcn.140019f20
mov rsi, qword [rsp + 0x50]
lea r8, [rsi + rdi]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400192b0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140008090
xor esi, esi
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], rsi
movups xmm0, xmmword [rbx]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r13 + 0x10], xmm1
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140008151
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000814b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000814b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082104
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140008192
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000818c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000818c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082104
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400081d1
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400081cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082104
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140008207
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140008202
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008244
mov rcx, r8
call fcn.140082104
mov qword [r14 + 0x10], rsi
mov rax, r13
mov byte [r14], 0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140081d90
mov rbx, qword [rsp + 0x920]
add rsp, 0x8d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3