Function at 0x409b90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5039ed
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x55f3d0]
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 dword [edi + 4]
lea ecx, [edi + 0x4f8]
call sym.CAD.exe_public:_void___thiscall_CWndShadow::Create_struct_HWND____
push 0
push 0
lea ecx, [edi + 0x4f8]
call sym.CAD.exe_public:_bool___thiscall_CWndShadow::SetPosition_int__int_
push 3
lea ecx, [edi + 0x4f8]
call sym.CAD.exe_public:_bool___thiscall_CWndShadow::SetSize_int_
push 0x50c058
lea ecx, [edi + 0x2c]
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.phone
lea ecx, [edi + 0x2c]
mov dword [edi + 0x53c], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push 0x50c070
lea ecx, [edi + 0x2c]
mov dword [edi + 0x540], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.browse
lea ecx, [edi + 0x2c]
mov dword [edi + 0x544], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push 0x50be0c
lea ecx, [edi + 0x2c]
mov dword [edi + 0x548], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push 0x50c08c
lea ecx, [edi + 0x2c]
mov dword [edi + 0x54c], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.open
lea ecx, [edi + 0x2c]
mov dword [edi + 0x550], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.text
lea ecx, [edi + 0x2c]
mov dword [edi + 0x554], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
cmp dword [edi + 0x53c], 0
mov dword [edi + 0x558], eax
je 0x409cd1
cmp dword [edi + 0x4d4], 0x10
lea eax, [edi + 0x4c0]
jb 0x409c98
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00401970
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x409cb6
mov edx, dword [edx]
mov ecx, dword [edi + 0x53c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00403250
cmp dword [edi + 0x540], 0
je 0x409d21
mov eax, dword [edi + 0x4f4]
cmp dword [eax + 0x14], 0x10
jb 0x409ce8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00401970
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 1
jb 0x409d06
mov edx, dword [edx]
mov ecx, dword [edi + 0x540]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00403250
mov ecx, dword [edi + 0x544]
test ecx, ecx
je 0x409ddc
mov eax, dword [ecx]
push 0
call dword [eax + 0xec]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push 0x50c0ac
mov dword [ebp - 4], 2
call esi
test eax, eax
je 0x409d73
mov ecx, 0x50c0b0
jmp 0x409d89
push 0x50c0b8
call esi
test eax, eax
mov ecx, 0x50c0bc
mov edx, 0x531754
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.004093e0
cmp dword [ebp - 0x18], 0
je 0x409dcd
push 0x12
push str.Microsoft_Office
lea ecx, [ebp - 0x28]
call fcn.0040ef10
push 6
push str._temp_
lea ecx, [ebp - 0x28]
call fcn.0040ef10
mov ecx, dword [edi + 0x544]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
mov eax, dword [ecx]
push edx
call dword [eax + 0x3c]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00403250
mov ecx, dword [edi + 0x550]
test ecx, ecx
je 0x409df0
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x554]
test ecx, ecx
je 0x409e04
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
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.004d635c
mov esp, ebp
pop ebp
ret