Function at 0x14005f530
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 0x14005f5c2
mov rax, qword [0x1400fca58]
lea rdx, [0x1400df728]
cmp byte [rax + 0x150], r14b
jne 0x14005f5a2
mov rcx, qword [0x140100e80]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14008ab40
add rsp, 0x4b8
pop r14
pop r13
pop rbx
pop rbp
ret
lea r9, [0x1400cbf2c]
xor r8d, r8d
mov rcx, r13
call fcn.140035470
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 0x14005f968
test rsi, rsi
je 0x14005f968
cmp qword [rsp + 0x30], 0
je 0x14005f968
test rdi, rdi
je 0x14005f968
test rax, rax
je 0x14005f968
mov edi, 0x84000000
nop
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14005f68f
cmp ax, 9
jne 0x14005f695
add rbx, 2
jmp 0x14005f680
cmp word [rbx], 0x2a
jne 0x14005f6d6
add rbx, 2
mov rcx, rbx
call fcn.1400155f0
lea rdx, [0x1400df9b0]
mov rcx, rbx
mov rdi, rax
call fcn.14000ad90
test rax, rax
je 0x14005f6d6
mov rbx, rax
movzx ecx, word [rbx]
cmp cx, 0x20
je 0x14005f6d0
cmp cx, 9
jne 0x14005f6d6
add rbx, 2
jmp 0x14005f6c1
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [0x1400cc018]
lea edx, [r9 + 4]
call r15
mov r15, rax
test rax, rax
je 0x14005f750
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 0x14005f726
mov rcx, r15
call qword [rsp + 0x30]
jmp 0x14005f750
mov rcx, qword [rbp + 0x3f0]
lea rdx, [0x1400e7fdc]
call fcn.1400afc30
mov rsi, rax
test rax, rax
jne 0x14005f766
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.140038af0
jmp 0x14005f9b4
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 0x14005f86e
lea r9, [rbp + 0x3f8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
call r12
mov ebx, eax
test eax, eax
je 0x14005f928
cmp dword [rbp + 0x3f8], 0
je 0x14005f928
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400fca58]
sub eax, dword [0x140105eec]
cmp eax, dword [rcx + 0x118]
jbe 0x14005f830
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 0x14005f824
mov edx, 1
or ecx, 0xffffffff
call fcn.1400016e0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140105eec], eax
mov edx, dword [rbp + 0x3f8]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400afe7c
lea r9, [rbp + 0x3f8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
mov rcx, rdi
call r12
mov ebx, eax
test eax, eax
jne 0x14005f7d0
jmp 0x14005f928
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 0x14005f928
nop
cmp dword [rsp + 0x60], 0
je 0x14005f928
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400fca58]
sub eax, dword [0x140105eec]
cmp eax, dword [rcx + 0x118]
jbe 0x14005f8ee
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 0x14005f8e2
mov edx, 1
or ecx, 0xffffffff
call fcn.1400016e0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140105eec], eax
mov edx, dword [rsp + 0x60]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400afe7c
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 0x14005f890
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.1400aff84
test ebx, ebx
jne 0x14005f95b
mov rcx, qword [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
sete dl
mov rcx, r13
call fcn.140035590
jmp 0x14005f9b4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400fca58]
lea rdx, [0x1400df728]
cmp byte [rax + 0x150], 0
jne 0x14005f9a2
mov rcx, qword [0x140100e80]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14008ab40
jmp 0x14005f9b4
lea r9, [0x1400cbf2c]
xor r8d, r8d
mov rcx, r13
call fcn.140035470
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