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

Disassembly:
jmp 0x140019e60
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 [0x140039040]
xor rax, rbp
mov qword [rbp + 0xf70], rax
mov dword [rbp + 0xf54], 1
lea rcx, [0x140041106]
call fcn.140011951
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.14001193d
nop
cmp qword [rbp + 8], 0
je 0x14001a07b
mov rcx, qword [rbp + 0xfa8]
call fcn.1400110f5
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 0x14001a07b
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.1400119ba
mov r8d, 0x7d0
xor edx, edx
lea rcx, [rbp + 0x90]
call fcn.140011703
cmp dword [rbp + 0x874], 0
jne 0x140019f30
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, [0x140031a70]
lea rcx, [rbp + 0xd98]
call fcn.14001141a
nop
lea rdx, [0x140031a74]
lea rcx, [rbp + 0xdd8]
call fcn.14001141a
nop
lea rax, [rbp + 0xe18]
mov qword [rbp + 0xe58], rax
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0xe58]
call fcn.140011145
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.140011627
mov eax, dword [rbp + 0xf54]
or eax, 1
mov dword [rbp + 0xf54], eax
lea rcx, [rbp + 0xdd8]
call fcn.1400111a4
nop
lea rcx, [rbp + 0xd98]
call fcn.1400111a4
mov dword [rbp + 0xf54], 0
mov eax, dword [rbp + 0xf54]
and eax, 1
test eax, eax
je 0x14001a059
and dword [rbp + 0xf54], 0xfffffffe
mov rcx, qword [rbp + 0xfa0]
call fcn.1400111a4
nop
lea rcx, [rbp + 0x48]
call fcn.1400111a4
nop
mov rcx, qword [rbp + 0xfa8]
call fcn.1400111a4
mov rax, qword [rbp + 0xfa0]
jmp 0x14001a163
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x140031a70]
lea rcx, [rbp + 0xe78]
call fcn.14001141a
nop
lea rdx, [0x140031a74]
lea rcx, [rbp + 0xeb8]
call fcn.14001141a
nop
lea rax, [rbp + 0xef8]
mov qword [rbp + 0xf38], rax
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0xf38]
call fcn.140011145
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.140011627
mov eax, dword [rbp + 0xf54]
or eax, 2
mov dword [rbp + 0xf54], eax
lea rcx, [rbp + 0xeb8]
call fcn.1400111a4
nop
lea rcx, [rbp + 0xe78]
call fcn.1400111a4
mov dword [rbp + 0xf54], 0
mov eax, dword [rbp + 0xf54]
and eax, 2
test eax, eax
je 0x14001a146
and dword [rbp + 0xf54], 0xfffffffd
mov rcx, qword [rbp + 0xfa0]
call fcn.1400111a4
nop
lea rcx, [rbp + 0x48]
call fcn.1400111a4
nop
mov rcx, qword [rbp + 0xfa8]
call fcn.1400111a4
mov rax, qword [rbp + 0xfa0]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002f6b0]
call fcn.14001178f
mov rax, rdi
mov rcx, qword [rbp + 0xf70]
xor rcx, rbp
call fcn.14001146a
lea rsp, [rbp + 0xf88]
pop rdi
pop rbp
ret