Function at 0x43a180
Capabilities:
Check if file exists
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44206b
mov eax, dword fs:[0]
push eax
sub esp, 0x788
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78c], ecx
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.00416990
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call sym.Install_rocket.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov ecx, dword [ebp - 0x78c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
lea edx, [ebp - 0x224]
push edx
push 0x448574
push 0x1f41
call sym.Install_rocket.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x43a249
push 0xac8
push 0
mov eax, dword [ebp - 0x78c]
add eax, 0x1c
push eax
call fcn.00416990
add esp, 0xc
xor al, al
jmp 0x43a6bc
push 0x44857c
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004219de
add esp, 8
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x43a273
xor al, al
jmp 0x43a6bc
push 0
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x220]
push eax
call fcn.00421e4b
add esp, 0xc
push 0xac8
push 0
mov ecx, dword [ebp - 0x78c]
add ecx, 0x1c
push ecx
call fcn.00416990
add esp, 0xc
mov edx, dword [ebp - 0x220]
push edx
push 1
push 0xac8
mov eax, dword [ebp - 0x78c]
add eax, 0x1c
push eax
call fcn.00421da4
add esp, 0x10
mov ecx, dword [ebp - 0x78c]
add ecx, 0x1c
push ecx
push str.install
push str.http:__api.hofosoft.com_report.asp
call sym.Install_rocket.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
mov eax, dword [ebp - 0x224]
cdq
mov ecx, dword [ebp - 0x78c]
mov esi, dword [ecx + 8]
sub esi, eax
mov eax, dword [ecx + 0xc]
sbb eax, edx
mov ecx, dword [ebp - 0x78c]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x78c]
mov dword [edx + 0x10], 0xac8
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x78c]
mov dword [ebp - 0x790], eax
mov ecx, dword [ebp - 0x790]
cmp dword [ecx + 0xc], 0
jg 0x43a34f
jl 0x43a340
mov edx, dword [ebp - 0x790]
cmp dword [edx + 8], 0x6400000
jae 0x43a34f
mov eax, dword [ebp - 0x78c]
mov dword [eax + 0x18], 0
jmp 0x43a394
mov ecx, dword [ebp - 0x78c]
mov dword [ebp - 0x794], ecx
mov edx, dword [ebp - 0x794]
cmp dword [edx + 0xc], 0
jg 0x43a387
jl 0x43a378
mov eax, dword [ebp - 0x794]
cmp dword [eax + 8], 0x40000000
jae 0x43a387
mov ecx, dword [ebp - 0x78c]
mov dword [ecx + 0x18], 1
jmp 0x43a394
mov edx, dword [ebp - 0x78c]
mov dword [edx + 0x18], 2
push 0x448594
mov eax, dword [ebp - 0x78c]
add eax, 0xb08
call fcn.00405e60
push eax
mov ecx, dword [ebp - 0x78c]
call sym.Install_rocket.exe_public:_void___thiscall_CNsInstaller::CheckDir_wchar_t_const___wchar_t_const__
mov eax, dword [ebp - 0x220]
push eax
call fcn.00421ec7
add esp, 4
test eax, eax
jne 0x43a474
mov ecx, dword [ebp - 0x78c]
movzx edx, byte [ecx + 4]
test edx, edx
je 0x43a3e1
xor al, al
jmp 0x43a6bc
push 0x194
push 0
lea eax, [ebp - 0x3c4]
push eax
call fcn.00416990
add esp, 0xc
mov ecx, dword [ebp - 0x220]
push ecx
push 1
push 0x194
lea edx, [ebp - 0x3c4]
push edx
call fcn.00421da4
add esp, 0x10
push 0x4485e0
lea eax, [ebp - 0x3c4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x43a435
cmp dword [ebp - 0x234], 0
jne 0x43a435
jmp 0x43a474
mov ecx, dword [ebp - 0x78c]
mov edx, dword [ecx + 0x10]
add edx, 0x194
mov eax, dword [ecx + 0x14]
adc eax, 0
mov ecx, dword [ebp - 0x78c]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x220]
push edx
lea eax, [ebp - 0x3c4]
push eax
mov ecx, dword [ebp - 0x78c]
call sym.Install_rocket.exe_private:_bool___thiscall_CNsInstaller::ExtractFile_struct_tagPacketInfo___struct__iobuf__
jmp 0x43a3b5
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.0041f2cf
add esp, 4
lea esi, [ebp - 0x22c]
call fcn.00405be0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x78c]
add edx, 0x3c8
push edx
mov eax, dword [ebp - 0x78c]
mov ecx, dword [eax + 0xb08]
push ecx
push 0x4485e8
lea edi, [ebp - 0x22c]
call fcn.004063f0
add esp, 0xc
lea eax, [ebp - 0x22c]
call fcn.00405e60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43a5b0
lea esi, [ebp - 0x760]
call fcn.00405be0
mov byte [ebp - 4], 1
call sym.Install_rocket.exe_int___cdecl_isEnglish_void_
test eax, eax
je 0x43a506
mov edx, str.Installation_failed__does_not_have_write_permission_
lea edi, [ebp - 0x760]
call fcn.00405d60
jmp 0x43a516
mov edx, 0x44866c
lea edi, [ebp - 0x760]
call fcn.00405d60
lea ecx, [ebp - 0x75c]
call fcn.0040d9d0
mov byte [ebp - 4], 2
push 9
push 8
push 0xa0
push 0x12c
push 6
push 0
call fcn.00401000
add eax, 0x212
push eax
lea eax, [ebp - 0x760]
call fcn.00405e60
push eax
call fcn.00401000
mov edx, dword [eax + 4]
push edx
lea ecx, [ebp - 0x75c]
call fcn.0040e0a0
call fcn.00401000
mov ecx, eax
call sym.Install_rocket.exe_public:_void___thiscall_CNsApp::ExitApp_void_
mov byte [ebp - 0x765], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x75c]
call fcn.0040db50
mov byte [ebp - 4], 0
lea eax, [ebp - 0x760]
call fcn.00405cd0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x22c]
call fcn.00405cd0
mov al, byte [ebp - 0x765]
jmp 0x43a6bc
mov eax, dword [ebp - 0x78c]
movzx ecx, byte [eax + 0xb0c]
test ecx, ecx
jne 0x43a602
mov edx, dword [ebp - 0x78c]
add edx, 0x1c
push edx
mov ecx, dword [ebp - 0x78c]
call sym.Install_rocket.exe_public:_int___thiscall_CNsInstaller::WriteReg_struct_tagSetupInfo__
mov eax, dword [ebp - 0x78c]
add eax, 0x1c
push eax
mov ecx, dword [ebp - 0x78c]
call sym.Install_rocket.exe_public:_void___thiscall_CNsInstaller::CreateShortcuts_struct_tagSetupInfo__
mov ecx, dword [ebp - 0x78c]
add ecx, 0x1c
push ecx
mov ecx, dword [ebp - 0x78c]
call sym.Install_rocket.exe_public:_void___thiscall_CNsInstaller::CreateUninstallCfg_struct_tagSetupInfo__
jmp 0x43a65f
lea esi, [ebp - 0x764]
call fcn.00405be0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x78c]
add edx, 0x3c8
push edx
mov eax, dword [ebp - 0x78c]
mov ecx, dword [eax + 0xb08]
push ecx
push 0x4485f4
lea edi, [ebp - 0x764]
call fcn.004063f0
add esp, 0xc
lea eax, [ebp - 0x764]
call fcn.00405e60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x764]
call fcn.00405cd0
mov edx, dword [ebp - 0x78c]
add edx, 0x7b0
push edx
mov ecx, dword [ebp - 0x78c]
call sym.Install_rocket.exe_public:_void___thiscall_CNsInstaller::ExecScript_wchar_t_const__
mov ecx, dword [ebp - 0x78c]
call sym.Install_rocket.exe_public:_void___thiscall_CNsInstaller::ImportReg_void_
push 0
push 0x2710
push 0x7e9
mov eax, dword [ebp - 0x78c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0x766], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x22c]
call fcn.00405cd0
mov al, byte [ebp - 0x766]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret