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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fffe
mov eax, dword fs:[0]
push eax
sub esp, 0x984
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94c], ecx
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00427170
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
call sym.Install_silent.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov ecx, dword [ebp - 0x94c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
lea edx, [ebp - 0x970]
push edx
push 0x46ddbc
push 0x1f41
call sym.Install_silent.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x964], eax
cmp dword [ebp - 0x964], 0
jne 0x44b8ff
push 0xb00
push 0
mov eax, dword [ebp - 0x94c]
add eax, 0x24
push eax
call fcn.00427170
add esp, 0xc
xor al, al
jmp 0x44c01f
push 0x46ddc4
lea ecx, [ebp - 0x218]
push ecx
call fcn.0042f9b9
add esp, 8
mov dword [ebp - 0x950], eax
cmp dword [ebp - 0x950], 0
jne 0x44b929
xor al, al
jmp 0x44c01f
push 0
mov edx, dword [ebp - 0x970]
push edx
mov eax, dword [ebp - 0x950]
push eax
call fcn.0043037f
add esp, 0xc
push 0xb00
push 0
mov ecx, dword [ebp - 0x94c]
add ecx, 0x24
push ecx
call fcn.00427170
add esp, 0xc
mov edx, dword [ebp - 0x950]
push edx
push 1
push 0xb00
mov eax, dword [ebp - 0x94c]
add eax, 0x24
push eax
call fcn.0042fbe3
add esp, 0x10
mov ecx, dword [ebp - 0x94c]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x94c]
call sym.Install_silent.exe_private:_void___thiscall_CNsInstaller::InitPath_struct_tagSetupInfo__
mov edx, dword [ebp - 0x94c]
add edx, 0x24
push edx
push 0x46ddcc
push 0x46dde0
call sym.Install_silent.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
mov ecx, dword [ebp - 0x94c]
call sym.Install_silent.exe_public:_void___thiscall_CNsInstaller::CheckValid_void_
mov ecx, dword [ebp - 0x94c]
call sym.Install_silent.exe_private:_void___thiscall_CNsInstaller::InstallComponent_void_
push 0x46dddc
mov ecx, dword [ebp - 0x94c]
add ecx, 0xbe8
call fcn.00405110
push eax
mov ecx, dword [ebp - 0x94c]
call sym.Install_silent.exe_public:_void___thiscall_CNsInstaller::CheckDir_wchar_t_const___wchar_t_const__
mov dword [ebp - 0x96c], 0
lea eax, [ebp - 0x96c]
push eax
push 0x46de24
push 0x1f5b
call sym.Install_silent.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x964], eax
cmp dword [ebp - 0x964], 0
je 0x44bbbb
cmp dword [ebp - 0x96c], 0
je 0x44bbbb
mov ecx, dword [ebp - 0x94c]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
push 0x194
push 0
lea edx, [ebp - 0x3ac]
push edx
call fcn.00427170
add esp, 0xc
mov eax, dword [ebp - 0x950]
push eax
push 1
push 0x194
lea ecx, [ebp - 0x3ac]
push ecx
call fcn.0042fbe3
add esp, 0x10
mov edx, dword [ebp - 0x950]
push edx
lea eax, [ebp - 0x3ac]
push eax
mov ecx, dword [ebp - 0x94c]
call sym.Install_silent.exe_private:_bool___thiscall_CNsInstaller::ExtractFile_struct_tagPacketInfo___struct__iobuf__
push 0x194
push 0
lea ecx, [ebp - 0x3ac]
push ecx
call fcn.00427170
add esp, 0xc
mov edx, dword [ebp - 0x950]
push edx
push 1
push 0x194
lea eax, [ebp - 0x3ac]
push eax
call fcn.0042fbe3
add esp, 0x10
push str.SPLIT
lea ecx, [ebp - 0x3ac]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x44bad8
cmp dword [ebp - 0x21c], 0
je 0x44badf
xor al, al
jmp 0x44c01f
mov edx, dword [ebp - 0x950]
push edx
call fcn.0043001a
add esp, 4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x958]
call fcn.00405020
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x958]
call fcn.004091d0
push 0x46de38
push 0x46de40
lea ecx, [ebp - 0x958]
call fcn.00409490
lea ecx, [ebp - 0x958]
call fcn.00405110
push eax
call sym.Install_silent.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov ecx, dword [ebp - 0x94c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov edx, dword [ebp - 0x94c]
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
push 0x46de4c
lea ecx, [ebp - 0x958]
call fcn.00405110
push eax
call fcn.0042f9b9
add esp, 8
mov dword [ebp - 0x950], eax
cmp dword [ebp - 0x950], 0
jne 0x44bba7
mov byte [ebp - 0x951], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x958]
call fcn.00404fe0
mov al, byte [ebp - 0x951]
jmp 0x44c01f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x958]
call fcn.00404fe0
jmp 0x44bbf2
mov eax, dword [ebp - 0x970]
cdq
mov ecx, dword [ebp - 0x94c]
mov esi, dword [ecx + 0x10]
sub esi, eax
mov eax, dword [ecx + 0x14]
sbb eax, edx
mov ecx, dword [ebp - 0x94c]
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x94c]
mov dword [edx + 0x18], 0xb00
mov dword [edx + 0x1c], 0
mov dword [ebp - 0x980], 0x100000
mov dword [ebp - 0x97c], 0
push 0
push 0x190
mov eax, dword [ebp - 0x97c]
push eax
mov ecx, dword [ebp - 0x980]
push ecx
call fcn.0043f900
mov ecx, dword [ebp - 0x94c]
mov dword [ebp - 0x974], ecx
mov dword [ebp - 0x988], eax
mov dword [ebp - 0x984], edx
mov edx, dword [ebp - 0x974]
mov eax, dword [edx + 0x14]
cmp eax, dword [ebp - 0x984]
jg 0x44bc6b
jl 0x44bc5c
mov ecx, dword [ebp - 0x974]
mov edx, dword [ecx + 0x10]
cmp edx, dword [ebp - 0x988]
jae 0x44bc6b
mov eax, dword [ebp - 0x94c]
mov dword [eax + 0x20], 0
jmp 0x44bce8
push 0
push 0x400
mov ecx, dword [ebp - 0x97c]
push ecx
mov edx, dword [ebp - 0x980]
push edx
call fcn.0043f900
push 0
push 4
push edx
push eax
call fcn.0043f900
mov ecx, dword [ebp - 0x94c]
mov dword [ebp - 0x978], ecx
mov dword [ebp - 0x990], eax
mov dword [ebp - 0x98c], edx
mov edx, dword [ebp - 0x978]
mov eax, dword [edx + 0x14]
cmp eax, dword [ebp - 0x98c]
jg 0x44bcdb
jl 0x44bccc
mov ecx, dword [ebp - 0x978]
mov edx, dword [ecx + 0x10]
cmp edx, dword [ebp - 0x990]
jae 0x44bcdb
mov eax, dword [ebp - 0x94c]
mov dword [eax + 0x20], 1
jmp 0x44bce8
mov ecx, dword [ebp - 0x94c]
mov dword [ecx + 0x20], 2
mov edx, dword [ebp - 0x950]
push edx
call fcn.0043009a
add esp, 4
test eax, eax
jne 0x44bdd4
mov eax, dword [ebp - 0x94c]
movzx ecx, byte [eax + 8]
test ecx, ecx
je 0x44bd14
xor al, al
jmp 0x44c01f
push 0x194
push 0
lea edx, [ebp - 0x540]
push edx
call fcn.00427170
add esp, 0xc
mov eax, dword [ebp - 0x950]
push eax
push 1
push 0x194
lea ecx, [ebp - 0x540]
push ecx
call fcn.0042fbe3
add esp, 0x10
push 0x46de54
lea edx, [ebp - 0x540]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x44bd6a
cmp dword [ebp - 0x3b0], 0
jne 0x44bd6a
jmp 0x44bdd4
cmp dword [ebp - 0x3b0], 0xffffffff
jne 0x44bd8c
push 0
lea eax, [ebp - 0x540]
push eax
mov ecx, dword [ebp - 0x94c]
call sym.Install_silent.exe_public:_void___thiscall_CNsInstaller::CheckDir_wchar_t_const___wchar_t_const__
jmp 0x44bce8
mov ecx, dword [ebp - 0x94c]
mov edx, dword [ecx + 0x18]
add edx, 0x194
mov eax, dword [ecx + 0x1c]
adc eax, 0
mov ecx, dword [ebp - 0x94c]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x950]
push edx
lea eax, [ebp - 0x540]
push eax
mov ecx, dword [ebp - 0x94c]
call sym.Install_silent.exe_private:_bool___thiscall_CNsInstaller::ExtractFile_struct_tagPacketInfo___struct__iobuf__
movzx ecx, al
test ecx, ecx
jne 0x44bdcf
jmp 0x44bdd4
jmp 0x44bce8
mov edx, dword [ebp - 0x950]
push edx
call fcn.0043001a
add esp, 4
lea ecx, [ebp - 0x960]
call fcn.004050d0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x94c]
add eax, 0x3d0
push eax
mov ecx, dword [ebp - 0x94c]
mov edx, dword [ecx + 0xbe8]
push edx
push 0x46de5c
lea eax, [ebp - 0x960]
push eax
call fcn.00405820
add esp, 0x10
lea ecx, [ebp - 0x960]
call fcn.00405110
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44bf12
lea ecx, [ebp - 0x95c]
call fcn.004050d0
mov byte [ebp - 4], 2
call sym.Install_silent.exe_int___cdecl_isEnglish_void_
test eax, eax
jmp 0x44be66
push 0x483070
lea ecx, [ebp - 0x95c]
call fcn.00405230
lea ecx, [ebp - 0x948]
call fcn.004126e0
mov byte [ebp - 4], 3
push 1
push 9
push 8
push 0xb0
push 0x14c
push 6
push 0
call sym.Install_silent.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
add eax, 0x212
push eax
lea ecx, [ebp - 0x95c]
call fcn.00405110
push eax
call sym.Install_silent.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x948]
call fcn.00412db0
call sym.Install_silent.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_void___thiscall_CNsApp::ExitApp_void_
mov byte [ebp - 0x952], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x948]
call fcn.00412880
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x95c]
call fcn.00404fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x960]
call fcn.00404fe0
mov al, byte [ebp - 0x952]
jmp 0x44c01f
mov edx, dword [ebp - 0x94c]
movzx eax, byte [edx + 0xbf0]
test eax, eax
jne 0x44bf64
mov ecx, dword [ebp - 0x94c]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x94c]
call sym.Install_silent.exe_public:_int___thiscall_CNsInstaller::WriteReg_struct_tagSetupInfo__
mov edx, dword [ebp - 0x94c]
add edx, 0x24
push edx
mov ecx, dword [ebp - 0x94c]
call sym.Install_silent.exe_public:_void___thiscall_CNsInstaller::CreateShortcuts_struct_tagSetupInfo__
mov eax, dword [ebp - 0x94c]
add eax, 0x24
push eax
mov ecx, dword [ebp - 0x94c]
call sym.Install_silent.exe_public:_void___thiscall_CNsInstaller::CreateUninstallCfg_struct_tagSetupInfo__
jmp 0x44bfc2
lea ecx, [ebp - 0x968]
call fcn.004050d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x94c]
add ecx, 0x3d0
push ecx
mov edx, dword [ebp - 0x94c]
mov eax, dword [edx + 0xbe8]
push eax
push 0x46ded4
lea ecx, [ebp - 0x968]
push ecx
call fcn.00405820
add esp, 0x10
lea ecx, [ebp - 0x968]
call fcn.00405110
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x968]
call fcn.00404fe0
mov edx, dword [ebp - 0x94c]
add edx, 0x7b8
push edx
mov ecx, dword [ebp - 0x94c]
call sym.Install_silent.exe_public:_void___thiscall_CNsInstaller::ExecScript_wchar_t_const__
mov ecx, dword [ebp - 0x94c]
call sym.Install_silent.exe_public:_void___thiscall_CNsInstaller::ImportReg_void_
push 0
push 0x2710
push 0x7e9
mov eax, dword [ebp - 0x94c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0x953], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x960]
call fcn.00404fe0
mov al, byte [ebp - 0x953]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret