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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ecca6
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x1012931c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x244], ebx
call fcn.10045da9
test al, al
je 0x10020407
mov eax, dword [0x1012ebd0]
test eax, eax
je 0x10020407
cmp dword [eax + 4], 4
jl 0x10020407
push str.1281
call fcn.10045bd3
push str.1280
mov ebx, eax
call fcn.10045bd3
add esp, 8
lea ecx, [ebp - 0x140]
mov esi, eax
push 0
push 0
push 0x100f5674
push 0x39
push str.CDoTaskUnInstall::StartUnInstallTask
push 4
call fcn.10006e20
mov edi, eax
test esi, esi
mov dword [ebp - 4], 0
mov ecx, 0x100f5c08
cmovne ecx, esi
lea esi, [edi + 0x28]
push ecx
push esi
call fcn.10006220
test ebx, ebx
mov eax, 0x100f5c08
cmovne eax, ebx
push eax
push esi
call fcn.10006220
mov ecx, dword [0x1012ebd0]
add esp, 0x10
push edi
call fcn.10007f70
lea ecx, [ebp - 0x140]
mov dword [ebp - 4], 0xffffffff
call fcn.10007910
mov ebx, dword [ebp - 0x244]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x244], 0
call esi
push str._8c321c2ac23b
mov edi, eax
lea eax, [ebp - 0x40]
push str._s2
push eax
call fcn.100350d8
add esp, 0xc
cmp dword [ebx + 0x14], 8
mov dword [ebp - 4], 1
jb 0x10020440
mov ebx, dword [ebx]
push str.ZipMd5.exe
push ebx
lea eax, [ebp - 0x28]
push str._s_s
push eax
call fcn.100350d8
add esp, 0x10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002049d
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x40]
push 1
push ecx
push eax
call fcn.10047efc
add esp, 0x14
mov dword [ebp - 0x244], eax
call esi
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, edi
mul ecx
mov eax, edx
shr eax, 6
mov dword [ebp - 0x24c], eax
call fcn.10045da9
test al, al
je 0x1002056d
mov eax, dword [0x1012ebd0]
test eax, eax
je 0x1002056d
cmp dword [eax + 4], 4
jl 0x1002056d
push str.1282
call fcn.10045bd3
push str.1280
mov dword [ebp - 0x248], eax
call fcn.10045bd3
add esp, 8
lea ecx, [ebp - 0x240]
mov esi, eax
push 0
push 0
push 0x100f5674
push 0x48
push str.CDoTaskUnInstall::StartUnInstallTask
push 4
call fcn.10006e20
mov ebx, eax
test esi, esi
mov byte [ebp - 4], 3
mov ecx, 0x100f5c08
lea edi, [ebx + 0x28]
cmovne ecx, esi
push ecx
push edi
call fcn.10006220
mov eax, dword [ebp - 0x248]
mov ecx, 0x100f5c08
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.10006220
add esp, 0x10
mov ecx, edi
push dword [ebp - 0x24c]
call fcn.1001fbf0
mov ecx, dword [0x1012ebd0]
push ebx
call fcn.10007f70
lea ecx, [ebp - 0x240]
call fcn.10007910
mov edx, dword [ebp - 0x14]
xor ebx, ebx
cmp dword [ebp - 0x244], ebx
sete bl
cmp edx, 8
jb 0x100205ae
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100205a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10020616
push edx
push ecx
call fcn.10081441
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x100205f8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100205ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002061b
push edx
push ecx
call fcn.10081441
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10081454
mov esp, ebp
pop ebp
ret
call fcn.100ad050
call fcn.100ad050
int3