Function at 0x407f15
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push 0xfc
mov eax, 0x54d08c
call fcn.00521fa8
call fcn.00405809
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x90], eax
call esi
lea ecx, [ebp - 0xa4]
call fcn.0041d962
and dword [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.0041d962
lea eax, [ebp - 0xb8]
push eax
push 0x20119
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.00407d1c
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
test eax, eax
je 0x407f86
push str.Pass_1_failed
call ebx
lea eax, [ebp - 0xb8]
push eax
push 0x20019
push SysReAllocStringLen
lea ecx, [ebp - 0xa4]
call fcn.00407d1c
add esp, 0xc
test eax, eax
je 0x407fb0
push str.Pass_2_failed
call ebx
call fcn.00405b59
test eax, eax
je 0x407fdf
lea eax, [ebp - 0xb8]
push eax
push 0x20219
push edi
lea ecx, [ebp - 0xa4]
call fcn.00407d1c
add esp, 0xc
test eax, eax
je 0x407fdf
push str.Pass_3_failed
call ebx
call esi
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0x90]
call fcn.00405bc3
push 0x57dcd4
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 2
call fcn.004143e0
push eax
lea ecx, [ebp - 0x108]
call fcn.004139b0
and dword [ebp - 0x84], 0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x9c], 0
jle 0x40822a
mov eax, dword [ebp - 0x84]
test eax, eax
js 0x408290
cmp eax, dword [ebp - 0x9c]
jge 0x408290
mov ecx, dword [ebp - 0xa0]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00402108
lea ebx, [eax + 0x10]
pop ecx
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 4], 4
cmp dword [ebx - 4], 1
jle 0x408082
push dword [ebx - 0xc]
lea ecx, [ebp - 0x8c]
call fcn.00401ee8
mov ebx, dword [ebp - 0x8c]
push ebx
lea esi, [ebp - 0x64]
call fcn.00408f69
mov eax, esi
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040cd42
pop ecx
push 1
xor edi, edi
mov byte [ebp - 4], 7
call fcn.004068d9
push edi
lea edi, [ebp - 0xd8]
call fcn.004137e0
lea eax, [ebp - 0x2c]
lea esi, [ebp - 0xf8]
mov byte [ebp - 4], 8
call fcn.00413940
push str.name
mov eax, edi
push eax
mov byte [ebp - 4], 9
call fcn.004143e0
mov esi, eax
lea eax, [ebp - 0xf8]
call fcn.00413bb0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 8
call fcn.00413b10
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0xb0]
jge 0x408290
mov ecx, dword [ebp - 0xb4]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x4081ce
lea eax, [ecx - 0x10]
push eax
call fcn.00402108
add eax, 0x10
pop ecx
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 0xa
cmp dword [eax - 4], 1
jle 0x40814b
push dword [eax - 0xc]
lea ecx, [ebp - 0x88]
call fcn.00401ee8
mov eax, dword [ebp - 0x88]
push eax
lea esi, [ebp - 0x48]
call fcn.00408f69
mov eax, esi
push eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xb
call fcn.0040cd42
pop ecx
lea esi, [ebp - 0xe8]
mov byte [ebp - 4], 0xc
call fcn.00413940
push str.version
lea eax, [ebp - 0xd8]
push eax
mov byte [ebp - 4], 0xd
call fcn.004143e0
mov esi, eax
lea eax, [ebp - 0xe8]
call fcn.00413bb0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xc
call fcn.00413b10
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00405daf
push 1
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.004068d9
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x88]
add ecx, 0xfffffff0
call fcn.0040218e
lea eax, [ebp - 0xd8]
push eax
push 0x57dcf8
lea eax, [ebp - 0xc8]
push eax
call fcn.004143e0
call fcn.00414660
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 7
call fcn.00413b10
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00405daf
lea ecx, [ebx - 0x10]
mov byte [ebp - 4], 3
call fcn.0040218e
inc dword [ebp - 0x84]
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x9c]
jl 0x40802c
sub esp, 0x10
lea eax, [ebp - 0xc8]
mov ecx, esp
mov dword [ebp - 0x8c], esp
push eax
call fcn.004139b0
mov ecx, dword [ebp - 0x90]
call fcn.00405b92
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.00413b10
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 1
call fcn.00413b10
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0
call fcn.0041dba0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0041dba0
xor eax, eax
call fcn.0052202b
ret
call fcn.0041a063
int3