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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c073
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b4], ecx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2b4]
call sym.Install_vip.exe_public:_void___thiscall_CNsInstaller::CheckDir_wchar_t_const___wchar_t_const__
lea esi, [ebp - 0x18]
call fcn.00405900
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x2b4]
mov eax, dword [edx + 0xb78]
push eax
push 0x467324
lea edi, [ebp - 0x18]
call fcn.00406090
add esp, 0xc
push 0x467330
lea eax, [ebp - 0x18]
call fcn.00405aa0
push eax
call fcn.0043408e
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x449e96
lea eax, [ebp - 0x18]
call fcn.00405aa0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x449e62
lea edi, [ebp - 0x18]
call fcn.00409d60
xor ecx, ecx
mov edx, 0x467338
lea esi, [ebp - 0x18]
call fcn.0040b380
mov esi, eax
lea eax, [ebp - 0x18]
call fcn.00405ab0
sub eax, 4
cmp esi, eax
jne 0x449df8
lea eax, [ebp - 0x18]
call fcn.00405ab0
mov esi, eax
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.00412950
sub esi, eax
sub esi, 1
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x18]
push ecx
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.0040e750
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
call fcn.00405aa0
push eax
call sym.Install_vip.exe_public:_static_class_CNsProcess____cdecl_CNsProcess::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsProcess::KillProcess_wchar_t_const__
mov byte [ebp - 4], 0
lea eax, [ebp - 0x20]
call fcn.00405b50
jmp 0x449e0d
lea eax, [ebp - 0x18]
call fcn.00405aa0
push eax
call sym.Install_vip.exe_public:_static_class_CNsHook____cdecl_CNsHook::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsHook::CloseUsedProc_wchar_t_const__
push 0x467344
lea eax, [ebp - 0x18]
call fcn.00405aa0
push eax
call fcn.0043408e
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x449e60
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2b4]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::MovePos_struct_tagPacketInfo___struct__iobuf__
mov byte [ebp - 0x255], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
call fcn.00405b50
mov al, byte [ebp - 0x255]
jmp 0x44a16e
jmp 0x449e96
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x2b4]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::MovePos_struct_tagPacketInfo___struct__iobuf__
mov byte [ebp - 0x256], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
call fcn.00405b50
mov al, byte [ebp - 0x256]
jmp 0x44a16e
lea esi, [ebp - 0x10]
call fcn.00405900
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x10]
call fcn.00405a60
mov eax, dword [ebp - 0x2b4]
add eax, 0xb24
call fcn.00405ab0
test eax, eax
jne 0x449f0c
xor ecx, ecx
mov edx, 0x46734c
lea esi, [ebp - 0x10]
call fcn.0040b380
test eax, eax
jge 0x449f0c
mov dword [ebp - 0x234], 1
lea eax, [ebp - 0x18]
call fcn.00405aa0
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp - 0x2b4]
add ecx, 0xb28
call fcn.00418b80
mov dword [ebp - 0x238], 0
jmp 0x449f27
mov edx, dword [ebp - 0x238]
add edx, 1
mov dword [ebp - 0x238], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x238]
cmp ecx, dword [eax + 0x190]
jge 0x44a13a
push 8
push 0
lea edx, [ebp - 0x250]
push edx
call fcn.0041eb30
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push 1
push 8
lea ecx, [ebp - 0x250]
push ecx
call fcn.004350a2
add esp, 0x10
mov edx, dword [ebp - 0x250]
push edx
call fcn.00432394
add esp, 4
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sym.Install_vip.exe_int___cdecl__NsReadFile_struct__iobuf___void___unsigned_long_int_
add esp, 0xc
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.00432394
add esp, 4
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x250]
sub ecx, 5
mov dword [ebp - 0x248], ecx
push 5
mov edx, dword [ebp - 0x23c]
push edx
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 5
push ecx
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x240]
push eax
call fcn.004323c0
mov ecx, dword [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sym.Install_vip.exe_int___cdecl__NsWriteFile_struct__iobuf___void___unsigned_long_int_
add esp, 0xc
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x264], ecx
mov edx, dword [ebp - 0x264]
push edx
call fcn.00433fc5
add esp, 4
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.00433fc5
add esp, 4
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], edx
mov eax, dword [ebp - 0x2b8]
cmp dword [eax + 0x14], 0
jl 0x44a135
jg 0x44a088
mov ecx, dword [ebp - 0x2b8]
cmp dword [ecx + 0x10], 0
jbe 0x44a135
mov edx, dword [ebp - 0x2b4]
mov eax, dword [edx + 0x18]
add eax, 8
mov ecx, dword [edx + 0x1c]
adc ecx, 0
mov edx, dword [ebp - 0x2b4]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x250]
cdq
mov ecx, dword [ebp - 0x2b4]
add eax, dword [ecx + 0x18]
adc edx, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov edx, dword [ebp - 0x2b4]
push 0
push 0x2710
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [edx + 0x18]
push ecx
call fcn.004283e0
mov ecx, dword [ebp - 0x2b4]
mov esi, dword [ecx + 0x14]
push esi
mov ecx, dword [ecx + 0x10]
push ecx
push edx
push eax
call fcn.00435ab0
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0x2710
jl 0x44a110
mov dword [ebp - 0x254], 0x26ac
mov edx, dword [ebp - 0x2b4]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
push 0x7e9
mov edx, dword [ebp - 0x2b4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x449f18
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0042802a
add esp, 4
mov byte [ebp - 0x269], 1
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
call fcn.00405b50
mov al, byte [ebp - 0x269]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret 8