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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x44d558]
mov dword [ebp - 0x14], eax
push esi
push edi
mov ecx, 6
mov esi, str.AbortAllJobs
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x34], 0
cmp dword [0x44de90], 0
je 0x41699c
push 0x44f000
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x4169da
push 0x44f000
call dword [0x44e628]
test eax, eax
jne 0x4169da
cmp dword [0x44de94], 0
je 0x4169cf
cmp dword [0x450a88], 0
je 0x4169cf
lea eax, [ebp - 0x30]
push eax
push 0x442708
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
push 0x44f000
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44de94], 0
je 0x4169fe
cmp dword [0x450a88], 0
je 0x4169fe
lea ecx, [ebp - 0x30]
push ecx
push 0x442744
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
mov dword [ebp - 0xc], 0
jmp 0x416a10
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x44f1e8]
jge 0x416a59
mov ecx, dword [ebp - 0xc]
push ecx
push 0x44f1e0
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x416a57
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x4e0], 0
je 0x416a57
push 0
push 0x442778
push 5
mov eax, dword [ebp - 0x34]
push eax
call fcn.00417ad0
add esp, 0x10
jmp 0x416a07
push 0x44f000
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44de94], 0
je 0x416a88
cmp dword [0x450a88], 0
je 0x416a88
lea ecx, [ebp - 0x30]
push ecx
push 0x44277c
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x44de90], 0
je 0x416ab2
push 0x44f000
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x416af0
push 0x44f000
call dword [0x44e628]
test eax, eax
jne 0x416af0
cmp dword [0x44de94], 0
je 0x416ae5
cmp dword [0x450a88], 0
je 0x416ae5
lea edx, [ebp - 0x30]
push edx
push 0x4427b0
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
push 0x44f000
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44de94], 0
je 0x416b14
cmp dword [0x450a88], 0
je 0x416b14
lea eax, [ebp - 0x30]
push eax
push 0x4427ec
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
jmp 0x416b2d
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [0x44f1e8]
jge 0x416b6a
mov eax, dword [ebp - 0xc]
push eax
push 0x44f1e0
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x416b68
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x4e0], 0
je 0x416b68
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x416b24
push 0x44f000
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44de94], 0
je 0x416b99
cmp dword [0x450a88], 0
je 0x416b99
lea eax, [ebp - 0x30]
push eax
push 0x442820
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
cmp dword [ebp - 4], 0
je 0x416bb4
mov ecx, dword [ebp - 4]
push ecx
push 0xba
push 0
push 3
call fcn.0041d760
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x416d4f
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x10], 0x1388
jb 0x416cf5
mov dword [ebp - 4], 0
cmp dword [0x44de90], 0
je 0x416bf3
push 0x44f000
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x416c31
push 0x44f000
call dword [0x44e628]
test eax, eax
jne 0x416c31
cmp dword [0x44de94], 0
je 0x416c26
cmp dword [0x450a88], 0
je 0x416c26
lea edx, [ebp - 0x30]
push edx
push 0x442854
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
push 0x44f000
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44de94], 0
je 0x416c55
cmp dword [0x450a88], 0
je 0x416c55
lea eax, [ebp - 0x30]
push eax
push 0x442890
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
mov dword [ebp - 0xc], 0
jmp 0x416c67
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [0x44f1e8]
jge 0x416ca4
mov eax, dword [ebp - 0xc]
push eax
push 0x44f1e0
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x416ca2
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x4e0], 0
je 0x416ca2
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x416c5e
push 0x44f000
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44de94], 0
je 0x416cd3
cmp dword [0x450a88], 0
je 0x416cd3
lea eax, [ebp - 0x30]
push eax
push 0x4428c4
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
cmp dword [ebp - 4], 0
je 0x416cee
mov ecx, dword [ebp - 4]
push ecx
push 0xba
push 0
push 3
call fcn.0041d760
add esp, 0x10
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
add edx, 0x1f4
mov dword [ebp - 0x10], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
push eax
call sub.MSVCR71.dll_abs
add esp, 4
cdq
mov ecx, 0x3e8
idiv ecx
cmp eax, dword [0x450750]
jl 0x416d4a
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x450750]
push eax
push 0xbc
push 0
push 2
call fcn.0041d760
add esp, 0x14
mov dword [0x44deb4], 1
jmp 0x416d4f
jmp 0x416bb4
cmp dword [0x44deb4], 0
jne 0x416e59
cmp dword [0x44de90], 0
je 0x416d72
push 0x44f000
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x416db0
push 0x44f000
call dword [0x44e628]
test eax, eax
jne 0x416db0
cmp dword [0x44de94], 0
je 0x416da5
cmp dword [0x450a88], 0
je 0x416da5
lea ecx, [ebp - 0x30]
push ecx
push 0x4428f8
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
push 0x44f000
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44de94], 0
je 0x416dd4
cmp dword [0x450a88], 0
je 0x416dd4
lea edx, [ebp - 0x30]
push edx
push 0x442934
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
mov dword [ebp - 0xc], 0
jmp 0x416de6
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [0x44f1e8]
jge 0x416e2a
mov edx, dword [ebp - 0xc]
push edx
push 0x44f1e0
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x416e28
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x4f4], 0
je 0x416e28
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x4f4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x416ddd
push 0x44f000
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44de94], 0
je 0x416e59
cmp dword [0x450a88], 0
je 0x416e59
lea eax, [ebp - 0x30]
push eax
push 0x442968
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
mov ecx, dword [ebp - 0x14]
call fcn.00434de1
pop edi
pop esi
mov esp, ebp
pop ebp
ret