Function at 0x14006b705
Capabilities:
Check for time delay via gettickcount
Delete file
Link many functions at runtime

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 0x14006b79f
mov rax, qword [0x140185a58]
lea rdx, [0x140104650]
cmp byte [rax + 0x150], r14b
jne 0x14006b77f
mov rcx, qword [0x140189e90]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14009b349
add rsp, 0x4b8
pop r14
pop r13
pop rbx
pop rbp
ret
lea r9, [0x14010d0d8]
xor r8d, r8d
mov rcx, r13
call fcn.14003bce5
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 0x14006bb89
test rsi, rsi
je 0x14006bb89
cmp qword [rsp + 0x30], 0
je 0x14006bb89
test rdi, rdi
je 0x14006bb89
test rax, rax
je 0x14006bb89
mov edi, 0x84000000
nop
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14006b874
cmp ax, 9
jne 0x14006b87d
add rbx, 2
jmp 0x14006b85d
cmp word [rbx], 0x2a
jne 0x14006b8d1
add rbx, 2
mov rcx, rbx
call fcn.140017cc3
lea rdx, [0x1401048e0]
mov rcx, rbx
mov rdi, rax
call fcn.14000beb8
test rax, rax
je 0x14006b8d1
mov rbx, rax
movzx ecx, word [rbx]
cmp cx, 0x20
je 0x14006b8c8
cmp cx, 9
jne 0x14006b8d1
add rbx, 2
jmp 0x14006b8b1
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [0x1400f1038]
lea edx, [r9 + 4]
call r15
mov r15, rax
test rax, rax
je 0x14006b95a
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 0x14006b92c
mov rcx, r15
call qword [rsp + 0x30]
jmp 0x14006b95a
mov rcx, qword [rbp + 0x3f0]
lea rdx, [0x14010cf9c]
call fcn.1400c4465
mov rsi, rax
test rax, rax
jne 0x14006b970
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.14003f9a6
jmp 0x14006bbdc
xor eax, eax
mov dword [rsp + 0x38], 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 0x14006ba80
lea r9, [rbp + 0x3f8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
call r12
mov ebx, eax
test eax, eax
je 0x14006bb42
cmp dword [rbp + 0x3f8], 0
je 0x14006bb42
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140185a58]
sub eax, dword [0x14018eefc]
cmp eax, dword [rcx + 0x118]
jbe 0x14006ba42
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 0x14006ba36
mov edx, 1
or ecx, 0xffffffff
call fcn.14000177b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14018eefc], eax
mov edx, dword [rbp + 0x3f8]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400c46f0
lea r9, [rbp + 0x3f8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
mov rcx, rdi
call r12
mov ebx, eax
test eax, eax
jne 0x14006b9da
jmp 0x14006bb42
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 0x14006bb42
nop
cmp dword [rsp + 0x60], 0
je 0x14006bb42
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140185a58]
sub eax, dword [0x14018eefc]
cmp eax, dword [rcx + 0x118]
jbe 0x14006bb08
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 0x14006bafc
mov edx, 1
or ecx, 0xffffffff
call fcn.14000177b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14018eefc], eax
mov edx, dword [rsp + 0x60]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400c46f0
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 0x14006baa2
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.1400c481d
test ebx, ebx
jne 0x14006bb79
mov rcx, qword [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
sete dl
mov rcx, r13
call fcn.14003be1c
jmp 0x14006bbdc
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140185a58]
lea rdx, [0x140104650]
cmp byte [rax + 0x150], 0
jne 0x14006bbca
mov rcx, qword [0x140189e90]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14009b349
jmp 0x14006bbdc
lea r9, [0x14010d0d8]
xor r8d, r8d
mov rcx, r13
call fcn.14003bce5
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