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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x414ea1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4155f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, 0x415610
call fcn.00406278
mov edx, dword [ebp + 8]
test edx, edx
je 0x414edf
sub edx, 0xffffff98
mov eax, dword [ebp - 4]
call fcn.004148b0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4155a4
lea edx, [ebp - 0x28]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x14]
call sub.SYrtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
lea edx, [ebp - 0x38]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x14]
call sub.SYrtl70.bpl__System__LStrCat3_qqrv
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call sub.SYrtl70.bpl__Sysutils_IncludeTrailingPathDelimiter_qqrx17System_AnsiString
push dword [ebp - 0x30]
lea edx, [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
push dword [ebp - 0x3c]
push 0x415640
lea eax, [ebp - 0x2c]
mov edx, 3
call sub.SYrtl70.bpl__System__LStrCatN_qqrv
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00414b9c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4155a4
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov al, byte [0x415648]
push eax
lea eax, [ebp - 0x20]
push eax
mov al, byte [0x41564c]
push eax
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x44]
mov ecx, 0x415658
mov edx, 0x415664
call fcn.00402adc
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov edx, 0x415670
call fcn.00402adc
xor edx, edx
push ebp
push 0x41501a
push dword fs:[edx]
mov dword fs:[edx], esp
inc dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x38]
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0
lea edx, [ebp - 0x50]
xor ecx, ecx
mov eax, 0x415684
call sub.SYrtl70.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.00406278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x415093
cmp dword [ebp - 0x10], 0
je 0x4150ad
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x74]
jbe 0x414fc1
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4150c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, 0x4156ec
call fcn.0040651c
jmp 0x4155a4
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4150e6
mov edx, dword [sym.imp.SYrtl70.bpl__Sysutils_EmptyStr]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x415101
lea ecx, [ebp - 0x5c]
mov edx, 0x41571c
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea edx, [ebp - 0x68]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x14]
call sub.SYrtl70.bpl__System__LStrCat3_qqrv
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call sub.SYrtl70.bpl__Sysutils_IncludeTrailingPathDelimiter_qqrx17System_AnsiString
lea eax, [ebp - 0x60]
mov edx, 0x41572c
call sub.SYrtl70.bpl__System__LStrCat_qqrv
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00414b9c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4155a4
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov al, byte [0x415648]
push eax
lea eax, [ebp - 0x20]
push eax
mov al, byte [0x41564c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x70]
mov ecx, 0x415658
mov edx, 0x415664
call fcn.00402adc
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov edx, 0x415670
call fcn.00402adc
xor edx, edx
push ebp
push 0x4151fb
push dword fs:[edx]
mov dword fs:[edx], esp
inc dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x38]
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0
lea edx, [ebp - 0x50]
xor ecx, ecx
mov eax, 0x415684
call sub.SYrtl70.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.00406278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x415274
cmp dword [ebp - 0x10], 0
je 0x41528e
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x74]
jbe 0x4151a2
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4152a9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, 0x4156ec
call fcn.0040651c
jmp 0x4155a4
cmp dword [ebp - 0x24], 0
je 0x4152bb
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4152d7
mov dword [ebp - 0x10], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, 0x415740
call fcn.0040651c
jmp 0x4155a4
lea edx, [ebp - 0x80]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x80]
mov edx, dword [sym.imp.SYrtl70.bpl__Sysutils_EmptyStr]
mov edx, dword [edx]
call sub.SYrtl70.bpl__System__LStrCmp_qqrv
jne 0x415315
lea ecx, [ebp - 0x84]
mov edx, 0x41571c
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea ecx, [ebp - 0x88]
mov edx, 0x415770
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
lea ecx, [ebp - 0x8c]
mov edx, 0x41577c
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea eax, [ebp - 0x90]
push eax
lea edx, [ebp - 0x94]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
lea edx, [ebp - 0x50]
xor ecx, ecx
mov eax, 0x415788
call sub.SYrtl70.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.00406278
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [sym.imp.SYrtl70.bpl__Sysutils_EmptyStr]
mov edx, dword [edx]
call sub.SYrtl70.bpl__System__LStrCmp_qqrv
jne 0x4153c3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, 0x4157c8
call fcn.00406278
jmp 0x4155a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, 0x4157fc
call fcn.00406278
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
call sub.SYrtl70.bpl__System__LStrLAsg_qqrpvpxv
xor edx, edx
push ebp
push 0x41544a
push dword fs:[edx]
mov dword fs:[edx], esp
inc dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x38]
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0
lea edx, [ebp - 0x50]
xor ecx, ecx
mov eax, 0x415684
call sub.SYrtl70.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.00406278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4154cf
cmp dword [ebp - 0x10], 0
je 0x4154e9
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x74]
jbe 0x4153e8
cmp dword [ebp - 0x10], 0xffffffff
jne 0x415504
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, 0x415830
call fcn.0040651c
jmp 0x4155a4
cmp dword [ebp - 0x24], 0
je 0x415516
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x415590
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, 0x415860
call fcn.00406278
jmp 0x41559f
lea ecx, [ebp - 0xa4]
mov edx, 0x415890
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x5c]
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa8]
mov edx, 0x4158a0
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov edx, dword [ebp - 0xa8]
pop eax
call sub.SYrtl70.bpl__System__LStrCat_qqrv
mov eax, dword [ebp - 0xa4]
push eax
lea edx, [ebp - 0xac]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0xac]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x90]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0xac]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0xa0]
test al, al
je 0x415528
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4155f9
lea eax, [ebp - 0xac]
call sub.SYrtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0xa8]
mov edx, 0x16
call sub.SYrtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x48]
mov edx, 9
call sub.SYrtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x24]
call sub.SYrtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x20]
call sub.SYrtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x14]
call sub.SYrtl70.bpl__System__LStrClr_qqrpv
ret