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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69ea7c
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x28], eax
test esi, esi
je 0x51fe30
cmp dword [ebx + 0x104], 0
jne 0x51fe10
call edi
mov dword [ebx + 0x104], eax
call edi
sub eax, dword [ebx + 0x104]
cmp eax, 0x1388
jbe 0x51fe30
push 1
mov ecx, esi
call fcn.005228e0
call edi
mov dword [ebx + 0x104], eax
cmp byte [ebx + 0x100], 0
mov ecx, dword [ebx + 0xc]
jne 0x51fe45
test ecx, ecx
je 0x51fe45
mov eax, dword [ecx]
call dword [eax + 0x1c]
call edi
sub eax, dword [ebp - 0x28]
cmp eax, 0xc8
jae 0x51ff19
mov eax, dword [ebx + 0xf8]
mov esi, dword [eax]
mov dword [ebp - 0x14], esi
cmp esi, eax
je 0x51ff19
nop dword [eax + eax]
lea edi, [esi + 8]
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x28]
cmp eax, 0xc8
jae 0x51ff19
mov eax, dword [ebx + 0xec]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x51ff4a
mov edi, dword [edi]
lea ecx, [ebp - 0x20]
push 4
call fcn.00407a60
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
add eax, 0x94
push eax
call fcn.0042ab70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x48]
mov ecx, dword [ecx + 0x4c]
cmp eax, ecx
je 0x51ff38
nop dword [eax]
cmp dword [eax], edi
je 0x51fedf
add eax, 0x148
cmp eax, ecx
jne 0x51fed0
jmp 0x51ff38
mov eax, dword [eax + 0x12c]
test eax, eax
je 0x51ff38
mov eax, dword [eax + 8]
test eax, eax
je 0x51ff38
cmp byte [eax + 8], 0
je 0x51ff35
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0042aba0
mov esi, dword [ebp - 0x14]
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
cmp esi, dword [ebx + 0xf8]
jne 0x51fe70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0042aba0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebx + 0xe8]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x51ffd9
mov edi, dword [edi]
lea ecx, [ebp - 0x24]
push 4
call fcn.00407a60
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
add eax, 0x104
push eax
call fcn.0042ab70
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x108]
mov ecx, dword [ecx + 0x10c]
cmp eax, ecx
je 0x51ffca
cmp dword [eax], edi
je 0x51ffa1
add eax, 0x138
cmp eax, ecx
jne 0x51ff92
jmp 0x51ffca
mov eax, dword [eax + 0x120]
test eax, eax
je 0x51ffca
mov eax, dword [eax + 8]
test eax, eax
je 0x51ffca
cmp byte [eax + 8], 0
je 0x51ffc7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
jmp 0x51ff00
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0042aba0
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, ebx
call fcn.00520060
test al, al
je 0x51ff08
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [eax], edi
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x1c]
dec dword [ebx + 0xfc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 4
lea ecx, [eax + 0xf8]
call fcn.00405870
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
add ecx, 0xe0
call fcn.00405870
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
call fcn.00462800
push 0x130
push esi
call fcn.00634ee5
add esp, 8
mov esi, edi
jmp 0x51ff0a