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

Disassembly:
push 0xffffffffffffffff
push 0x51fb28
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 0x47456f
mov edi, dword [esp + 0x60]
cmp edi, ebx
je 0x47456f
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.00471a30
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 5
call fcn.00474d50
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x4742e3
mov dword [esp + 0x20], ebx
jmp 0x4742f0
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 0x474478
jmp 0x474306
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax + ecx*4]
lea ecx, [esp + 0x14]
call fcn.004623f0
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.0046e260
cmp eax, ebx
jge 0x474344
cmp eax, 0x80004002
je 0x474344
push eax
call fcn.0051d0c7
cmp dword [esp + 0x10], ebx
je 0x474463
lea ecx, [esp + 0x5c]
call fcn.004623f0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], ebx
cmp eax, ebx
jne 0x474371
push 0x80004003
call fcn.0051d0c7
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 0x474463
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x5c], ebx
jne 0x47439d
push 0x80004003
call fcn.0051d0c7
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 0x474463
or esi, 0xffffffff
cmp word [esp + 0x24], si
jne 0x474463
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x54], 6
call fcn.004623f0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x60], ebx
cmp eax, ebx
jne 0x4743f2
push 0x80004003
call fcn.0051d0c7
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 0x474416
push eax
call fcn.004740d0
add esp, 4
test eax, eax
je 0x474416
inc dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jne 0x47442c
push 0x80004003
call fcn.0051d0c7
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 0x4744f1
mov eax, dword [esp + 0x60]
mov byte [esp + 0x54], 5
cmp eax, ebx
je 0x47438d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x47438d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x474302
cmp edi, ebx
je 0x474483
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 8
call fcn.00474fb0
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 4
call fcn.004ed4a0
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x54], 3
cmp eax, ebx
je 0x4744b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x54], bl
cmp eax, ebx
je 0x4744c4
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], 0xffffffff
cmp eax, ebx
je 0x4744da
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 0x4744fc
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x60]
mov dword [edx], 1
call fcn.004623f0
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 7
call fcn.00474fb0
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 4
call fcn.004ed4a0
lea ecx, [esp + 0x5c]
call fcn.004623f0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x54], bl
cmp eax, ebx
je 0x474546
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], esi
cmp eax, ebx
je 0x474558
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