Function at 0x402310
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x42589c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x22e]
push eax
call fcn.00408090
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.00401f60
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
cmp dword [0x427bfc], esi
je 0x402377
call edi
mov esi, eax
push esi
push str.We_have_just_begun_deleteStuff_at_ticks__d
push dword [0x427bf8]
call fcn.00406803
add esp, 0xc
cmp word [ebp - 0x230], 0
je 0x402399
lea ecx, [ebp - 0x230]
call fcn.004018b0
mov dword [ebp - 0x23c], eax
call fcn.00401fe0
jmp 0x4023a9
call fcn.00401e00
mov dword [ebp - 0x23c], eax
mov eax, dword [0x426890]
cmp dword [0x427bfc], 0
mov dword [ebp - 0x238], eax
je 0x4023e3
push str.We_have_completed_building_files_and_getting_number_of_files__n
push dword [0x427bf8]
call fcn.00406803
add esp, 8
call edi
sub eax, esi
push eax
push str.This_took__d_ticks_n
push dword [0x427bf8]
call fcn.00406803
add esp, 0xc
call fcn.00402070
cmp dword [0x427bfc], 0
mov dword [ebp - 0x240], eax
je 0x402415
call edi
cmp dword [0x427bfc], 0
je 0x402415
push 0x422cb0
push dword [0x427bf8]
call fcn.00406803
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
mov esi, dword [ebp - 0x238]
push 0x3e8
call ebx
cmp dword [0x427bfc], 0
je 0x40244b
push str._______________________________n
push dword [0x427bf8]
call fcn.00406803
add esp, 8
xor ebx, ebx
mov eax, 1
xor edi, edi
mov dword [ebp - 0x234], eax
test esi, esi
jle 0x402587
mov esi, dword [ebp - 0x23c]
test esi, esi
je 0x40257b
cmp dword [0x427bfc], 0
je 0x40248d
push esi
push str.__Attempting_to_delete__s_n
push dword [0x427bf8]
call fcn.00406803
add esp, 0xc
cmp dword [0x427c00], 0
jne 0x402500
xor eax, eax
push 0xf
mov word [ebp - 0x24], ax
xorps xmm0, xmm0
mov dword [ebp - 0xa], eax
push esi
lea eax, [ebp - 0x24]
push eax
movq qword [ebp - 0x22], xmm0
movq qword [ebp - 0x1a], xmm0
movq qword [ebp - 0x12], xmm0
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push str.iaShouldReboot
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x402500
mov dword [0x427bf4], 1
mov dword [0x427c00], 1
cmp dword [0x427bfc], eax
je 0x402500
push str.SHOULD_REBOOT
push dword [0x427bf8]
call fcn.00406803
add esp, 8
mov ecx, esi
call fcn.00401700
cmp eax, 4
ja case.0x40250c.2
jmp dword [eax*4 + 0x402600]
cmp dword [0x427bfc], 0
mov ebx, 1
je case.0x40250c.2
push str.____Succesfully_removed._n
jmp 0x402552
xor eax, eax
mov ebx, 1
mov dword [ebp - 0x234], eax
cmp dword [0x427bfc], eax
je 0x402566
push str.____Remove_failed._n
jmp 0x402552
cmp dword [0x427bfc], 0
je case.0x40250c.2
push str.____File_doesnt_exist.__Skipping._n
push dword [0x427bf8]
call fcn.00406803
add esp, 8
mov eax, dword [ebp - 0x234]
inc edi
add esi, 0x258
cmp edi, dword [ebp - 0x238]
jl 0x402468
jmp 0x402581
mov eax, dword [ebp - 0x234]
mov esi, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x240]
dec ecx
mov dword [ebp - 0x240], ecx
cmp ebx, 1
jne 0x4025b1
test eax, eax
jne 0x4025b1
test ecx, ecx
jle 0x4025b1
call fcn.00402130
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402428
cmp dword [0x427bfc], 0
je 0x4025d8
test eax, eax
je 0x4025c5
push str._n_nAll_files_have_been_successfully_removed__n
jmp 0x4025ca
push str._n_nSome_files_could_not_be_removed._n
push dword [0x427bf8]
call fcn.00406803
add esp, 8
push dword [ebp - 0x23c]
mov byte [0x427bf0], 1
call fcn.004061c4
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
xor al, al
pop ebx
call fcn.0040517b
mov esp, ebp
pop ebp
ret