Function at 0x140055790
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 r12
push r14
lea rbp, [rsp - 0x3b8]
sub rsp, 0x4b8
mov r12, rcx
mov rbx, rdx
lea rcx, str.wininet
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14, rax
test rax, rax
jne 0x1400557dd
mov dl, 1
mov rcx, r12
call fcn.14002f160
add rsp, 0x4b8
pop r14
pop r12
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], r13
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 r13, rax
test r15, r15
je 0x140055944
test rsi, rsi
je 0x140055944
cmp qword [rsp + 0x30], 0
je 0x140055944
test rdi, rdi
je 0x140055944
test rax, rax
je 0x140055944
mov edi, 0x84000000
nop word [rax + rax]
movzx eax, word [rbx]
cmp ax, 0x20
je 0x1400558af
cmp ax, 9
jne 0x1400558b5
add rbx, 2
jmp 0x1400558a0
cmp word [rbx], 0x2a
jne 0x1400558f6
add rbx, 2
mov rcx, rbx
call fcn.140014300
lea rdx, [0x1400cf8a0]
mov rcx, rbx
mov rdi, rax
call fcn.14000a680
test rax, rax
je 0x1400558f6
mov rbx, rax
movzx ecx, word [rbx]
cmp cx, 0x20
je 0x1400558f0
cmp cx, 9
jne 0x1400558f6
add rbx, 2
jmp 0x1400558e1
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [0x1400bc068]
lea edx, [r9 + 4]
call r15
mov r15, rax
test rax, rax
je 0x140055944
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 0x140055985
mov rcx, r15
call qword [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dl, 1
mov rcx, r12
call fcn.14002f160
mov r13, qword [rsp + 0x4a8]
mov rdi, qword [rsp + 0x4b0]
mov rsi, qword [rsp + 0x4e0]
mov r15, qword [rsp + 0x4a0]
add rsp, 0x4b8
pop r14
pop r12
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x3f0]
lea rdx, [0x1400d7efc]
call fcn.1400a0900
mov rsi, rax
test rax, rax
jne 0x1400559b1
mov rbx, qword [rsp + 0x30]
mov rcx, rdi
call rbx
mov rcx, r15
call rbx
jmp 0x140055944
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 0x140055abe
lea r9, [rbp + 0x3f8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
call r13
mov ebx, eax
test eax, eax
je 0x140055b78
nop dword [rax + rax]
cmp dword [rbp + 0x3f8], 0
je 0x140055b78
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400ebaa8]
sub eax, dword [0x1400f4f3c]
cmp eax, dword [rcx + 0x110]
jbe 0x140055a80
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 0x140055a74
mov edx, 1
or ecx, 0xffffffff
call fcn.140001800
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400f4f3c], eax
mov edx, dword [rbp + 0x3f8]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400a0b4c
lea r9, [rbp + 0x3f8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
mov rcx, rdi
call r13
mov ebx, eax
test eax, eax
jne 0x140055a20
jmp 0x140055b78
mov r13, qword [rbp + 0x3f8]
lea rdx, [rsp + 0x38]
xor r9d, r9d
lea r8d, [r9 + 8]
call r13
mov ebx, eax
test eax, eax
je 0x140055b78
nop
cmp dword [rsp + 0x60], 0
je 0x140055b78
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400ebaa8]
sub eax, dword [0x1400f4f3c]
cmp eax, dword [rcx + 0x110]
jbe 0x140055b3e
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 0x140055b32
mov edx, 1
or ecx, 0xffffffff
call fcn.140001800
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400f4f3c], eax
mov edx, dword [rsp + 0x60]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400a0b4c
xor r9d, r9d
mov dword [rsp + 0x60], 0x400
lea rdx, [rsp + 0x38]
mov rcx, rdi
lea r8d, [r9 + 8]
call r13
mov ebx, eax
test eax, eax
jne 0x140055ae0
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.1400a0c54
test ebx, ebx
jne 0x140055bab
mov rcx, qword [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
sete dl
jmp 0x14005594f