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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10091040]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [esi]
mov dword [0x100937e4], eax
cmp dword [esi + 4], 0
je 0x10076396
cmp dword [esi + 8], 0
je 0x10076396
cmp dword [esi + 0x10], 0
je 0x10076396
cmp dword [esi + 0x14], 0
je 0x10076396
cmp dword [esi + 0xc], 0
je 0x10076396
mov eax, dword [0x100933d0]
test eax, eax
je 0x10075e3c
cmp dword [eax + 0x7c], 0
je 0x10075e3c
mov ecx, dword [0x100933d4]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x10075e3c
cmp byte [0x100933e2], 0
je 0x100759c6
mov ecx, 0xd78c9c
call fcn.10014f70
mov ebx, eax
test ebx, ebx
je 0x100759bd
push 4
push ebx
call edi
test eax, eax
jne 0x100759bd
push 4
add ebx, 0xb7c
push ebx
call edi
test eax, eax
jne 0x100759bd
mov ecx, dword [esp + 0x1c]
mov al, byte [ebx]
mov byte [ecx + 0x3a], al
jmp 0x100759c1
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x100933d0]
mov eax, dword [eax + 0x7c]
mov al, byte [eax + 0x2c]
cmp al, byte [ecx + 0x3a]
jne 0x10075e3c
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10075a2b
push 4
push ebx
call edi
test eax, eax
jne 0x10075a2b
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10075a2b
cmp byte [ebx], al
je 0x10075a2b
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10075b08
push 4
push ebx
call edi
test eax, eax
jne 0x10075b08
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10075b08
cmp byte [ebx], al
je 0x10075b08
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10075c04
push 4
push ebx
call edi
test eax, eax
jne 0x10075c04
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10075c04
cmp byte [ebx], al
je 0x10075c04
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10075c04
push 4
push ebx
call edi
test eax, eax
jne 0x10075c04
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10075c04
cmp byte [ebx], al
je 0x10075c04
mov eax, dword [esi + 0x14]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
test eax, eax
je 0x10075ac6
push 4
push eax
call edi
test eax, eax
jne 0x10075ac2
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x10088b10]
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
test eax, eax
je 0x10075af9
push 4
push eax
call edi
test eax, eax
jne 0x10075af9
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x10088b10]
mov eax, dword [esp + 0x10]
add eax, 0x1d
cmp ebx, eax
jne 0x10075c04
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10075b35
push 4
push ebx
call edi
test eax, eax
jne 0x10075b35
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10075b62
push 4
push ebx
call edi
test eax, eax
jne 0x10075b62
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10075b86
push 4
push ebx
call edi
test eax, eax
jne 0x10075b86
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x1d
push eax
call dword [0x10088b14]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10075bb3
push 4
push ebx
call edi
test eax, eax
jne 0x10075bb3
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10075be0
push 4
push ebx
call edi
test eax, eax
jne 0x10075be0
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10075c04
push 4
push ebx
call edi
test eax, eax
jne 0x10075c04
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x3a
push eax
call dword [0x10088b14]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10075d5a
push 4
push ebx
call edi
test eax, eax
jne 0x10075d5a
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10075d5a
cmp byte [ebx], al
je 0x10075d5a
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10075c5e
push 4
push ebx
call edi
test eax, eax
jne 0x10075c5e
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10075c5e
cmp byte [ebx], al
jne 0x10075d5a
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10075c8b
push 4
push ebx
call edi
test eax, eax
jne 0x10075c8b
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10075cb8
push 4
push ebx
call edi
test eax, eax
jne 0x10075cb8
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10075cdc
push 4
push ebx
call edi
test eax, eax
jne 0x10075cdc
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x1d
push eax
call dword [0x10088b14]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10075d09
push 4
push ebx
call edi
test eax, eax
jne 0x10075d09
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10075d36
push 4
push ebx
call edi
test eax, eax
jne 0x10075d36
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10076396
push 4
push ebx
call edi
test eax, eax
jne 0x10076396
mov eax, dword [esp + 0x1c]
add eax, 0x3a
jmp 0x10076389
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10076396
push 4
push ebx
call edi
test eax, eax
jne 0x10076396
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10076396
cmp byte [ebx], al
je 0x10076396
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10076396
push 4
push ebx
call edi
test eax, eax
jne 0x10076396
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10076396
cmp byte [ebx], al
je 0x10076396
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
test eax, eax
je 0x10075df5
push 4
push eax
call edi
test eax, eax
jne 0x10075df1
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x10088b10]
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
test eax, eax
je 0x10075e28
push 4
push eax
call edi
test eax, eax
jne 0x10075e28
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x10088b10]
mov eax, dword [esp + 0x10]
add eax, 0x1d
cmp ebx, eax
jne 0x10076396
jmp 0x10075c5e
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x10075e92
push 4
push ebx
call edi
test eax, eax
jne 0x10075e92
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10075e92
cmp byte [ebx], al
je 0x10075e92
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10075f6f
push 4
push ebx
call edi
test eax, eax
jne 0x10075f6f
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10075f6f
cmp byte [ebx], al
je 0x10075f6f
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x100760e9
push 4
push ebx
call edi
test eax, eax
jne 0x100760e9
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x100760e9
cmp byte [ebx], al
je 0x100760e9
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x100760e9
push 4
push ebx
call edi
test eax, eax
jne 0x100760e9
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x100760e9
cmp byte [ebx], al
je 0x100760e9
mov eax, dword [esi + 0xc]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
test eax, eax
je 0x10075f2d
push 4
push eax
call edi
test eax, eax
jne 0x10075f29
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x10088b10]
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
test eax, eax
je 0x10075f60
push 4
push eax
call edi
test eax, eax
jne 0x10075f60
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x10088b10]
mov eax, dword [esp + 0x10]
add eax, 0x1d
cmp ebx, eax
jne 0x100760e9
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10075f9c
push 4
push ebx
call edi
test eax, eax
jne 0x10075f9c
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10075fc9
push 4
push ebx
call edi
test eax, eax
jne 0x10075fc9
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x10075fed
push 4
push ebx
call edi
test eax, eax
jne 0x10075fed
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x1d
push eax
call dword [0x10088b14]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x1007601a
push 4
push ebx
call edi
test eax, eax
jne 0x1007601a
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10076047
push 4
push ebx
call edi
test eax, eax
jne 0x10076047
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x1007606b
push 4
push ebx
call edi
test eax, eax
jne 0x1007606b
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x3a
push eax
call dword [0x10088b14]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10076098
push 4
push ebx
call edi
test eax, eax
jne 0x10076098
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x100760c5
push 4
push ebx
call edi
test eax, eax
jne 0x100760c5
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x100760e9
push 4
push ebx
call edi
test eax, eax
jne 0x100760e9
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x57
push eax
call dword [0x10088b14]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x1007613f
push 4
push ebx
call edi
test eax, eax
jne 0x1007613f
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x1007613f
cmp byte [ebx], al
je 0x1007613f
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x1007621c
push 4
push ebx
call edi
test eax, eax
jne 0x1007621c
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x1007621c
cmp byte [ebx], al
je 0x1007621c
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10076396
push 4
push ebx
call edi
test eax, eax
jne 0x10076396
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10076396
cmp byte [ebx], al
je 0x10076396
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x10076396
push 4
push ebx
call edi
test eax, eax
jne 0x10076396
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10076396
cmp byte [ebx], al
je 0x10076396
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
test eax, eax
je 0x100761da
push 4
push eax
call edi
test eax, eax
jne 0x100761d6
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x10088b10]
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
test eax, eax
je 0x1007620d
push 4
push eax
call edi
test eax, eax
jne 0x1007620d
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x10088b10]
mov eax, dword [esp + 0x10]
add eax, 0x1d
cmp ebx, eax
jne 0x10076396
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10076249
push 4
push ebx
call edi
test eax, eax
jne 0x10076249
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10076276
push 4
push ebx
call edi
test eax, eax
jne 0x10076276
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x1007629a
push 4
push ebx
call edi
test eax, eax
jne 0x1007629a
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x1d
push eax
call dword [0x10088b14]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x100762c7
push 4
push ebx
call edi
test eax, eax
jne 0x100762c7
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x100762f4
push 4
push ebx
call edi
test eax, eax
jne 0x100762f4
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x10076318
push 4
push ebx
call edi
test eax, eax
jne 0x10076318
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x3a
push eax
call dword [0x10088b14]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10076345
push 4
push ebx
call edi
test eax, eax
jne 0x10076345
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10076372
push 4
push ebx
call edi
test eax, eax
jne 0x10076372
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x10088b10]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10076396
push 4
push ebx
call edi
test eax, eax
jne 0x10076396
mov eax, dword [esp + 0x1c]
add eax, 0x57
push dword [esp + 0x14]
mov ecx, ebx
push eax
call dword [0x10088b14]
cmp byte [esi + 0x19], 0
jne 0x100764ed
cmp byte [esi + 0x18], 0
je 0x100764ed
cmp dword [esi + 8], 0
je 0x100764ed
cmp byte [0x10093885], 0
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jne 0x100763f8
push 0x10093890
call ebx
cmp eax, 1
jne 0x100763e8
push 0x10093898
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov al, 1
mov byte [0x10093884], al
mov byte [0x10093885], al
jmp 0x100763fd
xor al, al
mov byte [0x10093885], 1
mov byte [0x10093884], al
jmp 0x100763fd
mov al, byte [0x10093884]
test al, al
je 0x10076440
push 0x10093890
call ebx
mov edx, dword [0x10093894]
mov ecx, dword [0x10093890]
call fcn.1007e240
mov edx, dword [0x1009389c]
mov ecx, dword [0x10093898]
movsd qword [esp + 0x10], xmm0
call fcn.1007e240
movsd xmm1, qword [esp + 0x10]
divsd xmm1, xmm0
cvtpd2ps xmm2, xmm1
jmp 0x1007645e
call dword [sym.imp.WINMM.dll_timeGetTime]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10089a50]
cvtpd2ps xmm2, xmm0
movss xmm0, dword [0x10088f14]
movaps xmm1, xmm2
subss xmm1, dword [esi + 0x1c]
comiss xmm0, xmm1
jae 0x100764ed
mov ebx, dword [esi + 8]
movss dword [esi + 0x1c], xmm2
test ebx, ebx
je 0x100764b1
push 4
push ebx
call edi
test eax, eax
jne 0x100764b1
lea ecx, [ebx + 0xd0]
call fcn.10014f00
mov ebx, dword [esi + 8]
cmp al, 2
jne 0x100764b4
test ebx, ebx
je 0x100764ed
push 4
push ebx
call edi
test eax, eax
jne 0x100764ed
lea ecx, [ebx + 0xd0]
mov dl, 6
jmp 0x100764e8
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x100764ed
push 4
push ebx
call edi
test eax, eax
jne 0x100764ed
lea ecx, [ebx + 0xd0]
call fcn.10014f00
cmp al, 6
jne 0x100764ed
mov esi, dword [esi + 8]
test esi, esi
je 0x100764ed
push 4
push esi
call edi
test eax, eax
jne 0x100764ed
lea ecx, [esi + 0xd0]
mov dl, 2
call fcn.10014ea0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007d0a4
mov esp, ebp
pop ebp
ret