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

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0x18], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0
push 0x3e8
push ecx
push edx
call fcn.0062e0c0
mov ecx, dword [0x6ac824]
push ecx
mov ecx, dword [0x6ac820]
push ecx
push edx
push eax
call fcn.00639340
mov ebp, dword [0x68e518]
xor edx, edx
mov dword [0x7123c0], edx
mov dword [0x7123c4], edx
mov dword [0x7123c8], edx
mov dword [0x7123cc], edx
mov dword [0x7123d0], edx
mov dword [0x7123d4], edx
mov dword [0x7123d8], edx
mov dword [0x7123dc], edx
mov dword [0x7123e0], edx
xor esi, esi
mov edi, eax
mov dword [0x7123e4], edx
xor ebx, ebx
mov ecx, ebx
call fcn.00490c50
movsx ecx, word [ebx*2 + 0x710258]
inc esi
cmp ebx, 0x66
ja case.0x48ee35.1
movzx edx, byte [ebx + 0x48f918]
jmp dword [edx*4 + 0x48f8fc]
mov ecx, dword [0x68e500]
cmp ecx, 0xffffffff
je 0x48ee4f
cmp esi, ecx
jne 0x48ef9b
test al, al
jbe 0x48ee7e
mov edx, dword [0x68e4fc]
mov eax, edi
sub eax, edx
cmp eax, 0x15e
jb 0x48ef9b
mov byte [esp + 0x12], 1
mov dword [0x68e4fc], edi
mov dword [0x68e500], esi
jmp 0x48ef9b
mov dword [0x68e4fc], 0
mov dword [0x68e500], 0xffffffff
jmp 0x48ef9b
mov ecx, dword [0x68e508]
cmp ecx, 0xffffffff
je 0x48eeaa
cmp esi, ecx
jne 0x48ef9b
test al, al
jbe 0x48eeda
mov edx, dword [0x68e504]
mov ecx, edi
sub ecx, edx
cmp ecx, 0x15e
jb 0x48ef9b
mov byte [esp + 0x13], 1
mov dword [0x68e504], edi
mov dword [0x68e508], esi
jmp 0x48ef9b
mov dword [0x68e504], 0
mov dword [0x68e508], 0xffffffff
jmp 0x48ef9b
mov ecx, dword [0x68e510]
cmp ecx, 0xffffffff
je 0x48ef06
cmp esi, ecx
jne 0x48ef9b
test al, al
jbe 0x48ef2f
mov ecx, dword [0x68e50c]
mov edx, edi
sub edx, ecx
cmp edx, 0x15e
jb 0x48ef9b
mov byte [esp + 0x14], 1
mov dword [0x68e50c], edi
mov dword [0x68e510], esi
jmp 0x48ef9b
mov dword [0x68e50c], 0
mov dword [0x68e510], 0xffffffff
jmp 0x48ef9b
cmp ebp, 0xffffffff
je 0x48ef4e
cmp esi, ebp
jne 0x48ef9b
test al, al
jbe 0x48ef72
mov edx, dword [0x68e514]
mov eax, edi
sub eax, edx
cmp eax, 0x15e
jb 0x48ef9b
mov byte [esp + 0x15], 1
mov dword [0x68e514], edi
mov ebp, esi
jmp 0x48ef9b
mov dword [0x68e514], 0
or ebp, 0xffffffff
jmp 0x48ef9b
sub ecx, 8
je case.0x48ee35.56
dec ecx
jne 0x48ef9b
cmp al, 1
jne 0x48ef9b
mov byte [esp + 0x17], al
jmp 0x48ef9b
cmp al, 1
jne 0x48ef9b
mov byte [esp + 0x16], al
inc ebx
cmp ebx, 0x6d
jl 0x48ee15
xor edx, edx
mov dword [0x68e518], ebp
mov dword [esp + 0x18], edx
jmp 0x48efc0
mov edx, dword [esp + 0x18]
jmp 0x48efc0
movsx ebp, dx
mov ebx, dword [ebp*4 + 0x6b2c10]
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x20], eax
je 0x48efe5
lea ecx, [ebx + ebx*8]
shl ecx, 6
mov ecx, dword [ecx + 0x6b19c8]
mov dword [esp + 0x20], ecx
cmp ebx, 0xffffffff
mov dword [esp + 0x24], eax
je 0x48effe
lea ecx, [ebx + ebx*8]
shl ecx, 6
mov ecx, dword [ecx + 0x6b19c4]
mov dword [esp + 0x24], ecx
cmp ebx, 0xffffffff
mov dword [esp + 0x28], eax
je 0x48f017
lea ecx, [ebx + ebx*8]
shl ecx, 6
mov ecx, dword [ecx + 0x6b19cc]
mov dword [esp + 0x28], ecx
cmp ebx, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x48f043
mov al, byte [0x6b1521]
test al, al
je 0x48f033
mov dword [esp + 0x1c], 0x6b2c20
jmp 0x48f043
lea eax, [ebp + ebp*4]
shl eax, 5
add eax, 0x6b2990
mov dword [esp + 0x1c], eax
mov cx, word [edx*4 + 0x71044e]
cmp cx, 0xffff
je 0x48f082
cmp ebx, 0xffffffff
je 0x48f082
mov al, byte [0x6b1521]
test al, al
je 0x48f066
mov eax, 0x6b2c20
jmp 0x48f074
lea eax, [ebp + ebp*4]
shl eax, 5
add eax, 0x6b2990
je 0x48f082
movsx ecx, cx
cmp byte [ecx + eax], 1
jne 0x48f082
mov byte [esp + 0x16], 1
mov cx, word [edx*4 + 0x710450]
cmp cx, 0xffff
je 0x48f0c1
cmp ebx, 0xffffffff
je 0x48f0c1
mov al, byte [0x6b1521]
test al, al
je 0x48f0a5
mov eax, 0x6b2c20
jmp 0x48f0b3
lea eax, [ebp + ebp*4]
shl eax, 5
add eax, 0x6b2990
je 0x48f0c1
movsx edx, cx
cmp byte [edx + eax], 1
jne 0x48f0c1
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x20]
xor ebp, ebp
test eax, eax
jle 0x48f284
mov edx, dword [esp + 0x18]
shl edx, 6
add edx, 0x71034e
lea esp, [esp]
xor cl, cl
cmp ebx, 0xffffffff
je 0x48f10f
mov al, byte [0x6b1521]
test al, al
je 0x48f0f7
mov eax, 0x6b2c20
jmp 0x48f109
movsx eax, word [esp + 0x18]
lea eax, [eax + eax*4]
shl eax, 5
add eax, 0x6b2990
je 0x48f10f
movsx ecx, bp
mov cl, byte [ecx + eax]
movsx eax, word [edx]
add eax, 0xffffffed
inc esi
cmp eax, 7
ja case.default.0x48f11f
jmp dword [eax*4 + 0x48f980]
mov eax, dword [0x68e500]
cmp eax, 0xffffffff
je 0x48f138
cmp esi, eax
jne case.default.0x48f11f
test cl, cl
jbe 0x48f167
mov ecx, dword [0x68e4fc]
mov eax, edi
sub eax, ecx
cmp eax, 0x15e
jb case.default.0x48f11f
mov byte [esp + 0x12], 1
mov dword [0x68e4fc], edi
mov dword [0x68e500], esi
jmp case.default.0x48f11f
mov dword [0x68e4fc], 0
mov dword [0x68e500], 0xffffffff
jmp case.default.0x48f11f
mov eax, dword [0x68e508]
cmp eax, 0xffffffff
je 0x48f192
cmp esi, eax
jne case.default.0x48f11f
test cl, cl
jbe 0x48f1c1
mov eax, dword [0x68e504]
mov ecx, edi
sub ecx, eax
cmp ecx, 0x15e
jb case.default.0x48f11f
mov byte [esp + 0x13], 1
mov dword [0x68e504], edi
mov dword [0x68e508], esi
jmp case.default.0x48f11f
mov dword [0x68e504], 0
mov dword [0x68e508], 0xffffffff
jmp case.default.0x48f11f
mov eax, dword [0x68e510]
cmp eax, 0xffffffff
je 0x48f1ec
cmp esi, eax
jne case.default.0x48f11f
test cl, cl
jbe 0x48f214
mov ecx, dword [0x68e50c]
mov eax, edi
sub eax, ecx
cmp eax, 0x15e
jb case.default.0x48f11f
mov byte [esp + 0x14], 1
mov dword [0x68e50c], edi
mov dword [0x68e510], esi
jmp case.default.0x48f11f
mov dword [0x68e50c], 0
mov dword [0x68e510], 0xffffffff
jmp case.default.0x48f11f
mov eax, dword [0x68e518]
cmp eax, 0xffffffff
je 0x48f238
cmp esi, eax
jne case.default.0x48f11f
test cl, cl
jbe 0x48f260
mov eax, dword [0x68e514]
mov ecx, edi
sub ecx, eax
cmp ecx, 0x15e
jb case.default.0x48f11f
mov byte [esp + 0x15], 1
mov dword [0x68e514], edi
mov dword [0x68e518], esi
jmp case.default.0x48f11f
mov dword [0x68e514], 0
mov dword [0x68e518], 0xffffffff
mov eax, dword [esp + 0x20]
inc ebp
add edx, 2
cmp ebp, eax
jl 0x48f0e0
mov eax, dword [esp + 0x24]
xor edx, edx
test eax, eax
jle 0x48f462
mov eax, dword [esp + 0x1c]
mov ebx, dword [0x68e518]
mov ebp, dword [0x68e510]
add eax, 0x20
mov dword [esp + 0x20], eax
lea esp, [esp]
mov ecx, dword [esp + 0x20]
movsx eax, word [ecx]
inc esi
test eax, eax
jge 0x48f2d7
mov ecx, dword [esp + 0x18]
shl ecx, 5
add ecx, edx
movsx ecx, word [ecx*4 + 0x710460]
cmp eax, 0xfffff800
setle al
jmp 0x48f2f6
jle case.default.0x48f30e
mov ecx, dword [esp + 0x18]
shl ecx, 5
add ecx, edx
movsx ecx, word [ecx*4 + 0x71045e]
cmp eax, 0x800
setge al
cmp ecx, 0x7fff
je case.default.0x48f30e
add ecx, 0xffffffed
cmp ecx, 7
ja case.default.0x48f30e
jmp dword [ecx*4 + 0x48f9a0]
mov ecx, dword [0x68e500]
cmp ecx, 0xffffffff
je 0x48f328
cmp esi, ecx
jne case.default.0x48f30e
test al, al
je 0x48f357
mov ecx, dword [0x68e4fc]
mov eax, edi
sub eax, ecx
cmp eax, 0x15e
jb case.default.0x48f30e
mov byte [esp + 0x12], 1
mov dword [0x68e4fc], edi
mov dword [0x68e500], esi
jmp case.default.0x48f30e
mov dword [0x68e4fc], 0
mov dword [0x68e500], 0xffffffff
jmp case.default.0x48f30e
mov ecx, dword [0x68e508]
cmp ecx, 0xffffffff
je 0x48f383
cmp esi, ecx
jne case.default.0x48f30e
test al, al
je 0x48f3b2
mov eax, dword [0x68e504]
mov ecx, edi
sub ecx, eax
cmp ecx, 0x15e
jb case.default.0x48f30e
mov byte [esp + 0x13], 1
mov dword [0x68e504], edi
mov dword [0x68e508], esi
jmp case.default.0x48f30e
mov dword [0x68e504], 0
mov dword [0x68e508], 0xffffffff
jmp case.default.0x48f30e
cmp ebp, 0xffffffff
je 0x48f3d1
cmp esi, ebp
jne case.default.0x48f30e
test al, al
je 0x48f3f5
mov ecx, dword [0x68e50c]
mov eax, edi
sub eax, ecx
cmp eax, 0x15e
jb case.default.0x48f30e
mov byte [esp + 0x14], 1
mov dword [0x68e50c], edi
mov ebp, esi
jmp case.default.0x48f30e
mov dword [0x68e50c], 0
or ebp, 0xffffffff
jmp case.default.0x48f30e
cmp ebx, 0xffffffff
je 0x48f40d
cmp esi, ebx
jne case.default.0x48f30e
test al, al
je 0x48f431
mov eax, dword [0x68e514]
mov ecx, edi
sub ecx, eax
cmp ecx, 0x15e
jb case.default.0x48f30e
mov byte [esp + 0x15], 1
mov dword [0x68e514], edi
mov ebx, esi
jmp case.default.0x48f30e
mov dword [0x68e514], 0
or ebx, 0xffffffff
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
inc edx
add ecx, 2
cmp edx, eax
mov dword [esp + 0x20], ecx
jl 0x48f2b0
mov dword [0x68e518], ebx
mov dword [0x68e510], ebp
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x48f63c
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [0x68e518]
mov ebp, dword [0x68e510]
shl eax, 8
add eax, 0x71065e
add edx, 0x60
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
inc esi
xor edx, edx
mov dword [esp + 0x28], eax
jmp 0x48f4b0
movsx ecx, word [eax]
cmp ecx, 0x7fff
je case.default.0x48f4cb
add ecx, 0xffffffed
cmp ecx, 7
ja case.default.0x48f4cb
jmp dword [ecx*4 + 0x48f9c0]
mov eax, dword [0x68e500]
cmp eax, 0xffffffff
je 0x48f4e4
cmp esi, eax
jne case.default.0x48f4cb
cmp edx, dword [esp + 0x1c]
jne 0x48f515
mov ecx, dword [0x68e4fc]
mov eax, edi
sub eax, ecx
cmp eax, 0x15e
jb case.default.0x48f4cb
mov byte [esp + 0x12], 1
mov dword [0x68e4fc], edi
mov dword [0x68e500], esi
jmp case.default.0x48f4cb
mov dword [0x68e4fc], 0
mov dword [0x68e500], 0xffffffff
jmp case.default.0x48f4cb
mov eax, dword [0x68e508]
cmp eax, 0xffffffff
je 0x48f540
cmp esi, eax
jne case.default.0x48f4cb
cmp edx, dword [esp + 0x1c]
jne 0x48f571
mov eax, dword [0x68e504]
mov ecx, edi
sub ecx, eax
cmp ecx, 0x15e
jb case.default.0x48f4cb
mov byte [esp + 0x13], 1
mov dword [0x68e504], edi
mov dword [0x68e508], esi
jmp case.default.0x48f4cb
mov dword [0x68e504], 0
mov dword [0x68e508], 0xffffffff
jmp case.default.0x48f4cb
cmp ebp, 0xffffffff
je 0x48f590
cmp esi, ebp
jne case.default.0x48f4cb
cmp edx, dword [esp + 0x1c]
jne 0x48f5b6
mov ecx, dword [0x68e50c]
mov eax, edi
sub eax, ecx
cmp eax, 0x15e
jb case.default.0x48f4cb
mov byte [esp + 0x14], 1
mov dword [0x68e50c], edi
mov ebp, esi
jmp case.default.0x48f4cb
mov dword [0x68e50c], 0
or ebp, 0xffffffff
jmp case.default.0x48f4cb
cmp ebx, 0xffffffff
je 0x48f5ce
cmp esi, ebx
jne case.default.0x48f4cb
cmp edx, dword [esp + 0x1c]
jne 0x48f5f4
mov eax, dword [0x68e514]
mov ecx, edi
sub ecx, eax
cmp ecx, 0x15e
jb case.default.0x48f4cb
mov byte [esp + 0x15], 1
mov dword [0x68e514], edi
mov ebx, esi
jmp case.default.0x48f4cb
mov dword [0x68e514], 0
or ebx, 0xffffffff
mov eax, dword [esp + 0x28]
inc edx
add eax, 2
cmp edx, 8
mov dword [esp + 0x28], eax
jl 0x48f4b0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add edx, 4
dec ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
jne 0x48f495
mov dword [0x68e518], ebx
mov dword [0x68e510], ebp
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jl 0x48efb3
mov al, byte [esp + 0x12]
test al, al
mov ebx, 3
je 0x48f67e
mov al, byte [0x712be8]
test al, al
je 0x48f67e
xor eax, eax
lea edi, [esp + 0x28]
mov word [esp + 0x28], bx
mov byte [esp + 0x2c], 8
mov byte [esp + 0x2d], 1
call fcn.00492430
mov al, byte [esp + 0x13]
test al, al
je 0x48f6a9
mov al, byte [0x712be8]
test al, al
je 0x48f6a9
xor eax, eax
lea edi, [esp + 0x28]
mov word [esp + 0x28], bx
mov byte [esp + 0x2c], 9
mov byte [esp + 0x2d], 1
call fcn.00492430
mov al, byte [esp + 0x14]
test al, al
je 0x48f6d4
mov al, byte [0x712be8]
test al, al
je 0x48f6d4
xor eax, eax
lea edi, [esp + 0x28]
mov word [esp + 0x28], bx
mov byte [esp + 0x2c], 0xa
mov byte [esp + 0x2d], 1
call fcn.00492430
mov al, byte [esp + 0x15]
test al, al
je 0x48f6ff
mov al, byte [0x712be8]
test al, al
je 0x48f6ff
xor eax, eax
lea edi, [esp + 0x28]
mov word [esp + 0x28], bx
mov byte [esp + 0x2c], 0xb
mov byte [esp + 0x2d], 1
call fcn.00492430
mov al, byte [esp + 0x16]
test al, al
je 0x48f72a
mov al, byte [0x712be8]
test al, al
je 0x48f72a
xor eax, eax
lea edi, [esp + 0x28]
mov word [esp + 0x28], bx
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2d], 1
call fcn.00492430
mov al, byte [esp + 0x17]
test al, al
je 0x48f755
mov al, byte [0x712be8]
test al, al
je 0x48f755
xor eax, eax
lea edi, [esp + 0x28]
mov word [esp + 0x28], bx
mov byte [esp + 0x2c], 0xd
mov byte [esp + 0x2d], 1
call fcn.00492430
mov ecx, 0x51
call fcn.00490c50
test al, al
je 0x48f78e
mov al, byte [0x712be8]
test al, al
je 0x48f78e
mov ecx, 0x51
mov word [esp + 0x28], bx
mov byte [esp + 0x2c], bl
call fcn.00490c50
mov byte [esp + 0x2d], al
xor eax, eax
lea edi, [esp + 0x28]
call fcn.00492430
mov ecx, 0x54
call fcn.00490c50
test al, al
je 0x48f7c8
mov al, byte [0x712be8]
test al, al
je 0x48f7c8
mov ecx, 0x54
mov word [esp + 0x28], bx
mov byte [esp + 0x2c], 2
call fcn.00490c50
mov byte [esp + 0x2d], al
xor eax, eax
lea edi, [esp + 0x28]
call fcn.00492430
mov eax, dword [0x6b172c]
test eax, eax
je 0x48f80d
mov al, byte [0x6b1521]
test al, al
jne 0x48f80d
mov al, byte [0x6b1740]
test al, al
je 0x48f80d
mov cl, byte [0x712be8]
test cl, cl
je 0x48f80d
mov byte [esp + 0x2d], al
mov ebp, 4
xor eax, eax
lea edi, [esp + 0x28]
mov word [esp + 0x28], bp
mov byte [esp + 0x2c], 0
call fcn.00492430
jmp 0x48f812
mov ebp, 4
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
lea edx, [esp + 0x28]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0
push 0x3e8
push eax
push ecx
call fcn.0062e0c0
mov ecx, dword [0x6ac824]
push ecx
mov ecx, dword [0x6ac820]
push ecx
push edx
push eax
call fcn.00639340
mov ecx, dword [0x712b50]
test ecx, ecx
je 0x48f8a4
mov dl, byte [0x6b1748]
test dl, dl
je 0x48f892
mov al, byte [0x712be8]
test al, al
je 0x48f886
xor eax, eax
lea edi, [esp + 0x28]
mov word [esp + 0x28], bp
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], 1
call fcn.00492430
mov dword [0x712b50], 0
jmp 0x48f8b3
sub eax, ecx
cmp eax, esi
jb 0x48f8b3
mov dword [0x712b50], 0
jmp 0x48f8b3
mov cl, byte [0x6b1748]
test cl, cl
je 0x48f8b3
mov dword [0x712b50], eax
mov eax, dword [0x6b172c]
test eax, eax
je 0x48f8f1
mov al, byte [0x6b1521]
test al, al
jne 0x48f8f1
mov al, byte [0x6b1742]
test al, al
je 0x48f8f1
mov cl, byte [0x712be8]
test cl, cl
je 0x48f8f1
mov byte [esp + 0x2d], al
xor eax, eax
lea edi, [esp + 0x28]
mov word [esp + 0x28], bp
mov byte [esp + 0x2c], 2
call fcn.00492430
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret