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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x11d0c744], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x188], edi
mov ebx, dword [edi]
je 0x1020659b
cmp dword [ebx + 4], 0x58544e43
jne 0x1020659b
mov eax, dword fs:[0x2c]
mov ecx, dword [0x11d0c5b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx]
mov dword [ecx + 0x10], eax
mov dword [ebx + 8], 0
jmp 0x1020659d
xor ebx, ebx
mov edx, dword [esi + 0x30]
xor ecx, ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x170], ecx
mov eax, dword [ebx + 0x11cc]
mov dword [ebp - 0x180], eax
mov eax, edx
shr eax, 0x1e
xor eax, ecx
mov dword [esi + 0x10], 0x1000076
and eax, 1
mov dword [esi], 0x4e564441
xor ecx, eax
mov dword [esi + 4], 0x10002
mov dword [esi + 0xc], 0x4e564458
mov dword [esi + 8], 0x150
cmp byte [edi + 0x540d], 0
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x174], 0x150
je 0x10206773
test edx, 0x20000000
jne 0x10206773
cmp dword [edi + 0xc8], 0
jne 0x1020662d
cmp byte [edi + 0x5414], 0
je 0x10206773
mov dword [esi + 0x34], 0
cmp dword [edi + 0x5418], 0
mov dword [ebp - 0x168], 0
jbe 0x1020682b
lea eax, [edi + 0x5478]
mov dword [ebp - 0x16c], eax
nop word [eax + eax]
mov ecx, 0x54
lea edi, [ebp - 0x15c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x16c]
mov eax, dword [edi - 4]
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x178], eax
mov edx, dword [ebx + 0x10b4]
test edx, edx
je 0x10206727
mov eax, dword [ebx]
test eax, eax
je 0x10206727
mov ecx, dword [eax + 0xbe28]
test ecx, ecx
je 0x10206727
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x10206727
cmp dword [eax + 0xd45c], 1
jne 0x1020671d
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebx + 0x1428]
push eax
call esi
lea eax, [ebp - 0x180]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
mov eax, dword [ebx + 0x10b4]
call eax
lea eax, [ebp - 0x164]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x164], xmm0
call esi
mov ecx, dword [ebp - 0x164]
sub ecx, dword [ebx + 0x1428]
mov eax, dword [ebp - 0x160]
sbb eax, dword [ebx + 0x142c]
add dword [ebx + 0x1420], ecx
adc dword [ebx + 0x1424], eax
jmp 0x10206727
lea eax, [ebp - 0x180]
push eax
push ecx
call edx
mov esi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x188]
mov dword [edi], eax
add edi, 0x60
or dword [esi + 0x34], eax
mov eax, dword [ebp - 0x168]
inc eax
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x168], eax
cmp eax, dword [ecx + 0x5418]
jb 0x10206660
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x10b4]
test ecx, ecx
je 0x1020682b
mov eax, dword [ebx]
test eax, eax
je 0x1020682b
mov edx, dword [eax + 0xbe28]
test edx, edx
je 0x1020682b
mov edx, dword [edx + 0x14]
test edx, edx
je 0x1020682b
cmp dword [eax + 0xd45c], 1
jne 0x10206821
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebx + 0x1428]
push eax
call esi
lea eax, [ebp - 0x180]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
mov eax, dword [ebx + 0x10b4]
call eax
lea eax, [ebp - 0x164]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x164], xmm0
call esi
mov ecx, dword [ebp - 0x164]
sub ecx, dword [ebx + 0x1428]
mov eax, dword [ebp - 0x160]
sbb eax, dword [ebx + 0x142c]
add dword [ebx + 0x1420], ecx
adc dword [ebx + 0x1424], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x180]
push eax
push edx
call ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4