Function at 0x45c800
Capabilities:
Check if file exists

Disassembly:
push 0x1f8
mov eax, 0x5e809e
call fcn.0059bbd7
mov edi, ecx
mov dword [ebp - 0x200], edi
mov dword [ebp - 0x204], edi
call sym.360huabao.exe_public:_void___thiscall_DuiLib::WindowImplBase::constructor_void_
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and dword [edi + 0x6dc], 0
mov dword [edi + 0x6e8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi], vtable.CPreviewWnd.5.0
mov dword [edi + 0x10], vtable.CPreviewWnd.4.0
mov dword [edi + 0x20], vtable.CPreviewWnd.3.0
mov dword [edi + 0x24], vtable.CPreviewWnd.2.0
mov dword [edi + 0x28], vtable.CPreviewWnd.1.0
mov dword [edi + 0x2c], vtable.CPreviewWnd.0
mov dword [edi + 0x6d8], 0xf
mov dword [edi + 0x6ec], eax
cmp eax, 0xb
jne 0x45ca1e
lea ecx, [ebp - 0x40]
call fcn.004d6c63
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0xf4]
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x40]
push eax
call sym.360huabao.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call sym.360huabao.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
push 0xd8
mov esi, 0x643734
push esi
push str.__s__d__strResourcePath_s
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.004d4eb0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x178]
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x28]
push eax
call sym.360huabao.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
push 0x633b6c
lea eax, [ebp - 0x1fc]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x178]
call sym.360huabao.exe_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CDuiString::operator_wchar_t_const__
push eax
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 5
call sym.360huabao.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 4
call sym.360huabao.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea ecx, [ebp - 0xf4]
call sym.360huabao.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
push 0xe1
push esi
push str.__s__d__release_combine_strResourcePath_s
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0xf4]
push str.DropDown.zip
call sym.360huabao.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
lea ecx, [ebp - 0xf4]
call sym.360huabao.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c9f8
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6f2120]
cmp eax, dword [ecx + 4]
jg 0x45ca28
cmp dword [0x6d4dac], 0
jne 0x45c9f8
lea ecx, [ebp - 0xf4]
call sym.360huabao.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x58]
call fcn.0040b0d5
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x70]
call fcn.005373c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.0040b67e
mov esi, 0x6d4d9c
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.00537460
cmp dword [0x6d4db0], 0x10
push 0
push dword [0x6d4dac]
cmovae esi, dword [0x6d4d9c]
push esi
call sym.360huabao.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int__wchar_t_const__
add esp, 0x14
lea ecx, [ebp - 0x70]
call fcn.00537400
lea ecx, [ebp - 0x178]
call sym.360huabao.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0xf4]
call sym.360huabao.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea ecx, [ebp - 0x40]
call fcn.0040b67e
mov eax, edi
call fcn.0059bb81
ret 8
mov esi, 0x6f2120
push esi
call fcn.0059ae4e
cmp dword [0x6f2120], 0xffffffff
pop ecx
jne 0x45c989
push 0x5fd1d9
call fcn.0059ac99
push esi
call fcn.0059ae04
pop ecx
pop ecx
jmp 0x45c989