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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea602
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x65b4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1f4], ecx
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax + 0x30]
cmp ecx, 0x2710
ja 0x479f8c
mov edx, dword [ebp - 0x1f4]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 0x30]
jae 0x47a044
push 1
push 2
lea ecx, [ebp - 0x94]
call fcn.0040b160
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
push 0x61a41c
lea ecx, [ebp - 0x94]
push ecx
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
lea edx, [ebp - 0x1b8]
push edx
lea ecx, [ebp - 0x94]
call fcn.00409610
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1fc]
call fcn.0040bf30
push eax
push 0x61a430
push 0x5d7
push 0x61a444
push 0x801
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b8]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00409ef0
mov ecx, dword [ebp - 0x1f4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x30], edx
push 1
push 2
lea ecx, [ebp - 0x114]
call fcn.0040b160
mov dword [ebp - 4], 2
push 0x61a458
lea eax, [ebp - 0x114]
push eax
call fcn.00409c80
add esp, 8
lea ecx, [ebp - 0x1d4]
push ecx
lea ecx, [ebp - 0x114]
call fcn.00409610
mov dword [ebp - 0x200], eax
mov edx, dword [ebp - 0x200]
mov dword [ebp - 0x204], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x204]
call fcn.0040bf30
push eax
push 0x61a468
push 0x5d9
push 0x61a47c
push 3
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1d4]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.00409ef0
mov ecx, dword [ebp - 0x1f4]
call fcn.0052a1c0
test eax, eax
je 0x47a214
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [ebp - 0x118]
sub ecx, dword [eax + 0x30]
cmp ecx, 0x2710
ja 0x47a12a
mov edx, dword [ebp - 0x1f4]
mov eax, dword [ebp - 0x118]
cmp eax, dword [edx + 0x30]
jae 0x47a1e5
push 1
push 2
lea ecx, [ebp - 0x19c]
call fcn.0040b160
mov dword [ebp - 4], 4
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
push 0x61a490
lea ecx, [ebp - 0x19c]
push ecx
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
lea edx, [ebp - 0x1f0]
push edx
lea ecx, [ebp - 0x19c]
call fcn.00409610
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x20c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20c]
call fcn.0040bf30
push eax
push str.CPolicyManager::Svc
push 0x5dd
push 0x61a4b8
push 0x801
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f0]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call fcn.00409ef0
mov ecx, dword [ebp - 0x1f4]
mov edx, dword [ebp - 0x118]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0x1f4]
cmp dword [eax + 0x104], 0
je 0x47a202
mov ecx, dword [ebp - 0x1f4]
sub ecx, 0x10
call fcn.00479230
push 0x3e8
call fcn.00506ab0
add esp, 4
jmp 0x47a0e0
mov ecx, dword [ebp - 0x1f4]
sub ecx, 0x10
mov edx, dword [ebp - 0x1f4]
mov eax, dword [edx - 0x10]
mov edx, dword [eax + 4]
call edx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret