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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x100bd080]
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 [0x100c0e9c], eax
cmp dword [esi + 4], 0
je 0x10078066
cmp dword [esi + 8], 0
je 0x10078066
cmp dword [esi + 0x10], 0
je 0x10078066
cmp dword [esi + 0x14], 0
je 0x10078066
cmp dword [esi + 0xc], 0
je 0x10078066
mov eax, dword [0x100c0ac0]
test eax, eax
je 0x10077b0c
cmp dword [eax + 0x7c], 0
je 0x10077b0c
mov ecx, dword [0x100c0ac4]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x10077b0c
cmp byte [0x100c0b3c], 0
je 0x10077696
mov ecx, 0xd78c9c
call fcn.10019710
mov ebx, eax
test ebx, ebx
je 0x1007768d
push 4
push ebx
call edi
test eax, eax
jne 0x1007768d
push 4
add ebx, 0xb7c
push ebx
call edi
test eax, eax
jne 0x1007768d
mov ecx, dword [esp + 0x1c]
mov al, byte [ebx]
mov byte [ecx + 0x3a], al
jmp 0x10077691
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x100c0ac0]
mov eax, dword [eax + 0x7c]
mov al, byte [eax + 0x2c]
cmp al, byte [ecx + 0x3a]
jne 0x10077b0c
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x100776fb
push 4
push ebx
call edi
test eax, eax
jne 0x100776fb
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x100776fb
cmp byte [ebx], al
je 0x100776fb
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x100777d8
push 4
push ebx
call edi
test eax, eax
jne 0x100777d8
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x100777d8
cmp byte [ebx], al
je 0x100777d8
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x100778d4
push 4
push ebx
call edi
test eax, eax
jne 0x100778d4
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x100778d4
cmp byte [ebx], al
je 0x100778d4
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x100778d4
push 4
push ebx
call edi
test eax, eax
jne 0x100778d4
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x100778d4
cmp byte [ebx], al
je 0x100778d4
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 0x10077796
push 4
push eax
call edi
test eax, eax
jne 0x10077792
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x100b2ed0]
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 0x100777c9
push 4
push eax
call edi
test eax, eax
jne 0x100777c9
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x100b2ed0]
mov eax, dword [esp + 0x10]
add eax, 0x2a
cmp ebx, eax
jne 0x100778d4
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10077805
push 4
push ebx
call edi
test eax, eax
jne 0x10077805
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10077832
push 4
push ebx
call edi
test eax, eax
jne 0x10077832
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10077856
push 4
push ebx
call edi
test eax, eax
jne 0x10077856
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x2a
push eax
call dword [0x100b2ed4]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10077883
push 4
push ebx
call edi
test eax, eax
jne 0x10077883
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x100778b0
push 4
push ebx
call edi
test eax, eax
jne 0x100778b0
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x100778d4
push 4
push ebx
call edi
test eax, eax
jne 0x100778d4
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x54
push eax
call dword [0x100b2ed4]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10077a2a
push 4
push ebx
call edi
test eax, eax
jne 0x10077a2a
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10077a2a
cmp byte [ebx], al
je 0x10077a2a
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x1007792e
push 4
push ebx
call edi
test eax, eax
jne 0x1007792e
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x1007792e
cmp byte [ebx], al
jne 0x10077a2a
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x1007795b
push 4
push ebx
call edi
test eax, eax
jne 0x1007795b
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10077988
push 4
push ebx
call edi
test eax, eax
jne 0x10077988
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x100779ac
push 4
push ebx
call edi
test eax, eax
jne 0x100779ac
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x2a
push eax
call dword [0x100b2ed4]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x100779d9
push 4
push ebx
call edi
test eax, eax
jne 0x100779d9
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10077a06
push 4
push ebx
call edi
test eax, eax
jne 0x10077a06
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10078066
push 4
push ebx
call edi
test eax, eax
jne 0x10078066
mov eax, dword [esp + 0x1c]
add eax, 0x54
jmp 0x10078059
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10078066
push 4
push ebx
call edi
test eax, eax
jne 0x10078066
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10078066
cmp byte [ebx], al
je 0x10078066
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10078066
push 4
push ebx
call edi
test eax, eax
jne 0x10078066
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10078066
cmp byte [ebx], al
je 0x10078066
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 0x10077ac5
push 4
push eax
call edi
test eax, eax
jne 0x10077ac1
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x100b2ed0]
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 0x10077af8
push 4
push eax
call edi
test eax, eax
jne 0x10077af8
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x100b2ed0]
mov eax, dword [esp + 0x10]
add eax, 0x2a
cmp ebx, eax
jne 0x10078066
jmp 0x1007792e
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x10077b62
push 4
push ebx
call edi
test eax, eax
jne 0x10077b62
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10077b62
cmp byte [ebx], al
je 0x10077b62
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10077c3f
push 4
push ebx
call edi
test eax, eax
jne 0x10077c3f
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10077c3f
cmp byte [ebx], al
je 0x10077c3f
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x10077db9
push 4
push ebx
call edi
test eax, eax
jne 0x10077db9
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10077db9
cmp byte [ebx], al
je 0x10077db9
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10077db9
push 4
push ebx
call edi
test eax, eax
jne 0x10077db9
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10077db9
cmp byte [ebx], al
je 0x10077db9
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 0x10077bfd
push 4
push eax
call edi
test eax, eax
jne 0x10077bf9
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x100b2ed0]
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 0x10077c30
push 4
push eax
call edi
test eax, eax
jne 0x10077c30
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x100b2ed0]
mov eax, dword [esp + 0x10]
add eax, 0x2a
cmp ebx, eax
jne 0x10077db9
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10077c6c
push 4
push ebx
call edi
test eax, eax
jne 0x10077c6c
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10077c99
push 4
push ebx
call edi
test eax, eax
jne 0x10077c99
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x10077cbd
push 4
push ebx
call edi
test eax, eax
jne 0x10077cbd
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x2a
push eax
call dword [0x100b2ed4]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10077cea
push 4
push ebx
call edi
test eax, eax
jne 0x10077cea
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10077d17
push 4
push ebx
call edi
test eax, eax
jne 0x10077d17
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10077d3b
push 4
push ebx
call edi
test eax, eax
jne 0x10077d3b
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x54
push eax
call dword [0x100b2ed4]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10077d68
push 4
push ebx
call edi
test eax, eax
jne 0x10077d68
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10077d95
push 4
push ebx
call edi
test eax, eax
jne 0x10077d95
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10077db9
push 4
push ebx
call edi
test eax, eax
jne 0x10077db9
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x7e
push eax
call dword [0x100b2ed4]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10077e0f
push 4
push ebx
call edi
test eax, eax
jne 0x10077e0f
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10077e0f
cmp byte [ebx], al
je 0x10077e0f
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x10077eec
push 4
push ebx
call edi
test eax, eax
jne 0x10077eec
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10077eec
cmp byte [ebx], al
je 0x10077eec
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10078066
push 4
push ebx
call edi
test eax, eax
jne 0x10078066
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10078066
cmp byte [ebx], al
je 0x10078066
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x10078066
push 4
push ebx
call edi
test eax, eax
jne 0x10078066
push 4
add ebx, 0xfc
push ebx
call edi
test eax, eax
jne 0x10078066
cmp byte [ebx], al
je 0x10078066
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 0x10077eaa
push 4
push eax
call edi
test eax, eax
jne 0x10077ea6
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x100b2ed0]
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 0x10077edd
push 4
push eax
call edi
test eax, eax
jne 0x10077edd
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
call dword [0x100b2ed0]
mov eax, dword [esp + 0x10]
add eax, 0x2a
cmp ebx, eax
jne 0x10078066
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10077f19
push 4
push ebx
call edi
test eax, eax
jne 0x10077f19
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10077f46
push 4
push ebx
call edi
test eax, eax
jne 0x10077f46
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10077f6a
push 4
push ebx
call edi
test eax, eax
jne 0x10077f6a
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x2a
push eax
call dword [0x100b2ed4]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10077f97
push 4
push ebx
call edi
test eax, eax
jne 0x10077f97
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10077fc4
push 4
push ebx
call edi
test eax, eax
jne 0x10077fc4
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x10077fe8
push 4
push ebx
call edi
test eax, eax
jne 0x10077fe8
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x14]
add eax, 0x54
push eax
call dword [0x100b2ed4]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x10078015
push 4
push ebx
call edi
test eax, eax
jne 0x10078015
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x10078042
push 4
push ebx
call edi
test eax, eax
jne 0x10078042
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call dword [0x100b2ed0]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10078066
push 4
push ebx
call edi
test eax, eax
jne 0x10078066
mov eax, dword [esp + 0x1c]
add eax, 0x7e
push dword [esp + 0x14]
mov ecx, ebx
push eax
call dword [0x100b2ed4]
cmp byte [esi + 0x19], 0
jne 0x100781bd
cmp byte [esi + 0x18], 0
je 0x100781bd
cmp dword [esi + 8], 0
je 0x100781bd
cmp byte [0x100c0f4d], 0
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jne 0x100780c8
push 0x100c0f70
call ebx
cmp eax, 1
jne 0x100780b8
push 0x100c0f78
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov al, 1
mov byte [0x100c0f4c], al
mov byte [0x100c0f4d], al
jmp 0x100780cd
xor al, al
mov byte [0x100c0f4d], 1
mov byte [0x100c0f4c], al
jmp 0x100780cd
mov al, byte [0x100c0f4c]
test al, al
je 0x10078110
push 0x100c0f70
call ebx
mov edx, dword [0x100c0f74]
mov ecx, dword [0x100c0f70]
call fcn.1009f180
mov edx, dword [0x100c0f7c]
mov ecx, dword [0x100c0f78]
movsd qword [esp + 0x10], xmm0
call fcn.1009f180
movsd xmm1, qword [esp + 0x10]
divsd xmm1, xmm0
cvtpd2ps xmm2, xmm1
jmp 0x1007812e
call dword [sym.imp.WINMM.dll_timeGetTime]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b3ec0]
cvtpd2ps xmm2, xmm0
movss xmm0, dword [0x100b351c]
movaps xmm1, xmm2
subss xmm1, dword [esi + 0x1c]
comiss xmm0, xmm1
jae 0x100781bd
mov ebx, dword [esi + 8]
movss dword [esi + 0x1c], xmm2
test ebx, ebx
je 0x10078181
push 4
push ebx
call edi
test eax, eax
jne 0x10078181
lea ecx, [ebx + 0xd0]
call fcn.100196a0
mov ebx, dword [esi + 8]
cmp al, 2
jne 0x10078184
test ebx, ebx
je 0x100781bd
push 4
push ebx
call edi
test eax, eax
jne 0x100781bd
lea ecx, [ebx + 0xd0]
mov dl, 6
jmp 0x100781b8
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x100781bd
push 4
push ebx
call edi
test eax, eax
jne 0x100781bd
lea ecx, [ebx + 0xd0]
call fcn.100196a0
cmp al, 6
jne 0x100781bd
mov esi, dword [esi + 8]
test esi, esi
je 0x100781bd
push 4
push esi
call edi
test eax, eax
jne 0x100781bd
lea ecx, [esi + 0xd0]
mov dl, 2
call fcn.10019640
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007f9b5
mov esp, ebp
pop ebp
ret