Function at 0x445fb6
Capabilities:
Check if file exists

Disassembly:
push 0xdc8
mov eax, 0x5b8c1d
call fcn.0056fe77
push 0x410
xor edi, edi
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.00586790
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x206
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x6f4]
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push edi
push eax
call fcn.00586790
add esp, 0xc
lea ecx, [ebp - 0x640]
call fcn.0044ef32
lea ecx, [ebp - 0x6f4]
mov byte [ebp - 4], 1
call sym.yuntun.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
push str.DropDown.zip
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x6f4]
call fcn.00515ceb
lea ecx, [ebp - 0x6f4]
call sym.yuntun.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 0x44620b
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x662e84]
cmp eax, dword [ecx + 4]
jg 0x446227
cmp dword [0x64b40c], 0
jne 0x44620b
lea ecx, [ebp - 0x6f4]
call sym.yuntun.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x658]
call fcn.00409872
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x670]
call fcn.0049ea30
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 4
call fcn.00409db5
mov esi, 0x64b3fc
lea eax, [ebp - 0x670]
push esi
push eax
call fcn.0049fb40
cmp dword [0x64b410], 0x10
push edi
push dword [0x64b40c]
cmovae esi, dword [0x64b3fc]
push esi
call sym.yuntun.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int__wchar_t_const__
add esp, 0x14
cmp byte [0x65400e], 0
jne 0x446200
lea ecx, [ebp - 0xdd4]
call fcn.00445d9e
push edi
mov eax, accept
mov byte [ebp - 4], 5
push eax
push eax
push eax
push eax
push 0x80
push 0x80880000
push 0x6011f4
push edi
lea ecx, [ebp - 0xdd4]
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
lea ecx, [ebp - 0xdd4]
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_
push 1
push 1
lea ecx, [ebp - 0xdd4]
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
lea ecx, [ebp - 0xdd4]
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
push 0x4e20
push 0xcd
lea ecx, [ebp - 0xdd4]
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push eax
call esi
push edi
push 0x1f4
push 0xce
lea ecx, [ebp - 0xdd4]
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call esi
mov byte [0x65400e], 1
call sym.yuntun.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::MessageLoop_void_
lea ecx, [ebp - 0xdd4]
call fcn.00445e00
lea ecx, [ebp - 0x670]
call fcn.0049ea70
lea ecx, [ebp - 0x640]
call fcn.00409db5
lea ecx, [ebp - 0x6f4]
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
call fcn.0056fe21
ret
mov esi, 0x662e84
push esi
call fcn.0056f033
cmp dword [0x662e84], 0xffffffff
pop ecx
jne 0x4460c3
push 0x5c014a
call fcn.0056ee7e
push esi
call fcn.0056efe9
pop ecx
pop ecx
jmp 0x4460c3