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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450ffe
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x467080]
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 dword [ebp - 0x80c], ecx
mov eax, dword [ebp - 0x80c]
add eax, 0x24
push eax
mov ecx, dword [ebp - 0x80c]
call sym.Install_comm.exe_public:_bool___thiscall_CNsInstaller::GetSetupInfoEx_struct_tagSetupInfo__
movzx ecx, al
test ecx, ecx
je 0x442530
mov ecx, dword [ebp - 0x80c]
call sym.Install_comm.exe_private:_bool___thiscall_CNsInstaller::InstallFuncEx_void_
jmp 0x442a6d
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00419d00
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x21c]
push edx
call sym.Install_comm.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov ecx, dword [ebp - 0x80c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
lea edx, [ebp - 0x224]
push edx
push 0x45b1b8
push 0x1f41
call sym.Install_comm.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x4425c6
push 0xb00
push 0
mov eax, dword [ebp - 0x80c]
add eax, 0x24
push eax
call fcn.00419d00
add esp, 0xc
xor al, al
jmp 0x442a6d
push 0x45b1c0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0042ba5e
add esp, 8
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x4425f0
xor al, al
jmp 0x442a6d
push 0
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x220]
push eax
call fcn.0042d024
add esp, 0xc
push 0xb00
push 0
mov ecx, dword [ebp - 0x80c]
add ecx, 0x24
push ecx
call fcn.00419d00
add esp, 0xc
mov edx, dword [ebp - 0x220]
push edx
push 1
push 0xb00
mov eax, dword [ebp - 0x80c]
add eax, 0x24
push eax
call fcn.0042ca72
add esp, 0x10
mov ecx, dword [ebp - 0x80c]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x80c]
call sym.Install_comm.exe_private:_void___thiscall_CNsInstaller::InitPath_struct_tagSetupInfo__
mov edx, dword [ebp - 0x80c]
add edx, 0x24
push edx
push 0x45b1c8
push 0x45b1d8
call sym.Install_comm.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
mov ecx, dword [ebp - 0x80c]
call sym.Install_comm.exe_public:_void___thiscall_CNsInstaller::CheckValid_void_
mov ecx, dword [ebp - 0x80c]
call sym.Install_comm.exe_private:_void___thiscall_CNsInstaller::InstallComponent_void_
mov eax, dword [ebp - 0x224]
cdq
mov ecx, dword [ebp - 0x80c]
mov esi, dword [ecx + 0x10]
sub esi, eax
mov eax, dword [ecx + 0x14]
sbb eax, edx
mov ecx, dword [ebp - 0x80c]
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x80c]
mov dword [edx + 0x18], 0xb00
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x80c]
mov dword [ebp - 0x810], eax
mov ecx, dword [ebp - 0x810]
cmp dword [ecx + 0x14], 0
jg 0x4426f7
jl 0x4426e8
mov edx, dword [ebp - 0x810]
cmp dword [edx + 0x10], 0x6400000
jae 0x4426f7
mov eax, dword [ebp - 0x80c]
mov dword [eax + 0x20], 0
jmp 0x44273c
mov ecx, dword [ebp - 0x80c]
mov dword [ebp - 0x814], ecx
mov edx, dword [ebp - 0x814]
cmp dword [edx + 0x14], 0
jg 0x44272f
jl 0x442720
mov eax, dword [ebp - 0x814]
cmp dword [eax + 0x10], 0x40000000
jae 0x44272f
mov ecx, dword [ebp - 0x80c]
mov dword [ecx + 0x20], 1
jmp 0x44273c
mov edx, dword [ebp - 0x80c]
mov dword [edx + 0x20], 2
push 0x45b220
mov eax, dword [ebp - 0x80c]
add eax, 0xb64
call fcn.00405a60
push eax
mov ecx, dword [ebp - 0x80c]
call sym.Install_comm.exe_public:_void___thiscall_CNsInstaller::CheckDir_wchar_t_const___wchar_t_const__
mov eax, dword [ebp - 0x220]
push eax
call fcn.0042d0a0
add esp, 4
test eax, eax
jne 0x44281c
mov ecx, dword [ebp - 0x80c]
movzx edx, byte [ecx + 8]
test edx, edx
je 0x442789
xor al, al
jmp 0x442a6d
push 0x194
push 0
lea eax, [ebp - 0x3c4]
push eax
call fcn.00419d00
add esp, 0xc
mov ecx, dword [ebp - 0x220]
push ecx
push 1
push 0x194
lea edx, [ebp - 0x3c4]
push edx
call fcn.0042ca72
add esp, 0x10
push 0x45b224
lea eax, [ebp - 0x3c4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4427dd
cmp dword [ebp - 0x234], 0
jne 0x4427dd
jmp 0x44281c
mov ecx, dword [ebp - 0x80c]
mov edx, dword [ecx + 0x18]
add edx, 0x194
mov eax, dword [ecx + 0x1c]
adc eax, 0
mov ecx, dword [ebp - 0x80c]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x220]
push edx
lea eax, [ebp - 0x3c4]
push eax
mov ecx, dword [ebp - 0x80c]
call sym.Install_comm.exe_private:_bool___thiscall_CNsInstaller::ExtractFile_struct_tagPacketInfo___struct__iobuf__
jmp 0x44275d
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.004234fa
add esp, 4
lea esi, [ebp - 0x22c]
call fcn.004058a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x80c]
add edx, 0x3d0
push edx
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax + 0xb64]
push ecx
push 0x45b22c
lea edi, [ebp - 0x22c]
call fcn.00406080
add esp, 0xc
lea eax, [ebp - 0x22c]
call fcn.00405a60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x442961
lea esi, [ebp - 0x7d8]
call fcn.004058a0
mov byte [ebp - 4], 1
call sym.Install_comm.exe_int___cdecl_isEnglish_void_
test eax, eax
je 0x4428ae
mov edx, 0x45b238
lea edi, [ebp - 0x7d8]
call fcn.00405a20
jmp 0x4428be
mov edx, 0x45b2a4
lea edi, [ebp - 0x7d8]
call fcn.00405a20
lea edx, [ebp - 0x7d4]
push edx
call fcn.004094d0
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 - 0x7d8]
call fcn.00405a60
mov ebx, eax
call fcn.00401000
mov eax, dword [eax + 4]
push eax
mov edi, esi
mov edx, ebx
lea eax, [ebp - 0x7d4]
call fcn.00409e60
call fcn.00401000
mov ecx, eax
call sym.Install_comm.exe_public:_void___thiscall_CNsApp::ExitApp_void_
mov byte [ebp - 0x7dd], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7d4]
push ecx
call fcn.00409660
mov byte [ebp - 4], 0
lea eax, [ebp - 0x7d8]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x22c]
call fcn.00405990
mov al, byte [ebp - 0x7dd]
jmp 0x442a6d
mov edx, dword [ebp - 0x80c]
movzx eax, byte [edx + 0xb6c]
test eax, eax
jne 0x4429b3
mov ecx, dword [ebp - 0x80c]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x80c]
call sym.Install_comm.exe_public:_int___thiscall_CNsInstaller::WriteReg_struct_tagSetupInfo__
mov edx, dword [ebp - 0x80c]
add edx, 0x24
push edx
mov ecx, dword [ebp - 0x80c]
call sym.Install_comm.exe_public:_void___thiscall_CNsInstaller::CreateShortcuts_struct_tagSetupInfo__
mov eax, dword [ebp - 0x80c]
add eax, 0x24
push eax
mov ecx, dword [ebp - 0x80c]
call sym.Install_comm.exe_public:_void___thiscall_CNsInstaller::CreateUninstallCfg_struct_tagSetupInfo__
jmp 0x442a10
lea esi, [ebp - 0x7dc]
call fcn.004058a0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x80c]
add ecx, 0x3d0
push ecx
mov edx, dword [ebp - 0x80c]
mov eax, dword [edx + 0xb64]
push eax
push 0x45b2bc
lea edi, [ebp - 0x7dc]
call fcn.00406080
add esp, 0xc
lea eax, [ebp - 0x7dc]
call fcn.00405a60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x7dc]
call fcn.00405990
mov ecx, dword [ebp - 0x80c]
add ecx, 0x7b8
push ecx
mov ecx, dword [ebp - 0x80c]
call sym.Install_comm.exe_public:_void___thiscall_CNsInstaller::ExecScript_wchar_t_const__
mov ecx, dword [ebp - 0x80c]
call sym.Install_comm.exe_public:_void___thiscall_CNsInstaller::ImportReg_void_
push 0
push 0x2710
push 0x7e9
mov edx, dword [ebp - 0x80c]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0x7de], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x22c]
call fcn.00405990
mov al, byte [ebp - 0x7de]
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.00418dfa
mov esp, ebp
pop ebp
ret