joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d410
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48d437
xor eax, eax
xor edx, edx
jmp 0x48d4cc
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043ebff
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x48d458
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
jmp 0x48d4cc
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
push 0
push 0x80
push 3
push 0
push 1
push bind
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
je 0x48d4c8
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4c]
shl eax, 0x20
xor ecx, ecx
add eax, dword [ebp - 0x44]
adc ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
jmp 0x48d4cc
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret
Function at 0x48f830
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0c06
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4eb00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x48f86b
jmp 0x48f8f8
mov ecx, dword [ebp - 0x14]
add ecx, 0x16b0
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004097c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x16b0]
push eax
push 0x4cc550
lea ecx, [ebp - 0x10]
push ecx
call fcn.00409d70
add esp, 0x10
push str._s__S__SILENT__silent__quiet__noreboot__verysilent__sp__norestart__q__qn__SilentInstall
lea ecx, [ebp - 0x18]
call fcn.004096a0
mov byte [ebp - 4], 1
push 0
push 0
lea ecx, [ebp - 0x18]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x10]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00409680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x490f00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0e08
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4eb00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
add eax, 0x1348
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x490f40
jmp 0x490fee
lea ecx, [ebp - 0x10]
call fcn.004097c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x1348
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x16b0]
push eax
push 0x4cc234
lea ecx, [ebp - 0x10]
push ecx
call fcn.00409d70
add esp, 0x10
lea ecx, [ebp - 0x10]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x490fdf
lea ecx, [ebp - 0x10]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x14]
call sym.Install_vip.exe_public:_bool___thiscall_CNsInstaller::ReplaceRegPath_wchar_t_const__
lea ecx, [ebp - 0x18]
call fcn.004097c0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
push edx
push str._s___s_
lea eax, [ebp - 0x18]
push eax
call fcn.00409d70
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x18]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str.regedit.exe
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00409680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4925d0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0f2a
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
push str.http:__hofosoft.cn_Components_
lea ecx, [ebp - 0x224]
call fcn.004096a0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x224]
call fcn.00414f80
push 0x20a
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00433560
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4cbd1c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x21c]
push ecx
call sym.Install_vip.exe_int___cdecl_CreateDirTree_wchar_t_const__
add esp, 4
push 0x4cbc5c
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4926b2
push 0x4cbd34
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__
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x220]
cmp dword [edx + 4], 0
je 0x4926e2
push 0
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 0x1614]
push ecx
push 0x7ea
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x220]
mov byte [ecx + 0x160d], 1
push 1
push sym.Install_vip.exe_private:_static_void___stdcall_CNsInstaller::DownNotify_int__wchar_t_const___long_long___int64___long_long___int64___double_
push 0
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x224]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_vip.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsDownload::GetHttpFile_wchar_t_const___wchar_t_const___int__void____stdcall___int__wchar_t_const___long_long___int64___long_long___int64___double___int_
mov eax, dword [ebp - 0x220]
movzx ecx, byte [eax + 0x160e]
test ecx, ecx
je 0x492735
push 0
mov ecx, dword [ebp - 0x220]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::DoSetup_wchar_t_const__
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00409680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret 4
Function at 0x4927e0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x20a
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00433560
add esp, 0xc
push 0
push 0x1c
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.hfinstall_nscomponent_setup.exe
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4928db
cmp dword [ebp + 8], 0
je 0x492890
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x492876
push 0
push 1
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x49288e
push 0
push 1
push 0x4cbccc
lea ecx, [ebp - 0x210]
push ecx
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x4928ce
mov edx, dword [ebp - 0x214]
cmp dword [edx + 0x1614], 0xfffffffe
jne 0x4928b6
push 5
push 1
push 0
lea eax, [ebp - 0x210]
push eax
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x4928ce
push 0
push 1
push 0x4cbcd4
lea ecx, [ebp - 0x210]
push ecx
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret 4
Function at 0x492a10
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
mov ecx, dword [ebp - 0x210]
add ecx, 0x16b0
call fcn.004097f0
test eax, eax
jle 0x492a43
jmp 0x492b30
mov eax, dword [ebp + 8]
add eax, 0x10cc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x492ae2
mov ecx, dword [ebp + 8]
add ecx, 0x10cc
push ecx
mov ecx, dword [ebp - 0x210]
add ecx, 0x16b0
call fcn.004095c0
mov ecx, dword [ebp - 0x210]
add ecx, 0x16b0
call fcn.004097f0
sub eax, 1
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x214]
push edx
mov ecx, dword [ebp - 0x210]
add ecx, 0x16b0
call fcn.0041fb80
movzx eax, ax
cmp eax, 0x5c
jne 0x492ac8
movzx ecx, word [ebp - 0x214]
push ecx
mov ecx, dword [ebp - 0x210]
add ecx, 0x16b0
call fcn.0041fa80
mov edx, dword [ebp - 0x210]
add edx, 0x16b0
push edx
mov ecx, dword [ebp - 0x210]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::ReplaceSysPath_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
jmp 0x492b30
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00433560
add esp, 0xc
push 0
push 0x26
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
push 0x4cbac8
mov ecx, dword [ebp - 0x210]
add ecx, 0x16b0
push ecx
call fcn.00409d70
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret 4
Function at 0x493510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x49352b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x190]
jge 0x493571
push 8
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.00433560
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 8
lea edx, [ebp - 0x10]
push edx
call fcn.0043eee4
add esp, 0x10
push 1
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0043f340
add esp, 0xc
jmp 0x493522
mov esp, ebp
pop ebp
ret 8
Function at 0x493710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b108e
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp - 0x21c]
add ecx, 0x15ec
call fcn.004097c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x21c]
add ecx, 0x15f0
call fcn.00413290
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
add ecx, 0x15fc
call fcn.00413290
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x21c]
add ecx, 0x16ac
call fcn.004097c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x21c]
add ecx, 0x16b0
call fcn.004097c0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
add ecx, 0x16b4
call fcn.004097c0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x21c]
add ecx, 0x1784
call fcn.0041f500
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x21c]
mov byte [eax + 8], 0
mov ecx, dword [ebp - 0x21c]
mov byte [ecx + 0x16b8], 0
push 0x4cba40
mov ecx, dword [ebp - 0x21c]
add ecx, 0x15ec
call fcn.004095c0
push 0x4cba44
mov ecx, dword [ebp - 0x21c]
add ecx, 0x16b4
call fcn.004095c0
mov edx, dword [ebp - 0x21c]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x21c]
mov byte [eax + 0x1608], 0
mov ecx, dword [ebp - 0x21c]
mov byte [ecx + 0x1609], 0
mov edx, dword [ebp - 0x21c]
mov byte [edx + 0x160a], 0
mov eax, dword [ebp - 0x21c]
mov byte [eax + 0x160b], 0
mov ecx, dword [ebp - 0x21c]
mov byte [ecx + 0x160c], 0
mov edx, dword [ebp - 0x21c]
mov byte [edx + 0x160d], 0
mov eax, dword [ebp - 0x21c]
mov byte [eax + 0x160e], 0
mov ecx, dword [ebp - 0x21c]
mov byte [ecx + 0x1618], 0
mov edx, dword [ebp - 0x21c]
mov dword [edx + 0x1620], 0
push 0xc8
push 0
mov eax, dword [ebp - 0x21c]
add eax, 0x16ba
push eax
call fcn.00433560
add esp, 0xc
push 0x15c8
push 0
mov ecx, dword [ebp - 0x21c]
add ecx, 0x24
push ecx
call fcn.00433560
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.00433560
add esp, 0xc
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4cba48
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x218]
push edx
call sym.Install_vip.exe_int___cdecl_CreateDirTree_wchar_t_const__
add esp, 4
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0x16ac
call fcn.004095c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret
Function at 0x4939e0
Capabilities:
Check if file exists
Get common file path
Get program files directory
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x620], ecx
push 0x208
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.00433560
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4cbab8
lea edx, [ebp - 0x414]
push edx
call fcn.0043c75a
add esp, 8
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 0
jne 0x493a4d
xor al, al
jmp 0x493bb4
lea eax, [ebp - 0x62c]
push eax
push 0x4cbac0
push 0x1f41
call sym.Install_vip.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 0
jne 0x493ad0
push 0x15c8
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433560
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x61c]
push edx
call fcn.00433560
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x61c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x61c]
push ecx
mov ecx, dword [ebp - 0x620]
add ecx, 0x16b0
call fcn.004095c0
xor al, al
jmp 0x493bb4
push 0
mov edx, dword [ebp - 0x62c]
push edx
mov eax, dword [ebp - 0x624]
push eax
call fcn.0043f340
add esp, 0xc
push 0x15c8
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433560
add esp, 0xc
mov edx, dword [ebp - 0x624]
push edx
push 1
push 0x15c8
mov eax, dword [ebp + 8]
push eax
call fcn.0043eee4
add esp, 0x10
mov ecx, dword [ebp - 0x624]
push ecx
call fcn.0043c850
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x620]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::InitPath_struct_tagSetupInfo__
mov eax, dword [ebp - 0x620]
add eax, 0x1638
push eax
mov ecx, dword [ebp - 0x620]
call sym.Install_vip.exe_public:_bool___thiscall_CNsInstaller::GetMoreInfo_struct_tagMorePacketInfo__
movzx ecx, al
test ecx, ecx
je 0x493bb2
mov edx, dword [ebp - 0x620]
cmp dword [edx + 0x1640], 0
je 0x493bb2
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00433560
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.Install_vip.exe_int___cdecl_GetInstallPath_wchar_t_const___wchar_t__
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x493bb2
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0x620]
add ecx, 0x16b0
call fcn.004095c0
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret 4
Function at 0x493d40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b10e1
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4eb00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x15ac], 0
je 0x493de1
lea ecx, [ebp - 0x10]
call fcn.004097c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x920
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x16b0]
push eax
push 0x4cc268
lea ecx, [ebp - 0x10]
push ecx
call fcn.00409d70
add esp, 0x10
lea ecx, [ebp - 0x10]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x493dd2
push 5
push 0
push 0
lea ecx, [ebp - 0x10]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00409680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x494140
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call sym.Install_vip.exe_public:_bool___thiscall_CNsInstaller::CheckEVIP_void_
movzx eax, al
test eax, eax
jne 0x494173
push 0
push 0
push 0x7ed
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
call sym.Install_vip.exe_public:_bool___thiscall_CNsInstaller::CheckSafeMsg_void_
cmp dword [ebp + 8], 0
je 0x494193
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x16b0
call fcn.004095c0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 4], ecx
cmp dword [ebp + 0x10], 0
je 0x4941c3
push 1
mov edx, dword [ebp - 4]
push edx
push sym.Install_vip.exe_private:_static_unsigned_int___stdcall_CNsInstaller::InstallThread_void__
call sym.Install_vip.exe_public:_static_class_CNsThread____cdecl_CNsThread::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void____thiscall_CNsThread::StartThread_unsigned_int____stdcall___void____void___int_
jmp 0x4941cb
mov ecx, dword [ebp - 4]
call sym.Install_vip.exe_private:_bool___thiscall_CNsInstaller::InstallFunc_void_
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4941e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x20a
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00433560
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx eax, word [ebp + eax*2 - 0x212]
cmp eax, 0x5c
jne 0x49424f
push str.nslicense.txt
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x494261
push str._nslicense.txt
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x210]
push eax
push 0x4cc728
push 0x1f55
call sym.Install_vip.exe_int___cdecl_NsResSave_int__wchar_t_const___wchar_t_const__
add esp, 0xc
push 5
push 0
lea ecx, [ebp - 0x210]
push ecx
push str.notepad.exe
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret

