Function at 0x140060440
Capabilities:
Check for time delay via gettickcount
Delete file
Link many functions at runtime
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push r13
push r14
lea rbp, [rsp - 0x3b8]
sub rsp, 0x4b8
mov r13, rcx
mov rbx, rdx
lea rcx, str.wininet
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14, rax
test rax, rax
jne 0x1400604d2
mov rax, qword [0x1400fda58]
lea rdx, [0x1400e0798]
test byte [rax + 0x140], 1
jne 0x1400604b2
mov rcx, qword [0x140101f48]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14008c280
add rsp, 0x4b8
pop r14
pop r13
pop rbx
pop rbp
ret
lea r9, [0x1400ccf5c]
xor r8d, r8d
mov rcx, r13
call fcn.140036510
add rsp, 0x4b8
pop r14
pop r13
pop rbx
pop rbp
ret
mov qword [rsp + 0x4e0], rsi
lea rdx, str.InternetOpenW
mov qword [rsp + 0x4b0], rdi
mov rcx, r14
mov qword [rsp + 0x4a8], r12
mov qword [rsp + 0x4a0], r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.InternetOpenUrlW
mov rcx, r14
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.InternetCloseHandle
mov rcx, r14
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.InternetReadFileExA
mov rcx, r14
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.InternetReadFile
mov rcx, r14
mov rdi, rax
mov qword [rbp + 0x3f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r15, r15
je 0x140060878
test rsi, rsi
je 0x140060878
cmp qword [rsp + 0x30], 0
je 0x140060878
test rdi, rdi
je 0x140060878
test rax, rax
je 0x140060878
mov edi, 0x84000000
nop
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14006059f
cmp ax, 9
jne 0x1400605a5
add rbx, 2
jmp 0x140060590
cmp word [rbx], 0x2a
jne 0x1400605e6
add rbx, 2
mov rcx, rbx
call fcn.1400164d0
lea rdx, [0x1400e0a20]
mov rcx, rbx
mov rdi, rax
call fcn.14000aaa0
test rax, rax
je 0x1400605e6
mov rbx, rax
movzx ecx, word [rbx]
cmp cx, 0x20
je 0x1400605e0
cmp cx, 9
jne 0x1400605e6
add rbx, 2
jmp 0x1400605d1
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, str.AutoHotkey
lea edx, [r9 + 4]
call r15
mov r15, rax
test rax, rax
je 0x140060660
mov qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rdx, rbx
mov rcx, rax
call rsi
mov rdi, rax
test rax, rax
jne 0x140060636
mov rcx, r15
call qword [rsp + 0x30]
jmp 0x140060660
mov rcx, qword [rbp + 0x3f0]
lea rdx, [0x1400e923c]
call fcn.1400b1304
mov rsi, rax
test rax, rax
jne 0x140060676
mov rbx, qword [rsp + 0x30]
mov rcx, rdi
call rbx
mov rcx, r15
call rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, r13
call fcn.140039ce0
jmp 0x1400608c4
xor eax, eax
mov dword [rsp + gethostname], 0x38
mov qword [rsp + 0x60], rax
mov ecx, 0xffdf
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0x400
movzx eax, word [rbx]
sub ax, 0x48
test cx, ax
mov rcx, rdi
je 0x14006077e
lea r9, [rbp + 0x3f8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
call r12
mov ebx, eax
test eax, eax
je 0x140060838
cmp dword [rbp + 0x3f8], 0
je 0x140060838
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400fda58]
sub eax, dword [0x140106fe4]
cmp eax, dword [rcx + 0x118]
jbe 0x140060740
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140060734
mov edx, 1
or ecx, 0xffffffff
call fcn.140001710
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140106fe4], eax
mov edx, dword [rbp + 0x3f8]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400b1550
lea r9, [rbp + 0x3f8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
mov rcx, rdi
call r12
mov ebx, eax
test eax, eax
jne 0x1400606e0
jmp 0x140060838
mov r12, qword [rbp + 0x3f8]
lea rdx, [rsp + 0x38]
xor r9d, r9d
lea r8d, [r9 + 8]
call r12
mov ebx, eax
test eax, eax
je 0x140060838
nop
cmp dword [rsp + 0x60], 0
je 0x140060838
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400fda58]
sub eax, dword [0x140106fe4]
cmp eax, dword [rcx + 0x118]
jbe 0x1400607fe
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400607f2
mov edx, 1
or ecx, 0xffffffff
call fcn.140001710
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140106fe4], eax
mov edx, dword [rsp + 0x60]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400b1550
xor r9d, r9d
mov dword [rsp + 0x60], 0x400
lea rdx, [rsp + 0x38]
mov rcx, rdi
lea r8d, [r9 + 8]
call r12
mov ebx, eax
test eax, eax
jne 0x1400607a0
mov rcx, rdi
mov rdi, qword [rsp + 0x30]
call rdi
mov rcx, r15
call rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rsi
call fcn.1400b1658
test ebx, ebx
jne 0x14006086b
mov rcx, qword [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
sete dl
mov rcx, r13
call fcn.1400365e0
jmp 0x1400608c4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400fda58]
lea rdx, [0x1400e0798]
test byte [rax + 0x140], 1
jne 0x1400608b2
mov rcx, qword [0x140101f48]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14008c280
jmp 0x1400608c4
lea r9, [0x1400ccf5c]
xor r8d, r8d
mov rcx, r13
call fcn.140036510
mov r12, qword [rsp + 0x4a8]
mov rdi, qword [rsp + 0x4b0]
mov rsi, qword [rsp + 0x4e0]
mov r15, qword [rsp + 0x4a0]
add rsp, 0x4b8
pop r14
pop r13
pop rbx
pop rbp
ret