Function at 0x14007d360
Capabilities:
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5a0
lea rdi, [rsp + 0x40]
mov ecx, 0x158
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5b0]
mov rax, qword [0x14031eae8]
xor rax, rsp
mov qword [rsp + 0x590], rax
mov dword [rsp + 0x58c], 0
mov rcx, qword [rsp + 0x5b8]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x20], 0x80000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14007d61d
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x70], WSAGetLastError
lea rax, [rsp + 0x100]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x330]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x90], 0x104
mov dword [rsp + 0xc0], 0x104
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x5b8]
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8w, 0x1bb
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x548], rax
cmp qword [rsp + 0x548], 0
je 0x14007d612
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x80800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x330]
lea rdx, [0x140283b48]
mov rcx, qword [rsp + 0x548]
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rsp + 0x550], rax
cmp qword [rsp + 0x550], 0
je 0x14007d604
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x550]
call qword [sym.imp.WININET.dll_HttpSendRequestW]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x564]
mov r8d, 0x1000
lea rdx, [0x140324510]
mov rcx, qword [rsp + 0x550]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14007d567
cmp dword [rsp + 0x564], 0
jne 0x14007d56c
jmp 0x14007d5f6
mov eax, dword [rsp + 0x564]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov r8d, 2
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov qword [rsp + 0x578], rax
cmp qword [rsp + 0x578], 0
jne 0x14007d5a7
jmp 0x14007d5f6
mov rax, qword [rsp + 0x578]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x564]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
lea rdx, [0x140324510]
call fcn.140188cc0
mov eax, dword [rsp + 0x564]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
jmp 0x14007d536
mov rcx, qword [rsp + 0x550]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x548]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rsp + 0x588]
call fcn.140071630
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov r9, rax
mov r8, rcx
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x5b0]
call fcn.14006e0f0
mov eax, dword [rsp + 0x58c]
or eax, 1
mov dword [rsp + 0x58c], eax
mov rax, qword [rsp + 0x5b0]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WSOCK32.dll_connect
call fcn.140134a00
mov rax, rdi
mov rcx, qword [rsp + 0x590]
xor rcx, rsp
call fcn.140135520
add rsp, 0x5a0
pop rdi
ret