joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e880
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.0042b9d0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x489268
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x108], 2
jne 0x45e9ab
cmp dword [ebp - 0x114], 5
jne 0x45e902
cmp dword [ebp - 0x110], 0
jne 0x45e902
push str.Win2000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x45e9a9
cmp dword [ebp - 0x114], 5
jne 0x45e928
cmp dword [ebp - 0x110], 0
jbe 0x45e928
push 0x489280
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x45e9a9
cmp dword [ebp - 0x114], 6
jne 0x45e94b
cmp dword [ebp - 0x110], 0
jne 0x45e94b
push str.Vista
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x45e9a9
cmp dword [ebp - 0x114], 6
jne 0x45e96e
cmp dword [ebp - 0x110], 1
jne 0x45e96e
push str.Win7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x45e9a9
cmp dword [ebp - 0x114], 6
jne 0x45e991
cmp dword [ebp - 0x110], 2
jb 0x45e991
push str.Win8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x45e9a9
cmp dword [ebp - 0x114], 0xa
jne 0x45e9a9
push str.Win10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x45e9f6
cmp dword [ebp - 0x108], 1
jne 0x45e9f6
cmp dword [ebp - 0x114], 4
jne 0x45e9d5
cmp dword [ebp - 0x110], 0x5a
jae 0x45e9d5
push 0x4892b8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x114], 4
jne 0x45e9f6
cmp dword [ebp - 0x110], 0x5a
jb 0x45e9f6
push 0x4892c0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret

Function at 0x45ea10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.0042b9d0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x45ea72
cmp dword [ebp - 0x114], 6
jb 0x45ea72
cmp dword [ebp - 0x110], 2
jb 0x45ea72
mov eax, 1
jmp 0x45ea74
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret

