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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
jle 0x47d542
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
jle 0x47d542
mov edx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
jmp 0x47d575
push ebx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [esi + 0x1afc]
push edx
mov ecx, esi
call fcn.0047b5c0
test eax, eax
jne 0x47d56f
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push edi
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x47d5d6
mov eax, ecx
imul eax, edx
mov ebx, edi
mov dword [ebp + 0x10], eax
cmp edi, eax
jae 0x47d58f
mov ebx, eax
jmp 0x47d5de
cmp dword [esi + 0x1b2c], edx
jne 0x47d5de
cmp dword [esi + 0x1b30], ecx
jne 0x47d5de
cmp dword [esi + 0x1b44], edx
jne 0x47d5de
cmp dword [esi + 0x1b48], ecx
jne 0x47d5de
cmp dword [esi + 0x1b38], 0
je 0x47d5de
cmp dword [esi + 0x1b3c], 0
je 0x47d5de
cmp dword [esi + 0x1b40], 0
je 0x47d5de
mov dword [ebp - 0x18], 1
jmp 0x47d851
mov ebx, ecx
imul ebx, edx
mov dword [ebp + 0x10], ebx
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x47d5ee
movzx eax, byte [ecx + 0xa]
and eax, 0xf
jmp 0x47d5f0
xor eax, eax
test ecx, ecx
je 0x47d5fd
movzx ecx, byte [ecx + 9]
and ecx, 0xf
jmp 0x47d602
mov ecx, 7
shl al, 4
or al, cl
cmp dword [esi + 0x1b38], 0
mov byte [ebp + 0xf], al
je 0x47d6f7
cmp dword [esi + 0x1b34], ebx
jb 0x47d6f7
cmp dword [esi + 0x1b44], edx
jne 0x47d642
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x1b48], eax
jne 0x47d642
mov dword [ebp - 0x18], 1
jmp 0x47d84b
lea ecx, [ebp - 0x24]
call fcn.004c6b20
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1a2c]
push ecx
mov ebx, 1
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.004c6b30
test edi, edi
je 0x47d677
mov eax, dword [esi + 0x1b34]
cmp edi, eax
jb 0x47d67d
mov edi, eax
jmp 0x47d67d
mov edi, dword [esi + 0x1b34]
test edi, edi
je 0x47d6d8
mov eax, dword [esi + 0x1b38]
test eax, eax
je 0x47d6d8
cmp dword [esi + 0x1b3c], 0
je 0x47d6d8
cmp dword [esi + 0x1b40], 0
je 0x47d6d8
lea edx, [edi + edi]
push edx
push 0
push eax
call fcn.004c9b50
movzx ax, byte [ebp + 0xf]
mov edx, dword [esi + 0x1b3c]
movzx ecx, ax
push edi
push ecx
push edx
call fcn.00458740
mov ecx, dword [esi + 0x1b40]
lea eax, [edi*4]
push eax
push 0
push ecx
call fcn.004c9b50
add esp, 0x24
lea ecx, [ebp - 0x24]
call fcn.004c6b90
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.004c75e0
jmp 0x47d848
lea ecx, [ebp - 0x30]
call fcn.004c6b20
push 0xffffffffffffffff
push 1
lea edx, [esi + 0x1a2c]
xor edi, edi
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], edi
call fcn.004c6b30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x1b18], eax
cmp dword [esi + 0x1b28], edi
je 0x47d743
push edi
push 0x586
push str.RealBuffer.cpp
push str.con.bInGetConsoleDataFALSE
call fcn.00428c10
add esp, 0x10
mov eax, dword [esi + 0x1b38]
mov dword [esi + 0x1b34], edi
cmp eax, edi
je 0x47d762
push eax
call fcn.0044c4f0
add esp, 4
mov dword [esi + 0x1b38], edi
mov eax, dword [esi + 0x1b3c]
cmp eax, edi
je 0x47d77b
push eax
call fcn.0044c4f0
add esp, 4
mov dword [esi + 0x1b3c], edi
mov eax, dword [esi + 0x1b40]
cmp eax, edi
je 0x47d794
push eax
call fcn.0044c4f0
add esp, 4
mov dword [esi + 0x1b40], edi
lea edi, [ebx + ebx*2]
shr edi, 1
push 2
push edi
call fcn.0044c490
push 2
push edi
mov dword [esi + 0x1b38], eax
call fcn.0044c490
push 4
push edi
mov dword [esi + 0x1b3c], eax
call fcn.0044c490
add esp, 0x18
cmp dword [esi + 0x1b38], 0
mov dword [esi + 0x1b40], eax
je 0x47d7fd
mov ecx, dword [esi + 0x1b3c]
test ecx, ecx
je 0x47d7fd
test eax, eax
je 0x47d7fd
movzx ax, byte [ebp + 0xf]
movzx edx, ax
push edi
push edx
push ecx
mov dword [esi + 0x1b34], edi
call fcn.00458740
add esp, 0xc
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x1b28], 0
mov dword [esi + 0x1b1c], eax
je 0x47d82b
push 0
push 0x5b0
push str.RealBuffer.cpp
push str.con.bInGetConsoleDataFALSE
call fcn.00428c10
add esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.004c6b90
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004c75e0
cmp dword [ebp - 0x18], 0
je 0x47d867
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [esi + 0x1b34]
ja 0x47d86d
mov dword [esi + 0x1b2c], edx
mov dword [esi + 0x1b30], ecx
jmp 0x47d86d
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x50]
mov dword [esi + 0x1b44], edx
mov dword [esi + 0x1b48], ecx
pop edi
cmp esi, dword [eax + 0x41f0]
jne 0x47d88c
mov byte [eax + 0x69e4], 1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc