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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov r12, r8
mov qword [rbp - 0x78], r8
mov qword [rbp - 0x80], rdx
mov qword [rsp + 0x30], rdx
mov qword [rbp - 0x28], r8
mov dword [rbp - 0x20], 1
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov ebx, r13d
mov qword [rbp - 8], rbx
mov esi, 0xf
mov qword [rbp], rsi
mov byte [rbp - 0x18], bl
test rax, rax
je 0x140001a29
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1400016cf
mov rdx, qword [r12]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x140001a29
nop dword [rax]
nop dword [rax + rax]
lea r9, [rbp - 0x20]
mov r8d, 0x7d0
lea rdx, [rbp + 0x10]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp - 0x20]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x140001752
lea rax, [rbx + rdi]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x18]
cmp rsi, 0x10
cmovae rax, qword [rbp - 0x18]
add rbx, rax
mov r8d, edi
lea rdx, [rbp + 0x10]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140001767
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x10]
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.140002c10
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x20], 0
je 0x14000178b
mov rsi, qword [rbp]
mov rbx, qword [rbp - 8]
jmp 0x140001700
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 + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 2
lea rdx, [0x14006aed4]
lea rcx, [rsp + 0x40]
call fcn.140002da0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8d, 2
lea rdx, [0x14006aed8]
lea rcx, [rsp + 0x60]
call fcn.140002da0
nop
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x68]
call fcn.140002770
mov r14, rax
mov qword [rbp - 0x70], rax
mov rbx, r13
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x38], rcx
mov rdi, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rsi, [rsp + 0x60]
cmp rcx, 0x10
cmovae rsi, rax
mov rax, qword [r14 + 0x10]
mov r13, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14000183f
mov r13, qword [r14]
cmp rdi, rax
ja 0x1400018e3
sub rax, rdi
cmp rbx, rax
ja 0x1400018e3
test rdi, rdi
je 0x1400018a0
lea r15, [rax + r13]
lea rcx, [rbx + r13]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, rcx
mov edx, r12d
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rbx, rax
je 0x1400018e3
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000189d
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov rcx, rbx
jmp 0x14000186c
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x1400018e3
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r9, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.140002890
add rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
jmp 0x140001821
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x80]
movups xmmword [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [r14 + 0x18], 0xf
mov byte [r14], dil
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 0xf
mov byte [r14], dil
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140001962
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000195c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000195c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400668e4
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400019a3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000199d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000199d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400668e4
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1400019e2
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400668e4
nop
mov r12, qword [rbp - 0x78]
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x140001cbd
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x140001cb8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140001cb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 2
lea rdx, [0x14006aed4]
lea rcx, [rsp + 0x40]
call fcn.140002da0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8d, 2
lea rdx, [0x14006aed8]
lea rcx, [rsp + 0x60]
call fcn.140002da0
nop
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x48]
call fcn.140002770
mov r14, rax
mov qword [rbp - 0x70], rax
mov rbx, r13
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x30], rcx
mov rdi, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
nop word [rax + rax]
lea rsi, [rsp + 0x60]
cmp rcx, 0x10
cmovae rsi, rax
mov rax, qword [r14 + 0x10]
mov r13, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140001ade
mov r13, qword [r14]
cmp rdi, rax
ja 0x140001b82
sub rax, rdi
cmp rbx, rax
ja 0x140001b82
test rdi, rdi
je 0x140001b3f
lea r15, [rax + r13]
lea rcx, [rbx + r13]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, rcx
mov edx, r12d
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rbx, rax
je 0x140001b82
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140001b3c
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov rcx, rbx
jmp 0x140001b0b
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x140001b82
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r9, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.140002890
add rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
jmp 0x140001ac0
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x80]
movups xmmword [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [r14 + 0x18], 0xf
mov byte [r14], dil
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 0xf
mov byte [r14], dil
mov rdx, qword [rsp + 0x30]
cmp rdx, 0x10
jb 0x140001c01
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001bfb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400668e4
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140001c42
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400668e4
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x140001c81
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400668e4
nop
mov r12, qword [rbp - 0x78]
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x140001cbd
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x140001cb8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001cfd
mov rcx, r8
call fcn.1400668e4
mov rax, rbx
mov byte [r12], 0
mov qword [r12 + 0x18], 0xf
mov qword [r12 + 0x10], rdi
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.140066880
mov rbx, qword [rsp + 0x930]
add rsp, 0x8f0
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