Function at 0x140004450
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x938
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Mozilla_7.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.140003f20
nop
cmp qword [rsp + 0x38], 0
je 0x14000463a
mov rcx, qword [rsp + 0x948]
call fcn.140004e80
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 0x14000463a
lea r9, [rsp + 0x34]
mov r8d, 0x7d0
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rsp + 0x34]
mov r8d, eax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x78]
call fcn.140004d60
mov r8d, 0x7d0
xor edx, edx
lea rcx, [rsp + 0x160]
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x34], 0
jne 0x1400044e8
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, [0x140155ccc]
lea rcx, [rsp + 0xb8]
call fcn.140003ec0
nop
lea rdx, [0x140155cd0]
lea rcx, [rsp + 0x98]
call fcn.140003ec0
nop
lea rax, [rsp + 0x118]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call fcn.140003e20
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0xb8]
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x940]
call fcn.140005570
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x98]
call fcn.1400041b0
nop
lea rcx, [rsp + 0xb8]
call fcn.1400041b0
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x140004615
and dword [rsp + 0x30], 0xfffffffe
mov rcx, qword [rsp + 0x940]
call fcn.1400041b0
nop
lea rcx, [rsp + 0x78]
call fcn.1400041b0
nop
mov rcx, qword [rsp + 0x948]
call fcn.1400041b0
mov rax, qword [rsp + 0x940]
jmp 0x140004729
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x140155cd4]
lea rcx, [rsp + 0xf8]
call fcn.140003ec0
nop
lea rdx, [0x140155cd8]
lea rcx, [rsp + 0xd8]
call fcn.140003ec0
nop
lea rax, [rsp + 0x138]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
call fcn.140003e20
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea r9, [rsp + 0xf8]
lea r8, [rsp + 0xd8]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x940]
call fcn.140005570
nop
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xd8]
call fcn.1400041b0
nop
lea rcx, [rsp + 0xf8]
call fcn.1400041b0
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x140004709
and dword [rsp + 0x30], 0xfffffffd
mov rcx, qword [rsp + 0x940]
call fcn.1400041b0
nop
lea rcx, [rsp + 0x78]
call fcn.1400041b0
nop
mov rcx, qword [rsp + 0x948]
call fcn.1400041b0
mov rax, qword [rsp + 0x940]
add rsp, 0x938
ret