Function at 0x40f6e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a616b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4e3074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp - 0x21c]
movzx ecx, byte [eax + 0x31]
test ecx, ecx
jne 0x40f724
jmp 0x40ffde
cmp dword [ebp + 8], 0
jne 0x40f72f
jmp 0x40ffde
mov edx, dword [ebp - 0x21c]
cmp dword [edx + 0x38], 1
jle 0x40f76a
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [eax + 0x90]
cmp edx, dword [ecx + 0x38]
jl 0x40f76a
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x38]
sub ecx, 1
mov edx, dword [ebp - 0x21c]
mov dword [edx + 0x90], ecx
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0x34], 3
jne 0x40f90d
mov ecx, dword [ebp - 0x21c]
add ecx, 0xb0
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f802
push 0
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x90]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x8c]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x98]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0xb0
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40f908
mov edx, dword [ebp - 0x21c]
cmp dword [edx + 0x38], 1
jle 0x40f894
push 0
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x90]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x8c]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x98]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x21c]
add ecx, 0xac
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x88]
mov edx, dword [ebp - 0x21c]
add ecx, dword [edx + 0x90]
push ecx
mov eax, dword [ebp + 8]
push eax
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40f908
push 0
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x90]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x8c]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x98]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0xac
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x88]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40fe0d
call sym.Install_silent.exe_public:_static_class_CNsSkin____cdecl_CNsSkin::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_int___thiscall_CNsSkin::GetResType_void_
cmp eax, 1
jne 0x40fb38
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00456880
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
call sym.Install_silent.exe_public:_static_class_CNsSkin____cdecl_CNsSkin::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_void___thiscall_CNsSkin::GetThemesPath_wchar_t__
lea ecx, [ebp - 0x220]
call fcn.00405120
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0xb8]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x90]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0xb4]
push edx
lea eax, [ebp - 0x218]
push eax
push str._s_s__d_s
lea ecx, [ebp - 0x220]
push ecx
call fcn.00405800
add esp, 0x18
lea ecx, [ebp - 0x220]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40fa1b
push 0
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x90]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x8c]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x98]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x220]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov edx, dword [ebp + 8]
push edx
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40fb21
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0x38], 1
jle 0x40faad
push 0
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x90]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x8c]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x98]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0xac
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x88]
mov eax, dword [ebp - 0x21c]
add edx, dword [eax + 0x90]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40fb21
push 0
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x90]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x8c]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x98]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x21c]
add ecx, 0xac
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x88]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.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.00405060
jmp 0x40fe0d
call sym.Install_silent.exe_public:_static_class_CNsSkin____cdecl_CNsSkin::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_int___thiscall_CNsSkin::GetResType_void_
cmp eax, 2
jne 0x40fcf1
mov dword [ebp - 0x224], 0
mov edx, dword [ebp - 0x224]
push edx
mov ecx, dword [ebp - 0x21c]
add ecx, 0xb4
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_public:_static_class_CNsSkin____cdecl_CNsSkin::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_bool___thiscall_CNsSkin::GetRes_wchar_t_const___struct_IStream__
cmp dword [ebp - 0x224], 0
je 0x40fbe6
push 0
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x90]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x8c]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x98]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____struct_IStream___int__int__int__int__int__int__int__int_
jmp 0x40fcec
mov edx, dword [ebp - 0x21c]
cmp dword [edx + 0x38], 1
jle 0x40fc78
push 0
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x90]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x8c]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x98]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x21c]
add ecx, 0xac
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x88]
mov edx, dword [ebp - 0x21c]
add ecx, dword [edx + 0x90]
push ecx
mov eax, dword [ebp + 8]
push eax
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40fcec
push 0
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x90]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x8c]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x98]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0xac
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x88]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40fe0d
mov ecx, dword [ebp - 0x21c]
cmp dword [ecx + 0x38], 1
jle 0x40fd8e
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x9c]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x90]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x8c]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x98]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0xac
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x88]
mov eax, dword [ebp - 0x21c]
add edx, dword [eax + 0x90]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40fe0d
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x9c]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x90]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x8c]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x98]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0xac
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x88]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
mov ecx, dword [ebp - 0x21c]
add ecx, 0xa8
call fcn.004053a0
test eax, eax
jle 0x40ffde
mov ecx, dword [ebp - 0x21c]
movzx edx, byte [ecx + 0xbc]
test edx, edx
je 0x40ff5d
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0x90], 0
jne 0x40fed4
push 0
push 1
push 1
push 0xfe
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [edx + 0x14]
sub ecx, dword [eax + 0xa0]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp + 0x10]
add eax, dword [edx + 0xa4]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0xa0]
push edx
mov ecx, dword [ebp - 0x21c]
add ecx, 0xa8
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_void___thiscall_CNsImage::DrawString_struct_HDC_____struct_HFONT_____wchar_t_const___int__int__int__int__unsigned_long_int__int__bool__bool__int_
jmp 0x40ff58
push 0
push 1
push 1
push 0xfe
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0xc0]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x21c]
mov eax, dword [ecx + 0x14]
sub eax, dword [edx + 0xa0]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx + 0xa4]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0xa0]
push ecx
mov ecx, dword [ebp - 0x21c]
add ecx, 0xa8
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_void___thiscall_CNsImage::DrawString_struct_HDC_____struct_HFONT_____wchar_t_const___int__int__int__int__unsigned_long_int__int__bool__bool__int_
jmp 0x40ffde
push 0
push 1
push 1
push 0xfe
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0xa0]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp + 0x10]
add ecx, dword [eax + 0xa4]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0xa0]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0xa8
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.Install_silent.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_void___thiscall_CNsImage::DrawString_struct_HDC_____struct_HFONT_____wchar_t_const___int__int__int__int__unsigned_long_int__int__bool__bool__int_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret 0xc