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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x930
mov rax, qword [0x140166340]
xor rax, rsp
mov qword [rsp + 0x920], rax
mov dword [rsp + 0x30], 1
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 [rsp + 0x38], rax
lea rcx, [rsp + 0x130]
call fcn.140009a70
nop
cmp qword [rsp + 0x38], 0
je 0x14010137d
mov rcx, qword [rsp + 0x948]
call fcn.140024dd0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14010137d
lea r9, [rsp + 0x128]
mov r8d, 0x7d0
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rsp + 0x128]
mov r8d, eax
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x130]
call fcn.14003b080
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, 0x7d0
rep stosb byte [rdi], al
cmp dword [rsp + 0x128], 0
jne 0x14010122e
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x14015353c]
lea rcx, [rsp + 0x88]
call fcn.140009a10
nop
lea rdx, [0x140153540]
lea rcx, [rsp + 0x68]
call fcn.140009a10
nop
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x48]
call fcn.140024fc0
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x68]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x940]
call fcn.1401010c0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x68]
call fcn.1400099e0
nop
lea rcx, [rsp + 0x88]
call fcn.1400099e0
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x140101355
and dword [rsp + 0x30], 0xfffffffe
mov rcx, qword [rsp + 0x940]
call fcn.1400099e0
nop
lea rcx, [rsp + 0x130]
call fcn.1400099e0
nop
mov rcx, qword [rsp + 0x948]
call fcn.1400099e0
mov rax, qword [rsp + 0x940]
jmp 0x140101467
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x140153534]
lea rcx, [rsp + 0xc8]
call fcn.140009a10
nop
lea rdx, [0x140153538]
lea rcx, [rsp + 0xa8]
call fcn.140009a10
nop
lea rax, [rsp + 0x108]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x58]
call fcn.140024fc0
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0xa8]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x940]
call fcn.1401010c0
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xa8]
call fcn.1400099e0
nop
lea rcx, [rsp + 0xc8]
call fcn.1400099e0
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x140101444
and dword [rsp + 0x30], 0xfffffffd
mov rcx, qword [rsp + 0x940]
call fcn.1400099e0
nop
lea rcx, [rsp + 0x130]
call fcn.1400099e0
nop
mov rcx, qword [rsp + 0x948]
call fcn.1400099e0
mov rax, qword [rsp + 0x940]
mov rcx, qword [rsp + 0x920]
xor rcx, rsp
call fcn.14011c2e0
add rsp, 0x930
pop rdi
ret