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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x11d0c744], 0
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebx]
je 0x10232b7b
cmp dword [edi + 4], 0x58544e43
jne 0x10232b7b
mov eax, dword fs:[0x2c]
mov ecx, dword [0x11d0c5b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi]
mov dword [ecx + 0x10], eax
mov dword [edi + 8], 0
jmp 0x10232b7d
xor edi, edi
mov eax, dword [ebx + 0x9b0]
xorps xmm0, xmm0
movlpd qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x64], 0
movlpd qword [ebp - 0x5c], xmm0
lea ecx, [eax + eax*2]
mov dword [ebp - 0x54], 0
shl ecx, 5
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x80], 0x4e564441
mov dword [ebp - 0x7c], 0x10002
mov dword [ebp - 0x78], 0x40
mov dword [ebp - 0x74], 0x4e562a2a
mov dword [ebp - 0x70], 0x100007e
mov dword [ebp - 0x60], 0
mov eax, dword [ecx + ebx + 0x5428]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + ebx + 0x5424]
xor ecx, ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x12c], ecx
and ecx, 0xfffffffe
mov eax, dword [edi + 0x11cc]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], 0x40
mov edx, dword [edi + 0x10b4]
test edx, edx
je 0x10232cda
mov eax, dword [edi]
test eax, eax
je 0x10232cda
mov ecx, dword [eax + 0xbe28]
test ecx, ecx
je 0x10232cda
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x10232cda
cmp dword [eax + 0xd45c], 1
jne 0x10232cc8
lea eax, [edi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [edi + 0x10b4]
lea eax, [ebp - 0x13c]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov dword [ebp - 0x140], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x148]
movlpd qword [ebp - 0x148], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x148]
sub ecx, dword [edi + 0x1428]
mov eax, dword [ebp - 0x144]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
mov eax, dword [ebp - 0x140]
jmp 0x10232cd2
lea eax, [ebp - 0x13c]
push eax
push ecx
call edx
test eax, eax
js 0x10232e50
mov eax, dword [ebp - 0x44]
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x12c], ecx
and ecx, 0xfffffffe
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x3c], 0x4e564441
mov dword [ebp - 0x38], 0x10002
mov dword [ebp - 0x34], 0x38
mov dword [ebp - 0x30], 0x4e562a2a
mov dword [ebp - 0x2c], 0x7000143
mov dword [ebp - 0x1c], 0
mov eax, dword [edi + 0x11cc]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x138], ecx
mov ecx, edi
push eax
mov dword [ebp - 0x130], 0x38
call fcn.101d20e0
test eax, eax
js 0x10232e50
push 0xa8
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.10425c00
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 0xf8], eax
add esp, 0xc
mov dword [ebp - 0x138], edx
mov ecx, edi
mov dword [ebp - 0x12c], edx
and edx, 0xfffffffe
mov dword [ebp - 0x128], 0x4e564441
mov dword [ebp - 0x124], 0x10002
mov dword [ebp - 0x120], 0xa8
mov dword [ebp - 0x11c], 0x4e562a2a
mov dword [ebp - 0x118], 0x700019d
mov dword [ebp - 0x108], 0
mov eax, dword [edi + 0x11cc]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x130], 0xa8
call fcn.101d20e0
test eax, eax
js 0x10232e50
mov eax, dword [ebp - 0x90]
mov dword [ebx + 0xe98], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 0xe9c], eax
mov eax, dword [ebp - 0x9c]
shr eax, 1
and al, 1
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret