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

Disassembly:
jmp 0x140160930
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xfb8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2c2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xfd8]
mov rax, qword [0x140397c08]
xor rax, rbp
mov qword [rbp + 0xf70], rax
mov dword [rbp + 0xf54], 1
lea rcx, [0x1403ffa9a]
call fcn.1400f2ea2
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 8], rax
lea rcx, [rbp + 0x48]
call fcn.1400f2e48
nop
cmp qword [rbp + 8], 0
je 0x140160b4b
mov rcx, qword [rbp + 0xfa8]
call fcn.1400ee70d
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140160b4b
lea r9, [rbp + 0x874]
mov r8d, 0x7d0
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rbp + 0x874]
mov r8d, eax
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x48]
call fcn.1400f32a8
mov r8d, 0x7d0
xor edx, edx
lea rcx, [rbp + 0x90]
call fcn.1400f1aa2
cmp dword [rbp + 0x874], 0
jne 0x140160a00
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x1402ec220]
lea rcx, [rbp + 0xd98]
call fcn.1400f0341
nop
lea rdx, [0x1402ec224]
lea rcx, [rbp + 0xdd8]
call fcn.1400f0341
nop
lea rax, [rbp + 0xe18]
mov qword [rbp + 0xe58], rax
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0xe58]
call fcn.1400eea5a
mov qword [rbp + 0xf68], rax
lea r9, [rbp + 0xd98]
lea r8, [rbp + 0xdd8]
mov rdx, qword [rbp + 0xf68]
mov rcx, qword [rbp + 0xfa0]
call fcn.1400ee1ef
mov eax, dword [rbp + 0xf54]
or eax, 1
mov dword [rbp + 0xf54], eax
lea rcx, [rbp + 0xdd8]
call fcn.1400eee5b
nop
lea rcx, [rbp + 0xd98]
call fcn.1400eee5b
mov dword [rbp + 0xf54], 0
mov eax, dword [rbp + 0xf54]
and eax, 1
test eax, eax
je 0x140160b29
and dword [rbp + 0xf54], 0xfffffffe
mov rcx, qword [rbp + 0xfa0]
call fcn.1400eee5b
nop
lea rcx, [rbp + 0x48]
call fcn.1400eee5b
nop
mov rcx, qword [rbp + 0xfa8]
call fcn.1400eee5b
mov rax, qword [rbp + 0xfa0]
jmp 0x140160c33
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x1402ec220]
lea rcx, [rbp + 0xe78]
call fcn.1400f0341
nop
lea rdx, [0x1402ec224]
lea rcx, [rbp + 0xeb8]
call fcn.1400f0341
nop
lea rax, [rbp + 0xef8]
mov qword [rbp + 0xf38], rax
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0xf38]
call fcn.1400eea5a
mov qword [rbp + 0xf68], rax
lea r9, [rbp + 0xe78]
lea r8, [rbp + 0xeb8]
mov rdx, qword [rbp + 0xf68]
mov rcx, qword [rbp + 0xfa0]
call fcn.1400ee1ef
mov eax, dword [rbp + 0xf54]
or eax, 2
mov dword [rbp + 0xf54], eax
lea rcx, [rbp + 0xeb8]
call fcn.1400eee5b
nop
lea rcx, [rbp + 0xe78]
call fcn.1400eee5b
mov dword [rbp + 0xf54], 0
mov eax, dword [rbp + 0xf54]
and eax, 2
test eax, eax
je 0x140160c16
and dword [rbp + 0xf54], 0xfffffffd
mov rcx, qword [rbp + 0xfa0]
call fcn.1400eee5b
nop
lea rcx, [rbp + 0x48]
call fcn.1400eee5b
nop
mov rcx, qword [rbp + 0xfa8]
call fcn.1400eee5b
mov rax, qword [rbp + 0xfa0]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1402ec068]
call fcn.1400f20d8
mov rax, rdi
mov rcx, qword [rbp + 0xf70]
xor rcx, rbp
call fcn.1400f0562
lea rsp, [rbp + 0xf88]
pop rdi
pop rbp
ret