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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [ebp + 8]
and dword [eax], 0
mov eax, dword [ebp + 0xc]
push ebx
mov dword [eax], 1
mov eax, dword [ebp + 0x10]
and dword [eax], 0
push esi
push edi
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0xc]
push eax
call esi
movzx edi, word [ebp - 0x46]
add edi, dword [ebp - 0xc]
lea eax, [ebp - 0xc]
push eax
call esi
movzx ebx, word [ebp - 0x48]
imul ebx, dword [ebp - 0xc]
lea eax, [ebp - 0xc]
push eax
call esi
movzx eax, word [ebp - 0x42]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
call esi
movzx esi, word [ebp - 0x44]
imul esi, dword [ebp - 0xc]
push esi
push dword [ebp - 0x10]
lea eax, [ebp - 0x40]
push ebx
push edi
push eax
call fcn.0043cd05
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x90]
push eax
call fcn.0040b49f
test eax, eax
je 0x40c742
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x40]
push eax
call fcn.0040a9a7
test eax, eax
je 0x40c742
cmp dword [ebp - 0x3c], edi
jne 0x40c742
cmp dword [ebp - 0x38], ebx
jne 0x40c742
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x34], eax
jne 0x40c742
cmp dword [ebp - 0x30], esi
jne 0x40c742
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x78]
jne 0x40c742
test eax, eax
jne 0x40c6d7
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x6c]
jne 0x40c742
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x68]
jne 0x40c742
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x70]
jne 0x40c742
sub esp, 0x30
push 0xc
pop ecx
mov edi, esp
lea esi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
call fcn.00409090
jmp 0x40c73d
cmp eax, 1
jne 0x40c703
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x6c]
jne 0x40c742
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x70]
jne 0x40c742
sub esp, 0x30
push 0xc
pop ecx
mov edi, esp
lea esi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
call fcn.004090c2
jmp 0x40c73d
cmp eax, 2
jne 0x40c742
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x6c]
jne 0x40c742
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x64]
jne 0x40c742
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x68]
jne 0x40c742
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x70]
jne 0x40c742
sub esp, 0x30
push 0xc
pop ecx
mov edi, esp
lea esi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
call fcn.004090ee
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov esi, dword [ebp + 8]
cmp dword [esi], 0
jne 0x40c776
push 0x401790
call fcn.0043d430
test eax, eax
pop ecx
je 0x40c761
mov dword [esi], 2
jmp 0x40c776
push 0x401778
call fcn.0043d430
test eax, eax
pop ecx
je 0x40c776
mov dword [esi], 5
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.0040aad6
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
lea edi, [ebp - 0x60]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edx, [ebp - 0x60]
push edx
stosd dword es:[edi], eax
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
push 0x401f60
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x40c7b5
cmp word [ebp - 0x60], 0x13
jne 0x40c7b5
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x40c7bb
mov eax, dword [ebp + 0x10]
and dword [eax], 0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
pop edi
pop esi
pop ebx
leave
ret 0xc