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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
mov ecx, 6
mov esi, str.AbortAllJobs
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
cmp dword [0x448b1c], 0
je 0x41517f
push 0x449c60
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x4151bd
push 0x449c60
call dword [0x4492b4]
test eax, eax
jne 0x4151bd
cmp dword [0x448b20], 0
je 0x4151b2
cmp dword [0x44b6e0], 0
je 0x4151b2
lea eax, [ebp - 0x28]
push eax
push 0x43c88c
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
push 0x449c60
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x448b20], 0
je 0x4151e1
cmp dword [0x44b6e0], 0
je 0x4151e1
lea ecx, [ebp - 0x28]
push ecx
push 0x43c8c8
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov dword [ebp - 0x2c], 0
jmp 0x4151f3
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [0x449e48]
jge 0x41523c
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x449e40
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41523a
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x4e0], 0
je 0x41523a
push 0
push 0x43c8fc
push 5
mov eax, dword [ebp - 0x30]
push eax
call fcn.00416220
add esp, 0x10
jmp 0x4151ea
push 0x449c60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x448b20], 0
je 0x41526b
cmp dword [0x44b6e0], 0
je 0x41526b
lea ecx, [ebp - 0x28]
push ecx
push 0x43c900
call dword [sym.imp.MSVCRT.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 [0x448b1c], 0
je 0x415295
push 0x449c60
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x4152d3
push 0x449c60
call dword [0x4492b4]
test eax, eax
jne 0x4152d3
cmp dword [0x448b20], 0
je 0x4152c8
cmp dword [0x44b6e0], 0
je 0x4152c8
lea edx, [ebp - 0x28]
push edx
push 0x43c934
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
push 0x449c60
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x448b20], 0
je 0x4152f7
cmp dword [0x44b6e0], 0
je 0x4152f7
lea eax, [ebp - 0x28]
push eax
push 0x43c970
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
jmp 0x415310
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [0x449e48]
jge 0x41534d
mov eax, dword [ebp - 0x2c]
push eax
push 0x449e40
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41534b
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x4e0], 0
je 0x41534b
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x415307
push 0x449c60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x448b20], 0
je 0x41537c
cmp dword [0x44b6e0], 0
je 0x41537c
lea eax, [ebp - 0x28]
push eax
push 0x43c9a4
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
cmp dword [ebp - 4], 0
je 0x415397
mov ecx, dword [ebp - 4]
push ecx
push 0xba
push 0
push 3
call fcn.0041b8d1
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x415532
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0xc], 0x1388
jb 0x4154d8
mov dword [ebp - 4], 0
cmp dword [0x448b1c], 0
je 0x4153d6
push 0x449c60
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x415414
push 0x449c60
call dword [0x4492b4]
test eax, eax
jne 0x415414
cmp dword [0x448b20], 0
je 0x415409
cmp dword [0x44b6e0], 0
je 0x415409
lea edx, [ebp - 0x28]
push edx
push 0x43c9d8
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
push 0x449c60
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x448b20], 0
je 0x415438
cmp dword [0x44b6e0], 0
je 0x415438
lea eax, [ebp - 0x28]
push eax
push 0x43ca14
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov dword [ebp - 0x2c], 0
jmp 0x41544a
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [0x449e48]
jge 0x415487
mov eax, dword [ebp - 0x2c]
push eax
push 0x449e40
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x415485
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x4e0], 0
je 0x415485
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x415441
push 0x449c60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x448b20], 0
je 0x4154b6
cmp dword [0x44b6e0], 0
je 0x4154b6
lea eax, [ebp - 0x28]
push eax
push 0x43ca48
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
cmp dword [ebp - 4], 0
je 0x4154d1
mov ecx, dword [ebp - 4]
push ecx
push 0xba
push 0
push 3
call fcn.0041b8d1
add esp, 0x10
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
add edx, 0x1f4
mov dword [ebp - 0xc], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
push eax
call sub.MSVCRT.dll_abs
add esp, 4
cdq
mov ecx, 0x3e8
idiv ecx
cmp eax, dword [0x44b3ac]
jl 0x41552d
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x44b3ac]
push eax
push 0xbc
push 0
push 2
call fcn.0041b8d1
add esp, 0x14
mov dword [0x448b40], 1
jmp 0x415532
jmp 0x415397
cmp dword [0x448b40], 0
jne 0x41563c
cmp dword [0x448b1c], 0
je 0x415555
push 0x449c60
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x415593
push 0x449c60
call dword [0x4492b4]
test eax, eax
jne 0x415593
cmp dword [0x448b20], 0
je 0x415588
cmp dword [0x44b6e0], 0
je 0x415588
lea ecx, [ebp - 0x28]
push ecx
push 0x43ca7c
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
push 0x449c60
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x448b20], 0
je 0x4155b7
cmp dword [0x44b6e0], 0
je 0x4155b7
lea edx, [ebp - 0x28]
push edx
push 0x43cab8
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov dword [ebp - 0x2c], 0
jmp 0x4155c9
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [0x449e48]
jge 0x41560d
mov edx, dword [ebp - 0x2c]
push edx
push 0x449e40
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41560b
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x4f4], 0
je 0x41560b
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x4f4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4155c0
push 0x449c60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x448b20], 0
je 0x41563c
cmp dword [0x44b6e0], 0
je 0x41563c
lea eax, [ebp - 0x28]
push eax
push 0x43caec
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret