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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451776
mov eax, dword fs:[0]
push eax
sub esp, 0xce0
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0xcd8], eax
push ebx
push esi
push edi
mov eax, dword [0x463070]
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 0x423452
mov eax, dword [ebx + 0xc]
cmp dword [eax - 8], 0
lea esi, [ebx + 0xc]
mov dword [esp + 0x2c], esi
je 0x423452
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423123
mov edx, dword [ebx + 0x10]
add ebx, 0x10
cmp dword [edx - 8], 0
mov dword [esp + 0x1c], ebx
je 0x422fec
mov ecx, dword [esi]
call fcn.00420c10
test eax, eax
je 0x422fec
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.00409120
add esp, 4
cmp dword [esp + 0x24], 0
je 0x422fec
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x30]
push edx
mov dword [eax + 0x58], 1
push 0x1003
jmp 0x42345d
mov eax, dword [esi]
push 0x2e
push eax
mov edi, 1
call fcn.00436c94
add esp, 8
test eax, eax
jne 0x42300c
mov dword [esp + 0x24], 0xffffffff
jmp 0x423014
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.00409d70
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.0040d820
mov byte [esp + 0xcf8], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push 1
push ecx
push 0x459110
mov edx, esi
call fcn.0040e170
mov eax, dword [esi]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push eax
call ebx
test eax, eax
je 0x423099
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
inc edi
push edi
push eax
push 0x459110
mov edx, esi
call fcn.0040e170
mov eax, dword [esi]
add esp, 0x10
push eax
call ebx
test eax, eax
jne 0x423075
push 0x457418
push 0x457418
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [esp + 0x20]
mov ebx, eax
call fcn.00409c70
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x4674bc
je 0x4230e3
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4230e3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0043406a
add esp, 4
mov dword [esp + 0xcf8], 0xffffffff
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, 0x4674bc
je 0x423117
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x423117
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0043406a
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.00423670
mov dword [esp + 0x20], eax
push esi
mov eax, ecx
call fcn.004098d0
push eax
mov eax, dword [esp + 0x20]
push edi
call fcn.004098d0
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.00409960
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.00409960
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 0x423452
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 0x423314
mov edx, dword [ebx + 0x20]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x423314
push 0x254
lea eax, [esp + 0x290]
push 0
push eax
call fcn.00437380
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 0x423314
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x28]
imul ecx, ecx, 0x3e8
sub eax, edi
cmp eax, ecx
jbe 0x42324b
cmp dword [esp + 0x298], 0
ja 0x42324b
cmp dword [esp + 0x294], 1
jb 0x4232c3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebx + 0x28]
imul edx, edx, 0x3e8
sub eax, edi
cmp eax, edx
jbe 0x423274
cmp dword [esp + 0x2a0], 0
ja 0x423274
cmp dword [esp + 0x29c], 1
jb 0x4232c3
mov al, byte [esp + 0x2d1]
cmp al, 1
je 0x4232d5
cmp al, 3
je 0x4232c3
cmp al, 2
je 0x4232ee
cmp al, 4
je 0x4232f8
cmp al, 5
je 0x423302
cmp al, 6
je 0x42330c
cmp dword [esp + 0x298], 0
ja 0x4232a7
cmp dword [esp + 0x294], 1
jb 0x4232b7
mov eax, dword [ebx + 0x30]
push eax
push 0x1002
mov eax, ebx
call fcn.00423570
cmp dword [ebx + 0x54], 0
je 0x4231d5
jmp 0x423314
mov dword [esp + 0x18], 0x1001
mov dword [esp + 0x14], 3
jmp 0x423314
mov dword [ebx + 0x4c], 0x6000
mov dword [esp + 0x18], 0x1003
mov dword [esp + 0x14], 1
jmp 0x423314
mov dword [esp + 0x14], 2
jmp 0x423314
mov dword [esp + 0x14], 4
jmp 0x423314
mov dword [esp + 0x14], 5
jmp 0x423314
mov dword [esp + 0x14], 6
push 0x254
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.00437380
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 0x42343b
mov edx, dword [ebx + 0x10]
cmp dword [edx - 8], 0
lea eax, [ebx + 0x10]
jne 0x423357
mov edi, str.02a8342074eb25c8adb2d135e2bab7e5
call fcn.00409cf0
mov ecx, dword [ebx + 0x14]
cmp dword [ecx - 8], 0
lea eax, [ebx + 0x14]
jne 0x42336d
mov edi, str.360TS_Setup_For_Mini.cab
call fcn.00409cf0
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.00437380
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 0x4233e2
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.00441240
jmp 0x4233e9
mov ecx, dword [esp + 0x64]
lea eax, [ecx + esi]
cmp dword [ebx + 0x50], 0
je 0x4233f7
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.004131e0
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 0x42345b
mov ecx, dword [ebx + 0x30]
push ecx
push 0x1000
mov eax, ebx
call fcn.00423570
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.00433af9
mov esp, ebp
pop ebp
ret