Function at 0x4914b0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0e98
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4b8], ecx
mov ecx, dword [ebp - 0x4b8]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::CheckValid_void_
mov eax, dword [ebp - 0x4b8]
add eax, 0x24
push eax
push str.install
push 0x4cc038
call sym.Install_vip.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
mov ecx, dword [ebp - 0x4b8]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x4b8]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::InitPath_struct_tagSetupInfo__
mov ecx, dword [ebp - 0x4b8]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::InstallComponent_void_
mov edx, dword [ebp - 0x4b8]
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
push 0x4cc07c
push 0x1f5a
call sym.Install_vip.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
cdq
mov ecx, dword [ebp - 0x4b8]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov edx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4cc], edx
mov eax, dword [ebp - 0x4cc]
cmp dword [eax + 0x14], 0
jg 0x491588
jl 0x491581
mov ecx, dword [ebp - 0x4cc]
cmp dword [ecx + 0x10], 0
ja 0x491588
xor al, al
jmp 0x491a06
mov edx, dword [ebp - 0x4b8]
mov eax, dword [edx + 0x10]
push eax
call fcn.0047a4ed
add esp, 4
mov dword [ebp - 0x4e0], eax
mov ecx, dword [ebp - 0x4b8]
mov edx, dword [ebp - 0x4e0]
mov dword [ecx + 0x1620], edx
mov eax, dword [ebp - 0x4b8]
mov ecx, dword [eax + 0x1620]
push ecx
push 0x4cc084
push 0x1f5a
call sym.Install_vip.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x4e4], eax
cmp dword [ebp - 0x4e4], 0
jne 0x491618
mov edx, dword [ebp - 0x4b8]
mov eax, dword [edx + 0x1620]
mov dword [ebp - 0x4e8], eax
mov ecx, dword [ebp - 0x4e8]
push ecx
call fcn.0047a4e8
add esp, 4
mov edx, dword [ebp - 0x4b8]
mov dword [edx + 0x1620], 0
xor al, al
jmp 0x491a06
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 0x4d0], eax
mov ecx, dword [ebp - 0x4d0]
cmp dword [ecx + 0x14], 0
jg 0x491650
jl 0x491641
mov edx, dword [ebp - 0x4d0]
cmp dword [edx + 0x10], 0x6400000
jae 0x491650
mov eax, dword [ebp - 0x4b8]
mov dword [eax + 0x20], 0
jmp 0x491695
mov ecx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4d4], ecx
mov edx, dword [ebp - 0x4d4]
cmp dword [edx + 0x14], 0
jg 0x491688
jl 0x491679
mov eax, dword [ebp - 0x4d4]
cmp dword [eax + 0x10], 0x40000000
jae 0x491688
mov ecx, dword [ebp - 0x4b8]
mov dword [ecx + 0x20], 1
jmp 0x491695
mov edx, dword [ebp - 0x4b8]
mov dword [edx + 0x20], 2
push 0x4cc08c
mov ecx, dword [ebp - 0x4b8]
add ecx, 0x16b0
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x4b8]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::CheckDir_wchar_t_const___wchar_t_const__
mov eax, dword [ebp - 0x4b8]
mov ecx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4d8], eax
mov dword [ebp - 0x4dc], ecx
mov edx, dword [ebp - 0x4d8]
mov eax, dword [ebp - 0x4dc]
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [eax + 0x14]
jg 0x491799
jl 0x491701
mov edx, dword [ebp - 0x4d8]
mov eax, dword [ebp - 0x4dc]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [eax + 0x10]
jae 0x491799
mov edx, dword [ebp - 0x4b8]
movzx eax, byte [edx + 8]
test eax, eax
je 0x491747
mov ecx, dword [ebp - 0x4b8]
mov edx, dword [ecx + 0x1620]
mov dword [ebp - 0x4ec], edx
mov eax, dword [ebp - 0x4ec]
push eax
call fcn.0047a4e8
add esp, 4
mov ecx, dword [ebp - 0x4b8]
mov dword [ecx + 0x1620], 0
xor al, al
jmp 0x491a06
mov edx, dword [ebp - 0x4b8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x4b8]
add eax, dword [ecx + 0x1620]
mov dword [ebp - 0x4f0], eax
mov edx, dword [ebp - 0x4b8]
mov eax, dword [edx + 0x18]
add eax, 0x194
mov ecx, dword [edx + 0x1c]
adc ecx, 0
mov edx, dword [ebp - 0x4b8]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x4f0]
push eax
mov ecx, dword [ebp - 0x4b8]
call sym.Install_vip.exe_private:_bool___thiscall_CNsInstaller::ExtractFileEx_struct_tagPacketInfo__
jmp 0x4916b7
mov ecx, dword [ebp - 0x4b8]
mov edx, dword [ecx + 0x1620]
mov dword [ebp - 0x4f4], edx
mov eax, dword [ebp - 0x4f4]
push eax
call fcn.0047a4e8
add esp, 4
mov ecx, dword [ebp - 0x4b8]
mov dword [ecx + 0x1620], 0
lea ecx, [ebp - 0x4c4]
call fcn.004097c0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x4b8]
add edx, 0x72c
push edx
mov eax, dword [ebp - 0x4b8]
mov ecx, dword [eax + 0x16b0]
push ecx
push 0x4cc090
lea edx, [ebp - 0x4c4]
push edx
call fcn.00409d70
add esp, 0x10
lea ecx, [ebp - 0x4c4]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4918fa
lea ecx, [ebp - 0x4c0]
call fcn.004097c0
mov byte [ebp - 4], 1
call sym.Install_vip.exe_int___cdecl_isEnglish_void_
test eax, eax
je 0x49184e
push str.Installation_failed__does_not_have_write_permission_
lea ecx, [ebp - 0x4c0]
call fcn.004095c0
jmp 0x49185e
push 0x4cc114
lea ecx, [ebp - 0x4c0]
call fcn.004095c0
lea ecx, [ebp - 0x4b4]
call fcn.0040dbe0
mov byte [ebp - 4], 2
push 1
push 9
push 8
push 0xa0
push 0x12c
push 6
push 0
call sym.Install_vip.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
add eax, 0x212
push eax
lea ecx, [ebp - 0x4c0]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_vip.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x4b4]
call fcn.0040e350
call sym.Install_vip.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsApp::ExitApp_void_
mov byte [ebp - 0x4b9], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b4]
call fcn.0040de10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c0]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c4]
call fcn.00409680
mov al, byte [ebp - 0x4b9]
jmp 0x491a06
mov ecx, dword [ebp - 0x4b8]
movzx edx, byte [ecx + 0x16b8]
test edx, edx
jne 0x49194c
mov eax, dword [ebp - 0x4b8]
add eax, 0x24
push eax
mov ecx, dword [ebp - 0x4b8]
call sym.Install_vip.exe_public:_int___thiscall_CNsInstaller::WriteReg_struct_tagSetupInfo__
mov ecx, dword [ebp - 0x4b8]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x4b8]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::CreateShortcuts_struct_tagSetupInfo__
mov edx, dword [ebp - 0x4b8]
add edx, 0x24
push edx
mov ecx, dword [ebp - 0x4b8]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::CreateUninstallCfg_struct_tagSetupInfo__
jmp 0x4919a9
lea ecx, [ebp - 0x4c8]
call fcn.004097c0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4b8]
add eax, 0x72c
push eax
mov ecx, dword [ebp - 0x4b8]
mov edx, dword [ecx + 0x16b0]
push edx
push 0x4cc09c
lea eax, [ebp - 0x4c8]
push eax
call fcn.00409d70
add esp, 0x10
lea ecx, [ebp - 0x4c8]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c8]
call fcn.00409680
mov ecx, dword [ebp - 0x4b8]
add ecx, 0xe98
push ecx
mov ecx, dword [ebp - 0x4b8]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::ExecScript_wchar_t_const__
mov ecx, dword [ebp - 0x4b8]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::ImportReg_void_
push 0
push 0x2710
push 0x7e9
mov edx, dword [ebp - 0x4b8]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0x4ba], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c4]
call fcn.00409680
mov al, byte [ebp - 0x4ba]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret