Function at 0x5500a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634b6b
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.005574b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x23c]
mov dword [eax], vtable.CRightDownWin.4.0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x10], vtable.CRightDownWin.3.0
mov edx, dword [ebp - 0x23c]
mov dword [edx + 0x20], vtable.CRightDownWin.2.0
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0x24], vtable.CRightDownWin.1.0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x28], vtable.CRightDownWin.0
mov ecx, dword [ebp - 0x23c]
add ecx, 0xdb8
call sym.demo.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_void_
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x23c]
add ecx, 0xe3c
call fcn.0040e480
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x23c]
add ecx, 0xe58
call fcn.00544520
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x23c]
add ecx, 0xe94
call fcn.00553030
mov byte [ebp - 4], 5
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x23c]
add ecx, 0x494
call fcn.0041bdd0
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0xe90], 0x67
mov ecx, dword [ebp - 0x23c]
cmp dword [ecx + 0x49c], 4
jne 0x5501d2
mov edx, dword [ebp - 0x23c]
mov dword [edx + 0xe90], 0x65
jmp 0x5501f1
mov eax, dword [ebp - 0x23c]
cmp dword [eax + 0x49c], 5
jne 0x5501f1
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0xe90], 0x66
push 0x656f18
mov ecx, dword [ebp - 0x23c]
add ecx, 0xdb8
call fcn.00579c85
mov edx, dword [ebp - 0x23c]
cmp dword [edx + 0x49c], 5
jne 0x55022c
push str.mainframe_top.xml
mov ecx, dword [ebp - 0x23c]
add ecx, 0xdb8
call fcn.00579c85
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.00552500
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x244], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x244]
push edx
mov ecx, dword [ebp - 0x23c]
add ecx, 0xe3c
call fcn.0040e550
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x238]
call fcn.0040e530
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0x3a0], 0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0xe8c], 0
mov edx, dword [ebp - 0x23c]
mov dword [edx + 0xe80], 0
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0xe84], 0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0xe88], 0
push 0x656f58
mov edx, dword [ebp - 0x23c]
add edx, 0x840
push edx
call fcn.00412550
add esp, 8
movzx eax, al
test eax, eax
je 0x55030d
mov ecx, dword [ebp - 0x23c]
cmp dword [ecx + 0x494], 0
jne 0x55030d
mov edx, dword [ebp - 0x23c]
mov dword [edx + 0xe7c], 0
jmp 0x55031d
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0xe7c], 1
xor ecx, ecx
mov word [ebp - 0x21c], cx
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.005b4de0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0040e2a0
add esp, 8
xor edx, edx
mov word [eax + 2], dx
push 0x656f5c
lea eax, [ebp - 0x21c]
push eax
call fcn.005b4d90
add esp, 8
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x55039b
push 0x656f6c
call sym.demo.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__
add esp, 4
jmp 0x5503b7
push 1
mov ecx, dword [ebp - 0x23c]
add ecx, 0x760
call fcn.0040e5d0
push eax
call sym.demo.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_wchar_t_const___bool_
add esp, 8
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