Function at 0x40f910
Capabilities:
Check for time delay via gettickcount
Delete file
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a9d95
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0xffffffff
jne 0x40f93b
xor eax, eax
jmp 0x4100fd
mov ebp, dword [esp + 0x34]
mov ecx, 0x95
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x58]
mov ebx, 1
cmp eax, ebx
push ebp
jne 0x40f965
mov eax, dword [esi + 0x14]
push eax
call fcn.0043d180
add esp, 8
jmp 0x40f96d
mov ecx, dword [esi + 0x68]
call fcn.00415650
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x58], ebx
jne 0x40fb21
call edi
mov edx, dword [esi + 0x3c]
mov ecx, eax
mov eax, dword [esi + 0x4c]
sub ecx, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jbe 0x40fb21
mov eax, dword [ebp + 0x1c]
test eax, eax
ja 0x40fb21
jb 0x40f9b6
cmp dword [ebp + 0x18], ebx
jae 0x40fb21
mov eax, dword [0x4c0080]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0
call edi
mov edx, dword [esi + 0x3c]
mov ecx, eax
sub ecx, edx
mov eax, 0x10624dd3
mul ecx
shr edx, 6
push edx
lea edx, [esp + 0x38]
push str.usetime_d
push edx
call fcn.00403dd0
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 0x7c]
add esp, 0xc
push ecx
push eax
push 0x1f
mov ecx, 0x4cf6f0
call fcn.00403460
push 0x98
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x2c], 1
je 0x40fa25
mov ecx, eax
call fcn.00414ee0
jmp 0x40fa27
xor eax, eax
mov dword [esi + 0x68], eax
mov edx, dword [0x4cf6f4]
push edx
mov ecx, eax
mov byte [esp + 0x30], 0
call fcn.00414fd0
test al, al
jne 0x40fab4
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x40fa7e
mov eax, dword [esi + 0x7c]
push 0
push eax
push 0x20
mov ecx, 0x4cf6f0
call fcn.00403460
push ebp
mov ecx, esi
mov dword [esi + 0x1c], 3
mov dword [esi + 0x28], ebx
call fcn.004113f0
push ebp
mov ecx, esi
call fcn.00411c60
mov ecx, 0x4cf6f0
call fcn.00403400
mov eax, dword [esp + 0x34]
mov edx, dword [0x4c0084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40faad
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40faad
mov edx, dword [esp + 0x34]
add edx, 0xfffffff4
push edx
call fcn.0049c000
add esp, 4
mov eax, ebx
jmp 0x4100fd
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x54]
push edx
mov edx, dword [ebp + 8]
push edx
mov edx, dword [esi + 0x48]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x68]
call fcn.004154e0
mov ebx, 2
mov dword [esi + 0x58], ebx
mov byte [ebp + 0x45], 0
mov eax, dword [esi + 0x14]
push eax
call fcn.0043d2a0
mov eax, dword [esp + 0x38]
mov edx, dword [0x4c0084]
add esp, 4
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40fb26
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40fb26
mov edx, dword [esp + 0x34]
lea eax, [edx - 0xc]
push eax
call fcn.0049c000
add esp, 4
jmp 0x40fb26
mov ebx, 2
xor eax, eax
mov al, byte [ebp + 0x45]
dec eax
cmp eax, 5
ja case.default.0x40fb35
jmp dword [eax*4 + 0x410114]
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x2c]
test eax, eax
jne case.default.0x40fb35
mov eax, dword [esi + 0x28]
test eax, eax
jne case.default.0x40fb35
cmp dword [esi + 0x1c], ebx
je case.default.0x40fb35
mov eax, dword [esi + 0x50]
push 0x4cf75c
push eax
mov dword [esi + 0x2c], 1
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x40fd5c
mov eax, dword [ebp + 0xc]
test eax, eax
ja 0x40fd5c
jb 0x40fb9b
cmp dword [ebp + 8], 0x1900000
jae 0x40fd5c
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x50]
lea ebx, [esi + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.00411ac0
test eax, eax
jne 0x40fd57
mov eax, 1
push ebp
mov ecx, esi
mov dword [esi + 0x64], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x1c], 3
mov dword [esi + 0x28], eax
call fcn.004113f0
mov ecx, 0x4cf6f0
call fcn.00403400
mov eax, dword [esi + 0x14]
push eax
call fcn.0043d220
mov ecx, dword [esi + 0x14]
push ecx
call fcn.0043d1f0
mov edx, dword [esi + 0x14]
push edx
call fcn.0043d2a0
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esi + 0x74]
mov ecx, dword [esi + 0x78]
add esi, 0x6c
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x40fcd0
mov ecx, esi
call fcn.0040d750
cmp eax, 1
jbe 0x40fc3c
mov ecx, esi
call fcn.0040d750
mov ebp, eax
jmp 0x40fc41
mov ebp, 1
mov ecx, esi
call fcn.0040d750
add eax, ebp
mov dword [esp + 0x18], eax
jns 0x40fc52
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.0040d770
push ebx
push 1
push eax
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0040d7b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 8]
add ecx, 4
push ecx
push edx
push edi
mov ecx, esi
call fcn.0040d770
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.0040cec0
mov edx, dword [esi + 4]
push edx
call fcn.0049c000
mov eax, dword [esp + 0x1c]
add esp, 4
lea ecx, [ebp + eax*4]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.0040d750
lea edx, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov dword [esi + 8], edx
jmp case.default.0x40fb35
mov eax, edi
sub eax, edi
sar eax, 2
cmp eax, 1
jae 0x40fd20
lea ecx, [edi + 4]
push ecx
push edi
push edi
mov ecx, esi
call fcn.0040d770
mov eax, dword [esi + 8]
mov ecx, 1
mov edx, eax
push ebx
sub edx, edi
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.0040d7b0
mov edx, dword [esi + 8]
push ebx
push edx
push edi
call fcn.0040db00
mov eax, dword [esi + 8]
add esp, 0xc
add eax, 4
mov dword [esi + 8], eax
jmp case.default.0x40fb35
push edi
lea eax, [edi - 4]
push edi
push eax
mov ecx, esi
call fcn.0040d770
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.0040dda0
lea ecx, [edi + 4]
push ebx
push ecx
push edi
call fcn.0040db00
mov eax, dword [esi + 8]
add esp, 0x18
add eax, 4
mov dword [esi + 8], eax
jmp case.default.0x40fb35
mov ebx, 2
mov eax, dword [esi + 0x34]
push eax
call fcn.00439c40
add esp, 4
test eax, eax
jne 0x41003c
mov edx, dword [esi + 0x34]
push edx
push str.360sign_check_failed__s__n
call fcn.0040ef50
add esp, 8
mov dword [esi + 0x64], ebx
mov ebx, 1
mov ecx, esi
push ebp
mov dword [esi + 0x60], ebx
mov dword [esi + 0x1c], 3
call fcn.004113f0
mov ecx, 0x4cf6f0
call fcn.00403400
mov eax, dword [esi + 0x14]
push eax
call fcn.0043d220
mov ecx, dword [esi + 0x14]
push ecx
call fcn.0043d1f0
mov edx, dword [esi + 0x14]
push edx
call fcn.0043d2a0
add esp, 0xc
mov dword [esi + 0x28], ebx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.delete__d__d__n
call fcn.0040ef50
mov edi, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
sub eax, edi
add esp, 0xc
sar eax, 2
cmp eax, ebx
mov ebp, edi
jae 0x40ff1b
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x40fe1d
mov eax, edi
sub eax, ecx
sar eax, 2
cmp eax, ebx
ja 0x40fe1f
mov eax, ebx
test ecx, ecx
jne 0x40fe27
xor edi, edi
jmp 0x40fe2c
sub edi, ecx
sar edi, 2
add eax, edi
test eax, eax
mov dword [esp + 0x10], eax
jge 0x40fe38
xor eax, eax
lea ecx, [eax*4]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [esi + 0x70]
add esp, 4
mov edi, eax
cmp ebx, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
je 0x40fe87
mov dword [esp + 0x20], edi
test edi, edi
mov dword [esp + 0x2c], 2
je 0x40fe71
push ebx
mov ecx, edi
call fcn.00403bd0
add ebx, 4
add edi, 4
cmp ebx, ebp
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x18], edi
jne 0x40fe59
lea eax, [esi + 0x34]
push eax
push edi
call fcn.0040e6c0
mov ebx, dword [esi + 0x74]
add esp, 8
add edi, 4
cmp ebp, ebx
je 0x40feb2
push ebp
push edi
call fcn.0040e6c0
add ebp, 4
add esp, 8
add edi, 4
cmp ebp, ebx
jne 0x40fe9e
mov ebx, dword [esi + 0x74]
mov edi, dword [esi + 0x70]
cmp edi, ebx
je 0x40feca
mov ecx, edi
call fcn.004046f0
add edi, 4
cmp edi, ebx
jne 0x40febc
mov edx, dword [esi + 0x70]
push edx
call fcn.0049c000
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add esp, 4
lea ecx, [edx + eax*4]
mov dword [esi + 0x78], ecx
mov ecx, dword [esi + 0x70]
test ecx, ecx
jne 0x40ff00
xor eax, eax
mov dword [esi + 0x70], edx
lea eax, [edx + eax*4 + 4]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x1c]
jmp 0x4100fd
mov eax, dword [esi + 0x74]
mov dword [esi + 0x70], edx
sub eax, ecx
sar eax, 2
lea eax, [edx + eax*4 + 4]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x1c]
jmp 0x4100fd
mov ecx, edi
sub ecx, ebp
sar ecx, 2
cmp ecx, ebx
jae 0x40ffca
lea ebx, [ebp + 4]
cmp ebp, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebp
je 0x40ff73
mov dword [esp + 0x20], ebx
test ebx, ebx
mov dword [esp + 0x2c], 3
je 0x40ff55
mov edx, dword [esp + 0x10]
mov ecx, ebx
push edx
call fcn.00403bd0
mov eax, dword [esp + 0x10]
add ebx, 4
add eax, 4
mov dword [esp + 0x2c], 0xffffffff
cmp eax, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
jne 0x40ff39
mov edi, dword [esi + 0x74]
mov eax, 1
mov ecx, edi
sub ecx, ebp
sar ecx, 2
sub eax, ecx
je 0x40ff9b
mov ebx, eax
lea eax, [esi + 0x34]
push eax
push edi
call fcn.0040e6c0
add esp, 8
add edi, 4
dec ebx
jne 0x40ff88
mov edi, dword [esi + 0x74]
cmp ebp, edi
je 0x41002a
lea eax, [esi + 0x34]
mov ecx, ebp
push eax
call fcn.0040d220
add ebp, 4
cmp ebp, edi
jne 0x40ffa6
mov eax, dword [esi + 0x74]
add eax, 4
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x1c]
jmp 0x4100fd
lea ebx, [edi - 4]
mov dword [esp + 0x10], edi
cmp ebx, edi
je 0x40fff5
mov edx, dword [esp + 0x10]
push ebx
push edx
call fcn.0040e6c0
mov edx, dword [esp + 0x18]
add ebx, 4
add esp, 8
add edx, 4
cmp ebx, edi
mov dword [esp + 0x10], edx
jne 0x40ffd5
mov ebx, dword [esi + 0x74]
lea edi, [ebx - 4]
cmp ebp, edi
je 0x410011
sub edi, 4
sub ebx, 4
push edi
mov ecx, ebx
call fcn.0040d220
cmp edi, ebp
jne 0x40ffff
lea edi, [ebp + 4]
cmp ebp, edi
je 0x41002a
lea eax, [esi + 0x34]
mov ecx, ebp
push eax
call fcn.0040d220
add ebp, 4
cmp ebp, edi
jne 0x410018
mov eax, dword [esi + 0x74]
add eax, 4
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x1c]
jmp 0x4100fd
mov ecx, esi
mov dword [esi + 0x1c], ebx
call fcn.00410180
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], 1
call edi
push ebp
mov ecx, esi
mov dword [esi + 0x44], eax
call fcn.004113f0
jmp 0x4100ef
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x28]
test eax, eax
jne case.default.0x40fb35
mov dword [esi + 0x64], 0
jmp 0x4100d1
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x28]
test eax, eax
jne case.default.0x40fb35
mov eax, 3
mov dword [esi + 0x64], eax
mov dword [esi + 0x1c], eax
jmp 0x4100d8
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x28]
test eax, eax
jne case.default.0x40fb35
mov dword [esi + 0x64], 4
jmp 0x4100d1
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x28]
test eax, eax
jne case.default.0x40fb35
mov dword [esi + 0x64], 5
jmp 0x4100d1
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x28]
test eax, eax
jne case.default.0x40fb35
mov dword [esi + 0x64], 6
mov dword [esi + 0x1c], 3
push ebp
mov ecx, esi
mov dword [esi + 0x28], 1
call fcn.004113f0
push ebp
mov ecx, esi
call fcn.00411c60
mov ecx, 0x4cf6f0
call fcn.00403400
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4