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

Disassembly:
sub esp, 0x458
push ebx
push ebp
push esi
push edi
push str.wininet
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, eax
test ebp, ebp
je 0x452518
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenW
push ebp
call esi
push str.InternetOpenUrlW
push ebp
mov dword [esp + 0x1c], eax
call esi
push str.InternetCloseHandle
mov edi, eax
push ebp
mov dword [esp + 0x28], edi
call esi
push str.InternetReadFileExA
mov ebx, eax
push ebp
mov dword [esp + 0x20], ebx
call esi
push str.InternetReadFile
push ebp
mov dword [esp + 0x18], eax
call esi
cmp dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
je 0x452511
test edi, edi
je 0x452511
test ebx, ebx
je 0x452511
cmp dword [esp + 0x10], 0
je 0x452511
test eax, eax
je 0x452511
mov eax, dword [esp + 0x470]
mov edi, 0x84000000
call fcn.004096f0
mov esi, eax
cmp word [esi], 0x2a
jne 0x45228d
add esi, 2
call fcn.004131c0
mov edi, eax
mov ebx, 0x4a36ac
mov eax, esi
call fcn.004096a0
test eax, eax
je 0x45228d
call fcn.004096f0
mov esi, eax
push 0
push 0
push 0
push 4
push 0x4a0928
call dword [esp + 0x28]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x4522c9
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [esp + 0x46c]
push edx
call fcn.004306d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x458
ret 0xc
push 0
push edi
push 0
push 0
push esi
push ebx
call dword [esp + 0x38]
mov edi, eax
test edi, edi
jne 0x452302
push ebx
call dword [esp + 0x1c]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x46c]
push eax
call fcn.004306d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x458
ret 0xc
mov ecx, dword [esp + 0x474]
push 0x4ab040
push ecx
call fcn.0048f7ae
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x45232d
mov esi, dword [esp + 0x18]
push edi
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
jmp 0x4522e1
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], 0x28
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], 0x400
movzx eax, word [esi]
cmp eax, 0x68
je 0x452421
cmp eax, 0x48
je 0x452421
lea edx, [esp + 0x10]
push edx
push 0x400
mov eax, ecx
push eax
push edi
call dword [esp + 0x2c]
mov esi, eax
test esi, esi
je 0x4524be
cmp dword [esp + 0x10], 0
je 0x4524be
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4ca114]
mov ecx, dword [0x4c39ac]
cmp eax, dword [ecx + 0xd8]
jbe 0x4523ed
push 0
push 0
push 0
push 0
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4523e6
push 1
push 0xffffffffffffffff
call fcn.00401360
add esp, 8
call esi
mov dword [0x4ca114], eax
mov eax, dword [esp + 0x10]
push ebx
push 1
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.0048f91c
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push 0x400
lea eax, [esp + 0x70]
push eax
push edi
call dword [esp + 0x2c]
mov esi, eax
test esi, esi
jne 0x45239c
jmp 0x4524be
push 0
push 8
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [esp + 0x20]
mov esi, eax
test esi, esi
je 0x4524be
lea esp, [esp]
cmp dword [esp + 0x3c], 0
je 0x4524be
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4ca114]
mov edx, dword [0x4c39ac]
cmp eax, dword [edx + 0xd8]
jbe 0x45248d
push 0
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x452486
push 1
push 0xffffffffffffffff
call fcn.00401360
add esp, 8
call esi
mov dword [0x4ca114], eax
mov ecx, dword [esp + 0x3c]
push ebx
push 1
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.0048f91c
add esp, 0x10
push 0
push 8
lea eax, [esp + 0x2c]
push eax
push edi
mov dword [esp + 0x4c], 0x400
call dword [esp + 0x20]
mov esi, eax
test esi, esi
jne 0x452440
push edi
mov edi, dword [esp + 0x1c]
call edi
mov ecx, dword [esp + 0x14]
push ecx
call edi
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call fcn.0048fa03
add esp, 4
test esi, esi
jne 0x4524f0
mov edx, dword [esp + 0x474]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
mov edx, dword [esp + 0x46c]
sete al
movzx ecx, al
push ecx
push edx
call fcn.0042dee0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x458
ret 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x4c39ac]
cmp byte [eax + 0x108], 0
jne 0x45254a
mov ecx, dword [0x4c7ca4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a3438
push ecx
call fcn.00476c40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x458
ret 0xc
mov ecx, dword [esp + 0x46c]
push 0x4a0850
push 0
push 0x4a3438
call fcn.0042ddf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x458
ret 0xc