Function at 0x45ea90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.0042b9d0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x45eae9
cmp dword [ebp - 0x114], 6
jb 0x45eae9
mov eax, 1
jmp 0x45eaeb
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret
Function at 0x45eb70
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x24]
cmp ecx, 9
je 0x45eb92
movzx edx, word [ebp - 0x24]
cmp edx, 6
jne 0x45eb9b
mov eax, 1
jmp 0x45eb9d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x45eca0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45ed12
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, dword [ebp + 0xc]
jg 0x45ece9
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x45ecfb
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
jmp 0x45ed14
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x45ed20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45ed51
xor eax, eax
jmp 0x45edc1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45ed6c
xor eax, eax
jmp 0x45edc1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x45ed9e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x45edc1
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0042be50
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x45edd0
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x49c00c]
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 0x45edf7
xor eax, eax
xor edx, edx
jmp 0x45ee8c
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004369fa
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x45ee18
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
jmp 0x45ee8c
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
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 0x45ee88
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 0x45ee8c
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret
Function at 0x45f150
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474d5b
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x29c], ecx
push 0x64
push 0
lea eax, [ebp - 0x74]
push eax
call fcn.0042b9d0
add esp, 0xc
lea ecx, [ebp - 0x74]
push ecx
push 0x48ae3c
push 0x1f67
call sym.Install_adv.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x45f308
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x45f308
push 0x20a
push 0
lea eax, [ebp - 0x280]
push eax
call fcn.0042b9d0
add esp, 0xc
lea ecx, [ebp - 0x280]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx eax, word [ebp + eax*2 - 0x282]
cmp eax, 0x5c
je 0x45f220
push 0x48ae44
lea ecx, [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x284]
call fcn.004096c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x280]
push eax
push 0x48ae48
lea ecx, [ebp - 0x284]
push ecx
call fcn.00409d20
add esp, 0x10
push 0x48ae6c
push 0x1f65
call sym.Install_adv.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
mov dword [ebp - 0x28c], eax
mov edx, dword [ebp - 0x28c]
push edx
call fcn.00450b8d
add esp, 4
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
push ecx
push 0x48ae74
push 0x1f65
call sym.Install_adv.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov edx, dword [ebp - 0x28c]
push edx
mov eax, dword [ebp - 0x288]
push eax
lea ecx, [ebp - 0x284]
call fcn.00409710
push eax
call sym.Install_adv.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x298], ecx
mov edx, dword [ebp - 0x298]
push edx
call fcn.00450b88
add esp, 4
push 1
lea ecx, [ebp - 0x284]
call fcn.00409710
push eax
call sym.Install_adv.exe_void___cdecl_PlayMP3_wchar_t_const___int_
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.004095a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret
Function at 0x460c40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x49c00c]
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.0042b9d0
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 0x460caf
push str.nslicense.txt
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x460cc1
push str._nslicense.txt
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x210]
push eax
push 0x48aa38
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.00429d20
mov esp, ebp
pop ebp
ret
Function at 0x460e10
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474f6e
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], ecx
push 0x20a
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.0042b9d0
add esp, 0xc
push 0
push 0x26
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x21c]
push edx
push str.prog
mov ecx, dword [ebp + 8]
call fcn.0040d860
lea eax, [ebp - 0x21c]
push eax
call sym.Install_adv.exe_int___cdecl_GetDesktopPath_wchar_t__
add esp, 4
lea ecx, [ebp - 0x21c]
push ecx
push str.desktop
mov ecx, dword [ebp + 8]
call fcn.0040d860
lea edx, [ebp - 0x21c]
push edx
call sym.Install_adv.exe_int___cdecl_GetProgramsPath_wchar_t__
add esp, 4
push 0x48a954
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 0x224]
add ecx, 0x6f0
push ecx
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x21c]
push eax
push 0x48a958
mov ecx, dword [ebp + 8]
call fcn.0040d860
mov ecx, dword [ebp - 0x224]
add ecx, 0xbe4
call fcn.00409710
push eax
push str.myapp
mov ecx, dword [ebp + 8]
call fcn.0040d860
call sym.Install_adv.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x460fd6
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea edx, [ebp - 0x21c]
push edx
push 0x48a980
mov ecx, dword [ebp + 8]
call fcn.0040d860
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x21c]
push ecx
push 0x48a98c
mov ecx, dword [ebp + 8]
call fcn.0040d860
push 0
push 0x26
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.004095e0
mov dword [ebp - 4], 0
push 0x48a99c
push str.__x86_
lea ecx, [ebp - 0x220]
call fcn.0040d860
lea ecx, [ebp - 0x220]
call fcn.00409710
push eax
push 0x48a9b0
mov ecx, dword [ebp + 8]
call fcn.0040d860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004095a0
jmp 0x461037
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x21c]
push edx
push str.sys
mov ecx, dword [ebp + 8]
call fcn.0040d860
lea eax, [ebp - 0x21c]
push eax
push str.sys64
mov ecx, dword [ebp + 8]
call fcn.0040d860
push 0
push 0x26
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x21c]
push edx
push str.prog64
mov ecx, dword [ebp + 8]
call fcn.0040d860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret 4
Function at 0x461060
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474fa6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x49c00c]
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 0x46109b
jmp 0x461128
mov ecx, dword [ebp - 0x14]
add ecx, 0xbe4
call fcn.00409710
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004096c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xbe4]
push eax
push 0x48a874
lea ecx, [ebp - 0x10]
push ecx
call fcn.00409d20
add esp, 0x10
push str._s__S__SILENT__silent__quiet__noreboot__verysilent__sp__norestart__q__qn__SilentInstall
lea ecx, [ebp - 0x18]
call fcn.004095e0
mov byte [ebp - 4], 1
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.00409710
push eax
lea ecx, [ebp - 0x10]
call fcn.00409710
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.004095a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004095a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4626a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4751a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x49c00c]
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, 0xa10
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4626e0
jmp 0x46277d
lea ecx, [ebp - 0x10]
call fcn.004096c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xa10
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xbe4]
push eax
push 0x48a564
lea ecx, [ebp - 0x10]
push ecx
call fcn.00409d20
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.00409710
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46276e
lea ecx, [ebp - 0x18]
call fcn.004096c0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
push edx
push str._s___s_
lea eax, [ebp - 0x18]
push eax
call fcn.00409d20
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.00409710
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.004095a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004095a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4638b0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475281
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x49c00c]
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:__jssetup.com_Components_
lea ecx, [ebp - 0x224]
call fcn.004095e0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x224]
call fcn.00415520
push 0x20a
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0042b9d0
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx ecx, word [ebp + eax*2 - 0x21e]
cmp ecx, 0x5c
jne 0x46395d
push 0x48a0f8
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x46396f
push 0x48a124
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x48a154
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__
mov ecx, dword [ebp - 0x220]
cmp dword [ecx + 4], 0
je 0x4639b0
push 0
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0xb4c]
push eax
push 0x7ea
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x220]
mov byte [eax + 0xb45], 1
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
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 fcn.00409710
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 + 0xb46]
test ecx, ecx
je 0x463a10
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.004095a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret 4
Function at 0x463ab0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x49c00c]
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.0042b9d0
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 0x463b1f
push 0x48a04c
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x463b31
push 0x48a078
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 0x463bcb
cmp dword [ebp + 8], 0
je 0x463b8d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x463b73
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 0x463b8b
push 0
push 1
push 0x48a0a8
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 0x463bcb
mov edx, dword [ebp - 0x214]
cmp dword [edx + 0xb4c], 0xfffffffe
jne 0x463bb3
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 0x463bcb
push 0
push 1
push 0x48a0b0
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.00429d20
mov esp, ebp
pop ebp
ret 4
Function at 0x463d10
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
mov ecx, dword [ebp - 0x210]
add ecx, 0xbe4
call fcn.00409700
test eax, eax
jle 0x463d43
jmp 0x463e30
mov eax, dword [ebp + 8]
add eax, 0x85c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x463de2
mov ecx, dword [ebp + 8]
add ecx, 0x85c
push ecx
mov ecx, dword [ebp - 0x210]
add ecx, 0xbe4
call fcn.004094f0
mov ecx, dword [ebp - 0x210]
add ecx, 0xbe4
call fcn.00409700
sub eax, 1
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x214]
push edx
mov ecx, dword [ebp - 0x210]
add ecx, 0xbe4
call fcn.0041e010
movzx eax, ax
cmp eax, 0x5c
jne 0x463dc8
movzx ecx, word [ebp - 0x214]
push ecx
mov ecx, dword [ebp - 0x210]
add ecx, 0xbe4
call fcn.0041df10
mov edx, dword [ebp - 0x210]
add edx, 0xbe4
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 0x463e30
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0042b9d0
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 0x489eb8
mov ecx, dword [ebp - 0x210]
add ecx, 0xbe4
push ecx
call fcn.00409d20
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret 4
Function at 0x464810
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 0x46482b
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 0x464871
push 8
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.0042b9d0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 8
lea edx, [ebp - 0x10]
push edx
call fcn.00436cd4
add esp, 0x10
push 1
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004370ea
add esp, 0xc
jmp 0x464822
mov esp, ebp
pop ebp
ret 8