Function at 0x401be0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e30b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x48200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x31], 0
mov ebx, dword [ebp + 8]
je 0x401e19
test ebx, ebx
je 0x401e19
mov eax, dword [edi + 0x38]
cmp eax, 1
jle 0x401c36
cmp dword [edi + 0x5c], eax
jl 0x401c36
dec eax
mov dword [edi + 0x5c], eax
cmp dword [edi + 0x34], 3
jne 0x401c77
push dword [edi + 0x6c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401dcc
push 0
push dword [edi + 0x5c]
push dword [edi + 0x58]
push dword [edi + 0x64]
push 0xf
push 0xf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 0x6c]
push ebx
call sym.Uninstall_adv.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Uninstall_adv.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x401e19
call sym.Uninstall_adv.exe_public:_static_class_CNsSkin____cdecl_CNsSkin::Instance_void_
mov ecx, eax
call sym.Uninstall_adv.exe_public:_int___thiscall_CNsSkin::GetResType_void_
cmp eax, 1
jne 0x401daa
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0041fb70
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call sym.Uninstall_adv.exe_public:_static_class_CNsSkin____cdecl_CNsSkin::Instance_void_
mov ecx, eax
call sym.Uninstall_adv.exe_public:_void___thiscall_CNsSkin::GetThemesPath_wchar_t__
lea ecx, [ebp - 0x21c]
call fcn.00406e20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push dword [edi + 0x74]
push dword [edi + 0x5c]
push dword [edi + 0x70]
push eax
lea eax, [ebp - 0x21c]
push str._s_s__d_s
push eax
call fcn.004075a0
mov esi, dword [ebp - 0x21c]
add esp, 0x18
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
test eax, eax
je 0x401d21
push dword [edi + 0x5c]
push dword [edi + 0x58]
push dword [edi + 0x64]
push 0xf
push 0xf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push ebx
call sym.Uninstall_adv.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Uninstall_adv.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x401d6c
cmp dword [edi + 0x38], 1
jle 0x401d46
mov ecx, dword [edi + 0x5c]
mov eax, dword [edi + 0x54]
push ecx
push dword [edi + 0x58]
add eax, ecx
push dword [edi + 0x64]
push 0xf
push 0xf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 0x68]
push eax
jmp 0x401d5f
push dword [edi + 0x5c]
push dword [edi + 0x58]
push dword [edi + 0x64]
push 0xf
push 0xf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 0x68]
push dword [edi + 0x54]
push ebx
call sym.Uninstall_adv.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Uninstall_adv.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
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x401e19
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x401e37
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x401e19
call sym.Uninstall_adv.exe_public:_static_class_CNsSkin____cdecl_CNsSkin::Instance_void_
mov ecx, eax
call sym.Uninstall_adv.exe_public:_int___thiscall_CNsSkin::GetResType_void_
cmp eax, 2
jne 0x401dcc
push 0
push dword [edi + 0x70]
call sym.Uninstall_adv.exe_public:_static_class_CNsSkin____cdecl_CNsSkin::Instance_void_
mov ecx, eax
call sym.Uninstall_adv.exe_public:_bool___thiscall_CNsSkin::GetRes_wchar_t_const___struct_IStream__
cmp dword [edi + 0x38], 1
push 0
jle 0x401df3
mov ecx, dword [edi + 0x5c]
mov eax, dword [edi + 0x54]
push ecx
push dword [edi + 0x58]
add eax, ecx
push dword [edi + 0x64]
push 0xf
push 0xf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 0x68]
push eax
jmp 0x401e0c
push dword [edi + 0x5c]
push dword [edi + 0x58]
push dword [edi + 0x64]
push 0xf
push 0xf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 0x68]
push dword [edi + 0x54]
push ebx
call sym.Uninstall_adv.exe_public:_static_class_CNsImage____cdecl_CNsImage::Instance_void_
mov ecx, eax
call sym.Uninstall_adv.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
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret 0x14
call edx
jmp 0x401e19