Function at 0x40c2e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e529
mov eax, dword fs:[0]
push eax
sub esp, 0x260
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
lea ecx, [ebp - 0x250]
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_void_]
push 0
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
push eax
push str.OIPVersion
push str.SoftwareIM_ProvidersZoom
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00414850
add esp, 0x14
lea ecx, [ebp - 0x250]
call dword [sym.imp.Cmmlib.dll_public:_int___thiscall_Cmm::CStringT_wchar_t_::IsEmpty_void_const]
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call dword [sym.imp.Cmmlib.dll_public_virtual:_void___thiscall_Cmm::CStringT_wchar_t_::destructor_void_]
test esi, esi
jne 0x40c3d5
mov ecx, edi
call fcn.0040bc30
test eax, eax
mov ecx, 0x100
mov esi, 0x200
cmovne esi, ecx
push esi
push 0x421958
push str.SoftwareIM_ProvidersZoom
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004147b0
push esi
push str.ProcessName
push str.SoftwareIM_ProvidersZoom
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004147b0
push esi
push str.GUID
push str.SoftwareIM_ProvidersZoom
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004147b0
push 0
push str.OIPVersion
push str.SoftwareIM_ProvidersZoom
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004147b0
add esp, 0x40
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 - 0x234]
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_wchar_t_const__]
push str.zOutlookIMUtil.dll
lea eax, [ebp - 0x26c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x234]
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 - 0x234]
mov byte [ebp - 4], 2
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 - 0x26c]
mov byte [ebp - 4], 1
call dword [sym.imp.Cmmlib.dll_public_virtual:_void___thiscall_Cmm::CStringT_wchar_t_::destructor_void_]
lea ecx, [ebp - 0x234]
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 - 0x234]
test eax, eax
je 0x40c492
push 0
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 - 0x234]
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