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

Disassembly:
push 0xffffffffffffffff
push 0x50f1f8
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 0x46fd5f
mov edi, dword [esp + 0x60]
cmp edi, ebx
je 0x46fd5f
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.0046d240
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 5
call fcn.00470540
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x46fad3
mov dword [esp + 0x20], ebx
jmp 0x46fae0
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 0x46fc68
jmp 0x46faf6
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax + ecx*4]
lea ecx, [esp + 0x14]
call fcn.004725d0
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.00469d30
cmp eax, ebx
jge 0x46fb34
cmp eax, 0x80004002
je 0x46fb34
push eax
call fcn.0050c8bb
cmp dword [esp + 0x10], ebx
je 0x46fc53
lea ecx, [esp + 0x5c]
call fcn.004725d0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], ebx
cmp eax, ebx
jne 0x46fb61
push 0x80004003
call fcn.0050c8bb
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 0x46fc53
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x5c], ebx
jne 0x46fb8d
push 0x80004003
call fcn.0050c8bb
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 0x46fc53
or esi, 0xffffffff
cmp word [esp + 0x24], si
jne 0x46fc53
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x54], 6
call fcn.004725d0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x60], ebx
cmp eax, ebx
jne 0x46fbe2
push 0x80004003
call fcn.0050c8bb
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 0x46fc06
push eax
call fcn.0046f8c0
add esp, 4
test eax, eax
je 0x46fc06
inc dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jne 0x46fc1c
push 0x80004003
call fcn.0050c8bb
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 0x46fce1
mov eax, dword [esp + 0x60]
mov byte [esp + 0x54], 5
cmp eax, ebx
je 0x46fb7d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x46fb7d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x46faf2
cmp edi, ebx
je 0x46fc73
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 8
call fcn.004707a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 4
call fcn.004e2740
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x54], 3
cmp eax, ebx
je 0x46fca2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x54], bl
cmp eax, ebx
je 0x46fcb4
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], 0xffffffff
cmp eax, ebx
je 0x46fcca
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 0x46fcec
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x60]
mov dword [edx], 1
call fcn.004725d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 7
call fcn.004707a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 4
call fcn.004e2740
lea ecx, [esp + 0x5c]
call fcn.004725d0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x54], bl
cmp eax, ebx
je 0x46fd36
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], esi
cmp eax, ebx
je 0x46fd48
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