Function at 0x140069950
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 [0x1401210c0]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x38], rcx
mov qword [rbp - 0x60], rdx
mov dword [rbp - 0x58], 1
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov edi, esi
mov qword [rbp - 0x40], rsi
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], r15
mov byte [rbp - 0x50], sil
test rax, rax
je 0x140069c43
mov rdx, r14
cmp qword [r14 + 0x18], r15
jbe 0x1400699ea
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 0x140069c43
movzx ebx, byte [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
lea r9, [rbp - 0x58]
mov r8d, 0x7d0
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rbp - 0x58]
mov rax, r15
sub rax, rdi
cmp rsi, rax
ja 0x140069a72
lea rax, [rdi + rsi]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
cmp r15, 0xf
cmova rax, qword [rbp - 0x50]
add rdi, rax
mov r8d, esi
lea rdx, [rbp - 0x30]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x140069a8b
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x30]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.14007bf40
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x58], 0
je 0x140069aaf
mov r15, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x40]
jmp 0x140069a20
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 + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 2
lea rdx, [0x140108ea4]
lea rcx, [rsp + 0x60]
call fcn.14006a2b0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 2
lea rdx, [0x14010b1f4]
lea rcx, [rsp + 0x40]
call fcn.14006a2b0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.140076330
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, r13
call fcn.140069810
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140069b79
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069b73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069b73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400eb23c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140069bba
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069bb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069bb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400eb23c
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140069bf9
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069bf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069bf3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400eb23c
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140069c2f
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140069c2a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140069c3c
mov rcx, r8
call fcn.1400eb23c
mov qword [r14 + 0x10], 0
jmp 0x140069dbc
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
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 2
lea rdx, [0x140108ea4]
lea rcx, [rsp + 0x40]
call fcn.14006a2b0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 2
lea rdx, [0x14010b1f4]
lea rcx, [rsp + 0x60]
call fcn.14006a2b0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.140076330
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, r13
call fcn.140069810
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140069d02
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069cfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069cfc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400eb23c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140069d43
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069d3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069d3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400eb23c
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140069d82
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069d7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069d7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400eb23c
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140069db8
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140069db3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140069df5
mov rcx, r8
call fcn.1400eb23c
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 + 0x7a0]
xor rcx, rsp
call fcn.1400eaeb0
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.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3