Function at 0x402f9a
Capabilities:
Check for time delay via gettickcount
Delete file
Write file on windows

Disassembly:
mov edi, edi
push ebp
sub esp, 0x5c
mov eax, 0x417ab4
call fcn.00416288
sub esp, 0x54
mov eax, dword [ebp + 0x68]
push ebx
xor ebx, ebx
push esi
mov dword [ebp + 0x5c], ebx
push edi
cmp byte [eax + 0x34], bl
je 0x40332b
mov eax, dword [ebp + 0x70]
cmp eax, ebx
je 0x40332b
mov dword [ebp + 0x48], ebx
mov ecx, dword [ebp + 0x48]
add ecx, 0x1577
je 0x402fdd
inc dword [ebp + 0x48]
push 1
push dword [ebp + 0x74]
push dword [eax + 0x14]
lea eax, [ebp - 0x44]
push eax
call fcn.00407bbb
add esp, 0x10
mov dword [ebp - 4], 3
mov dword [ebp + 0x3c], ebx
mov byte [ebp + 0x2c], bl
mov ebx, eax
lea eax, [ebp + 0x2c]
mov dword [ebp + 0x5c], 4
mov dword [ebp + 0x40], 0xf
call fcn.004033e8
mov dword [ebp - 4], 5
xor ebx, ebx
push 1
xor edi, edi
lea esi, [ebp - 0x44]
mov dword [ebp + 0x5c], ebx
call fcn.00403438
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x74], ebx
call esi
mov dword [ebp + 0x74], eax
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x40304c
call esi
mov dword [ebp + 0x74], eax
mov esi, dword [ebp + 0x70]
test byte [esi], 1
je 0x4030cc
cmp dword [ebp + 0x3c], ebx
jne 0x40305d
xor esi, esi
jmp 0x403069
cmp dword [ebp + 0x40], 0x10
mov esi, dword [ebp + 0x2c]
jae 0x403069
lea esi, [ebp + 0x2c]
mov eax, dword [ebp + 0x68]
add eax, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x403077
mov eax, dword [eax]
push eax
lea ebx, [ebp - 0x60]
call fcn.004099f7
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x40308d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004082a9
add esp, 0xc
mov ebx, eax
lea eax, [ebp + 0x2c]
mov byte [ebp - 4], 8
call fcn.004033e8
push 1
xor edi, edi
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00403438
push 1
lea esi, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.00403438
mov esi, dword [ebp + 0x70]
xor ebx, ebx
xor eax, eax
mov byte [ebp + 0x50], bl
lea edi, [ebp + 0x51]
stosb byte es:[edi], al
mov al, byte [0x41a489]
mov byte [ebp + 0x50], al
cmp dword [ebp + 0x3c], ebx
je 0x403308
xor eax, eax
mov byte [ebp + 0x54], bl
lea edi, [ebp + 0x55]
stosb byte es:[edi], al
mov al, byte [0x41a495]
mov byte [ebp + 0x54], al
cmp dword [esi + 4], ebx
je 0x403310
xor eax, eax
mov byte [ebp + 0x58], bl
lea edi, [ebp + 0x59]
stosb byte es:[edi], al
mov al, byte [0x41a4a1]
cmp dword [ebp + 0x40], 0x10
mov byte [ebp + 0x58], al
mov eax, dword [ebp + 0x2c]
jae 0x40311d
lea eax, [ebp + 0x2c]
push eax
call fcn.00408a7b
mov dword [ebp + 0x70], ebx
mov eax, dword [ebp + 0x70]
pop ecx
test eax, eax
je 0x403143
push str.windows5501XP
push dword [ebp + 0x70]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x403143
mov dword [ebp + 0x70], ebx
cmp dword [ebp + 0x40], 0x10
mov eax, dword [ebp + 0x2c]
jae 0x40314f
lea eax, [ebp + 0x2c]
push ebx
push 0x80
push 2
push ebx
xor edi, edi
inc edi
push edi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp + 0x68], eax
cmp eax, 0xffffffff
jne 0x40318e
mov eax, dword [ebp + 0x6c]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
mov dword [ebp + 0x5c], edi
mov byte [ebp - 4], bl
push edi
lea esi, [ebp + 0x2c]
jmp 0x40335f
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x70], ebx
call edi
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x70]
test eax, eax
je 0x4031a8
call edi
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x70], ebx
mov eax, dword [ebp + 0x70]
add eax, 0x1580
je 0x4031b8
inc dword [ebp + 0x70]
test dword [esi], 0x100
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x70], 0xfffffffe
je 0x403244
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov byte [ebp - 4], 9
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x24]
lea edx, [ebp + 0x1c]
call fcn.0040acfe
test al, al
je 0x403227
mov dword [ebp + 0x70], ebx
call edi
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x70]
test eax, eax
je 0x4031fd
call edi
mov dword [ebp + 0x70], eax
mov esi, dword [ebp + 0x20]
sub esi, dword [ebp + 0x1c]
push ebx
lea eax, [ebp + 0x4c]
push eax
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403223
cmp dword [ebp + 0x4c], esi
jne 0x403223
mov dword [ebp + 0x70], ebx
jmp 0x403227
or dword [ebp + 0x70], 0xffffffff
mov byte [ebp - 4], 6
cmp dword [ebp + 0x1c], ebx
je 0x403239
push dword [ebp + 0x1c]
call fcn.0040d4a1
pop ecx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
jmp 0x40326d
push ebx
lea eax, [ebp + 0x4c]
push eax
push dword [esi + 4]
push dword [esi + 0x24]
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403269
mov eax, dword [ebp + 0x4c]
cmp eax, dword [esi + 4]
jne 0x403269
mov dword [ebp + 0x70], ebx
jmp 0x40326d
or dword [ebp + 0x70], 0xffffffff
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0x68], ebx
mov eax, dword [ebp + 0x68]
add eax, 0x1589
je 0x403286
inc dword [ebp + 0x68]
cmp dword [ebp + 0x70], ebx
je 0x403310
call fcn.0040d480
cdq
mov ecx, 0x158a
idiv ecx
mov dword [ebp + 0x74], edx
mov dword [ebp + 0x68], 0x349742b
mov eax, dword [ebp + 0x68]
test eax, eax
mov eax, dword [ebp + 0x74]
jne 0x4032b3
mov eax, dword [ebp + 0x68]
cmp dword [ebp + 0x40], 0x10
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x2c]
jae 0x4032c2
lea eax, [ebp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 0x70]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp + 0x70], ebx
mov eax, dword [ebp + 0x70]
test eax, eax
je 0x4032f1
push str.windows5517XP
push dword [ebp + 0x70]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4032f1
mov dword [ebp + 0x70], ebx
mov eax, dword [ebp + 0x6c]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
mov byte [ebp - 4], bl
lea esi, [ebp + 0x2c]
jmp 0x403358
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 0x6c]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xf
mov byte [eax], bl
lea ebx, [ebp + 0x2c]
call fcn.004033e8
mov esi, ebx
jmp 0x403354
push 0xb
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], ebx
mov byte [ebp], bl
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0x6c]
lea ebx, [ebp]
call fcn.004033a9
mov esi, ebx
mov byte [ebp - 4], 0
xor eax, eax
inc eax
mov dword [ebp + 0x5c], eax
push eax
xor edi, edi
call fcn.00403438
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x6c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x60
leave
ret 0x10