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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474d2c
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x41c], ecx
mov ecx, dword [ebp - 0x41c]
call sym.Install_rocket.exe_public:_void___thiscall_CNsInstaller::CheckValid_void_
mov eax, dword [ebp - 0x41c]
add eax, 0x24
push eax
push str.install
push 0x48a420
call sym.Install_rocket.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
mov ecx, dword [ebp - 0x41c]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x41c]
call sym.Install_rocket.exe_private:_void___thiscall_CNsInstaller::InitPath_struct_tagSetupInfo__
mov ecx, dword [ebp - 0x41c]
call sym.Install_rocket.exe_private:_void___thiscall_CNsInstaller::InstallComponent_void_
mov edx, dword [ebp - 0x41c]
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
push 0x48a464
push 0x1f5a
call sym.Install_rocket.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
cdq
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x430], edx
mov eax, dword [ebp - 0x430]
cmp dword [eax + 0x14], 0
jg 0x462458
jl 0x462451
mov ecx, dword [ebp - 0x430]
cmp dword [ecx + 0x10], 0
ja 0x462458
xor al, al
jmp 0x4628d6
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx + 0x10]
push eax
call fcn.0045073d
add esp, 4
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ebp - 0x444]
mov dword [ecx + 0xb58], edx
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 0xb58]
push ecx
push 0x48a46c
push 0x1f5a
call sym.Install_rocket.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x4624e8
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx + 0xb58]
mov dword [ebp - 0x44c], eax
mov ecx, dword [ebp - 0x44c]
push ecx
call fcn.00450738
add esp, 4
mov edx, dword [ebp - 0x41c]
mov dword [edx + 0xb58], 0
xor al, al
jmp 0x4628d6
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x434], eax
mov ecx, dword [ebp - 0x434]
cmp dword [ecx + 0x14], 0
jg 0x462520
jl 0x462511
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x10], 0x6400000
jae 0x462520
mov eax, dword [ebp - 0x41c]
mov dword [eax + 0x20], 0
jmp 0x462565
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x438], ecx
mov edx, dword [ebp - 0x438]
cmp dword [edx + 0x14], 0
jg 0x462558
jl 0x462549
mov eax, dword [ebp - 0x438]
cmp dword [eax + 0x10], 0x40000000
jae 0x462558
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0x20], 1
jmp 0x462565
mov edx, dword [ebp - 0x41c]
mov dword [edx + 0x20], 2
push 0x48a474
mov ecx, dword [ebp - 0x41c]
add ecx, 0xbe8
call fcn.00409710
push eax
mov ecx, dword [ebp - 0x41c]
call sym.Install_rocket.exe_public:_void___thiscall_CNsInstaller::CheckDir_wchar_t_const___wchar_t_const__
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x43c]
mov eax, dword [ebp - 0x440]
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [eax + 0x14]
jg 0x462669
jl 0x4625d1
mov edx, dword [ebp - 0x43c]
mov eax, dword [ebp - 0x440]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [eax + 0x10]
jae 0x462669
mov edx, dword [ebp - 0x41c]
movzx eax, byte [edx + 8]
test eax, eax
je 0x462617
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx + 0xb58]
mov dword [ebp - 0x450], edx
mov eax, dword [ebp - 0x450]
push eax
call fcn.00450738
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0xb58], 0
xor al, al
jmp 0x4628d6
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x41c]
add eax, dword [ecx + 0xb58]
mov dword [ebp - 0x454], eax
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx + 0x18]
add eax, 0x194
mov ecx, dword [edx + 0x1c]
adc ecx, 0
mov edx, dword [ebp - 0x41c]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x454]
push eax
mov ecx, dword [ebp - 0x41c]
call sym.Install_rocket.exe_private:_bool___thiscall_CNsInstaller::ExtractFileEx_struct_tagPacketInfo__
jmp 0x462587
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx + 0xb58]
mov dword [ebp - 0x458], edx
mov eax, dword [ebp - 0x458]
push eax
call fcn.00450738
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0xb58], 0
lea ecx, [ebp - 0x428]
call fcn.004096c0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x41c]
add edx, 0x3d0
push edx
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 0xbe8]
push ecx
push 0x48a478
lea edx, [ebp - 0x428]
push edx
call fcn.00409d20
add esp, 0x10
lea ecx, [ebp - 0x428]
call fcn.00409710
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4627ca
lea ecx, [ebp - 0x424]
call fcn.004096c0
mov byte [ebp - 4], 1
call sym.Install_rocket.exe_int___cdecl_isEnglish_void_
test eax, eax
je 0x46271e
push str.Installation_failed__does_not_have_write_permission_
lea ecx, [ebp - 0x424]
call fcn.004094f0
jmp 0x46272e
push 0x48a4fc
lea ecx, [ebp - 0x424]
call fcn.004094f0
lea ecx, [ebp - 0x418]
call fcn.0040d040
mov byte [ebp - 4], 2
push 1
push 9
push 8
push 0xa0
push 0x12c
push 6
push 0
call sym.Install_rocket.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
add eax, 0x212
push eax
lea ecx, [ebp - 0x424]
call fcn.00409710
push eax
call sym.Install_rocket.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x418]
call fcn.0040d940
call sym.Install_rocket.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
mov ecx, eax
call sym.Install_rocket.exe_public:_void___thiscall_CNsApp::ExitApp_void_
mov byte [ebp - 0x41d], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x418]
call fcn.0040d2d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x424]
call fcn.004095a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.004095a0
mov al, byte [ebp - 0x41d]
jmp 0x4628d6
mov ecx, dword [ebp - 0x41c]
movzx edx, byte [ecx + 0xbf0]
test edx, edx
jne 0x46281c
mov eax, dword [ebp - 0x41c]
add eax, 0x24
push eax
mov ecx, dword [ebp - 0x41c]
call sym.Install_rocket.exe_public:_int___thiscall_CNsInstaller::WriteReg_struct_tagSetupInfo__
mov ecx, dword [ebp - 0x41c]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x41c]
call sym.Install_rocket.exe_public:_void___thiscall_CNsInstaller::CreateShortcuts_struct_tagSetupInfo__
mov edx, dword [ebp - 0x41c]
add edx, 0x24
push edx
mov ecx, dword [ebp - 0x41c]
call sym.Install_rocket.exe_public:_void___thiscall_CNsInstaller::CreateUninstallCfg_struct_tagSetupInfo__
jmp 0x462879
lea ecx, [ebp - 0x42c]
call fcn.004096c0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x41c]
add eax, 0x3d0
push eax
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx + 0xbe8]
push edx
push 0x48a484
lea eax, [ebp - 0x42c]
push eax
call fcn.00409d20
add esp, 0x10
lea ecx, [ebp - 0x42c]
call fcn.00409710
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.004095a0
mov ecx, dword [ebp - 0x41c]
add ecx, 0x7b8
push ecx
mov ecx, dword [ebp - 0x41c]
call sym.Install_rocket.exe_public:_void___thiscall_CNsInstaller::ExecScript_wchar_t_const__
mov ecx, dword [ebp - 0x41c]
call sym.Install_rocket.exe_public:_void___thiscall_CNsInstaller::ImportReg_void_
push 0
push 0x2710
push 0x7e9
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0x41e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.004095a0
mov al, byte [ebp - 0x41e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004298d0
mov esp, ebp
pop ebp
ret