Function at 0x40bfd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e4d5
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x42d3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x27c]
push eax
push str.Outlook.Application
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
jns 0x40c0b8
lea ecx, [ebp - 0x234]
xor esi, esi
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_void_]
push esi
lea eax, [ebp - 0x234]
mov dword [ebp - 4], esi
push eax
push 0x421948
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsOUTLOOK.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00414850
add esp, 0x14
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x26c]
push eax
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_class_Cmm::CStringT_wchar_t__const__]
mov eax, dword [sym.imp.Cmmlib.dll_const_Cmm::CFileName::vftable]
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call dword [sym.imp.Cmmlib.dll_public:_int___thiscall_Cmm::CFileName::IsExists_void_const]
test eax, eax
mov ecx, 1
cmovne esi, ecx
lea ecx, [ebp - 0x26c]
call dword [sym.imp.Cmmlib.dll_public_virtual:_void___thiscall_Cmm::CFileName::destructor_void_]
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Cmmlib.dll_public_virtual:_void___thiscall_Cmm::CStringT_wchar_t_::destructor_void_]
test esi, esi
je 0x40c2ba
mov ecx, edi
call fcn.0040bc30
test eax, eax
mov ecx, 0x100
mov esi, 0x200
cmovne esi, ecx
lea ecx, [ebp - 0x234]
push 0x42194c
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_wchar_t_const__]
push esi
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 2
push eax
push 0x421958
push str.SoftwareIM_ProvidersZoom
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00414950
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.Cmmlib.dll_public_virtual:_void___thiscall_Cmm::CStringT_wchar_t_::destructor_void_]
push str.ZoomOutlookIMPlugin.exe
lea ecx, [ebp - 0x234]
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_wchar_t_const__]
push esi
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 3
push eax
push str.ProcessName
push str.SoftwareIM_ProvidersZoom
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00414950
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.Cmmlib.dll_public_virtual:_void___thiscall_Cmm::CStringT_wchar_t_::destructor_void_]
push str.D715321E_3ABE_42D7_8C55_A3AC924967C6
lea ecx, [ebp - 0x234]
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_wchar_t_const__]
push esi
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 4
push eax
push str.GUID
push str.SoftwareIM_ProvidersZoom
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00414950
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.Cmmlib.dll_public_virtual:_void___thiscall_Cmm::CStringT_wchar_t_::destructor_void_]
push str.1.0.1
lea ecx, [ebp - 0x234]
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_wchar_t_const__]
push 0
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 5
push eax
push str.OIPVersion
push str.SoftwareIM_ProvidersZoom
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00414950
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.Cmmlib.dll_public_virtual:_void___thiscall_Cmm::CStringT_wchar_t_::destructor_void_]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x250]
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_wchar_t_const__]
push str.zOutlookIMUtil.dll
lea eax, [ebp - 0x298]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x250]
call dword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t____thiscall_Cmm::CStringT_wchar_t_::operator_wchar_t_const__]
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 7
call dword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____thiscall_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const__]
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 6
call dword [sym.imp.Cmmlib.dll_public_virtual:_void___thiscall_Cmm::CStringT_wchar_t_::destructor_void_]
lea ecx, [ebp - 0x250]
call dword [sym.imp.Cmmlib.dll_public:_wchar_t_const____thiscall_Cmm::CStringT_wchar_t_::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x250]
test eax, eax
je 0x40c2b4
push 1
call dword [sym.imp.Cmmlib.dll_public:_wchar_t_const____thiscall_Cmm::CStringT_wchar_t_::c_str_void_const]
push eax
mov ecx, edi
call fcn.0040bd40
lea ecx, [ebp - 0x250]
call dword [sym.imp.Cmmlib.dll_public_virtual:_void___thiscall_Cmm::CStringT_wchar_t_::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c340
mov esp, ebp
pop ebp
ret