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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0xdc]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [edi + 0x12e4]
cmp eax, 0xffffffff
jne 0x102411b3
mov eax, dword [edi + 0x1338]
cmp eax, 0xffffffff
jne 0x102411b3
mov dword [ebp - 0x44], 0
jmp 0x102411bd
mov eax, dword [edi + eax*4 + 0x11dc]
mov dword [ebp - 0x44], eax
mov ecx, dword [0x11d0c5b8]
xor edx, edx
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov ebx, dword [eax + 0x10]
xor eax, eax
mov esi, dword [ebx + 0xfd48]
test esi, esi
je 0x102411f7
lea ecx, [ebx + 0xf968]
mov edx, ecx
cmp dword [edx], 1
je 0x10241257
inc eax
add edx, 0x20
cmp eax, esi
jb 0x102411e8
xor edx, edx
mov eax, dword [ebp - 0x50]
xor ecx, ecx
mov esi, dword [ebp - 0x54]
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [eax + esi*4 + 0xc0]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x40], 0x4e564441
mov dword [ebp - 0x3c], 0x10002
mov dword [ebp - 0x38], 0x38
mov dword [ebp - 0x34], 0x4e564458
mov dword [ebp - 0x30], 0x100012d
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x102412d0
mov eax, dword [eax + edx*4 + 8]
jmp 0x102412d2
cmp eax, 0x1f
jne 0x1024126f
xor eax, eax
nop
cmp dword [ecx], 1
je 0x1024127d
inc eax
add ecx, 0x20
cmp eax, esi
jb 0x10241260
jmp 0x102411f5
cmp eax, 0xffffffff
je 0x102411f5
cmp eax, 0x1f
jae 0x102411f5
shl eax, 5
cmp dword [eax + ebx + 0xf96c], 0
setne al
test al, al
je 0x102411f5
mov esi, dword [edi]
mov ecx, dword [esi + 0xf93c]
mov eax, dword [esi + 0xf880]
and ecx, 0xf
mov edx, dword [esi + 0xf884]
shl ecx, 3
call fcn.10451430
mov ecx, dword [esi + 0xf944]
mov edx, 1
shl edx, cl
dec edx
and eax, edx
movzx eax, al
mov dword [ebp - 0x48], eax
bsf edx, eax
jmp 0x102411f7
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x64], ecx
mov eax, dword [edi + 0x11cc]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x60], eax
lea eax, [edx + edx*8]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x5c], 0x38
mov eax, dword [edx + eax*8 + 0x10]
mov dword [ebp - 0x58], eax
mov esi, dword [edi + 0x10b4]
test esi, esi
je 0x102413b0
mov eax, dword [edi]
test eax, eax
je 0x102413b0
mov edx, dword [eax + 0xbe28]
test edx, edx
je 0x102413b0
mov edx, dword [edx + 0x14]
test edx, edx
je 0x102413b0
cmp dword [eax + 0xd45c], 1
jne 0x1024138b
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [edi + 0x1428]
push eax
call esi
mov ecx, dword [edi + 0x10b4]
lea eax, [ebp - 0x68]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov ebx, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
movlpd qword [ebp - 0x4c], xmm0
push eax
call esi
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [edi + 0x1428]
mov eax, dword [ebp - 0x48]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
jmp 0x10241394
lea eax, [ebp - 0x68]
push eax
push edx
call esi
mov ebx, eax
test ebx, ebx
jns 0x102413ad
xor al, al
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 [ebp - 0xc]
test ecx, ecx
mov ecx, dword [ebp - 8]
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4