Function at 0x49a9e0
Capabilities:
Check if file exists

Disassembly:
push 0x1e8
mov eax, 0x512376
call fcn.004d0314
mov edi, ecx
mov dword [ebp - 0x1d8], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x1a8]
push eax
push str.CSimpleKLivePacker::Pack__
push 0x28
mov esi, str..dlgmakeinstallpackdlgSimpleKLivePacker.cpp
push esi
lea eax, [ebp - 0x1f4]
push eax
mov dword [ebp - 0x1a8], ebx
call fcn.004020c4
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea eax, [ebp - 0x1c4]
push eax
call fcn.004022e5
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c4]
call fcn.004707d9
mov eax, dword [ebp - 0x1c4]
cmp eax, ebx
je 0x49aa54
cmp word [eax], bx
jne 0x49aa73
push str.ERROR_CHECK_BOOLEX:_IsStrEmpty_LPCWSTR_pathTargetDir__
push 0x2e
push esi
push 5
pop ecx
mov dword [ebp - 0x1a8], 0x80004005
call fcn.0040ef48
jmp 0x49ae6b
push eax
call dword [0x51a4b0]
test eax, eax
jne 0x49aa87
push str.ERROR_CHECK_BOOLEX:pathTargetDir.FileExists__
push 0x2f
jmp 0x49aa5b
mov ecx, edi
call fcn.0049d006
cmp eax, ebx
mov dword [ebp - 0x1a8], eax
jge 0x49aab1
push eax
push str.ERROR_CHECK_COM_hr___x:_hr
push 0x34
push esi
push 5
pop esi
call fcn.0040f52f
add esp, 0x10
jmp 0x49ae6b
push edi
call fcn.0049b075
cmp eax, ebx
mov dword [ebp - 0x1a8], eax
jge 0x49aacb
push eax
push str.ERROR_CHECK_COM_hr___x:_hr
push 0x37
jmp 0x49aaa0
mov dword [ebp - 0x1d4], ebx
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1cc], ebx
mov dword [ebp - 0x1c8], ebx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
push eax
call fcn.00497223
mov byte [ebp - 4], 4
mov edi, dword [edi + 8]
lea esi, [ebp - 0x1d4]
call fcn.00497991
push ebx
push ebx
mov eax, esi
mov ebx, edi
push eax
lea edi, [ebp - 0x34]
call fcn.004976b4
test al, al
jne 0x49ab38
push str.ERROR_CHECK_BOOLEX:kLister.ListFiles__LPCTSTR_m_pathTemp_res__kFileList__NULL__NULL_
push 0x3e
push str..dlgmakeinstallpackdlgSimpleKLivePacker.cpp
push 5
pop ecx
mov dword [ebp - 0x1a8], 0x80004005
call fcn.0040ef48
jmp 0x49ae4f
mov edi, dword [ebp - 0x1d8]
add edi, 0xc
push edi
lea eax, [ebp - 0x1b0]
push eax
call fcn.0041792e
mov byte [ebp - 4], 5
push str.setup.exe
lea eax, [ebp - 0x1b0]
call fcn.0040d65b
lea eax, [ebp - 0x1a4]
push eax
call fcn.0049a2e8
mov byte [ebp - 4], 6
push dword [ebp - 0x1b0]
lea esi, [ebp - 0x1a4]
mov byte [ebp - 0x1a9], 0
call fcn.0049a333
test al, al
je 0x49abc3
call fcn.0049a7ed
test al, al
je 0x49abaf
lea ebx, [ebp - 0x1d4]
mov eax, esi
call fcn.0049a369
test al, al
je 0x49abaf
mov byte [ebp - 0x1a9], 1
lea eax, [ebp - 0x1a4]
call fcn.0049a7b6
cmp byte [ebp - 0x1a9], 0
jne 0x49abe6
push str.ERROR_CHECK_BOOLEX:bRet
push 0x4f
push str..dlgmakeinstallpackdlgSimpleKLivePacker.cpp
push 5
pop ecx
mov dword [ebp - 0x1a8], 0x80004005
call fcn.0040ef48
jmp 0x49ae2f
push edi
lea eax, [ebp - 0x1b4]
push eax
call fcn.0041792e
mov byte [ebp - 4], 7
mov esi, 0xcf
lea eax, [ebp - 0x1bc]
push esi
push eax
call fcn.0040df84
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c0]
push str..exe
push ecx
mov ecx, eax
call fcn.0040a149
add esp, 0x10
mov byte [ebp - 4], 9
push dword [eax]
lea eax, [ebp - 0x1b4]
call fcn.0040d65b
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c0]
call fcn.004028da
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1bc]
call fcn.004028da
push ecx
mov eax, esp
mov dword [ebp - 0x1bc], esp
push dword [ebp - 0x1b4]
push eax
call fcn.004025b6
mov byte [ebp - 4], 0xa
push ecx
mov eax, esp
mov dword [ebp - 0x1c0], esp
push dword [ebp - 0x1b0]
push eax
call fcn.004025b6
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 7
call fcn.0049d4f9
test eax, eax
jne 0x49acb4
push str.ERROR_CHECK_BOOLEX:_MoveFile__LPCTSTR_pathSetupExe___LPCTSTR_pathRenameFile_
push 0x54
push str..dlgmakeinstallpackdlgSimpleKLivePacker.cpp
push 5
pop ecx
mov dword [ebp - 0x1a8], 0x80004005
call fcn.0040ef48
jmp 0x49ae1f
push edi
lea eax, [ebp - 0x1b8]
push eax
call fcn.0041792e
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x1c0]
push esi
push eax
call fcn.0040df84
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1bc]
push str..zip
push ecx
mov ecx, eax
call fcn.0040a149
add esp, 0x10
mov byte [ebp - 4], 0xe
push dword [eax]
lea eax, [ebp - 0x1b8]
call fcn.0040d65b
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1bc]
call fcn.004028da
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1c0]
call fcn.004028da
push ecx
mov eax, esp
mov dword [ebp - 0x1bc], esp
push 0x527fec
push eax
call fcn.004025b6
mov byte [ebp - 4], 0xf
push ecx
mov eax, esp
mov dword [ebp - 0x1c0], esp
push dword [ebp - 0x1b8]
push eax
call fcn.004025b6
mov byte [ebp - 4], 0x10
push ecx
mov eax, esp
mov dword [ebp - 0x1dc], esp
push dword [ebp - 0x1b4]
push eax
call fcn.004025b6
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xc
call fcn.0049ccc4
mov dword [ebp - 0x1a8], eax
test eax, eax
jge 0x49ad92
push eax
push str.ERROR_CHECK_COM_hr___x:_hr
push 0x58
push str..dlgmakeinstallpackdlgSimpleKLivePacker.cpp
push 5
pop esi
call fcn.0040f52f
add esp, 0x10
jmp 0x49ae0f
push ecx
mov eax, esp
mov dword [ebp - 0x1dc], esp
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.004029d3
mov byte [ebp - 4], 0x12
push ecx
mov eax, esp
mov dword [ebp - 0x1bc], esp
push dword [ebp - 0x1b8]
push eax
call fcn.004025b6
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0xc
call fcn.0049d3be
test eax, eax
jne 0x49adef
push str.ERROR_CHECK_BOOLEX:_CopyFileToDir__LPCTSTR_pathZipFile__strTargetDir_
push 0x59
push str..dlgmakeinstallpackdlgSimpleKLivePacker.cpp
push 5
pop ecx
mov dword [ebp - 0x1a8], 0x80004005
call fcn.0040ef48
jmp 0x49ae0f
push 0
push dword [ebp + 8]
push 0x12005
push 0x1000
call dword [0x51a468]
mov esi, dword [ebp - 0x1d8]
call fcn.0049d182
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1b8]
push eax
call fcn.004025f7
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1b4]
push eax
call fcn.004025f7
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1a4]
push eax
call fcn.0049aea7
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1b0]
push eax
call fcn.004025f7
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
push eax
call fcn.0049724e
mov byte [ebp - 4], 2
lea esi, [ebp - 0x1d4]
call fcn.00497991
mov esi, dword [ebp - 0x1a8]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c4]
push eax
call fcn.004025f7
mov byte [ebp - 4], 0
lea eax, [ebp - 0x1f4]
push eax
call fcn.0040201a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004028da
mov eax, esi
call fcn.004d0397
ret 4