Function at 0x42ac30
Capabilities:
Check for time delay via gettickcount
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46f4c6
mov eax, dword fs:[0]
push eax
sub esp, 0xce0
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0xcd8], eax
push ebx
push esi
push edi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0xcf0]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 8]
lea edi, [ebx + 8]
mov dword [ebx + 0x58], 0
cmp dword [eax - 8], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], edi
je 0x42b172
mov eax, dword [ebx + 0xc]
cmp dword [eax - 8], 0
lea esi, [ebx + 0xc]
mov dword [esp + 0x2c], esi
je 0x42b172
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ae43
mov edx, dword [ebx + 0x10]
add ebx, 0x10
cmp dword [edx - 8], 0
mov dword [esp + 0x1c], ebx
je 0x42ad0c
mov ecx, dword [esi]
call fcn.00427760
test eax, eax
je 0x42ad0c
mov ebx, dword [esi]
xor eax, eax
lea ecx, [esp + 0x30]
push ecx
lea edi, [esp + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
call fcn.00405e30
add esp, 4
cmp dword [esp + 0x24], 0
je 0x42ad0c
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x30]
push edx
mov dword [eax + 0x58], 1
push 0x1003
jmp 0x42b17d
mov eax, dword [esi]
push 0x2e
push eax
mov edi, 1
call fcn.00453167
add esp, 8
test eax, eax
jne 0x42ad2c
mov dword [esp + 0x24], 0xffffffff
jmp 0x42ad34
sub eax, dword [esi]
sar eax, 1
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
mov ebx, esi
call fcn.0040e020
mov dword [esp + 0xcf8], 0
mov ecx, dword [esi]
mov ecx, dword [ecx - 8]
sub ecx, dword [esp + 0x24]
lea edx, [esp + 0x18]
push edx
push esi
call fcn.0040fca0
mov byte [esp + 0xcf8], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push 1
push ecx
push str._s__d_s
mov edx, esi
call fcn.0040ddc0
mov eax, dword [esi]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push eax
call ebx
test eax, eax
je 0x42adb9
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
inc edi
push edi
push eax
push str._s__d_s
mov edx, esi
call fcn.0040ddc0
mov eax, dword [esi]
add esp, 0x10
push eax
call ebx
test eax, eax
jne 0x42ad95
push 0x477c20
push 0x477c20
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [esp + 0x20]
mov ebx, eax
call fcn.0040e190
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x48b9c0
je 0x42ae03
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ae03
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
mov dword [esp + 0xcf8], 0xffffffff
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, 0x48b9c0
je 0x42ae37
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ae37
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edx, dword [edi]
mov eax, dword [edx - 8]
mov ecx, dword [esi]
mov ecx, dword [ecx - 8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
call fcn.0042b380
mov dword [esp + 0x20], eax
push esi
mov eax, ecx
call fcn.0040d900
push eax
mov eax, dword [esp + 0x20]
push edi
call fcn.0040d900
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x1c]
push eax
push 0
call edx
add esp, 0xc
mov dword [ebx + 4], eax
call fcn.0040df40
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi]
xor ecx, ecx
mov edi, esi
mov word [edx + eax*2], cx
call fcn.0040df40
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
mov dword [ecx - 8], eax
mov edx, dword [esi]
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov word [edx + eax*2], cx
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x24]
push edx
call eax
add esp, 4
test eax, eax
je 0x42b172
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebx + 0x54], 0
mov edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0x1000
jne 0x42b034
mov edx, dword [ebx + 0x20]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42b034
push 0x254
lea eax, [esp + 0x290]
push 0
push eax
call fcn.00453e20
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x20]
add esp, 0xc
lea ecx, [esp + 0x28c]
push ecx
push edx
call eax
add esp, 8
test eax, eax
je 0x42b034
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x28]
imul ecx, ecx, 0x3e8
sub eax, edi
cmp eax, ecx
jbe 0x42af6b
cmp dword [esp + 0x298], 0
ja 0x42af6b
cmp dword [esp + 0x294], 1
jb 0x42afe3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebx + 0x28]
imul edx, edx, 0x3e8
sub eax, edi
cmp eax, edx
jbe 0x42af94
cmp dword [esp + 0x2a0], 0
ja 0x42af94
cmp dword [esp + 0x29c], 1
jb 0x42afe3
mov al, byte [esp + 0x2d1]
cmp al, 1
je 0x42aff5
cmp al, 3
je 0x42afe3
cmp al, 2
je 0x42b00e
cmp al, 4
je 0x42b018
cmp al, 5
je 0x42b022
cmp al, 6
je 0x42b02c
cmp dword [esp + 0x298], 0
ja 0x42afc7
cmp dword [esp + 0x294], 1
jb 0x42afd7
mov eax, dword [ebx + 0x30]
push eax
push 0x1002
mov eax, ebx
call fcn.0042b290
cmp dword [ebx + 0x54], 0
je 0x42aef5
jmp 0x42b034
mov dword [esp + 0x18], 0x1001
mov dword [esp + 0x14], 3
jmp 0x42b034
mov dword [ebx + 0x4c], 0x6000
mov dword [esp + 0x18], 0x1003
mov dword [esp + 0x14], 1
jmp 0x42b034
mov dword [esp + 0x14], 2
jmp 0x42b034
mov dword [esp + 0x14], 4
jmp 0x42b034
mov dword [esp + 0x14], 5
jmp 0x42b034
mov dword [esp + 0x14], 6
push 0x254
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.00453e20
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x20]
add esp, 0xc
lea edx, [esp + 0x34]
push edx
push eax
call ecx
add esp, 8
test eax, eax
je 0x42b15b
mov edx, dword [ebx + 0x10]
cmp dword [edx - 8], 0
lea eax, [ebx + 0x10]
jne 0x42b077
mov edi, str.02a8342074eb25c8adb2d135e2bab7e5
call fcn.0040e210
mov ecx, dword [ebx + 0x14]
cmp dword [ecx - 8], 0
lea eax, [ebx + 0x14]
jne 0x42b08d
mov edi, str.360TS_Setup_For_Mini.cab
call fcn.0040e210
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov edi, eax
sub edi, dword [esp + 0x1c]
push 0x7fe
push edx
lea eax, [esp + 0x4ee]
push eax
mov word [esp + 0x4f0], dx
call fcn.00453e20
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x30]
add esp, 0xc
push 0x400
lea ecx, [esp + 0x4e8]
push ecx
push edx
call eax
mov esi, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov eax, 0x10624dd3
mul edi
shr edx, 6
add esp, 0xc
test edx, edx
jbe 0x42b102
mov eax, dword [esp + 0x60]
mov ecx, esi
add ecx, dword [esp + 0x64]
push 0
adc eax, dword [esp + 0x6c]
push edx
push eax
push ecx
call fcn.00458290
jmp 0x42b109
mov ecx, dword [esp + 0x64]
lea eax, [ecx + esi]
cmp dword [ebx + 0x50], 0
je 0x42b117
mov dword [esp + 0x14], 4
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push edi
push edx
mov edx, dword [esp + 0x44]
push ecx
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x4f4]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x8c]
add edx, ecx
push edx
mov edx, dword [ebx + 0x14]
add esi, ecx
mov ecx, dword [ebx + 0x10]
push esi
push eax
call fcn.00415420
mov esi, dword [esp + 0x44]
add esp, 0x24
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x34]
push eax
call ecx
mov edx, dword [ebx + 0x30]
mov eax, dword [esp + 0x1c]
add esp, 4
push edx
push eax
jmp 0x42b17b
mov ecx, dword [ebx + 0x30]
push ecx
push 0x1000
mov eax, ebx
call fcn.0042b290
mov ecx, dword [esp + 0xcf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xcd8]
xor ecx, esp
call fcn.0044fcda
mov esp, ebp
pop ebp
ret