Function at 0x49eceb
Capabilities:
Check if file exists

Disassembly:
push 0x38
mov eax, 0x5121f9
call fcn.004d02ab
xor edi, edi
push edi
lea eax, [ebp - 0x10]
push eax
push str.CUephelper::_PackReportFile__
push 0x151
mov esi, str..uepuephelper.cpp
push esi
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x10], edi
call fcn.004020c4
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov edi, dword [ebp + 0x10]
mov ebx, edi
call fcn.0049f3ae
mov dword [ebp - 0x10], eax
test eax, eax
jge 0x49ed4d
push eax
push str.ERROR_CHECK_COM_hr___x:_hr
push 0x155
push esi
push 5
pop esi
call fcn.0040f52f
add esp, 0x10
jmp 0x49ef06
push 0
call fcn.004cb0f5
mov dword [ebp - 0x2c], eax
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x20]
mov dword [ebp - 0x28], edx
call fcn.0049f30b
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
call fcn.0044f6b8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
mov dword [esp], 0x53d7e4
push eax
mov ecx, esi
call fcn.0040a149
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov esi, eax
call fcn.004812e3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
push str..zip
push ecx
mov ecx, eax
call fcn.0040a149
add esp, 0x18
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.004028da
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.004028da
push dword [ebp - 0x14]
mov eax, edi
call fcn.0040d65b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004028da
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004028da
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004028da
push dword [edi]
mov ebx, dword [0x51a4b0]
call ebx
test eax, eax
je 0x49ee10
push dword [edi]
call dword [0x51a37c]
mov eax, dword [edi]
push 0x52cdee
push eax
call fcn.00416816
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x49ee49
push str.ERROR_CHECK_BOOLEX:hZip
push 0x163
push str..uepuephelper.cpp
push 5
pop ecx
mov dword [ebp - 0x10], 0x80004005
call fcn.0040ef48
jmp 0x49ef06
mov edi, dword [ebp + 8]
push dword [edi]
call ebx
mov esi, dword [0x51a4d0]
test eax, eax
je 0x49eea2
push dword [edi]
call dword [0x51a4b4]
test eax, eax
jne 0x49eea2
mov edi, dword [edi]
push edi
call esi
push eax
mov eax, dword [ebp - 0x14]
mov ecx, edi
call fcn.00416879
pop ecx
test eax, eax
je 0x49ee9b
push str.ERROR_CHECK_BOOLEX:ZR_OK__zRet
push 0x167
push str..uepuephelper.cpp
push 5
pop ecx
mov dword [ebp - 0x10], 0x80004005
call fcn.0040ef48
jmp 0x49ef03
mov dword [ebp - 0x18], 1
mov edi, dword [ebp + 0xc]
push dword [edi]
call ebx
test eax, eax
je 0x49eef5
push dword [edi]
call dword [0x51a4b4]
test eax, eax
jne 0x49eef5
mov ebx, dword [edi]
push ebx
call esi
push eax
mov eax, dword [ebp - 0x14]
mov ecx, ebx
call fcn.00416879
pop ecx
test eax, eax
je 0x49eeee
push str.ERROR_CHECK_BOOLEX:ZR_OK__zRet
push 0x16e
push str..uepuephelper.cpp
push 5
pop ecx
mov dword [ebp - 0x10], 0x80004005
call fcn.0040ef48
jmp 0x49eefd
mov dword [ebp - 0x18], 1
mov edi, dword [ebp - 0x14]
call fcn.00416912
cmp dword [ebp - 0x18], 0
jne 0x49ef0e
mov edi, dword [ebp + 0x10]
push dword [edi]
call dword [0x51a37c]
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44]
push eax
call fcn.0040201a
mov eax, esi
call fcn.004d0383
ret 0xc