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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e697
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x67d5bc]
mov esi, ecx
push eax
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x144], str.CRealAg
mov dword [ebp - 0x140], 0x57ba0c
mov dword [ebp - 0x13c], eax
call fcn.004ebfc1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x138], eax
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x114], bl
call fcn.00534b40
lea ecx, [ebp - 0x114]
push ecx
call fcn.004f05e1
add esp, 0x10
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4613e8
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x130]
call fcn.0040a3f0
push 6
push str.Files_
lea ecx, [ebp - 0x130]
call fcn.0040b110
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x46142b
lea eax, [ebp - 0x130]
push eax
call fcn.004ee71c
add esp, 4
test eax, eax
jne 0x461456
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x46144d
lea eax, [ebp - 0x130]
push eax
call fcn.004ee7f1
add esp, 4
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x46146b
lea eax, [ebp - 0x130]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push 1
push 0x11
push eax
mov eax, dword [edx + 4]
call eax
cmp eax, ebx
jne 0x46151b
push str.Add_Watch_Files_directory_failed.
push str.RealLogAgent
push 0x67eba0
call fcn.004ebec7
add esp, 0xc
cmp dword [ebp - 0x11c], 0x10
jb 0x4614b1
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.00535f7c
add esp, 4
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
mov dword [ebp - 4], 2
call edi
sub eax, dword [ebp - 0x138]
cmp dword [ebp - 0x134], ebx
je 0x461501
mov edx, dword [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x144]
push edx
push str._s_running_time
push eax
lea ecx, [ebp - 0x134]
push ecx
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
or eax, 0xffffffff
jmp 0x461687
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x461524
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x130]
call fcn.0040a3f0
push 8
push str.Attachs_
lea ecx, [ebp - 0x130]
call fcn.0040b110
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x461567
lea eax, [ebp - 0x130]
push eax
call fcn.004ee71c
add esp, 4
test eax, eax
jne 0x461592
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x461589
lea eax, [ebp - 0x130]
push eax
call fcn.004ee7f1
add esp, 4
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x4615a7
lea eax, [ebp - 0x130]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push 2
push 0x11
push eax
mov eax, dword [edx + 4]
call eax
cmp eax, ebx
jne 0x46160b
push str.Add_Watch_Attachs_directory_failed.
push str.RealLogAgent
push 0x67eba0
call fcn.004ebec7
add esp, 0xc
cmp dword [ebp - 0x11c], 0x10
jb 0x4615e9
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.00535f7c
add esp, 4
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
mov dword [ebp - 4], 3
jmp 0x4614ce
cmp dword [ebp - 0x11c], 0x10
jb 0x461623
mov edx, dword [ebp - 0x130]
push edx
call fcn.00535f7c
add esp, 4
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
mov dword [ebp - 4], 4
call edi
sub eax, dword [ebp - 0x138]
cmp dword [ebp - 0x134], ebx
je 0x461673
mov ecx, dword [ebp - 0x144]
push eax
mov eax, dword [ebp - 0x140]
push eax
push str._s_running_time
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret