Function at 0x49e27e
Capabilities:
Check if file exists

Disassembly:
push 0x50
mov eax, 0x50d5a0
call fcn.004d0314
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp esi, ebx
je 0x49e29a
cmp word [esi], bx
jne 0x49e2b0
push str.ASSERT:__IsStrEmpty_strPathFile_
push 0xcd
push str..uepuephelper.cpp
xor ecx, ecx
call fcn.0040ef48
push ebx
lea eax, [ebp - 0x1c]
push eax
push str.CUephelper::SubmitAttachment__
push 0xce
push str..uepuephelper.cpp
lea eax, [ebp - 0x40]
push eax
call fcn.004020c4
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax], ebx
jne 0x49e2e3
mov dword [ebp - 0x1c], 0x80004005
jmp 0x49e4df
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov edx, esi
lea ecx, [ebp - 0x5c]
call fcn.0045c1df
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 0x10
jb 0x49e303
mov eax, dword [eax + 4]
jmp 0x49e306
add eax, 4
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x49e365
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x49e310
push ebx
push ebx
sub eax, esi
push eax
push dword [ebp - 0x20]
push ebx
push 0xfde9
call dword [0x51a3bc]
mov edi, eax
inc edi
push ebx
mov eax, edi
cdq
push 2
push edx
push eax
mov dword [ebp - 0x28], edi
call fcn.004d5390
cmp edx, ebx
jg 0x49e35c
jl 0x49e34b
cmp eax, 0x7fffffff
ja 0x49e35c
push edx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e152
mov edi, dword [ebp - 0x28]
pop ecx
pop ecx
jmp 0x49e361
mov eax, 0x80070057
cmp eax, ebx
jge 0x49e369
xor eax, eax
jmp 0x49e3a0
cmp edi, 0x400
jg 0x49e387
push edi
call fcn.0040e0aa
pop ecx
test al, al
je 0x49e387
mov eax, edi
call fcn.004dd0c0
mov eax, esp
jmp 0x49e390
push edi
lea esi, [ebp - 0x14]
call fcn.0040e067
push 0xfde9
push edi
push dword [ebp - 0x20]
mov esi, eax
call fcn.0040e11f
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004025b6
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00403b93
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
call fcn.004022e5
mov byte [ebp - 4], 5
push dword [ebp - 0x18]
call dword [0x51a4b0]
test eax, eax
je 0x49e48d
push dword [ebp - 0x18]
call dword [0x51a4b4]
test eax, eax
jne 0x49e48d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
jge 0x49e457
push eax
push str.ERROR_CHECK_COM_hr___x:_hr
push 0xd6
push str..uepuephelper.cpp
push 5
pop esi
call fcn.0040f52f
add esp, 0x10
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push eax
call fcn.004025f7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004028da
mov byte [ebp - 4], bl
cmp dword [ebp - 0x14], ebx
je 0x49e4df
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
push eax
mov dword [ebp - 0x14], esi
call fcn.004cad3f
pop ecx
cmp esi, ebx
jne 0x49e43f
jmp 0x49e4df
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push eax
call fcn.004025f7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004028da
mov byte [ebp - 4], bl
cmp dword [ebp - 0x14], ebx
je 0x49e4df
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
push eax
mov dword [ebp - 0x14], esi
call fcn.004cad3f
pop ecx
cmp esi, ebx
jne 0x49e478
jmp 0x49e4df
push str.ERROR_CHECK_BOOLEX:pathFile.FileExists_____pathFile.IsDirectory__
push 0xd4
push str..uepuephelper.cpp
push 5
pop ecx
mov dword [ebp - 0x1c], 0x80004005
call fcn.0040ef48
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push eax
call fcn.004025f7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004028da
mov byte [ebp - 4], bl
cmp dword [ebp - 0x14], ebx
je 0x49e4df
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
push eax
mov dword [ebp - 0x14], esi
call fcn.004cad3f
pop ecx
cmp esi, ebx
jne 0x49e4cc
mov esi, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x40]
push eax
call fcn.0040201a
mov eax, esi
lea esp, [ebp - 0x6c]
call fcn.004d0397
ret 4