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

Disassembly:
push esi
mov esi, eax
movzx ecx, word [esi + 0xeda]
xor al, al
cmp ecx, 4
ja case.default.0x4d8c01
jmp dword [ecx*4 + 0x4d8c34]
mov eax, esi
pop esi
jmp 0x4daab0
mov eax, esi
pop esi
jmp 0x4dac10
call fcn.004daf80
pop esi
ret
push esi
call fcn.004db010
add esp, 4
pop esi
ret
mov eax, esi
pop esi
jmp 0x4db190
sub esp, 0x17c
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, eax
lea eax, [esp + 0x10]
push eax
call edi
mov ebp, dword [esi + 0xadc]
lea ecx, [esp + 0x10]
push ecx
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push 0x3e8
push edx
push eax
call fcn.0062e0c0
mov ecx, dword [0x6ac824]
push ecx
mov ecx, dword [0x6ac820]
push ecx
push edx
push eax
call fcn.00639340
mov edx, dword [0x71c1fc]
test edx, edx
mov dword [ebp + 4], eax
mov ebx, 1
je 0x4dabd2
cmp word [edx + 4], bx
jne 0x4dabff
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov ecx, 0x48
lea edi, [esp + 0x68]
mov dword [esp + 0x58], 0
rep stosd dword es:[edi], eax
mov eax, dword [0x6869b4]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x4dab57
mov dword [esp + 0x1c], 0x7f000001
mov cx, word [0x698218]
add edx, 0x9fc
push 8
push edx
lea edx, [esp + 0x3e]
push edx
mov word [esp + 0x3a], cx
mov word [esp + 0x38], 4
mov word [esp + 0x18e], bx
call fcn.00627c87
add esp, 0xc
lea eax, [esp + 0x48]
mov word [esp + 0x46], 0
call fcn.004e0910
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x60]
push edx
push esi
call fcn.004d8d30
add esp, 0x10
test al, al
jne 0x4dabff
cmp word [0x718ecc], 0xffff
jne 0x4dac01
mov word [0x718ecc], 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret
mov edi, dword [esi + 0xadc]
push 0
mov eax, 0x1388
call fcn.004dd190
add esp, 4
test al, al
je 0x4dabb4
push esi
call fcn.004db210
mov bl, al
add esp, 4
test bl, bl
je 0x4dabff
call fcn.004d9450
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push esi
mov esi, eax
push edi
lea eax, [esp + 0x10]
push eax
call ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
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 ebx, dword [esi + 0xadc]
lea edx, [esp + 0x10]
push edx
mov edi, eax
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
xor ebp, ebp
push ebp
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 dword [ebx + 4], eax
mov eax, dword [esi + 0xadc]
mov ecx, dword [eax + 0xa8c]
test cl, 6
mov ebx, 1
je 0x4dad5c
mov ecx, dword [eax]
cmp ecx, ebp
je 0x4dad5c
test byte [ecx + 0xc], bl
je 0x4dad5c
mov al, byte [esi + 0xaec]
test al, al
mov dword [esi + 0xae0], ebp
jne 0x4dae0d
mov eax, dword [0x686af8]
push str.Loading
mov dword [esi + 0xae8], ebp
call fcn.00496b60
mov eax, dword [0x718eb4]
add esp, 4
cmp word [0x719648], 2
mov dword [0x718eb8], ebp
jne 0x4dad27
dec eax
je 0x4dad51
dec eax
je 0x4dad12
sub eax, 2
jne 0x4dad12
mov dword [0x68e688], 0xffffffff
mov dword [0x718eb4], 8
mov byte [esi + 0xaec], bl
jmp 0x4dae0d
dec eax
je 0x4dad51
dec eax
je 0x4dad51
sub eax, 2
jne 0x4dad47
mov dword [0x68e688], 0xffffffff
mov byte [esi + 0xaec], bl
jmp 0x4dae0d
mov dword [0x718eb4], 7
mov byte [esi + 0xaec], bl
jmp 0x4dae0d
mov ecx, dword [eax]
mov edx, 0xffffffe8
cmp word [ecx + 0xe], dx
jne 0x4dad8b
cmp word [0x718ecc], 0xffff
mov eax, dword [ecx + 0x18]
jne 0x4dadde
call fcn.00440610
mov word [0x718ecc], ax
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
xor edx, edx
mov dl, byte [ecx + 0xc]
shr edx, 7
test bl, dl
jne 0x4dadcb
cmp dword [esi + 0xae0], ebp
je 0x4dadbb
mov edx, dword [esi + 0xae4]
mov ecx, dword [0x6894ac]
sub edi, edx
cmp edi, ecx
jbe 0x4dae0d
mov dword [esi + 0xae0], ebp
mov esi, dword [eax]
jmp 0x4dadc6
test byte [esi + 0xede], 4
je 0x4dade8
mov esi, ecx
call fcn.00442030
cmp word [0x718ecc], 0xffff
jne 0x4dadde
mov word [0x718ecc], 3
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0xae8]
mov ecx, dword [esi + 0xae4]
imul eax, eax, 0xbb8
sub edi, eax
sub edi, ecx
cmp edi, 0xbb8
jbe 0x4dae0d
mov eax, ebx
call fcn.004db550
mov edi, dword [esi + 0xadc]
push ebp
mov eax, 0x1388
call fcn.004dd190
add esp, 4
test al, al
je 0x4dae2e
push esi
call fcn.004db210
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push ebx
push esi
mov esi, eax
push edi
mov edi, dword [esi + 0xadc]
push 0
mov eax, 0x3a98
call fcn.004dd190
mov bl, al
add esp, 4
test bl, bl
je 0x4db1d9
push esi
call fcn.004db210
mov bl, al
add esp, 4
test bl, bl
je 0x4db1d9
push esi
call fcn.004db3a0
mov bl, al
add esp, 4
test bl, bl
je 0x4db1d9
call fcn.004d9450
mov al, bl
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0xadc]
mov ecx, dword [eax + 0xa8c]
shr ecx, 4
not cl
test cl, 1
jne 0x4db1d3
cmp word [0x718ecc], 0xffff
jne 0x4db202
mov word [0x718ecc], 4
pop edi
pop esi
xor al, al
pop ebx
ret