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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4ec00c]
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 0x48db97
xor eax, eax
xor edx, edx
jmp 0x48dc2c
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043f33f
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x48dbb8
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
jmp 0x48dc2c
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 0x48dc28
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 0x48dc2c
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret
Function at 0x48fbf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ec00c]
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.00433ca0
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 0x48fc5f
push str.nslicense.txt
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x48fc71
push str._nslicense.txt
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x210]
push eax
push 0x4cd748
push 0x1f55
call sym.Install_adv.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_adv.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.0042f10e
mov esp, ebp
pop ebp
ret
Function at 0x490030
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b13c6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4ec00c]
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 0x49006b
jmp 0x4900f8
mov ecx, dword [ebp - 0x14]
add ecx, 0x16b0
call sym.Install_adv.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 0x4cd570
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_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x10]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.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 0x491700
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b15c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4ec00c]
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 0x491740
jmp 0x4917ee
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 0x4cd254
lea ecx, [ebp - 0x10]
push ecx
call fcn.00409d70
add esp, 0x10
lea ecx, [ebp - 0x10]
call sym.Install_adv.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 0x4917df
lea ecx, [ebp - 0x10]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x14]
call sym.Install_adv.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_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str.regedit.exe
call sym.Install_adv.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 0x492dd0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b16ea
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4ec00c]
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.004156b0
push 0x20a
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00433ca0
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4ccd3c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x21c]
push ecx
call sym.Install_adv.exe_int___cdecl_CreateDirTree_wchar_t_const__
add esp, 4
push 0x4ccc7c
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 0x492eb2
push 0x4ccd54
call sym.Install_adv.exe_public:_static_class_CNsProcess____cdecl_CNsProcess::Instance_void_
mov ecx, eax
call sym.Install_adv.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 0x492ee2
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_adv.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_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_adv.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 0x492f35
push 0
mov ecx, dword [ebp - 0x220]
call sym.Install_adv.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.0042f10e
mov esp, ebp
pop ebp
ret 4
Function at 0x492fe0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ec00c]
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.00433ca0
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 0x4930db
cmp dword [ebp + 8], 0
je 0x493090
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x493076
push 0
push 1
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call sym.Install_adv.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x49308e
push 0
push 1
push 0x4cccec
lea ecx, [ebp - 0x210]
push ecx
call sym.Install_adv.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x4930ce
mov edx, dword [ebp - 0x214]
cmp dword [edx + 0x1614], 0xfffffffe
jne 0x4930b6
push 5
push 1
push 0
lea eax, [ebp - 0x210]
push eax
call sym.Install_adv.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x4930ce
push 0
push 1
push 0x4cccf4
lea ecx, [ebp - 0x210]
push ecx
call sym.Install_adv.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.0042f10e
mov esp, ebp
pop ebp
ret 4
Function at 0x493210
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ec00c]
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 0x493243
jmp 0x493330
mov eax, dword [ebp + 8]
add eax, 0x10cc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4932e2
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.004202b0
movzx eax, ax
cmp eax, 0x5c
jne 0x4932c8
movzx ecx, word [ebp - 0x214]
push ecx
mov ecx, dword [ebp - 0x210]
add ecx, 0x16b0
call fcn.004201b0
mov edx, dword [ebp - 0x210]
add edx, 0x16b0
push edx
mov ecx, dword [ebp - 0x210]
call sym.Install_adv.exe_private:_void___thiscall_CNsInstaller::ReplaceSysPath_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
jmp 0x493330
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00433ca0
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 0x4ccae8
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.0042f10e
mov esp, ebp
pop ebp
ret 4
Function at 0x493d10
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 0x493d2b
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 0x493d71
push 8
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.00433ca0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 8
lea edx, [ebp - 0x10]
push edx
call fcn.0043f624
add esp, 0x10
push 1
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0043fa80
add esp, 0xc
jmp 0x493d22
mov esp, ebp
pop ebp
ret 8
Function at 0x493f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b184e
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4ec00c]
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.004139c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
add ecx, 0x15fc
call fcn.004139c0
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.0041fc30
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 0x4cca60
mov ecx, dword [ebp - 0x21c]
add ecx, 0x15ec
call fcn.004095c0
push 0x4cca64
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.00433ca0
add esp, 0xc
push 0x15c8
push 0
mov ecx, dword [ebp - 0x21c]
add ecx, 0x24
push ecx
call fcn.00433ca0
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.00433ca0
add esp, 0xc
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4cca68
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x218]
push edx
call sym.Install_adv.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.0042f10e
mov esp, ebp
pop ebp
ret
Function at 0x494230
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 [0x4ec00c]
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.00433ca0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4ccad8
lea edx, [ebp - 0x414]
push edx
call fcn.0043ce99
add esp, 8
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 0
jne 0x49429d
xor al, al
jmp 0x494404
lea eax, [ebp - 0x62c]
push eax
push 0x4ccae0
push 0x1f41
call sym.Install_adv.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 0
jne 0x494320
push 0x15c8
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433ca0
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x61c]
push edx
call fcn.00433ca0
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 0x494404
push 0
mov edx, dword [ebp - 0x62c]
push edx
mov eax, dword [ebp - 0x624]
push eax
call fcn.0043fa80
add esp, 0xc
push 0x15c8
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433ca0
add esp, 0xc
mov edx, dword [ebp - 0x624]
push edx
push 1
push 0x15c8
mov eax, dword [ebp + 8]
push eax
call fcn.0043f624
add esp, 0x10
mov ecx, dword [ebp - 0x624]
push ecx
call fcn.0043cf8f
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x620]
call sym.Install_adv.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_adv.exe_public:_bool___thiscall_CNsInstaller::GetMoreInfo_struct_tagMorePacketInfo__
movzx ecx, al
test ecx, ecx
je 0x494402
mov edx, dword [ebp - 0x620]
cmp dword [edx + 0x1640], 0
je 0x494402
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00433ca0
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.Install_adv.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 0x494402
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.0042f10e
mov esp, ebp
pop ebp
ret 4
Function at 0x494560
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b18a1
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4ec00c]
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 0x494601
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 0x4cd288
lea ecx, [ebp - 0x10]
push ecx
call fcn.00409d70
add esp, 0x10
lea ecx, [ebp - 0x10]
call sym.Install_adv.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 0x4945f2
push 5
push 0
push 0
lea ecx, [ebp - 0x10]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.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 0x494960
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call sym.Install_adv.exe_public:_bool___thiscall_CNsInstaller::CheckEVIP_void_
movzx eax, al
test eax, eax
jne 0x494993
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_adv.exe_public:_bool___thiscall_CNsInstaller::CheckSafeMsg_void_
cmp dword [ebp + 8], 0
je 0x4949b3
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 0x4949e3
push 1
mov edx, dword [ebp - 4]
push edx
push sym.Install_adv.exe_private:_static_unsigned_int___stdcall_CNsInstaller::InstallThread_void__
call sym.Install_adv.exe_public:_static_class_CNsThread____cdecl_CNsThread::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_void____thiscall_CNsThread::StartThread_unsigned_int____stdcall___void____void___int_
jmp 0x4949eb
mov ecx, dword [ebp - 4]
call sym.Install_adv.exe_private:_bool___thiscall_CNsInstaller::InstallFunc_void_
mov esp, ebp
pop ebp
ret 0x10
Function at 0x494be0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x494c01
cmp dword [ebp + 0xc], 0
je 0x494c01
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x1e
jl 0x494c06
jmp 0x494ca4
push 0x294
call fcn.0042f65b
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.00433ca0
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 0x494c78
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x64
jge 0x494c78
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 0x494a00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x494ca4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x496d80
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 0x497480
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4ec00c]
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.00433ca0
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 0x4974f5
cmp dword [ebp - 0x118], 1
je 0x4974e1
cmp dword [ebp - 0x118], 2
jne 0x4974f5
push str.Windows_XP
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x49759c
cmp dword [ebp - 0x11c], 6
jne 0x49751b
cmp dword [ebp - 0x118], 0
jne 0x49751b
push str.Windows_Vista
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x49759c
cmp dword [ebp - 0x11c], 6
jne 0x49753e
cmp dword [ebp - 0x118], 1
jne 0x49753e
push str.Windows_7
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x49759c
cmp dword [ebp - 0x11c], 6
jne 0x497561
cmp dword [ebp - 0x118], 2
jne 0x497561
push str.Windows_8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x49759c
cmp dword [ebp - 0x11c], 6
jne 0x497584
cmp dword [ebp - 0x118], 3
jne 0x497584
push str.Windows_8.1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x49759c
cmp dword [ebp - 0x11c], 0xa
jne 0x49759c
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.0042f10e
mov esp, ebp
pop ebp
ret 4