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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438f21
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x44c370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x43a9e0
lea ecx, [ebp - 0x12c]
call fcn.0040690c
and dword [ebp - 4], 0
push 0x43a9ec
lea ecx, [ebp - 0x12c]
call fcn.00413ecd
push 0x43a9f8
lea ecx, [ebp - 0x12c]
call fcn.00413ecd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x44d5a0], eax
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x17
lea ecx, [ebp - 0x12c]
call fcn.0040ebf3
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0041dcb5
add esp, 0xc
test eax, eax
jne 0x410935
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004017b2
pop ecx
pop ecx
call fcn.004107f8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x144], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
sub eax, dword [ebp - 0x144]
cmp eax, 0x384
jge 0x410984
push 1
call fcn.0042319f
call fcn.0041081e
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0x1e8480
jge 0x4109a2
push 1
call fcn.0042319f
call fcn.0041803a
push dword [0x44d594]
call fcn.0041bb8f
pop ecx
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [0x44d5a8], eax
push 8
call fcn.0041bb51
pop ecx
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x4109f6
xor eax, eax
mov ecx, dword [ebp - 0x134]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x13c], eax
jmp 0x4109fd
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov ecx, dword [0x44d5a8]
mov dword [eax + 4], ecx
mov eax, dword [0x44d594]
add eax, 6
sub eax, dword [0x44d5a0]
push eax
call fcn.0041bb8f
pop ecx
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x130], eax
push dword [0x44d594]
push dword [0x44d590]
mov eax, dword [0x44d594]
add eax, 6
sub eax, dword [0x44d5a0]
push eax
push dword [ebp - 0x130]
call fcn.00410265
add esp, 0x10
mov eax, dword [0x44b010]
add eax, 6
sub eax, dword [0x44d5a0]
push eax
push dword [0x44d594]
push 6
pop eax
sub eax, dword [0x44d5a0]
push eax
mov eax, dword [0x44d594]
add eax, 6
sub eax, dword [0x44d5a0]
push eax
push dword [ebp - 0x130]
call fcn.00401487
add esp, 0x14
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x130]
mov dword [eax], ecx
push dword [ebp - 0x138]
mov eax, dword [0x44d594]
add eax, 6
sub eax, dword [0x44d5a0]
push eax
push dword [ebp - 0x130]
call fcn.00410548
add esp, 0xc
mov eax, dword [0x44b010]
add eax, 6
sub eax, dword [0x44d5a0]
push eax
mov eax, dword [0x44d594]
add eax, 6
sub eax, dword [0x44d5a0]
push eax
push 0
push dword [0x44d594]
mov eax, dword [ebp - 0x130]
add eax, 6
sub eax, dword [0x44d5a0]
push eax
call fcn.0040140c
add esp, 0x14
mov eax, dword [0x44d594]
add eax, 6
sub eax, dword [0x44d5a0]
push eax
push 7
push dword [0x44d5a8]
call fcn.0041cfe0
add esp, 0xc
push 0x41071a
push 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 0x44d598
push 0x46
pop eax
sub eax, dword [0x44d5a0]
push eax
mov eax, dword [0x44d594]
add eax, 6
sub eax, dword [0x44d5a0]
push eax
push dword [0x44d5a8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [0x44d5a8]
call fcn.004107e9
pop ecx
call fcn.004018ef
and dword [ebp - 0x154], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.0040780b
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041bb9d
leave
ret