Function at 0x494480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x4944a1
cmp dword [ebp + 0xc], 0
je 0x4944a1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x1e
jl 0x4944a6
jmp 0x494544
push 0x294
call fcn.0042ef2b
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
push 0x294
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.00433560
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
add eax, 0x190
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp + 0x10], 0
je 0x494518
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x64
jge 0x494518
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
add eax, 0x1cc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x4942a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x494544
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x496620
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0x67452301
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0xefcdab89
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x10325476
mov esp, ebp
pop ebp
ret 4
Function at 0x496d20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
push 0x11c
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00433560
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x496d95
cmp dword [ebp - 0x118], 1
je 0x496d81
cmp dword [ebp - 0x118], 2
jne 0x496d95
push str.Windows_XP
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x496e3c
cmp dword [ebp - 0x11c], 6
jne 0x496dbb
cmp dword [ebp - 0x118], 0
jne 0x496dbb
push str.Windows_Vista
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x496e3c
cmp dword [ebp - 0x11c], 6
jne 0x496dde
cmp dword [ebp - 0x118], 1
jne 0x496dde
push str.Windows_7
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x496e3c
cmp dword [ebp - 0x11c], 6
jne 0x496e01
cmp dword [ebp - 0x118], 2
jne 0x496e01
push str.Windows_8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x496e3c
cmp dword [ebp - 0x11c], 6
jne 0x496e24
cmp dword [ebp - 0x118], 3
jne 0x496e24
push str.Windows_8.1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x496e3c
cmp dword [ebp - 0x11c], 0xa
jne 0x496e3c
push str.Windows_10
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret 4