Function at 0x14000edd0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov rax, qword [0x1400c4090]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x14009a4f0]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14000ee77
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rdx, str.InternetOpen_failed_with_error
lea rcx, [0x1400c64d0]
call fcn.1400015a0
mov ecx, dword [rsp + 0x60]
mov edx, ecx
mov rcx, rax
call fcn.140005c70
lea rdx, [0x140003040]
mov rcx, rax
call fcn.140005e50
xor al, al
jmp 0x14000f249
mov dword [rsp + 0x50], 0x15
xor r8d, r8d
lea rdx, [0x14009a4a4]
mov rcx, qword [rsp + 0x170]
call fcn.14000f8c0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0xf8]
call fcn.140003e80
mov rax, qword [0x14009af18]
cmp qword [rsp + 0x70], rax
je 0x14000ef45
mov rax, qword [rsp + 0x70]
inc rax
mov r9, qword [0x14009af18]
mov r8, rax
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x170]
call fcn.140011860
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.1400117a0
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x118]
call fcn.1400050d0
mov r9, qword [rsp + 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x170]
call fcn.140011860
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.1400057f0
lea rcx, [rsp + 0x138]
call fcn.1400050d0
nop
jmp 0x14000ef5e
mov rcx, qword [rsp + 0x180]
call fcn.14000c830
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x178]
call fcn.14000c830
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0xf8]
call fcn.14000c830
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x8000000
mov dword [rsp + 0x28], 1
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x88]
mov r9, rcx
movzx r8d, word [rsp + 0x50]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14000f048
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x64], eax
lea rdx, str.InternetConnect_failed_with_error
lea rcx, [0x1400c64d0]
call fcn.1400015a0
mov ecx, dword [rsp + 0x64]
mov edx, ecx
mov rcx, rax
call fcn.140005c70
lea rdx, [0x140003040]
mov rcx, rax
call fcn.140005e50
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0xf8]
call fcn.1400050d0
movzx eax, byte [rsp + 0x41]
jmp 0x14000f249
mov rcx, qword [rsp + 0x188]
call fcn.14000c830
mov qword [rsp + 0x20], 0
mov r9d, 2
mov r8d, 0x80000000
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_FtpOpenFileW]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x14000f0f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rdx, str.FtpOpenFile_failed_with_error
lea rcx, [0x1400c64d0]
call fcn.1400015a0
mov ecx, dword [rsp + 0x68]
mov edx, ecx
mov rcx, rax
call fcn.140005c70
lea rdx, [0x140003040]
mov rcx, rax
call fcn.140005e50
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rsp + 0x42], 0
lea rcx, [rsp + 0xf8]
call fcn.1400050d0
movzx eax, byte [rsp + 0x42]
jmp 0x14000f249
mov edx, 0x1000
lea rcx, [rsp + 0xb0]
call fcn.140004290
lea rcx, [rsp + 0xb0]
call fcn.1400115e0
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0xb0]
call fcn.14000cbf0
lea r9, [rsp + 0x54]
mov rcx, qword [rsp + 0x90]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000f204
cmp dword [rsp + 0x54], 0
jbe 0x14000f204
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x190]
call fcn.14000f320
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x54]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0xb0]
call fcn.14000c780
mov rcx, qword [rsp + 0x98]
mov r8, rcx
lea rdx, [rsp + 0xe0]
mov rcx, rax
call fcn.1400063f0
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xb0]
call fcn.14000c780
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rcx
mov r9, qword [rax]
mov r8, qword [rsp + 0xa8]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x190]
call fcn.140003120
jmp 0x14000f103
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rsp + 0x43], 1
lea rcx, [rsp + 0xb0]
call fcn.140005270
lea rcx, [rsp + 0xf8]
call fcn.1400050d0
movzx eax, byte [rsp + 0x43]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14003d9b0
add rsp, 0x168
ret