Function at 0x14008ae00
Capabilities:
Check for time delay via gettickcount
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov r14, r8
mov rbx, rdx
mov r13, rcx
mov edi, 0x84000000
nop
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14008ae3f
cmp ax, 9
jne 0x14008ae45
add rbx, 2
jmp 0x14008ae30
cmp word [rbx], 0x2a
jne 0x14008aec0
add rbx, 2
mov rcx, rbx
call fcn.140005780
mov rcx, rbx
test al, al
je 0x14008ae6e
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1400d6e9c
mov rdi, rax
jmp 0x14008ae75
call fcn.1400d6f0c
mov edi, eax
mov r8, rbx
test rbx, rbx
je 0x14008aec0
movzx edx, word [rbx]
test dx, dx
je 0x14008aec0
nop word [rax + rax]
lea rcx, [0x1400f5b80]
mov eax, SafeArrayAllocDescriptor
nop dword [rax]
cmp dx, ax
je 0x14008af22
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14008aea0
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x14008ae90
xor r15d, r15d
lea rcx, [0x1400f16e0]
xor r9d, r9d
lea edx, [r15 + 4]
xor r8d, r8d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.WININET.DLL_InternetOpenW]
mov rsi, rax
test rax, rax
je 0x14008af13
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], edi
call qword [sym.imp.WININET.DLL_InternetOpenUrlW]
mov rdi, rax
test rax, rax
jne 0x14008af3a
mov rcx, rsi
call qword [sym.imp.WININET.DLL_InternetCloseHandle]
mov dl, 1
mov rcx, r13
call fcn.14004cf20
jmp 0x14008b184
mov rbx, r8
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14008af34
cmp ax, 9
jne 0x14008aec0
add rbx, 2
jmp 0x14008af25
lea rdx, [0x1400ff674]
mov rcx, r14
mov qword [rsp + 0x4d0], r12
call fcn.1400d9cc4
mov r12, rax
test rax, rax
jne 0x14008af72
mov rcx, rdi
call qword [sym.imp.WININET.DLL_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.DLL_InternetCloseHandle]
mov dl, 1
jmp 0x14008b174
xor eax, eax
mov dword [rsp + 0x30], reloc.WSOCK32.DLL_getservbyport
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x60]
mov dword [rsp + 0x58], 0x400
mov qword [rsp + 0x50], rax
movzx eax, word [rbx]
cmp ax, 0x68
je 0x14008b08e
cmp ax, 0x48
je 0x14008b08e
lea r9, [rbp + 0x3d8]
lea rdx, [rbp - 0x60]
mov r8d, 0x400
mov rcx, rdi
call qword [sym.imp.WININET.DLL_InternetReadFile]
mov ebx, eax
test eax, eax
je 0x14008b148
nop word [rax + rax]
cmp dword [rbp + 0x3d8], r15d
je 0x14008b148
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov rcx, qword [0x1401255c8]
sub eax, dword [0x14012d1a4]
cmp eax, dword [rcx + 0x118]
jbe 0x14008b04d
lea rcx, [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.DLL_PeekMessageW]
test eax, eax
je 0x14008b041
mov edx, 1
or ecx, 0xffffffff
call fcn.140001b60
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x14012d1a4], eax
mov edx, dword [rbp + 0x3d8]
lea rcx, [rbp - 0x60]
mov r9, r12
mov r8d, 1
call fcn.1400d9e5c
lea r9, [rbp + 0x3d8]
lea rdx, [rbp - 0x60]
mov r8d, 0x400
mov rcx, rdi
call qword [sym.imp.WININET.DLL_InternetReadFile]
mov ebx, eax
test eax, eax
jne 0x14008aff0
jmp 0x14008b148
xor r9d, r9d
lea rdx, [rsp + 0x30]
mov rcx, rdi
lea r8d, [r9 + 8]
call qword [sym.imp.WININET.DLL_InternetReadFileExA]
mov ebx, eax
test eax, eax
je 0x14008b148
nop dword [rax]
cmp dword [rsp + 0x58], r15d
je 0x14008b148
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov rcx, qword [0x1401255c8]
sub eax, dword [0x14012d1a4]
cmp eax, dword [rcx + 0x118]
jbe 0x14008b10b
lea rcx, [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.DLL_PeekMessageW]
test eax, eax
je 0x14008b0ff
mov edx, 1
or ecx, 0xffffffff
call fcn.140001b60
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x14012d1a4], eax
mov edx, dword [rsp + 0x58]
lea rcx, [rbp - 0x60]
mov r9, r12
mov r8d, 1
call fcn.1400d9e5c
xor r9d, r9d
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 8]
mov rcx, rdi
mov dword [rsp + 0x58], 0x400
call qword [sym.imp.WININET.DLL_InternetReadFileExA]
mov ebx, eax
test eax, eax
jne 0x14008b0b0
mov rcx, rdi
call qword [sym.imp.WININET.DLL_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.DLL_InternetCloseHandle]
mov rcx, r12
call fcn.1400d9f68
test ebx, ebx
jne 0x14008b171
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test ebx, ebx
sete dl
mov rcx, r13
call fcn.14004cf20
mov r12, qword [rsp + 0x4d0]
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret