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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e197
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x4a4b78
call fcn.004067f0
mov ecx, eax
call fcn.00408210
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x468965
jmp 0x468be9
mov ecx, 0x4a4b78
call fcn.004067f0
mov ecx, eax
call fcn.00405020
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fa0
mov dword [ebp - 4], 0
mov ecx, 0x4a4b78
call fcn.004067f0
mov ecx, eax
call fcn.004081f0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0
jmp 0x4689ac
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
call fcn.00406d70
cmp dword [ebp - 0x1c], eax
jge 0x468bda
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004076c0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0
je 0x468bd5
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call fcn.00407ad0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401fa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401fc0
push eax
push 0x47b1f8
lea ecx, [ebp - 0x2c]
call fcn.00403150
push 0x47b214
lea ecx, [ebp - 0x2c]
call fcn.004011d0
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
call fcn.00402de0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004011b0
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
call fcn.00406750
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 4
jne 0x468a56
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401670
push eax
call fcn.00467e40
add esp, 8
jmp 0x468a7a
cmp dword [ebp - 0x24], 0
jne 0x468a7a
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
call fcn.00402de0
mov ecx, eax
call fcn.00401fc0
push eax
call fcn.00468290
add esp, 8
cmp dword [ebp - 0x28], 0
je 0x468bc9
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 0x468bc9
mov ecx, 0x4a4b78
call fcn.004030c0
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.004027a0
test eax, eax
je 0x468b10
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
call fcn.00402de0
push eax
push 0x47b218
lea eax, [ebp - 0x38]
push eax
call fcn.004015a0
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.004011b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00405260
jmp 0x468b26
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call fcn.00402de0
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x44
call fcn.00402990
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 0x468b86
push str.WaitForSingleObject_failed_in_WaitFilesInUse.
lea ecx, [ebp - 0x3c]
call fcn.00401ee0
mov byte [ebp - 4], 3
push 0x3ed
lea eax, [ebp - 0x3c]
push eax
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00405260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405260
jmp 0x468be9
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.00468920
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405260
jmp 0x468be9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405260
jmp 0x4689a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret