Function at 0x49ccc4
Capabilities:
Check if file exists

Disassembly:
push 0x30
mov eax, 0x51226d
call fcn.004d0314
push 2
pop esi
mov dword [ebp - 4], esi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push str.CSimpleKLivePacker::_ZipFile__
push 0x234
mov edi, str..dlgmakeinstallpackdlgSimpleKLivePacker.cpp
push edi
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x18], ebx
call fcn.004020c4
mov byte [ebp - 4], 3
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.004022e5
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
call dword [0x51a4b0]
test eax, eax
je 0x49ce77
push dword [ebp - 0x14]
call dword [0x51a4b4]
test eax, eax
jne 0x49ce77
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x49cd80
push eax
call dword [0x51a3cc]
mov edi, eax
inc edi
push ebx
mov eax, edi
cdq
push esi
push edx
push eax
mov dword [ebp - 0x20], edi
call fcn.004d5390
test edx, edx
jg 0x49cd77
jl 0x49cd66
cmp eax, 0x7fffffff
ja 0x49cd77
push edx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040e152
mov edi, dword [ebp - 0x20]
pop ecx
pop ecx
jmp 0x49cd7c
mov eax, 0x80070057
test eax, eax
jge 0x49cd84
xor eax, eax
jmp 0x49cdbb
cmp edi, 0x400
jg 0x49cda2
push edi
call fcn.0040e0aa
pop ecx
test al, al
je 0x49cda2
mov eax, edi
call fcn.004dd0c0
mov eax, esp
jmp 0x49cdae
push edi
lea esi, [ebp - 0x1c]
call fcn.0040e067
mov ebx, dword [ebp - 0x1c]
push 3
push edi
push dword [ebp - 0x24]
mov esi, eax
call fcn.0040e007
push eax
push dword [ebp + 0xc]
call fcn.00416816
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x49ce07
push str.ERROR_CHECK_BOOLEX:hZip
push 0x23a
push str..dlgmakeinstallpackdlgSimpleKLivePacker.cpp
push 5
pop ecx
mov dword [ebp - 0x18], 0x80004005
call fcn.0040ef48
mov byte [ebp - 4], 4
jmp 0x49cdfe
mov eax, ebx
mov ebx, dword [ebx]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004cad3f
pop ecx
test ebx, ebx
jne 0x49cdf0
jmp 0x49ce91
mov esi, dword [ebp - 0x14]
push esi
call dword [0x51a4d0]
push eax
mov ecx, esi
mov eax, edi
call fcn.00416879
pop ecx
test eax, eax
je 0x49ce58
push str.ERROR_CHECK_BOOLEX:ZR_OK__zRet
push 0x23c
push str..dlgmakeinstallpackdlgSimpleKLivePacker.cpp
push 5
pop ecx
mov dword [ebp - 0x18], 0x80004005
call fcn.0040ef48
mov byte [ebp - 4], 4
jmp 0x49ce52
mov eax, ebx
mov ebx, dword [ebx]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004cad3f
pop ecx
test ebx, ebx
jne 0x49ce44
jmp 0x49ce91
call fcn.00416912
mov byte [ebp - 4], 4
jmp 0x49ce71
mov eax, ebx
mov ebx, dword [ebx]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004cad3f
pop ecx
test ebx, ebx
jne 0x49ce63
jmp 0x49ce91
push str.ERROR_CHECK_BOOLEX:pathSrcFile.FileExists_____pathSrcFile.IsDirectory__
push 0x237
push edi
push 5
pop ecx
mov dword [ebp - 0x18], 0x80070057
call fcn.0040ef48
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
call fcn.004025f7
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x3c]
push eax
call fcn.0040201a
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004028da
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004028da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004028da
mov eax, esi
lea esp, [ebp - 0x4c]
call fcn.004d0397
ret 0xc