Function at 0x415565
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 [0x44b08c], 0
je 0x4155b7
push 0x44c200
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x4155f5
push 0x44c200
call dword [0x44b824]
test eax, eax
jne 0x4155f5
cmp dword [0x44b090], 0
je 0x4155ea
cmp dword [0x44dc84], 0
je 0x4155ea
lea eax, [ebp - 0x28]
push eax
push 0x43f6bc
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
push 0x44c200
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44b090], 0
je 0x415619
cmp dword [0x44dc84], 0
je 0x415619
lea ecx, [ebp - 0x28]
push ecx
push 0x43f6f8
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov dword [ebp - 0x2c], 0
jmp 0x41562b
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [0x44c3e8]
jge 0x415674
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x44c3e0
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x415672
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x4e0], 0
je 0x415672
push 0
push 0x43f72c
push 5
mov eax, dword [ebp - 0x30]
push eax
call fcn.0041666a
add esp, 0x10
jmp 0x415622
push 0x44c200
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44b090], 0
je 0x4156a3
cmp dword [0x44dc84], 0
je 0x4156a3
lea ecx, [ebp - 0x28]
push ecx
push 0x43f730
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 [0x44b08c], 0
je 0x4156cd
push 0x44c200
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x41570b
push 0x44c200
call dword [0x44b824]
test eax, eax
jne 0x41570b
cmp dword [0x44b090], 0
je 0x415700
cmp dword [0x44dc84], 0
je 0x415700
lea edx, [ebp - 0x28]
push edx
push 0x43f764
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
push 0x44c200
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44b090], 0
je 0x41572f
cmp dword [0x44dc84], 0
je 0x41572f
lea eax, [ebp - 0x28]
push eax
push 0x43f7a0
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
jmp 0x415748
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [0x44c3e8]
jge 0x415785
mov eax, dword [ebp - 0x2c]
push eax
push 0x44c3e0
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x415783
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x4e0], 0
je 0x415783
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x41573f
push 0x44c200
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44b090], 0
je 0x4157b4
cmp dword [0x44dc84], 0
je 0x4157b4
lea eax, [ebp - 0x28]
push eax
push 0x43f7d4
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
cmp dword [ebp - 4], 0
je 0x4157cf
mov ecx, dword [ebp - 4]
push ecx
push 0xba
push 0
push 3
call fcn.0041bfab
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x41596a
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0xc], 0x1388
jb 0x415910
mov dword [ebp - 4], 0
cmp dword [0x44b08c], 0
je 0x41580e
push 0x44c200
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x41584c
push 0x44c200
call dword [0x44b824]
test eax, eax
jne 0x41584c
cmp dword [0x44b090], 0
je 0x415841
cmp dword [0x44dc84], 0
je 0x415841
lea edx, [ebp - 0x28]
push edx
push 0x43f808
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
push 0x44c200
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44b090], 0
je 0x415870
cmp dword [0x44dc84], 0
je 0x415870
lea eax, [ebp - 0x28]
push eax
push 0x43f844
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov dword [ebp - 0x2c], 0
jmp 0x415882
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [0x44c3e8]
jge 0x4158bf
mov eax, dword [ebp - 0x2c]
push eax
push 0x44c3e0
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4158bd
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x4e0], 0
je 0x4158bd
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x415879
push 0x44c200
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44b090], 0
je 0x4158ee
cmp dword [0x44dc84], 0
je 0x4158ee
lea eax, [ebp - 0x28]
push eax
push 0x43f878
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
cmp dword [ebp - 4], 0
je 0x415909
mov ecx, dword [ebp - 4]
push ecx
push 0xba
push 0
push 3
call fcn.0041bfab
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 [0x44d950]
jl 0x415965
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x44d950]
push eax
push 0xbc
push 0
push 2
call fcn.0041bfab
add esp, 0x14
mov dword [0x44b0b0], 1
jmp 0x41596a
jmp 0x4157cf
cmp dword [0x44b0b0], 0
jne 0x415a74
cmp dword [0x44b08c], 0
je 0x41598d
push 0x44c200
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x4159cb
push 0x44c200
call dword [0x44b824]
test eax, eax
jne 0x4159cb
cmp dword [0x44b090], 0
je 0x4159c0
cmp dword [0x44dc84], 0
je 0x4159c0
lea ecx, [ebp - 0x28]
push ecx
push 0x43f8ac
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
push 0x44c200
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44b090], 0
je 0x4159ef
cmp dword [0x44dc84], 0
je 0x4159ef
lea edx, [ebp - 0x28]
push edx
push 0x43f8e8
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov dword [ebp - 0x2c], 0
jmp 0x415a01
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [0x44c3e8]
jge 0x415a45
mov edx, dword [ebp - 0x2c]
push edx
push 0x44c3e0
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x415a43
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x4f4], 0
je 0x415a43
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x4f4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4159f8
push 0x44c200
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44b090], 0
je 0x415a74
cmp dword [0x44dc84], 0
je 0x415a74
lea eax, [ebp - 0x28]
push eax
push 0x43f91c
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret