Function at 0x100129e0
Capabilities:
Check for debugger via api
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006929a
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x1007a200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [ebp - 0x2c]
push ecx
push 0x1006dd38
push ebx
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x58], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x54], esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [ebp - 0x24]
push ecx
push str.TaskType
push ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [ebp - 0x50]
push ecx
push str.UriType
push ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [ebp - 0x78]
push ecx
push str.TaskPeriod
push ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [ebp - 0x28]
push ecx
push str.TaskActionName
push ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [ebp - 0x54]
push ecx
push str.IgnoreHistory
push ebx
call edx
mov eax, dword [ebp + 8]
push ebx
push eax
call fcn.10014d50
mov eax, ebx
call fcn.10014830
test al, al
jne 0x10012abd
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x10]
push 0x1006e180
push str.DeletePending
push ebx
call edx
mov ecx, ebx
call fcn.10014a50
test al, al
jne 0x10012b31
push 0xd
push 0x137
mov edi, str.CTaskManger::HandlerStartOneTask
lea ecx, [ebp - 0x74]
call fcn.1000b330
add esp, 8
mov dword [ebp - 4], esi
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x10012af1
mov eax, dword [eax + 4]
jmp 0x10012af4
add eax, 4
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x10]
push eax
push str.TaskError
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x5c], esi
jb 0x10012b1a
mov eax, dword [ebp - 0x70]
push eax
call fcn.10047382
add esp, 4
push 0xd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [ebp + 8]
push ebx
call fcn.10014fa0
jmp 0x1001328a
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xc]
lea edx, [ebp - 0x20]
push edx
push str.TaskEnv
push ebx
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x20], esi
call eax
cmp dword [ebp - 0x20], esi
je 0x10012be4
lea ecx, [ebp - 0x7c]
call fcn.10020b40
mov ecx, dword [ebp - 0x20]
push 0xa
push esi
push ecx
call fcn.10048c87
add esp, 0xc
cmp eax, 0xffffffff
je 0x10012b77
test dword [ebp - 0x7c], eax
je 0x10012b77
mov byte [ebp - 0x11], 0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp - 0x11], 0
jne 0x10012be4
push 0x10
push 0x13d
mov edi, str.CTaskManger::HandlerStartOneTask
lea ecx, [ebp - 0x74]
call fcn.1000b330
add esp, 8
mov esi, 8
mov dword [ebp - 4], 1
cmp dword [eax + 0x18], esi
jb 0x10012bb4
mov eax, dword [eax + 4]
jmp 0x10012bb7
add eax, 4
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x10]
push eax
push str.TaskError
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x5c], esi
jb 0x10012bdd
mov eax, dword [ebp - 0x70]
push eax
call fcn.10047382
add esp, 4
push 0x10
jmp 0x10012b1c
push str.CPDebug.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x10012c80
call fcn.10017440
test al, al
jne 0x10012c23
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x10012c23
cmp dword [ebp - 0x20], esi
je 0x10012c80
push 0xe
push 0x146
mov edi, str.CTaskManger::HandlerStartOneTask
lea ecx, [ebp - 0x74]
call fcn.1000b330
add esp, 8
mov esi, 8
mov dword [ebp - 4], 2
cmp dword [eax + 0x18], esi
jb 0x10012c50
mov eax, dword [eax + 4]
jmp 0x10012c53
add eax, 4
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x10]
push str.TaskError
push ebx
call eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x5c], esi
jb 0x10012c79
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.10047382
add esp, 4
push 0xe
jmp 0x10012b1c
cmp dword [ebp - 0x50], esi
je 0x10012ce5
mov dword [ebp - 0x38], esi
xor edx, edx
push 4
mov eax, str.file
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], dx
call fcn.10002d50
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x50]
mov eax, edx
mov dword [ebp - 0x18], 1
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10012cc0
sub eax, esi
sar eax, 1
mov edi, eax
mov eax, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10003e80
mov byte [ebp - 0x11], 1
test eax, eax
je 0x10012ce9
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x18], 1
je 0x10012d0c
and dword [ebp - 0x18], 0xfffffffe
cmp dword [ebp - 0x34], 8
jb 0x10012d0c
mov eax, dword [ebp - 0x48]
push eax
call fcn.10047382
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x10012d1a
mov byte [ebp - 0x30], 1
mov byte [ebp - 0x58], 0
cmp dword [ebp - 0x54], 0
je 0x10012d7b
xor ecx, ecx
push 4
mov eax, 0x1006e180
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
call fcn.10002d50
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x54]
or dword [ebp - 0x18], 2
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10012d56
sub eax, esi
sar eax, 1
mov edi, eax
mov eax, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10003e80
mov byte [ebp - 0x11], 1
test eax, eax
je 0x10012d7f
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x18], 2
mov esi, 8
je 0x10012da6
and dword [ebp - 0x18], 0xfffffffd
cmp dword [ebp - 0x34], esi
jb 0x10012da6
mov edx, dword [ebp - 0x48]
push edx
call fcn.10047382
add esp, 4
cmp byte [ebp - 0x11], 0
jne 0x10012e47
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, ebx
call fcn.1000fe00
test al, al
je 0x10012e47
mov eax, dword [0x1007e134]
test eax, eax
je 0x10012def
mov edx, dword [eax]
push 0x1006e538
push 0x159
push str.CTaskManger::HandlerStartOneTask
push str..TaskManger.cc
push 2
push eax
mov eax, dword [edx]
call eax
add esp, 0x18
push 2
push 0x15a
mov edi, str.CTaskManger::HandlerStartOneTask
lea ecx, [ebp - 0x74]
call fcn.1000b330
add esp, 8
mov dword [ebp - 4], 5
cmp dword [eax + 0x18], esi
jb 0x10012e17
mov eax, dword [eax + 4]
jmp 0x10012e1a
add eax, 4
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x10]
push eax
push str.TaskError
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x5c], esi
jb 0x10012e40
mov eax, dword [ebp - 0x70]
push eax
call fcn.10047382
add esp, 4
push 2
jmp 0x10012b1c
cmp dword [ebp - 0x24], 0
je 0x10012ea8
xor ecx, ecx
push 6
mov eax, str.action
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
call fcn.10002d50
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x24]
or dword [ebp - 0x18], 4
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10012e83
sub eax, esi
sar eax, 1
mov edi, eax
mov eax, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10003e80
mov byte [ebp - 0x11], 1
test eax, eax
je 0x10012eac
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x18], 4
mov esi, 8
je 0x10012ed3
and dword [ebp - 0x18], 0xfffffffb
cmp dword [ebp - 0x34], esi
jb 0x10012ed3
mov edx, dword [ebp - 0x48]
push edx
call fcn.10047382
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x10013047
cmp dword [ebp - 0x28], 0
jne 0x10012f32
push 7
push 0x163
mov edi, str.CTaskManger::HandlerStartOneTask
lea ecx, [ebp - 0x74]
call fcn.1000b330
add esp, 8
mov dword [ebp - 4], 7
cmp dword [eax + 0x18], esi
jb 0x10012f0b
mov eax, dword [eax + 4]
jmp 0x10012f0e
add eax, 4
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x10]
push eax
push str.TaskError
push ebx
call edx
lea esi, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.100156e0
push 7
jmp 0x10012b1c
mov eax, str.Replace
lea ecx, [ebp - 0x4c]
call fcn.10001c10
mov ecx, 8
mov dword [ebp - 4], ecx
or dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x28]
mov ecx, eax
call fcn.100169b0
test al, al
je 0x10012f82
mov eax, str.ReplaceDelay
lea ecx, [ebp - 0x74]
call fcn.10001c10
mov dword [ebp - 4], 9
mov esi, dword [ebp - 0x28]
or dword [ebp - 0x18], 0x10
mov ecx, eax
call fcn.100169b0
mov byte [ebp - 0x11], 1
test al, al
jne 0x10012f86
mov byte [ebp - 0x11], 0
test byte [ebp - 0x18], 0x10
je 0x10012f98
and dword [ebp - 0x18], 0xffffffef
lea esi, [ebp - 0x74]
call fcn.100156e0
or edi, 0xffffffff
mov dword [ebp - 4], edi
test byte [ebp - 0x18], 8
je 0x10012fac
lea esi, [ebp - 0x4c]
call fcn.100156e0
cmp byte [ebp - 0x11], 0
je 0x10012ffa
push ebx
lea eax, [ebp - 0x80]
push eax
call fcn.1000d170
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0xa
call fcn.1000d4f0
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [ebp + 8]
push ebx
call fcn.10014fa0
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x1001328a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x1001328a
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x10013031
push 7
push 0x171
mov edi, str.CTaskManger::HandlerStartOneTask
lea ecx, [ebp - 0x74]
call fcn.1000b330
add esp, 8
mov dword [ebp - 4], 0xb
cmp dword [eax + 0x18], 8
jb 0x10012f0b
mov eax, dword [eax + 4]
jmp 0x10012f0e
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
push eax
add ecx, 0x1c
push ecx
jmp 0x10013281
cmp dword [ebp - 0x2c], 0
jne 0x100130a5
push 7
push 0x17b
mov edi, str.CTaskManger::HandlerStartOneTask
lea ecx, [ebp - 0x74]
call fcn.1000b330
add esp, 8
mov dword [ebp - 4], 0xc
cmp dword [eax + 0x18], esi
jb 0x10013075
mov eax, dword [eax + 4]
jmp 0x10013078
add eax, 4
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x10]
push eax
push str.TaskError
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x5c], esi
jb 0x1001309e
mov eax, dword [ebp - 0x70]
push eax
call fcn.10047382
add esp, 4
push 7
jmp 0x10012b1c
xor ecx, ecx
push 3
mov eax, 0x1006dc98
lea esi, [ebp - 0x74]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], cx
call fcn.10002d50
mov dword [ebp - 4], 0xd
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
or ebx, 0x20
mov eax, edx
mov dword [ebp - 0x18], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100130e0
sub eax, esi
sar eax, 1
mov edi, eax
mov eax, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x74]
call fcn.10003e80
test eax, eax
je 0x10013165
xor edx, edx
push 3
mov eax, 0x1006dd1c
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
call fcn.10002d50
mov dword [ebp - 4], 0xe
mov edx, dword [ebp - 0x24]
or ebx, 0x40
mov eax, edx
mov dword [ebp - 0x18], ebx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10013140
sub eax, esi
sar eax, 1
mov edi, eax
mov eax, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10003e80
mov byte [ebp - 0x11], 0
test eax, eax
jne 0x10013169
mov byte [ebp - 0x11], 1
test bl, 0x40
je 0x10013197
and ebx, 0xffffffbf
cmp dword [ebp - 0x34], 8
jb 0x10013183
mov eax, dword [ebp - 0x48]
push eax
call fcn.10047382
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
mov dword [ebp - 4], 0xffffffff
test bl, 0x20
je 0x100131b5
cmp dword [ebp - 0x5c], 8
jb 0x100131b5
mov edx, dword [ebp - 0x70]
push edx
call fcn.10047382
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x100131c3
mov byte [ebp - 0x30], 1
mov byte [ebp - 0x58], 0
xor eax, eax
mov word [ebp - 0x98], ax
push 0xa
mov eax, str.everystart
lea esi, [ebp - 0x9c]
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
call fcn.10002d50
mov dword [ebp - 4], 0xf
mov edx, dword [ebp - 0x78]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10013201
sub eax, esi
sar eax, 1
mov edi, eax
mov eax, dword [ebp - 0x88]
push edx
lea ecx, [ebp - 0x9c]
call fcn.10003e80
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x84], 8
jb 0x10013248
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.10047382
add esp, 4
xor edx, edx
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], dx
test bl, bl
je 0x1001326d
mov byte [ebp - 0x30], 1
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
push edx
add eax, 0x1c
push eax
call fcn.10004740
mov byte [ebp - 0x19], 1
mov eax, dword [ebp - 0x2c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x1001329a
push eax
call esi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100132a4
push eax
call esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x100132ae
push eax
call esi
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x100132b8
push eax
call esi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100132c2
push eax
call esi
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x100132cc
push eax
call esi
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4