Function at 0x553570
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63519c
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
mov ecx, dword [ebp - 0x23c]
call sym.demo.exe_public:_void___thiscall_DuiLib::WindowImplBase::constructor_void_
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x23c]
add ecx, 0x364
call fcn.00555c90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x23c]
add ecx, 0x368
call fcn.005574b0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x23c]
mov dword [eax], vtable.CRightDownWebWin.5.0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x10], vtable.CRightDownWebWin.4.0
mov edx, dword [ebp - 0x23c]
mov dword [edx + 0x20], vtable.CRightDownWebWin.3.0
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0x24], vtable.CRightDownWebWin.2.0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x28], vtable.CRightDownWebWin.1.0
mov edx, dword [ebp - 0x23c]
mov dword [edx + method.CRightDownWebWin.virtual_0], vtable.CRightDownWebWin.0
mov ecx, dword [ebp - 0x23c]
add ecx, 0xdbc
call sym.demo.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_void_
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x23c]
add ecx, 0xe40
call fcn.0040e480
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x23c]
add ecx, 0xe5c
call fcn.00544520
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x23c]
add ecx, 0xe9c
call fcn.00569ad0
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x498
call fcn.0041bdd0
push str.mainframe.xml
mov ecx, dword [ebp - 0x23c]
add ecx, 0xdbc
call fcn.00579c85
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x23c]
call fcn.00555060
mov dword [ebp - 0x240], eax
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x244], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0xe40
call fcn.0040e550
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x238]
call fcn.0040e530
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x3a4], 0
mov edx, dword [ebp - 0x23c]
mov dword [edx + 0xe90], 0
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0xe84], 0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0xe88], 0
mov edx, dword [ebp - 0x23c]
mov dword [edx + 0xe8c], 0
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0xe98], 0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0xf18], 0
mov edx, dword [ebp - 0x23c]
mov dword [edx + 0xf1c], 0
mov eax, dword [ebp - 0x23c]
mov byte [eax + 0xe94], 0
mov ecx, dword [ebp - 0x23c]
mov byte [ecx + 0xe95], 0
mov edx, dword [ebp - 0x23c]
mov byte [edx + 0xe96], 0
push 0x6578ec
mov eax, dword [ebp - 0x23c]
add eax, 0x844
push eax
call fcn.00412550
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x5537e3
mov edx, dword [ebp - 0x23c]
cmp dword [edx + 0x498], 0
jne 0x5537e3
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0xe80], 0
jmp 0x5537f3
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0xe80], 1
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.005b4de0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x21c]
push edx
call fcn.0040e2a0
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
push 0x6578f0
lea edx, [ebp - 0x21c]
push edx
call fcn.005b4d90
add esp, 8
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x553871
push str.SkinEx
call sym.demo.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__
add esp, 4
jmp 0x55388d
push 1
mov ecx, dword [ebp - 0x23c]
add ecx, 0x764
call fcn.0040e5d0
push eax
call sym.demo.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_wchar_t_const___bool_
add esp, 8
mov ecx, dword [ebp - 0x23c]
add ecx, 0xe9c
call fcn.00569bd0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 4