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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x78]
mov esi, ecx
push eax
mov dword [ebp - 0x94], esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x78]
xorps xmm0, xmm0
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, ebx
or eax, edi
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
je 0x1014d75d
mov eax, dword [ebp + 0xc]
mov ecx, 0x3b9aca00
mul ecx
mov edx, 0x3b9aca00
mov ecx, eax
mov eax, dword [ebp + 8]
mul edx
push edi
push ebx
add ecx, edx
push ecx
push eax
call fcn.10451340
mov dword [ebp - 0x7c], eax
mov ecx, 0x3b9aca00
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], edx
mul ecx
mov edx, 0x3b9aca00
mov ecx, eax
mov eax, dword [ebp + 0x10]
mul edx
push edi
push ebx
add ecx, edx
push ecx
push eax
call fcn.10451340
mov ecx, eax
mov edi, 0x47ae147a
mov eax, edx
mul dword [esi + 0x28]
mov ebx, eax
mov eax, ecx
mul dword [esi + 0x28]
add ebx, edx
mov ecx, eax
mov edx, 0xe147ae15
mov dword [ebp - 0x54], ecx
mul edx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x70], eax
mov esi, edx
mov eax, ecx
mov ecx, 0xe147ae15
mul edi
mov edi, eax
mov dword [ebp - 0x64], edx
mov eax, ebx
mul ecx
mov ecx, eax
mov ebx, edx
mov eax, dword [ebp - 0x58]
mov edx, 0x47ae147a
mul edx
add ecx, esi
mov dword [ebp - 0x6c], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [ebp - 0x64]
adc ecx, 0
mov dword [ebp - 0x90], edi
xor eax, eax
add ebx, ecx
mov ecx, dword [ebp - 0x6c]
adc eax, eax
add ecx, ebx
mov ebx, dword [ebp - 0x54]
adc edx, eax
mov eax, dword [ebp - 0x58]
sub ebx, ecx
sbb eax, edx
shrd ebx, eax, 1
shr eax, 1
add ebx, ecx
mov ecx, dword [ebp - 0x7c]
adc eax, edx
shrd ebx, eax, 6
shr eax, 6
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], eax
jmp 0x1014d775
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x54], eax
mov eax, ecx
mov dword [ebp - 0x34], 0
mov ebx, 0xd7b634db
mov dword [ebp - 0x24], 0
mul ebx
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov edi, 0x431bde82
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x90], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x50], 0x4e564441
mul edi
mov dword [ebp - 0x4c], 0x10002
mov edi, eax
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x5c]
mul ebx
mov dword [ebp - 0x48], 0x45
mov ecx, eax
mov dword [ebp - 0x44], 0x4e564458
mov eax, dword [ebp - 0x5c]
mov ebx, edx
mov edx, 0x431bde82
mov dword [ebp - 0x40], 0x1000121
mul edx
add ecx, esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x64], eax
adc ebx, 0
mov dword [ebp - 0x1c], 1
add edi, ecx
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x90], edi
mov edi, 0x431bde82
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [ebp - 0x64]
adc eax, eax
add ecx, ebx
mov ebx, 0xd7b634db
adc edx, eax
mov eax, dword [ebp - 0x54]
shrd ecx, edx, 0x12
mul ebx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x90], eax
mov esi, edx
mov eax, dword [ebp - 0x54]
mul edi
mov edi, eax
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x58]
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [ebp - 0x58]
mov edx, 0x431bde82
mul edx
add ecx, esi
mov dword [ebp - 0x54], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [ebp - 0x6c]
adc ecx, 0
mov dword [ebp - 0x90], edi
xor eax, eax
add ebx, ecx
mov ecx, dword [ebp - 0x54]
adc eax, eax
add ecx, ebx
adc edx, eax
mov eax, dword [ebp - 0x7c]
shrd ecx, edx, 0x12
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x94]
mov dword [ebp - 0x20], 0
mov al, byte [ebx + 0x12]
mov byte [ebp - 0xc], al
test al, al
je 0x1014d8b5
mov ecx, dword [ebx + 0x30]
lea edx, [ebp - 0x50]
push 0x45
push edx
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x54]
cmp byte [ebx + 0x11], 0
mov eax, dword [ebp - 0x64]
je 0x1014d972
mov edx, dword [ebx + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, edx
jle 0x1014d90a
cmp byte [ebx + 0x15], 0
jne 0x1014d8ee
cmp byte [ebx + 0x1f], 0
jne 0x1014d8ee
sub eax, edx
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x78]
push eax
call edi
jmp 0x1014d910
test ecx, ecx
jle 0x1014d8fc
sub eax, edx
cmp ecx, eax
cmovge ecx, eax
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x78]
push eax
call edi
jmp 0x1014d910
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x78]
sub ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x74]
sbb eax, dword [ebp - 0x84]
cmp eax, dword [ebp + 0xc]
ja 0x1014d97d
jb 0x1014d930
cmp ecx, dword [ebp + 8]
jae 0x1014d97d
nop dword [eax + eax]
cmp byte [ebx + 0x14], 0
je 0x1014d93a
pause
jmp 0x1014d93e
push 0
call esi
lea eax, [ebp - 0x78]
push eax
call edi
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x74]
sbb ecx, dword [ebp - 0x84]
cmp ecx, dword [ebp + 0xc]
jb 0x1014d930
ja 0x1014d97d
cmp eax, dword [ebp + 8]
jb 0x1014d930
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x10
test eax, eax
jle 0x1014d97d
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x10