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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
push esi
mov esi, ecx
movlpd qword [ebp - 0x50], xmm0
push edi
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
mov edi, dword [esi]
mov dword [esi + 0x4020], 0
mov dword [esi + 0x4024], 0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0x40
mov eax, dword [edi]
cmp dword [eax + 0xd45c], 1
jne 0x102437dc
lea eax, [edi + 0x1428]
push eax
call ebx
mov eax, dword [edi + 0x10d0]
lea ecx, [ebp - 0x5c]
push ecx
push dword [edi + 0x11cc]
call eax
push eax
push ecx
mov ecx, edi
call fcn.101c9e10
mov dword [ebp - 8], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
movlpd qword [ebp - 0x14], xmm0
push eax
call ebx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [edi + 0x1428]
mov eax, dword [ebp - 0x10]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
mov eax, dword [ebp - 8]
jmp 0x102437f7
mov eax, dword [edi + 0x10d0]
lea ecx, [ebp - 0x5c]
push ecx
push dword [edi + 0x11cc]
call eax
push eax
push ecx
mov ecx, edi
call fcn.101c9e10
test eax, eax
jne 0x10243a1f
mov edi, dword [esi]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x4020], eax
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0x40
mov eax, dword [edi]
cmp dword [eax + 0xd45c], 1
jne 0x102438af
lea eax, [edi + 0x1428]
push eax
call ebx
mov eax, dword [edi + 0x10d0]
lea ecx, [ebp - 0x5c]
push ecx
push dword [edi + 0x11cc]
call eax
push eax
push ecx
mov ecx, edi
call fcn.101c9e10
mov dword [ebp - 8], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
movlpd qword [ebp - 0x14], xmm0
push eax
call ebx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [edi + 0x1428]
mov eax, dword [ebp - 0x10]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
mov eax, dword [ebp - 8]
jmp 0x102438ca
mov eax, dword [edi + 0x10d0]
lea ecx, [ebp - 0x5c]
push ecx
push dword [edi + 0x11cc]
call eax
push eax
push ecx
mov ecx, edi
call fcn.101c9e10
test eax, eax
jne 0x10243a1f
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x4024], eax
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x58], 0
mov dword [edx + 0x5c], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x60], 0
mov dword [edx + 0x64], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0x68], 0
mov dword [edx + 0x6c], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x70], 0
mov dword [edx + 0x74], 0
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov dword [edx + 0x78], 0
mov dword [edx + 0x7c], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov dword [edx + 0x80], 0
mov dword [edx + 0x84], 0
mov dword [edx + 0x48], 0
mov dword [edx + 0x4c], 0
mov dword [edx + 0x88], 0
mov dword [edx + 0x8c], 0
mov dword [edx + 0x50], 0
mov dword [edx + 0x54], 0
mov dword [edx + 0x90], 0
mov dword [edx + 0x94], 0
mov eax, dword [esi + 0x4020]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], 0
mov eax, dword [esi + 0x4024]
mov dword [edx + 0x58], eax
mov dword [edx + 0x5c], 0
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [esi + 0x4028], eax
mov dword [esi + 0x402c], ecx
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [esi + 0x4030], eax
xor eax, eax
mov dword [esi + 0x4034], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x4020]
test eax, eax
je 0x10243ab4
mov edi, dword [esi]
mov dword [ebp + 8], eax
mov eax, dword [edi]
cmp dword [eax + 0xd45c], 1
jne 0x10243a8f
lea eax, [edi + 0x1428]
push eax
call ebx
mov eax, dword [edi + 0x10d4]
lea ecx, [ebp + 8]
push ecx
push dword [edi + 0x11cc]
call eax
push eax
push ecx
mov ecx, edi
call fcn.101c9e10
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x14], xmm0
call ebx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [edi + 0x1428]
mov eax, dword [ebp - 0x10]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
jmp 0x10243aaa
mov eax, dword [edi + 0x10d4]
lea ecx, [ebp + 8]
push ecx
push dword [edi + 0x11cc]
call eax
push eax
push ecx
mov ecx, edi
call fcn.101c9e10
mov dword [esi + 0x4020], 0
mov eax, dword [esi + 0x4024]
test eax, eax
je 0x10243b49
mov edi, dword [esi]
mov dword [ebp + 8], eax
mov eax, dword [edi]
cmp dword [eax + 0xd45c], 1
jne 0x10243b24
lea eax, [edi + 0x1428]
push eax
call ebx
mov eax, dword [edi + 0x10d4]
lea ecx, [ebp + 8]
push ecx
push dword [edi + 0x11cc]
call eax
push eax
push ecx
mov ecx, edi
call fcn.101c9e10
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x14], xmm0
call ebx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [edi + 0x1428]
mov eax, dword [ebp - 0x10]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
jmp 0x10243b3f
mov eax, dword [edi + 0x10d4]
lea ecx, [ebp + 8]
push ecx
push dword [edi + 0x11cc]
call eax
push eax
push ecx
mov ecx, edi
call fcn.101c9e10
mov dword [esi + 0x4024], 0
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret 4