Function at 0x1400876e0
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], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov r13, r8
mov rbx, rdx
mov r12, rcx
mov edi, 0x84000000
nop
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14008771f
cmp ax, 9
jne 0x140087725
add rbx, 2
jmp 0x140087710
mov edx, 0xffdf
cmp ax, 0x2a
jne 0x140087800
add rbx, 2
mov rcx, rbx
nop dword [rax + rax]
movzx eax, word [rcx]
cmp ax, 0x20
je 0x14008774f
cmp ax, 9
jne 0x140087755
add rcx, 2
jmp 0x140087740
test ax, ax
je 0x1400877a3
cmp ax, 0x2d
je 0x140087766
cmp ax, 0x2b
jne 0x140087770
lea rax, [rcx + 2]
mov rcx, rax
movzx eax, word [rax]
cmp ax, 0x30
jne 0x1400877a3
movzx eax, word [rcx + 2]
sub ax, 0x58
test dx, ax
jne 0x1400877a3
movzx ecx, word [rcx + 4]
call fcn.1400ea440
test eax, eax
je 0x1400877a3
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x10]
call fcn.1400ea4ec
mov rdi, rax
jmp 0x1400877ad
mov rcx, rbx
call fcn.1400e9f38
mov edi, eax
mov r8, rbx
test rbx, rbx
je 0x140087800
movzx edx, word [rbx]
test dx, dx
je 0x140087800
mov r9d, SafeArrayAllocDescriptor
nop dword [rax]
nop word [rax + rax]
lea rcx, [0x140122e70]
movzx eax, r9w
nop dword [rax + rax]
cmp dx, ax
je 0x140087858
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1400877e0
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x1400877d0
xor esi, esi
lea rcx, str.AutoHotkey
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea edx, [rsi + 4]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r15, rax
test rax, rax
jne 0x14008788c
mov rax, qword [0x140145a80]
lea rdx, [0x14012296c]
test byte [rax + 0x140], 1
jne 0x140087875
mov rcx, qword [0x14014a3b0]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400c6a70
jmp 0x140087b7e
mov rbx, r8
nop dword [rax + rax]
movzx eax, word [rbx]
cmp ax, r9w
je 0x14008786f
cmp ax, 9
jne 0x140087800
add rbx, 2
jmp 0x140087860
lea r9, [0x14010d28c]
xor r8d, r8d
mov rcx, r12
call fcn.140050010
jmp 0x140087b7e
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
jne 0x1400878bd
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140087824
lea rdx, [0x14012d9fc]
mov qword [rsp + 0x4d0], r14
mov rcx, r13
call fcn.1400efd1c
mov r14, rax
test rax, rax
jne 0x14008790e
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [0x140145a80]
lea rdx, [0x14012296c]
test byte [rax + 0x140], 1
jne 0x140087b43
jmp 0x140087b5e
lea rax, [rbp - 0x60]
mov qword [rsp + 0x44], rsi
mov qword [rsp + 0x50], rax
mov ecx, 0xffdf
xorps xmm0, xmm0
mov dword [rsp + 0x4c], esi
movdqu xmmword [rsp + 0x34], xmm0
mov qword [rsp + 0x5c], rsi
mov dword [rsp + 0x64], esi
mov dword [rsp + 0x30], gethostname
mov dword [rsp + 0x58], 0x400
mov esi, dword gs:[0x48]
movzx eax, word [rbx]
sub ax, 0x48
test cx, ax
mov rcx, rdi
je 0x140087a46
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 0x140087b05
cmp dword [rbp + 0x3d8], 0
je 0x140087b05
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140145a80]
sub eax, dword [0x14014e4dc]
cmp eax, dword [rcx + 0x118]
jbe 0x1400879eb
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x68]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400879df
cmp dword [0x14014c878], esi
jne 0x1400879df
mov edx, 1
lea ecx, [rdx - 2]
call fcn.1400018c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14014e4dc], eax
mov edx, dword [rbp + 0x3d8]
lea rcx, [rbp - 0x60]
mov r9, r14
mov r8d, 1
call fcn.1400f0e00
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 0x140087983
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call fcn.1400f0a0c
jmp 0x140087b23
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 0x140087b05
cmp dword [rsp + 0x58], 0
je 0x140087b05
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140145a80]
sub eax, dword [0x14014e4dc]
cmp eax, dword [rcx + 0x118]
jbe 0x140087ac8
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x68]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140087abc
cmp dword [0x14014c878], esi
jne 0x140087abc
mov edx, 1
lea ecx, [rdx - 2]
call fcn.1400018c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14014e4dc], eax
mov edx, dword [rsp + 0x58]
lea rcx, [rbp - 0x60]
mov r9, r14
mov r8d, 1
call fcn.1400f0e00
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 0x140087a62
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call fcn.1400f0a0c
test ebx, ebx
jne 0x140087b57
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [0x140145a80]
lea rdx, [0x14012296c]
test byte [rax + 0x140], 1
je 0x140087b5e
lea r9, [0x14010d28c]
xor r8d, r8d
mov rcx, r12
call fcn.140050010
jmp 0x140087b76
lea rdx, [0x14010d31c]
mov rcx, qword [0x14014a3b0]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400c6a70
mov r14, qword [rsp + 0x4d0]
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret