Function at 0x4028e6
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push 0x2f0
mov eax, 0x60fb5f
call fcn.004fc652
mov dword [ebp - 0x2e4], ecx
call fcn.004113ff
xor ebx, ebx
mov dword [ebp - 0x2ec], ebx
test al, al
je 0x40299e
mov eax, dword [0x6b2b54]
test eax, eax
je 0x40299e
cmp dword [eax + 4], 4
jl 0x40299e
push str.1281
call fcn.004111f6
mov ebx, eax
mov dword [esp], str.1280
call fcn.004111f6
push ecx
push ecx
push 0x45
push str.CDoTaskUnInstall::StartUnInstallTask
push ecx
lea ecx, [ebp - 0x1c0]
mov esi, eax
call fcn.004023d8
mov edi, eax
xor ecx, ecx
test esi, esi
mov dword [ebp - 4], ecx
mov ecx, str._null_
cmovne ecx, esi
lea esi, [edi + 0x30]
push ecx
push esi
call fcn.00403e34
test ebx, ebx
mov eax, str._null_
cmovne eax, ebx
push eax
push esi
call fcn.00403e34
mov ecx, dword [0x6b2b54]
add esp, 0x10
push edi
call fcn.00402c23
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c0]
call fcn.00402577
xor ebx, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x2e8], eax
call fcn.00409aa6
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.0040a18b
mov esi, str.CMD_PARENT_PROCESS_NAME
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.0040cf53
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4029ed
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.00409c2b
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.0040374c
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.0040cf53
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
push str.CMD_RUNTIME_UNINST_BEGIN
push eax
call fcn.0040cf53
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae ecx, dword [ebp - 0x58]
cmp dword [esi + 0x14], 8
jb 0x402a47
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x402a4f
mov eax, dword [eax]
push ecx
push esi
push eax
lea eax, [ebp - 0x40]
push str._s2__s_s
push eax
call fcn.00413132
add esp, 0x14
lea ecx, [ebp - 0x88]
call fcn.0040374c
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.0040374c
push dword [ebp - 0x2e4]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.004038b1
push str.HaoKaTiy.exe
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00402c83
push 8
pop esi
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402ae3
cmp dword [ebp - 0x14], esi
lea ecx, [ebp - 0x28]
push ebx
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], esi
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x40]
push 1
push ecx
push eax
call fcn.00413b01
add esp, 0x14
mov dword [ebp - 0x2ec], eax
call edi
sub eax, dword [ebp - 0x2e8]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x2f0], eax
call fcn.004113ff
test al, al
je 0x402bef
mov ecx, dword [0x6b2b54]
test ecx, ecx
je 0x402bef
cmp dword [ecx + 4], 4
jl 0x402bef
push str.1282
call fcn.004111f6
cmp dword [ebp - 0x14], esi
lea ebx, [ebp - 0x40]
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], esi
mov dword [ebp - 0x2e8], eax
cmovae ebx, dword [ebp - 0x40]
mov dword [esp], str.1280
call fcn.004111f6
push ecx
push ecx
push 0x5e
push str.CDoTaskUnInstall::StartUnInstallTask
push ecx
lea ecx, [ebp - 0x2e0]
mov esi, eax
call fcn.004023d8
mov dword [ebp - 0x2f4], eax
test esi, esi
mov byte [ebp - 4], 0xb
mov ecx, str._null_
lea edi, [eax + 0x30]
cmovne ecx, esi
push ecx
push edi
call fcn.00403e34
mov esi, str._null_
test ebx, ebx
mov eax, esi
cmovne eax, ebx
push eax
push edi
call fcn.00403e34
mov ecx, dword [ebp - 0x2e8]
mov eax, esi
test ecx, ecx
cmovne eax, ecx
push eax
push edi
call fcn.00403e34
mov eax, dword [ebp - 0x2e4]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.00403e34
add esp, 0x20
mov ecx, edi
push dword [ebp - 0x2f0]
call fcn.004044e1
push dword [ebp - 0x2f4]
mov ecx, dword [0x6b2b54]
call fcn.00402c23
lea ecx, [ebp - 0x2e0]
call fcn.00402577
lea ecx, [ebp - 0x28]
call fcn.0040374c
lea ecx, [ebp - 0x40]
call fcn.0040374c
lea ecx, [ebp - 0x58]
call fcn.0040374c
lea ecx, [ebp - 0x2fc]
call fcn.00409afe
xor eax, eax
cmp dword [ebp - 0x2ec], eax
sete al
call fcn.004fc5fc
ret