Function at 0x140060300
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 0x140060392
mov rax, qword [0x1400fcaa8]
lea rdx, [0x1400df6c0]
cmp byte [rax + 0x150], r14b
jne 0x140060372
mov rcx, qword [0x140100ee0]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14008ac50
add rsp, 0x4b8
pop r14
pop r13
pop rbx
pop rbp
ret
lea r9, [0x1400e8120]
xor r8d, r8d
mov rcx, r13
call fcn.140035600
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, rax
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 0x140060738
test rsi, rsi
je 0x140060738
cmp qword [rsp + 0x30], 0
je 0x140060738
test rdi, rdi
je 0x140060738
test rax, rax
je 0x140060738
mov edi, 0x84000000
nop
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14006045f
cmp ax, 9
jne 0x140060465
add rbx, 2
jmp 0x140060450
cmp word [rbx], 0x2a
jne 0x1400604a6
add rbx, 2
mov rcx, rbx
call fcn.140015650
lea rdx, [0x1400df950]
mov rcx, rbx
mov rdi, rax
call fcn.14000aed0
test rax, rax
je 0x1400604a6
mov rbx, rax
movzx ecx, word [rbx]
cmp cx, 0x20
je 0x1400604a0
cmp cx, 9
jne 0x1400604a6
add rbx, 2
jmp 0x140060491
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [0x1400cc0a8]
lea edx, [r9 + 4]
call r15
mov r15, rax
test rax, rax
je 0x140060520
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 0x1400604f6
mov rcx, r15
call qword [rsp + 0x30]
jmp 0x140060520
mov rcx, qword [rbp + 0x3f0]
lea rdx, [0x1400e7fbc]
call fcn.1400b0108
mov rsi, rax
test rax, rax
jne 0x140060536
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.140038c70
jmp 0x140060784
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 0x14006063e
lea r9, [rbp + 0x3f8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
call r12
mov ebx, eax
test eax, eax
je 0x1400606f8
cmp dword [rbp + 0x3f8], 0
je 0x1400606f8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400fcaa8]
sub eax, dword [0x140105f4c]
cmp eax, dword [rcx + 0x118]
jbe 0x140060600
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 0x1400605f4
mov edx, 1
or ecx, 0xffffffff
call fcn.1400018c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140105f4c], eax
mov edx, dword [rbp + 0x3f8]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400b0354
lea r9, [rbp + 0x3f8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
mov rcx, rdi
call r12
mov ebx, eax
test eax, eax
jne 0x1400605a0
jmp 0x1400606f8
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 0x1400606f8
nop
cmp dword [rsp + 0x60], 0
je 0x1400606f8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400fcaa8]
sub eax, dword [0x140105f4c]
cmp eax, dword [rcx + 0x118]
jbe 0x1400606be
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 0x1400606b2
mov edx, 1
or ecx, 0xffffffff
call fcn.1400018c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140105f4c], eax
mov edx, dword [rsp + 0x60]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400b0354
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 0x140060660
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.1400b045c
test ebx, ebx
jne 0x14006072b
mov rcx, qword [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
sete dl
mov rcx, r13
call fcn.140035720
jmp 0x140060784
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400fcaa8]
lea rdx, [0x1400df6c0]
cmp byte [rax + 0x150], 0
jne 0x140060772
mov rcx, qword [0x140100ee0]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14008ac50
jmp 0x140060784
lea r9, [0x1400e8120]
xor r8d, r8d
mov rcx, r13
call fcn.140035600
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