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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7a0]
sub rsp, 0x8a0
mov rsi, rdx
mov r15, rcx
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 r13, rax
mov qword [rsp + 0x70], rdi
mov ebx, edi
mov qword [rbp - 0x80], rbx
mov r14d, 0xf
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x70], bl
test rax, rax
je 0x140045aae
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140045798
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 r12, rax
test rax, rax
je 0x140045aae
nop dword [rax]
lea r9, [rbp + 0x7f0]
mov r8d, 0x7d0
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp + 0x7f0]
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x14004581a
lea rax, [rbx + rdi]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x70]
cmp r14, 0x10
cmovae rax, qword [rsp + 0x70]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140045830
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140004150
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp + 0x7f0], 0
je 0x140045857
mov r14, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
jmp 0x1400457c0
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], bl
lea r8d, [rbx + 2]
lea rdx, [0x14004cd7c]
lea rcx, [rsp + 0x50]
call fcn.140003f00
nop
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], bl
lea r8d, [rbx + 2]
lea rdx, [0x1400b764c]
lea rcx, [rsp + 0x30]
call fcn.140003f00
nop
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
lea r12, [rsp + 0x70]
mov rdi, qword [rsp + 0x70]
mov r13, qword [rbp - 0x78]
cmp r13, 0x10
cmovae r12, rdi
mov r14, qword [rbp - 0x80]
cmp r14, 0x10
jae 0x140045901
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x70], xmm0
mov ebx, 0xf
jmp 0x140045979
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140045958
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140045c40
mov rcx, rax
call fcn.140049540
mov rcx, rax
test rax, rax
je 0x140045951
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140045966
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140045964
call fcn.140049540
jmp 0x140045966
xor eax, eax
mov qword [rbp - 0x70], rax
lea r8, [r14 + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], rbx
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.1400455e0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400459da
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400459d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400459d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004957c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140045a1a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045a15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045a15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004957c
xor ebx, ebx
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [r15 + 0x10], xmm1
cmp r13, 0x10
jb 0x140045a68
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140045a5f
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045a5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14004957c
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140045a9e
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140045a99
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140045aa7
mov rcx, r8
call fcn.14004957c
mov qword [rsi + 0x10], rbx
jmp 0x140045c10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov r8d, 2
lea rdx, [0x14004cd7c]
lea rcx, [rsp + 0x30]
call fcn.140003f00
nop
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov r8d, 2
lea rdx, [0x1400b764c]
lea rcx, [rsp + 0x50]
call fcn.140003f00
nop
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 0xf
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.1400455e0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140045b85
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045b7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045b7f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004957c
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140045bc5
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045bc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045bc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004957c
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [r15 + 0x10], xmm1
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140045c0c
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140045c07
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140045c39
mov rcx, r8
call fcn.14004957c
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
mov rax, r15
mov byte [rsi], 0
mov rbx, qword [rsp + 0x8e0]
add rsp, 0x8a0
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]
nop
call fcn.1400038d0
nop
int3