Function at 0x4c6ce0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c3c3
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5b2070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov edi, 0x80400000
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x64], ecx
xor ecx, ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x51], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x51]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push ecx
push eax
push ebx
mov ecx, esi
call fcn.004c6610
test al, al
jne 0x4c6d70
xor bl, bl
jmp 0x4c70bc
cmp byte [ebp - 0x51], 0
mov eax, 0x80c0f000
mov ecx, esi
cmovne edi, eax
lea eax, [ebp - 0x38]
push edi
sub esp, 8
mov dword [ebp - 0x5c], edi
push eax
push ebx
call fcn.004c7b00
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea edi, [esi + 0x20]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x4c6e0b
mov dword [ebp - 0x1c], edi
call eax
push eax
push edi
call ebx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
push ecx
push dword [ebp - 0x5c]
cmovae edx, dword [ebp - 0x38]
push dword [ebp - 0x64]
mov ecx, dword [ebp - 0x58]
push dword [ebp - 0x68]
call fcn.004c6c60
add esp, 0x10
mov dword [esi + 4], eax
push 0
push edi
call ebx
cmp dword [esi + 4], 0
jne 0x4c6dfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x4c6dfd
push dword [ebp - 0x5c]
lea eax, [ebp - 0x38]
mov ecx, esi
sub esp, 8
push eax
push dword [ebp - 0x58]
call fcn.004c7b00
mov byte [ebp - 4], 0
push 0
push edi
call ebx
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 4], 0
je 0x4c6e76
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x6c], edi
call eax
push eax
push edi
call ebx
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], 4
test eax, eax
je 0x4c6e58
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0x20000013
push eax
call fcn.004514a0
mov ecx, eax
call fcn.004517a0
test eax, eax
je 0x4c6e58
mov eax, dword [ebp - 0x18]
jmp 0x4c6e5d
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0
push 0
push edi
call ebx
cmp dword [ebp - 0x60], 0x12e
jne 0x4c70b5
mov dword [ebp - 0x6c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
call ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x20]
or eax, 0x80200000
push ecx
mov ecx, dword [ebp - 0x58]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x68]
call fcn.004c6c60
add esp, 0x10
mov dword [esi + 4], eax
push 0
push edi
call ebx
cmp dword [esi + 4], 0
jne 0x4c6ed7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x4c6ed7
push dword [ebp - 0x1c]
lea eax, [ebp - 0x38]
mov ecx, esi
sub esp, 8
push eax
push dword [ebp - 0x58]
call fcn.004c7b00
mov byte [ebp - 4], 0
push 0
push edi
call ebx
cmp dword [esi + 4], 0
mov byte [ebp - 0x51], 0
je 0x4c70a6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x6c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
call ebx
mov byte [ebp - 4], 4
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], 4
test eax, eax
je 0x4c6f39
push 0
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0x20000013
push eax
call fcn.004514a0
mov ecx, eax
call fcn.004517a0
test eax, eax
je 0x4c6f39
mov eax, dword [ebp - 0x18]
jmp 0x4c6f3e
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0
push 0
push edi
call ebx
cmp dword [ebp - 0x60], 0x12e
jne 0x4c70a6
push 0x59075c
lea ecx, [ebp - 0x84]
call fcn.004032e0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.004c77b0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x70]
cmp edx, 8
jb 0x4c6fbe
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c6fb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c712d
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
cmp dword [ebp - 0x40], eax
je 0x4c704f
mov ecx, dword [esi + 4]
mov byte [ebp - 0x51], 1
call fcn.00451300
mov dword [ebp - 0x6c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
call ebx
mov byte [ebp - 4], 8
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
push ecx
push dword [ebp - 0x5c]
cmovae edx, dword [ebp - 0x50]
push dword [ebp - 0x64]
mov ecx, dword [ebp - 0x58]
push dword [ebp - 0x68]
call fcn.004c6c60
add esp, 0x10
mov dword [esi + 4], eax
push 0
push edi
call ebx
cmp dword [esi + 4], 0
jne 0x4c7046
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x4c7046
push dword [ebp - 0x5c]
lea eax, [ebp - 0x50]
mov ecx, esi
sub esp, 8
push eax
push dword [ebp - 0x58]
call fcn.004c7b00
mov byte [ebp - 4], 7
push 0
push edi
call ebx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x4c708d
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c7083
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c7132
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp byte [ebp - 0x51], al
jne 0x4c70b5
mov ecx, dword [esi + 4]
call fcn.00451300
mov dword [esi + 4], 0
cmp dword [esi + 4], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x4c70f9
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c70ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c7137
push edx
push ecx
call fcn.004e649f
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
mov al, bl
mov dword [ebp - 0x24], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e645e
mov esp, ebp
pop ebp
ret 0x14
call fcn.0050ba48
call fcn.0050ba48
call fcn.0050ba48
int3