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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be1e5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6441a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x47aad7
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x47aad7
cmp byte [0x6484dc], 0
jne 0x47a8d8
push 0x6484c4
mov byte [0x6484dc], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x6484c4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov ecx, 0x6484e4
lea eax, [ebp + 8]
push eax
call fcn.0047a740
mov ecx, 0x6484e4
mov dword [eax], esi
lea eax, [ebp + 8]
push eax
call fcn.0047a740
mov ecx, dword [eax + 4]
add eax, 4
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov edx, ecx
mov edi, dword [ecx + 4]
cmp byte [edi + 0xd], 0
jne 0x47a944
mov eax, edi
mov edi, eax
cmp dword [eax + 0x10], ebx
jae 0x47a932
mov eax, dword [eax + 8]
xor esi, esi
jmp 0x47a93b
mov edx, eax
mov esi, 1
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x47a924
mov eax, dword [ebp - 0x10]
cmp byte [edx + 0xd], 0
jne 0x47a94f
cmp ebx, dword [edx + 0x10]
jae 0x47a9a6
cmp dword [eax + 4], 0xaaaaaaa
je 0x47aae9
mov dword [ebp - 0x20], eax
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.004ce3cc
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0
mov dword [eax], ecx
push eax
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
push esi
push edi
mov word [eax + 0xc], 0
call fcn.004216b0
mov edx, eax
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0x14], ecx
cmp dword [0x6484e0], 0
jne 0x47a9c5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x6484e0], eax
jmp 0x47aacc
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x6484e0]
cmp eax, 0x1b7740
jb 0x47aacc
call esi
mov dword [0x6484e0], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0047aaf0
add esp, 4
mov edx, dword [0x6484e4]
mov dword [ebp - 4], 1
mov esi, dword [edx]
cmp esi, edx
je 0x47aac4
mov eax, dword [esi + 0x18]
mov edi, dword [eax]
mov dword [ebp - 0x10], edi
cmp edi, eax
je 0x47aa7c
mov ebx, dword [edi + 0x10]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.0047a670
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0xd], 0
jne 0x47aa47
cmp ebx, dword [eax + 0x10]
jb 0x47aa47
cmp eax, dword [ebp - 0x20]
je 0x47aa47
lea ecx, [ebp - 0x10]
call fcn.00479210
jmp 0x47aa6e
push dword [edi + 0x14]
mov eax, dword [esi + 0x14]
call eax
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.00479210
push edi
lea ecx, [esi + 0x18]
call fcn.00479450
push 0x18
push eax
call fcn.004ce396
add esp, 8
mov edi, dword [ebp - 0x10]
cmp edi, dword [esi + 0x18]
jne 0x47aa14
mov edx, dword [0x6484e4]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x47aaa4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x47aaa0
nop
cmp esi, dword [eax + 8]
jne 0x47aaa0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x47aa90
mov esi, eax
jmp 0x47aabc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x47aabc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x47aab0
cmp esi, edx
jne 0x47aa08
lea ecx, [ebp - 0x20]
call fcn.00420e10
push 0x6484c4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00415bc0
int3