Function at 0x54da10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63473b
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.CQrCodeWin.4.0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x10], vtable.CQrCodeWin.3.0
mov edx, dword [ebp - 0x23c]
mov dword [edx + 0x20], vtable.CQrCodeWin.2.0
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0x24], vtable.CQrCodeWin.1.0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x28], vtable.CQrCodeWin.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.0040e480
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x23c]
add ecx, 0xe74
call fcn.00544520
mov byte [ebp - 4], 5
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x23c]
add ecx, 0x494
call fcn.0041bdd0
push 0x656a78
mov ecx, dword [ebp - 0x23c]
add ecx, 0xdb8
call fcn.00579c85
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.0054ed80
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 + 0xea8], 0
mov edx, dword [ebp - 0x23c]
mov dword [edx + 0xe9c], 0
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0xea0], 0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0xea4], 0
push 0x656a94
mov edx, dword [ebp - 0x23c]
add edx, 0x840
push edx
call fcn.00412550
add esp, 8
movzx eax, al
test eax, eax
je 0x54dc08
mov ecx, dword [ebp - 0x23c]
cmp dword [ecx + 0x494], 0
jne 0x54dc08
mov edx, dword [ebp - 0x23c]
mov dword [edx + 0xe98], 0
jmp 0x54dc18
mov eax, dword [ebp - 0x23c]
mov dword [eax + 0xe98], 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 0x656a98
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 0x54dc96
push 0x656aa8
call sym.demo.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__
add esp, 4
jmp 0x54dcb2
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