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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x5034
call fcn.00628480
push ebx
push esi
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
mov byte [esp + 0x13], 1
jns 0x4dd7e4
add eax, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x10]
mov edi, dword [edx]
sub ebx, eax
lea esi, [esp + 0x28]
dec ebx
call fcn.00441cd0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
cmp byte [edx + 4], 1
jne 0x4dd809
mov eax, dword [0x6f15f8]
test eax, eax
jg 0x4dd827
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x4dd992
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
jns 0x4dd81f
add eax, dword [ecx + 0x10]
test eax, eax
jle 0x4dd992
test ebx, ebx
jle 0x4dd992
cmp ebx, 0x5000
mov esi, ebx
jl 0x4dd83e
mov esi, 0x5000
mov ebx, dword [edx + 0x10]
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 8]
jns 0x4dd84c
add eax, dword [ebx + 0x10]
cmp byte [edx + 5], 1
jne 0x4dd85b
test eax, eax
jne 0x4dd863
jmp 0x4dd960
test eax, eax
je 0x4dd992
cmp eax, esi
jle 0x4dd86d
mov dword [esp + 0x18], esi
jmp 0x4dd873
mov dword [esp + 0x18], eax
mov esi, eax
mov edi, dword [ebx + 8]
lea eax, [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xc]
sub eax, edi
mov edx, esi
jns 0x4dd88a
add eax, dword [ebx + 0x10]
cmp esi, eax
jg 0x4dd902
mov eax, dword [ebx + 0x10]
sub eax, edi
cmp esi, eax
mov dword [esp + 0x14], edi
jl 0x4dd8d2
mov esi, dword [ebx + 0x14]
add esi, edi
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x14]
lea ecx, [esp + eax + 0x40]
mov dword [esp + 0x1c], ecx
sub edx, eax
test edx, edx
jle 0x4dd8ff
mov esi, dword [ebx + 0x14]
add esi, edi
mov edi, dword [esp + 0x1c]
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
add eax, edx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov edi, eax
mov dword [ebx + 8], edi
test esi, esi
jle 0x4dd956
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
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 ecx, dword [ebp + 8]
lea edx, [esp + 0x40]
mov dword [ecx + 4], eax
push edx
mov edx, dword [ecx + 0xc]
mov eax, esi
call fcn.004d0200
add esp, 4
jmp 0x4dd96f
cmp esi, 0xfffffffc
je 0x4dd992
cmp esi, 0xfffffffd
jne 0x4dd96a
mov eax, dword [ebp + 8]
or dword [eax + 0xa8c], 0x10
mov byte [esp + 0x13], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
jns 0x4dd980
add eax, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x10]
sub ebx, eax
mov al, byte [esp + 0x13]
dec ebx
test al, al
jne 0x4dd7f5
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret