Function at 0x47a8a0
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 0x47aaf7
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x47aaf7
cmp byte [0x6484dc], 0
jne 0x47a8f8
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.0047a760
mov ecx, 0x6484e4
mov dword [eax], esi
lea eax, [ebp + 8]
push eax
call fcn.0047a760
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 0x47a964
mov eax, edi
mov edi, eax
cmp dword [eax + 0x10], ebx
jae 0x47a952
mov eax, dword [eax + 8]
xor esi, esi
jmp 0x47a95b
mov edx, eax
mov esi, 1
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x47a944
mov eax, dword [ebp - 0x10]
cmp byte [edx + 0xd], 0
jne 0x47a96f
cmp ebx, dword [edx + 0x10]
jae 0x47a9c6
cmp dword [eax + 4], 0xaaaaaaa
je 0x47ab09
mov dword [ebp - 0x20], eax
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.004ce3fc
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.004216c0
mov edx, eax
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0x14], ecx
cmp dword [0x6484e0], 0
jne 0x47a9e5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x6484e0], eax
jmp 0x47aaec
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x6484e0]
cmp eax, 0x1b7740
jb 0x47aaec
call esi
mov dword [0x6484e0], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0047ab10
add esp, 4
mov edx, dword [0x6484e4]
mov dword [ebp - 4], 1
mov esi, dword [edx]
cmp esi, edx
je 0x47aae4
mov eax, dword [esi + 0x18]
mov edi, dword [eax]
mov dword [ebp - 0x10], edi
cmp edi, eax
je 0x47aa9c
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.0047a690
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0xd], 0
jne 0x47aa67
cmp ebx, dword [eax + 0x10]
jb 0x47aa67
cmp eax, dword [ebp - 0x20]
je 0x47aa67
lea ecx, [ebp - 0x10]
call fcn.00479260
jmp 0x47aa8e
push dword [edi + 0x14]
mov eax, dword [esi + 0x14]
call eax
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.00479260
push edi
lea ecx, [esi + 0x18]
call fcn.004794a0
push 0x18
push eax
call fcn.004ce3c6
add esp, 8
mov edi, dword [ebp - 0x10]
cmp edi, dword [esi + 0x18]
jne 0x47aa34
mov edx, dword [0x6484e4]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x47aac4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x47aac0
nop
cmp esi, dword [eax + 8]
jne 0x47aac0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x47aab0
mov esi, eax
jmp 0x47aadc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x47aadc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x47aad0
cmp esi, edx
jne 0x47aa28
lea ecx, [ebp - 0x20]
call fcn.00420e20
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