Function at 0x407da0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45283b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x464080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
mov eax, dword [ebp - 0x228]
movzx ecx, byte [eax + 0x31]
test ecx, ecx
jne 0x407de4
jmp 0x408375
cmp dword [ebp + 8], 0
jne 0x407def
jmp 0x408375
mov edx, dword [ebp - 0x228]
cmp dword [edx + 0x38], 1
jle 0x407e24
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x228]
mov edx, dword [eax + 0x5c]
cmp edx, dword [ecx + 0x38]
jl 0x407e24
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x38]
sub ecx, 1
mov edx, dword [ebp - 0x228]
mov dword [edx + 0x5c], ecx
mov eax, dword [ebp - 0x228]
cmp dword [eax + 0x34], 3
jne 0x407f6f
mov ecx, dword [ebp - 0x228]
add ecx, 0x6c
call fcn.00414010
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407ea1
push 0
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x228]
add ecx, 0x6c
call fcn.00414010
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00401140
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x407f6a
mov eax, dword [ebp - 0x228]
cmp dword [eax + 0x38], 1
jle 0x407f11
push 0
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x228]
add ecx, 0x68
call fcn.00414010
push eax
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x54]
mov ecx, dword [ebp - 0x228]
add eax, dword [ecx + 0x5c]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00401140
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x407f6a
push 0
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x58]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x64]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0x68
call fcn.00414010
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00401140
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x408375
call fcn.004011c0
mov ecx, eax
call sym.Install_style.exe_public:_int___thiscall_CNsSkin::GetResType_void_
cmp eax, 1
jne 0x408148
xor ecx, ecx
mov word [ebp - 0x21c], cx
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.00421340
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call fcn.004011c0
mov ecx, eax
call sym.Install_style.exe_public:_void___thiscall_CNsSkin::GetThemesPath_wchar_t__
lea ecx, [ebp - 0x220]
call fcn.004062e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x74]
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x70]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push str._s_s__d_s
lea edx, [ebp - 0x220]
push edx
call fcn.00407120
add esp, 0x18
lea ecx, [ebp - 0x220]
call fcn.00414010
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408068
push 0
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x58]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x64]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x220]
call fcn.00414010
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401140
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x408131
mov edx, dword [ebp - 0x228]
cmp dword [edx + 0x38], 1
jle 0x4080d8
push 0
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x58]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x64]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0x68
call fcn.00414010
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x54]
mov eax, dword [ebp - 0x228]
add edx, dword [eax + 0x5c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401140
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x408131
push 0
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x58]
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x228]
add ecx, 0x68
call fcn.00414010
push eax
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401140
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004063a0
jmp 0x408375
call fcn.004011c0
mov ecx, eax
call sym.Install_style.exe_public:_int___thiscall_CNsSkin::GetResType_void_
cmp eax, 2
jne 0x4082ac
mov dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0x70
call fcn.00414010
push eax
call fcn.004011c0
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsSkin::GetRes_wchar_t_const___struct_IStream__
cmp dword [ebp - 0x224], 0
je 0x4081de
push 0
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00401140
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____struct_IStream___int__int__int__int__int__int__int__int_
jmp 0x4082a7
mov ecx, dword [ebp - 0x228]
cmp dword [ecx + 0x38], 1
jle 0x40824e
push 0
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x58]
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x228]
add ecx, 0x68
call fcn.00414010
push eax
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x54]
mov edx, dword [ebp - 0x228]
add ecx, dword [edx + 0x5c]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00401140
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x4082a7
push 0
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x228]
add ecx, 0x68
call fcn.00414010
push eax
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401140
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x408375
mov edx, dword [ebp - 0x228]
cmp dword [edx + 0x38], 1
jle 0x40831c
push 0
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x58]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x64]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0x68
call fcn.00414010
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x54]
mov eax, dword [ebp - 0x228]
add edx, dword [eax + 0x5c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401140
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x408375
push 0
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x58]
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x228]
add ecx, 0x68
call fcn.00414010
push eax
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401140
mov ecx, eax
call sym.Install_style.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042047a
mov esp, ebp
pop ebp
ret 0x14