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

Disassembly:
push rbp
push rbx
sub rsp, 0x988
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x920], rcx
mov qword [rbp + 0x928], rdx
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
lea rax, str.Mozilla_5.0
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenA]
call rax
mov qword [rbp + 0x8f8], rax
lea rax, [rbp + 0x7b0]
mov rcx, rax
call fcn.140074a00
cmp qword [rbp + 0x8f8], 0
je 0x14000175a
mov rax, qword [rbp + 0x928]
mov rcx, rax
call fcn.1400664a0
mov rdx, rax
mov rax, qword [rbp + 0x8f8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenUrlA]
call rax
mov qword [rbp + 0x8f0], rax
cmp qword [rbp + 0x8f0], 0
je 0x14000175a
lea rcx, [rbp + 0x78c]
lea rdx, [rbp - 0x50]
mov rax, qword [rbp + 0x8f0]
mov r9, rcx
mov r8d, 0x7d0
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetReadFile]
call rax
mov eax, dword [rbp + 0x78c]
mov ecx, eax
lea rdx, [rbp - 0x50]
lea rax, [rbp + 0x7b0]
mov r8, rcx
mov rcx, rax
call fcn.140073c60
lea rax, [rbp - 0x50]
mov r8d, 0x7d0
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov eax, dword [rbp + 0x78c]
test eax, eax
jne 0x1400015de
mov rax, qword [rbp + 0x8f8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x8f0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
lea rax, [rbp + 0x7ff]
mov qword [rbp + 0x8e8], rax
nop
nop
lea rdx, [rbp + 0x7ff]
lea rax, [rbp + 0x7d0]
mov r8, rdx
lea rdx, [0x1400810a5]
mov rcx, rax
call fcn.140074bb0
lea rax, [rbp + 0x82f]
mov qword [rbp + 0x8e0], rax
nop
nop
lea rdx, [rbp + 0x82f]
lea rax, [rbp + 0x800]
mov r8, rdx
lea rdx, [0x1400810a8]
mov rcx, rax
call fcn.140074bb0
lea rdx, [rbp + 0x7b0]
lea rax, [rbp + 0x830]
mov rcx, rax
call fcn.140074920
mov rax, qword [rbp + 0x920]
lea r8, [rbp + 0x7d0]
lea rcx, [rbp + 0x800]
lea rdx, [rbp + 0x830]
mov r9, r8
mov r8, rcx
mov rcx, rax
call fcn.14000147c
lea rax, [rbp + 0x830]
mov rcx, rax
call fcn.140074da0
lea rax, [rbp + 0x800]
mov rcx, rax
call fcn.140074da0
nop
lea rax, [rbp + 0x7d0]
mov rcx, rax
call fcn.140074da0
nop
mov eax, 1
test al, al
jne 0x140001861
mov rax, qword [rbp + 0x920]
mov rcx, rax
call fcn.140074da0
jmp 0x140001861
mov rax, qword [rbp + 0x8f8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
lea rax, [rbp + 0x87f]
mov qword [rbp + 0x8d8], rax
nop
nop
lea rdx, [rbp + 0x87f]
lea rax, [rbp + 0x850]
mov r8, rdx
lea rdx, [0x1400810a5]
mov rcx, rax
call fcn.140074bb0
lea rax, [rbp + 0x8af]
mov qword [rbp + 0x8d0], rax
nop
nop
lea rdx, [rbp + 0x8af]
lea rax, [rbp + 0x880]
mov r8, rdx
lea rdx, [0x1400810a8]
mov rcx, rax
call fcn.140074bb0
lea rdx, [rbp + 0x7b0]
lea rax, [rbp + 0x8b0]
mov rcx, rax
call fcn.140074920
lea rax, [rbp + 0x790]
lea r8, [rbp + 0x850]
lea rcx, [rbp + 0x880]
lea rdx, [rbp + 0x8b0]
mov r9, r8
mov r8, rcx
mov rcx, rax
call fcn.14000147c
lea rax, [rbp + 0x8b0]
mov rcx, rax
call fcn.140074da0
lea rax, [rbp + 0x880]
mov rcx, rax
call fcn.140074da0
nop
lea rax, [rbp + 0x850]
mov rcx, rax
call fcn.140074da0
nop
lea rdx, [rbp + 0x790]
mov rax, qword [rbp + 0x920]
mov rcx, rax
call fcn.140074700
lea rax, [rbp + 0x790]
mov rcx, rax
call fcn.140074da0
lea rax, [rbp + 0x7b0]
mov rcx, rax
call fcn.140074da0
jmp 0x140001924
mov rax, qword [rbp + 0x920]
add rsp, 0x988
pop rbx
pop rbp
ret