Function at 0x55c630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x636274
mov eax, dword fs:[0]
push eax
sub esp, 0x524
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 - 0x52c], ecx
cmp dword [ebp + 8], 0
jne 0x55c66c
jmp 0x55cb04
lea ecx, [ebp - 0x2c]
call fcn.0040e480
mov dword [ebp - 4], 0
call fcn.00412530
mov ecx, eax
call fcn.0040c9c0
mov dword [ebp - 0x530], eax
mov eax, dword [ebp - 0x530]
sub eax, 1
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0x13
ja case.0x55c6af.13
mov ecx, dword [ebp - 0x530]
jmp dword [ecx*4 + 0x55cb20]
push str.wn_ad
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push str.df_ad
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push 0x65942c
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push str.zny_ad
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push 0x65944c
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push 0x659450
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push str.kt_ad
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push str.clv_ad
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push str.pdzm_ad
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push str.pdys_ad
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push str.wnys_ad
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push str.dftt_ad
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push str.wnllq_ad
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push str.dfllq_ad
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push str.sg_ad
lea ecx, [ebp - 0x2c]
call fcn.0040e570
jmp 0x55c819
push 0x6594e4
mov ecx, dword [ebp + 8]
call sym.demo.exe_public:_void___thiscall_DuiLib::CControlUI::SetBkImage_wchar_t_const__
jmp 0x55c819
xor edx, edx
mov word [ebp - 0x234], dx
push 0x206
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.005b4de0
add esp, 0xc
call fcn.00412530
mov ecx, eax
call fcn.0040c9c0
push eax
push str._d_ad
lea ecx, [ebp - 0x234]
push ecx
call fcn.005b50ec
add esp, 0xc
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040e570
lea ecx, [ebp - 0x2c]
call fcn.0040e5d0
push eax
push str.ad___s_
call fcn.00412530
push eax
call fcn.0040d040
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.0040ee50
test eax, eax
jbe 0x55caf5
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x250]
call fcn.0040e4f0
mov byte [ebp - 4], 1
push 0x659504
lea ecx, [ebp - 0x250]
call fcn.0040e5b0
mov ecx, dword [ebp - 0x52c]
cmp dword [ecx + 0x138], 5
jne 0x55cad2
push 0x659510
lea ecx, [ebp - 0x47c]
call fcn.0040e4b0
mov byte [ebp - 4], 2
push 0x659518
lea ecx, [ebp - 0x498]
call fcn.0040e4b0
mov byte [ebp - 4], 3
push 0
lea edx, [ebp - 0x47c]
push edx
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.0043b560
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x498]
call fcn.0040e530
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x47c]
call fcn.0040e530
xor edx, edx
mov word [ebp - 0x45c], dx
push 0x206
push 0
lea eax, [ebp - 0x45a]
push eax
call fcn.005b4de0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x45c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x45c]
push edx
call fcn.0040e2a0
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
push str.SkinEx_
lea edx, [ebp - 0x45c]
push edx
call fcn.005b4d90
add esp, 8
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x55c9e9
lea ecx, [ebp - 0x250]
call fcn.0040e5d0
push eax
lea ecx, [ebp - 0x45c]
push ecx
call fcn.005b4d90
add esp, 8
lea edx, [ebp - 0x45c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x55c9e4
push 0x659530
lea ecx, [ebp - 0x4b4]
call fcn.0040e4b0
mov byte [ebp - 4], 4
push 0x659538
lea ecx, [ebp - 0x4d0]
call fcn.0040e4b0
mov byte [ebp - 4], 5
push 0
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x4d0]
push ecx
lea edx, [ebp - 0x250]
push edx
call fcn.0043b560
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4d0]
call fcn.0040e530
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b4]
call fcn.0040e530
jmp 0x55cad2
lea ecx, [ebp - 0x250]
call fcn.0040e5d0
push eax
lea ecx, [ebp - 0x4f0]
call fcn.0040e4b0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x4f0]
push eax
mov ecx, dword [ebp - 0x52c]
add ecx, 0x3fc
push ecx
lea ecx, [ebp - 0x45d]
call fcn.00475550
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x4d1], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4f0]
call fcn.0040e530
movzx edx, byte [ebp - 0x4d1]
test edx, edx
je 0x55cad2
lea ecx, [ebp - 0x250]
call fcn.0040e5d0
push eax
push str.ad_err__s_
call fcn.00412530
push eax
call fcn.0040d040
add esp, 0xc
push 0x659558
lea ecx, [ebp - 0x50c]
call fcn.0040e4b0
mov byte [ebp - 4], 7
push 0x659560
lea ecx, [ebp - 0x528]
call fcn.0040e4b0
mov byte [ebp - 4], 8
push 0
lea eax, [ebp - 0x50c]
push eax
lea ecx, [ebp - 0x528]
push ecx
lea edx, [ebp - 0x250]
push edx
call fcn.0043b560
add esp, 0x10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x528]
call fcn.0040e530
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50c]
call fcn.0040e530
lea ecx, [ebp - 0x250]
call fcn.0040e5d0
push eax
mov ecx, dword [ebp + 8]
call sym.demo.exe_public:_void___thiscall_DuiLib::CControlUI::SetBkImage_wchar_t_const__
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.0040e530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040e530
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