Function at 0x14000ee30
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, 0xe8
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.FTP_Client
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14000eeb9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
lea rdx, str.InternetOpen_failed:
lea rcx, [0x1400d54c0]
call fcn.1400016c0
mov ecx, dword [rsp + 0x58]
mov edx, ecx
mov rcx, rax
call fcn.140005ca0
lea rdx, [0x140003310]
mov rcx, rax
call fcn.140005e80
xor al, al
jmp 0x14000f160
mov rcx, qword [rsp + 0x100]
call fcn.14000cab0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xf8]
call fcn.14000cab0
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xf0]
call fcn.14000cab0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x8000000
mov dword [rsp + 0x28], 1
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x78]
mov r9, rcx
mov r8w, 0x15
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000ef81
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x5c], eax
lea rdx, str.InternetConnect_failed:
lea rcx, [0x1400d54c0]
call fcn.1400016c0
mov ecx, dword [rsp + 0x5c]
mov edx, ecx
mov rcx, rax
call fcn.140005ca0
lea rdx, [0x140003310]
mov rcx, rax
call fcn.140005e80
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x14000f160
mov rcx, qword [rsp + 0x108]
call fcn.14000cab0
mov qword [rsp + 0x20], 0
mov r9d, 2
mov r8d, 0x80000000
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_FtpOpenFileW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14000f015
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rdx, str.FtpOpenFile_failed:
lea rcx, [0x1400d54c0]
call fcn.1400016c0
mov ecx, dword [rsp + 0x60]
mov edx, ecx
mov rcx, rax
call fcn.140005ca0
lea rdx, [0x140003310]
mov rcx, rax
call fcn.140005e80
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x14000f160
mov edx, 0x1000
lea rcx, [rsp + 0xa0]
call fcn.140004440
lea rcx, [rsp + 0xa0]
call fcn.1400108b0
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xa0]
call fcn.14000ce70
lea r9, [rsp + 0x44]
mov rcx, qword [rsp + 0x80]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000f128
cmp dword [rsp + 0x44], 0
jbe 0x14000f128
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x110]
call fcn.14000f220
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x44]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xa0]
call fcn.14000ca00
mov rcx, qword [rsp + 0x88]
mov r8, rcx
lea rdx, [rsp + 0xc8]
mov rcx, rax
call fcn.140006330
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xa0]
call fcn.14000ca00
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rcx
mov r9, qword [rax]
mov r8, qword [rsp + 0x98]
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x110]
call fcn.1400033e0
jmp 0x14000f027
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rsp + 0x40], 1
lea rcx, [rsp + 0xa0]
call fcn.1400053e0
movzx eax, byte [rsp + 0x40]
add rsp, 0xe8
ret