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

Disassembly:
push esi
mov esi, eax
movzx ecx, word [esi + 0xf1a]
xor al, al
cmp ecx, 4
ja case.default.0x4dbfc1
jmp dword [ecx*4 + 0x4dbff4]
mov eax, esi
pop esi
jmp 0x4ddec0
mov eax, esi
pop esi
jmp 0x4de020
call fcn.004de390
pop esi
ret
push esi
call fcn.004de420
add esp, 4
pop esi
ret
mov eax, esi
pop esi
jmp 0x4de5a0
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.005d2e50
mov ecx, dword [0x647764]
push ecx
mov ecx, dword [0x647760]
push ecx
push edx
push eax
call fcn.005de0d0
mov edx, dword [0x6b729c]
test edx, edx
mov dword [ebp + 4], eax
mov ebx, 1
je 0x4ddfe2
cmp word [edx + 4], bx
jne 0x4de00f
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 [0x621f74]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x4ddf67
mov dword [esp + 0x1c], 0x7f000001
mov cx, word [0x633808]
add edx, 0xa3c
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.005cca83
add esp, 0xc
lea eax, [esp + 0x48]
mov word [esp + 0x46], 0
call fcn.004e3d60
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x60]
push edx
push esi
call fcn.004dc0f0
add esp, 0x10
test al, al
jne 0x4de00f
cmp word [0x6b3f64], 0xffff
jne 0x4de011
mov word [0x6b3f64], 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.004e05c0
add esp, 4
test al, al
je 0x4ddfc4
push esi
call fcn.004de620
mov bl, al
add esp, 4
test bl, bl
je 0x4de00f
call fcn.004dc810
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.005d2e50
mov ecx, dword [0x647764]
push ecx
mov ecx, dword [0x647760]
push ecx
push edx
push eax
call fcn.005de0d0
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.005d2e50
mov ecx, dword [0x647764]
push ecx
mov ecx, dword [0x647760]
push ecx
push edx
push eax
call fcn.005de0d0
mov dword [ebx + 4], eax
mov eax, dword [esi + 0xadc]
mov ecx, dword [eax + 0xa8c]
test cl, 6
mov ebx, 1
je 0x4de16c
mov ecx, dword [eax]
cmp ecx, ebp
je 0x4de16c
test byte [ecx + 0xc], bl
je 0x4de16c
mov al, byte [esi + 0xaec]
test al, al
mov dword [esi + 0xae0], ebp
jne 0x4de21d
mov eax, dword [0x6220b8]
push str.Loading
mov dword [esi + 0xae8], ebp
call fcn.00499b00
mov eax, dword [0x6b3f4c]
add esp, 4
cmp word [0x6b46e8], 2
mov dword [0x6b3f50], ebp
jne 0x4de137
dec eax
je 0x4de161
dec eax
je 0x4de122
sub eax, 2
jne 0x4de122
mov dword [0x629c78], 0xffffffff
mov dword [0x6b3f4c], 8
mov byte [esi + 0xaec], bl
jmp 0x4de21d
dec eax
je 0x4de161
dec eax
je 0x4de161
sub eax, 2
jne 0x4de157
mov dword [0x629c78], 0xffffffff
mov byte [esi + 0xaec], bl
jmp 0x4de21d
mov dword [0x6b3f4c], 7
mov byte [esi + 0xaec], bl
jmp 0x4de21d
mov ecx, dword [eax]
mov edx, 0xffffffe8
cmp word [ecx + 0xe], dx
jne 0x4de19b
cmp word [0x6b3f64], 0xffff
mov eax, dword [ecx + 0x18]
jne 0x4de1ee
call fcn.00440620
mov word [0x6b3f64], 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 0x4de1db
cmp dword [esi + 0xae0], ebp
je 0x4de1cb
mov edx, dword [esi + 0xae4]
mov ecx, dword [0x624a90]
sub edi, edx
cmp edi, ecx
jbe 0x4de21d
mov dword [esi + 0xae0], ebp
mov esi, dword [eax]
jmp 0x4de1d6
test byte [esi + 0xf1e], 4
je 0x4de1f8
mov esi, ecx
call fcn.00442040
cmp word [0x6b3f64], 0xffff
jne 0x4de1ee
mov word [0x6b3f64], 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 0x4de21d
mov eax, ebx
call fcn.004de960
mov edi, dword [esi + 0xadc]
push ebp
mov eax, 0x1388
call fcn.004e05c0
add esp, 4
test al, al
je 0x4de23e
push esi
call fcn.004de620
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.004e05c0
mov bl, al
add esp, 4
test bl, bl
je 0x4de5e9
push esi
call fcn.004de620
mov bl, al
add esp, 4
test bl, bl
je 0x4de5e9
push esi
call fcn.004de7b0
mov bl, al
add esp, 4
test bl, bl
je 0x4de5e9
call fcn.004dc810
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 0x4de5e3
cmp word [0x6b3f64], 0xffff
jne 0x4de612
mov word [0x6b3f64], 4
pop edi
pop esi
xor al, al
pop ebx
ret