Function at 0x140080a70
Capabilities:
Check for time delay via gettickcount
Create http request
Delete file
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov r12, r8
mov rbx, rdx
mov r15, rcx
mov edi, 0x84000000
movzx eax, word [rbx]
cmp ax, 0x20
je 0x140080aaf
cmp ax, 9
jne 0x140080ab5
add rbx, 2
jmp 0x140080aa0
cmp ax, 0x2a
jne 0x140080b30
add rbx, 2
mov rcx, rbx
call fcn.140005a80
mov rcx, rbx
test al, al
je 0x140080adb
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1400d22a0
jmp 0x140080ae0
call fcn.1400d283c
mov r9, rax
mov r8, rbx
mov edi, r9d
test rbx, rbx
je 0x140080b30
movzx edx, word [rbx]
test dx, dx
je 0x140080b30
mov r10d, SafeArrayAllocDescriptor
nop dword [rax]
lea rcx, [0x1401108a0]
movzx eax, r10w
nop dword [rax + rax]
cmp dx, ax
je 0x140080b8b
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140080b10
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x140080b00
xor r13d, r13d
lea rcx, str.AutoHotkey
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea edx, [r13 + 4]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
jne 0x140080bbf
mov rax, qword [0x14012fc08]
lea rdx, [0x14011037c]
test byte [rax + 0x140], 1
jne 0x140080ba8
mov rcx, qword [0x140134210]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400b0830
jmp 0x140080e95
test r8, r8
je 0x140080b30
mov rbx, r8
movzx eax, word [rbx]
cmp ax, r10w
je 0x140080ba2
cmp ax, 9
jne 0x140080b30
add rbx, 2
jmp 0x140080b93
lea r9, [0x1400fb87c]
xor r8d, r8d
mov rcx, r15
call fcn.140050b90
jmp 0x140080e95
mov qword [rsp + 0x28], r13
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
jne 0x140080bf0
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140080b57
lea rdx, [0x14011a4a4]
mov qword [rsp + 0x4d0], rsi
mov rcx, r12
call fcn.1400dd668
mov rsi, rax
test rax, rax
jne 0x140080c41
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [0x14012fc08]
lea rdx, [0x14011037c]
test byte [rax + 0x140], 1
jne 0x140080e5a
jmp 0x140080e75
lea rax, [rbp - 0x60]
mov qword [rsp + 0x44], r13
mov qword [rsp + 0x50], rax
mov ecx, 0xffdf
movzx eax, word [rbx]
xorps xmm0, xmm0
sub ax, 0x48
mov dword [rsp + 0x4c], r13d
test cx, ax
mov qword [rsp + 0x5c], r13
mov rcx, rdi
mov dword [rsp + 0x64], r13d
movdqu xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x30], reloc.WSOCK32.dll_getservbyport
mov dword [rsp + 0x58], 0x400
je 0x140080d68
lea r9, [rbp + 0x3d8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, eax
test eax, eax
je 0x140080e1c
cmp dword [rbp + 0x3d8], r13d
je 0x140080e1c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012fc08]
sub eax, dword [0x140137224]
cmp eax, dword [rcx + 0x118]
jbe 0x140080d0d
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, [rsp + 0x68]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140080d01
mov edx, 1
lea ecx, [rdx - 2]
call fcn.140001940
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140137224], eax
mov edx, dword [rbp + 0x3d8]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400dd9e4
lea r9, [rbp + 0x3d8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, eax
test eax, eax
jne 0x140080cb0
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call fcn.1400ddbac
jmp 0x140080e3a
xor r9d, r9d
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 8]
call qword [sym.imp.WININET.dll_InternetReadFileExA]
mov ebx, eax
test eax, eax
je 0x140080e1c
cmp dword [rsp + 0x58], r13d
je 0x140080e1c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012fc08]
sub eax, dword [0x140137224]
cmp eax, dword [rcx + 0x118]
jbe 0x140080ddf
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, [rsp + 0x68]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140080dd3
mov edx, 1
lea ecx, [rdx - 2]
call fcn.140001940
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140137224], eax
mov edx, dword [rsp + 0x58]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400dd9e4
xor r9d, r9d
mov dword [rsp + 0x58], 0x400
lea rdx, [rsp + 0x30]
mov rcx, rdi
lea r8d, [r9 + 8]
call qword [sym.imp.WININET.dll_InternetReadFileExA]
mov ebx, eax
test eax, eax
jne 0x140080d84
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call fcn.1400ddbac
test ebx, ebx
jne 0x140080e6e
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [0x14012fc08]
lea rdx, [0x14011037c]
test byte [rax + 0x140], 1
je 0x140080e75
lea r9, [0x1400fb87c]
xor r8d, r8d
mov rcx, r15
call fcn.140050b90
jmp 0x140080e8d
lea rdx, [0x1400fb96c]
mov rcx, qword [0x140134210]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400b0830
mov rsi, qword [rsp + 0x4d0]
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret