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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c4df
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x474], ecx
mov ecx, dword [ebp - 0x474]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::CheckValid_void_
mov eax, dword [ebp - 0x474]
add eax, 0x24
push eax
push str.install
push 0x467958
call sym.Install_vip.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
mov ecx, dword [ebp - 0x474]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x474]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::InitPath_struct_tagSetupInfo__
mov ecx, dword [ebp - 0x474]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::InstallComponent_void_
mov edx, dword [ebp - 0x474]
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
push 0x46799c
push 0x1f5a
call sym.Install_vip.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
cdq
mov ecx, dword [ebp - 0x474]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x478], edx
mov eax, dword [ebp - 0x478]
cmp dword [eax + 0x14], 0
jg 0x44cafb
jl 0x44caf4
mov ecx, dword [ebp - 0x478]
cmp dword [ecx + 0x10], 0
ja 0x44cafb
xor al, al
jmp 0x44cf63
mov edx, dword [ebp - 0x474]
mov eax, dword [edx + 0x10]
push eax
call fcn.00432394
add esp, 4
mov dword [ebp - 0x438], eax
mov ecx, dword [ebp - 0x474]
mov edx, dword [ebp - 0x438]
mov dword [ecx + 0xb60], edx
mov eax, dword [ebp - 0x474]
mov ecx, dword [eax + 0xb60]
push ecx
push 0x4679a4
push 0x1f5a
call sym.Install_vip.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x44cb85
mov edx, dword [ebp - 0x474]
mov eax, dword [edx + 0xb60]
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.00433fc5
add esp, 4
mov edx, dword [ebp - 0x474]
mov dword [edx + 0xb60], 0
xor al, al
jmp 0x44cf63
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x47c], eax
mov ecx, dword [ebp - 0x47c]
cmp dword [ecx + 0x14], 0
jg 0x44cbbd
jl 0x44cbae
mov edx, dword [ebp - 0x47c]
cmp dword [edx + 0x10], 0x6400000
jae 0x44cbbd
mov eax, dword [ebp - 0x474]
mov dword [eax + 0x20], 0
jmp 0x44cc02
mov ecx, dword [ebp - 0x474]
mov dword [ebp - 0x480], ecx
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x14], 0
jg 0x44cbf5
jl 0x44cbe6
mov eax, dword [ebp - 0x480]
cmp dword [eax + 0x10], 0x40000000
jae 0x44cbf5
mov ecx, dword [ebp - 0x474]
mov dword [ecx + 0x20], 1
jmp 0x44cc02
mov edx, dword [ebp - 0x474]
mov dword [edx + 0x20], 2
push 0x4679ac
mov eax, dword [ebp - 0x474]
add eax, 0xb78
call fcn.00405aa0
push eax
mov ecx, dword [ebp - 0x474]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::CheckDir_wchar_t_const___wchar_t_const__
mov eax, dword [ebp - 0x474]
mov ecx, dword [ebp - 0x474]
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x488], ecx
mov edx, dword [ebp - 0x484]
mov eax, dword [ebp - 0x488]
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [eax + 0x14]
jg 0x44ccff
jl 0x44cc6d
mov edx, dword [ebp - 0x484]
mov eax, dword [ebp - 0x488]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [eax + 0x10]
jae 0x44ccff
mov edx, dword [ebp - 0x474]
movzx eax, byte [edx + 8]
test eax, eax
je 0x44ccb3
mov ecx, dword [ebp - 0x474]
mov edx, dword [ecx + 0xb60]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x440]
push eax
call fcn.00433fc5
add esp, 4
mov ecx, dword [ebp - 0x474]
mov dword [ecx + 0xb60], 0
xor al, al
jmp 0x44cf63
mov edx, dword [ebp - 0x474]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x474]
add eax, dword [ecx + 0xb60]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x474]
mov eax, dword [edx + 0x18]
add eax, 0x194
mov ecx, dword [edx + 0x1c]
adc ecx, 0
mov edx, dword [ebp - 0x474]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x474]
call sym.Install_vip.exe_private:_bool___thiscall_CNsInstaller::ExtractFileEx_struct_tagPacketInfo__
jmp 0x44cc23
mov ecx, dword [ebp - 0x474]
mov edx, dword [ecx + 0xb60]
mov dword [ebp - 0x444], edx
mov eax, dword [ebp - 0x444]
push eax
call fcn.00433fc5
add esp, 4
mov ecx, dword [ebp - 0x474]
mov dword [ecx + 0xb60], 0
lea esi, [ebp - 0x14]
call fcn.00405900
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x474]
add edx, 0x3d0
push edx
mov eax, dword [ebp - 0x474]
mov ecx, dword [eax + 0xb78]
push ecx
push 0x4679b0
lea edi, [ebp - 0x14]
call fcn.00406090
add esp, 0xc
lea eax, [ebp - 0x14]
call fcn.00405aa0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44ce5a
lea esi, [ebp - 0x430]
call fcn.00405900
mov byte [ebp - 4], 1
call sym.Install_vip.exe_int___cdecl_isEnglish_void_
test eax, eax
je 0x44cdaa
mov edx, str.Installation_failed__does_not_have_write_permission_
lea edi, [ebp - 0x430]
call fcn.00405a60
jmp 0x44cdba
mov edx, 0x467a34
lea edi, [ebp - 0x430]
call fcn.00405a60
lea edx, [ebp - 0x42c]
push edx
call fcn.0040a2f0
mov byte [ebp - 4], 2
push 9
push 8
push 0xa0
push 0x12c
push 6
push 0
call fcn.00401000
mov esi, eax
add esi, 0x212
lea eax, [ebp - 0x430]
call fcn.00405aa0
mov ebx, eax
call fcn.00401000
mov eax, dword [eax + 4]
push eax
mov edi, esi
mov edx, ebx
lea eax, [ebp - 0x42c]
call fcn.0040ac90
call fcn.00401000
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsApp::ExitApp_void_
mov byte [ebp - 0x445], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x42c]
push ecx
call fcn.0040a480
mov byte [ebp - 4], 0
lea eax, [ebp - 0x430]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.00405b50
mov al, byte [ebp - 0x445]
jmp 0x44cf63
mov edx, dword [ebp - 0x474]
movzx eax, byte [edx + 0xb80]
test eax, eax
jne 0x44ceac
mov ecx, dword [ebp - 0x474]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x474]
call sym.Install_vip.exe_public:_int___thiscall_CNsInstaller::WriteReg_struct_tagSetupInfo__
mov edx, dword [ebp - 0x474]
add edx, 0x24
push edx
mov ecx, dword [ebp - 0x474]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::CreateShortcuts_struct_tagSetupInfo__
mov eax, dword [ebp - 0x474]
add eax, 0x24
push eax
mov ecx, dword [ebp - 0x474]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::CreateUninstallCfg_struct_tagSetupInfo__
jmp 0x44cf09
lea esi, [ebp - 0x434]
call fcn.00405900
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x474]
add ecx, 0x3d0
push ecx
mov edx, dword [ebp - 0x474]
mov eax, dword [edx + 0xb78]
push eax
push 0x4679bc
lea edi, [ebp - 0x434]
call fcn.00406090
add esp, 0xc
lea eax, [ebp - 0x434]
call fcn.00405aa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x434]
call fcn.00405b50
mov ecx, dword [ebp - 0x474]
add ecx, 0x7b8
push ecx
mov ecx, dword [ebp - 0x474]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::ExecScript_wchar_t_const__
mov ecx, dword [ebp - 0x474]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::ImportReg_void_
push 0
push 0x2710
push 0x7e9
mov edx, dword [ebp - 0x474]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0x446], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.00405b50
mov al, byte [ebp - 0x446]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret