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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463749
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x494680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x498b90
call fcn.004031e0
mov ecx, eax
call fcn.00408120
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x45dfa5
jmp 0x45e229
mov ecx, 0x498b90
call fcn.004031e0
mov ecx, eax
call fcn.00404dd0
push eax
lea ecx, [ebp - 0x18]
call fcn.00401b20
mov dword [ebp - 4], 0
mov ecx, 0x498b90
call fcn.004031e0
mov ecx, eax
call fcn.00408100
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0
jmp 0x45dfec
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
call fcn.00406ca0
cmp dword [ebp - 0x1c], eax
jge 0x45e21a
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004075f0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0
je 0x45e215
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call fcn.00402920
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401b20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00404b10
push eax
push 0x46f6b0
lea ecx, [ebp - 0x2c]
call fcn.00402c60
push 0x46f6cc
lea ecx, [ebp - 0x2c]
call fcn.00401110
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
call fcn.00406500
push eax
lea ecx, [ebp - 0x2c]
call fcn.004010f0
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
call fcn.00406540
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 4
jne 0x45e096
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004013c0
push eax
call fcn.0045d480
add esp, 8
jmp 0x45e0ba
cmp dword [ebp - 0x24], 0
jne 0x45e0ba
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
call fcn.00406500
mov ecx, eax
call fcn.00404b10
push eax
call fcn.0045d8d0
add esp, 8
cmp dword [ebp - 0x28], 0
je 0x45e209
mov eax, dword [ebp - 0x28]
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x45e209
mov ecx, 0x498b90
call fcn.00402bd0
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x54], eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x44
call fcn.00404f20
test eax, eax
je 0x45e150
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
call fcn.00406500
push eax
push 0x46f6d0
lea eax, [ebp - 0x38]
push eax
call fcn.00401310
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x34]
add ecx, 0x44
call fcn.004010f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00405030
jmp 0x45e166
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call fcn.00406500
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x44
call fcn.004024f0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x45e1c6
push str.WaitForSingleObject_failed_in_WaitFilesInUse.
lea ecx, [ebp - 0x3c]
call fcn.00401a60
mov byte [ebp - 4], 3
push 0x3ed
lea eax, [ebp - 0x3c]
push eax
push 1
call fcn.0045c8c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00405030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405030
jmp 0x45e229
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x34]
or esi, 0xffffffff
sub esi, dword [edx + 0x54]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add esi, eax
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x54], esi
call fcn.0045df60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405030
jmp 0x45e229
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405030
jmp 0x45dfe3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405030
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret