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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor esi, esi
mov al, byte [ebx]
mov dword [esp + 0xc], esi
mov byte [edi + 4], al
mov al, byte [ebx + 1]
mov byte [edi + 5], al
lea eax, [ebx + 2]
push eax
lea eax, [edi + 7]
push 0x80
push eax
call fcn.1043c4a1
add esp, 0xc
mov dword [0x11d0d984], 0x1ff
cmp dword [ebx + 0x8c], esi
je 0x10244e2c
mov ecx, dword [edi]
push esi
call fcn.101c9c30
mov esi, eax
cmp esi, 0xffffffff
je 0x10244d0c
mov eax, dword [edi]
push esi
mov ecx, dword [eax]
mov ebx, dword [ecx + 0xd330]
shr ebx, 2
not bl
and bl, 1
mov byte [esp + 0x10], bl
call fcn.1002c4c0
mov ecx, dword [edi]
test al, al
jne 0x10244c98
test byte [ecx + 0xf5c], 4
mov edx, 0
movzx eax, bl
cmovne eax, edx
mov byte [esp + 0xc], al
push 0
push 0x50
push 0x16
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push dword [esp + 0x1c]
lea ebx, [edi + 0x88]
mov edx, esi
push ebx
push 1
call fcn.101c6a00
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
js 0x10244d0c
push dword [esp + 0x10]
mov ecx, dword [ebx]
call fcn.101c5e70
mov dword [esp + 0xc], eax
sub esp, 8
mov eax, dword [ebx]
mov edx, dword [eax]
or byte [eax + 0x604], 0x20
mov eax, dword [eax + 4]
mov ecx, dword [edx + 0x13c0]
bts ecx, eax
mov dword [edx + 0x13c0], ecx
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5e0]
push ecx
add ecx, 0xd60
call fcn.100a9e50
lea ebx, [edi + 0xbc]
mov dword [esp + 0x10], 6
nop word [eax + eax]
mov esi, dword [edi]
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
mov eax, dword [esi]
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
cmp dword [eax + 0xd45c], 1
jne 0x10244dd7
lea eax, [esi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi + 0x10d0]
lea ecx, [esp + 0x20]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
mov dword [esp + 0x14], eax
xorps xmm0, xmm0
lea eax, [esp + 0x18]
movlpd qword [esp + 0x18], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esi + 0x1428]
mov eax, dword [esp + 0x1c]
sbb eax, dword [esi + 0x142c]
add dword [esi + 0x1420], ecx
adc dword [esi + 0x1424], eax
mov eax, dword [esp + 0x14]
jmp 0x10244df3
mov eax, dword [esi + 0x10d0]
lea ecx, [esp + 0x20]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
test eax, eax
jne 0x10244e07
mov eax, dword [esp + 0x64]
test eax, eax
je 0x10244e07
mov esi, dword [esp + 0xc]
mov dword [ebx], eax
jmp 0x10244e10
mov esi, 0x8007000e
mov dword [esp + 0xc], esi
add ebx, 8
sub dword [esp + 0x10], 1
jne 0x10244d20
test esi, esi
jns 0x10244e29
mov ecx, edi
call fcn.10244ed0
mov ebx, dword [ebp + 8]
mov ecx, dword [edi]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0xf54], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x10244e52
mov ecx, dword [ecx + 0x1018]
test ecx, ecx
je 0x10244e52
mov eax, dword [ebx + 0x88]
mov dword [ecx], eax
cmp byte [edi + 4], 0
je 0x10244eba
mov eax, dword [edi]
mov edx, dword [0x11d0c5b8]
mov edi, dword fs:[0x2c]
mov eax, dword [eax + 0xf7c]
cmp dword [eax + 0x1838], 0x57ad
je 0x10244ea0
mov ecx, dword [edi + edx*4]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0xd2e4]
mov dword [ebx + 0x84], eax
mov eax, dword [ecx + 0x10]
mov dword [eax + 0xd2e4], 0x60925292
jmp 0x10244eaa
mov dword [ebx + 0x84], 0x60925292
mov eax, dword [edi + edx*4]
mov eax, dword [eax + 0x10]
and byte [eax + 0xd2a2], 0xf7
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4