Function at 0x438700
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e536
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x544070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x56f400]
mov dword [ebp - 0x34], 0x532740
cmp dword [eax], 0
je 0x438771
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
push str._CI__::_CScheduler::_GetTaskFolder___
push 0
push 0x4b10ad
push 0
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], ebx
call fcn.00406440
add esp, 0x10
jmp 0x438777
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 4], 0
push 0x4b26ec
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
test eax, eax
jns 0x4387d8
mov ecx, dword [0x56f418]
cmp dword [ecx], 0
je 0x438870
push eax
push str.pTaskService__GetFolder_____error__0x_08x_
push 0x5327bc
push 0
call fcn.00406440
add esp, 0x10
jmp 0x438870
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
jns 0x438870
cmp eax, 0x80070002
je 0x43880e
mov ecx, dword [0x56f418]
cmp dword [ecx], 0
je 0x438870
push eax
push 0x531260
push str.pTaskService__GetFolder___s___error__0x_08x_
jmp 0x438861
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movups xmm0, xmmword [ebp - 0x4c]
push eax
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
push dword [esi]
movups xmmword [eax], xmm0
push ecx
call dword [edx + 0x2c]
mov esi, eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jns 0x438870
mov ecx, dword [0x56f418]
cmp dword [ecx], 0
je 0x438870
push esi
push 0x531260
push str.pTaskService__CreateFolder___s___error__0x_08x_
push str._CI__::_CScheduler::_GetTaskFolder____
push 0
call fcn.004046b0
add esp, 0x14
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x43887d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 2
mov eax, dword [0x56f400]
cmp dword [eax], 0
je 0x438916
mov esi, dword [0x56f404]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
sub ecx, edi
sbb edx, ebx
call fcn.00499730
mov edx, dword [esi + 4]
mov ecx, dword [esi]
movsd qword [ebp - 0x2c], xmm0
call fcn.00499730
movsd xmm1, qword [ebp - 0x2c]
sub esp, 8
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str._n____.6f___
push 0x532740
push 0
call fcn.00406440
mov eax, dword [ebp + 8]
add esp, 0x14
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
mov eax, ecx
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