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

Disassembly:
push 0xffffffffffffffff
push 0x51eea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [esp + 0x18], ebx
mov dword [eax], ebx
je 0x47450f
mov edi, dword [esp + 0x60]
cmp edi, ebx
je 0x47450f
mov dword [esp + 0x14], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x5c], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], eax
call fcn.004719d0
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 5
call fcn.00474d40
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x474283
mov dword [esp + 0x20], ebx
jmp 0x474290
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
cmp ecx, ebx
jle 0x474418
jmp 0x4742a6
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax + ecx*4]
lea ecx, [esp + 0x14]
call fcn.00495400
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov edx, dword [esi]
push eax
push esi
call dword [edx + 0x24]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0046e3a0
cmp eax, ebx
jge 0x4742e4
cmp eax, 0x80004002
je 0x4742e4
push eax
call fcn.0051c477
cmp dword [esp + 0x10], ebx
je 0x474403
lea ecx, [esp + 0x5c]
call fcn.00495400
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], ebx
cmp eax, ebx
jne 0x474311
push 0x80004003
call fcn.0051c477
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x5c]
push ecx
push eax
call dword [edx + 0xa4]
cmp dword [esp + 0x5c], ebx
je 0x474403
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x5c], ebx
jne 0x47433d
push 0x80004003
call fcn.0051c477
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x24]
push ecx
push ebx
mov edx, dword [eax]
push 1
push edi
push eax
call dword [edx + 0x64]
test eax, eax
jne 0x474403
or esi, 0xffffffff
cmp word [esp + 0x24], si
jne 0x474403
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x54], 6
call fcn.00495400
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x60], ebx
cmp eax, ebx
jne 0x474392
push 0x80004003
call fcn.0051c477
mov eax, dword [esp + 0x5c]
mov edx, dword [eax]
lea ecx, [esp + 0x60]
push ecx
push eax
call dword [edx + 0x28]
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x4743b6
push eax
call fcn.00474070
add esp, 4
test eax, eax
je 0x4743b6
inc dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jne 0x4743cc
push 0x80004003
call fcn.0051c477
mov eax, dword [esp + 0x5c]
mov edx, dword [eax]
push ebx
push eax
call dword [edx + 0x3c]
call ebp
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
sub eax, edx
cmp eax, ecx
ja 0x474491
mov eax, dword [esp + 0x60]
mov byte [esp + 0x54], 5
cmp eax, ebx
je 0x47432d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x47432d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x4742a2
cmp edi, ebx
je 0x474423
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 8
call fcn.00474fa0
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 4
call fcn.004ed560
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x54], 3
cmp eax, ebx
je 0x474452
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x54], bl
cmp eax, ebx
je 0x474464
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], 0xffffffff
cmp eax, ebx
je 0x47447a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp edi, ebx
je 0x47449c
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x60]
mov dword [edx], 1
call fcn.00495400
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 7
call fcn.00474fa0
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 4
call fcn.004ed560
lea ecx, [esp + 0x5c]
call fcn.00495400
mov eax, dword [esp + 0x10]
mov byte [esp + 0x54], bl
cmp eax, ebx
je 0x4744e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], esi
cmp eax, ebx
je 0x4744f8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret