joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445380
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0
push 0x26
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
pop ebp
ret

Function at 0x4453e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 2
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
pop ebp
ret

Function at 0x445440
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 0x4454b2
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 0x445489
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x44549b
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 0x4454b4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x445550
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00427170
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp + 0x10], 0
je 0x4455be
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x445880
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x46cf78
mov eax, dword [ebp + 8]
push eax
call fcn.0042f9b9
add esp, 8
mov dword [ebp - 0x40c], eax
push 0x46cf80
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042f9b9
add esp, 8
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x40c], 0
je 0x4458d3
cmp dword [ebp - 0x410], 0
jne 0x4458da
xor eax, eax
jmp 0x445973
mov dword [ebp - 0x408], 0
mov edx, dword [ebp - 0x40c]
push edx
push 0x400
push 1
lea eax, [ebp - 0x404]
push eax
call fcn.0042fbe3
add esp, 0x10
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0
jg 0x445912
jmp 0x445950
mov ecx, dword [ebp - 0x408]
push ecx
lea edx, [ebp - 0x404]
push edx
call sym.Install_silent.exe_void___cdecl_EasyEncode_char___int_
add esp, 8
mov eax, dword [ebp - 0x410]
push eax
mov ecx, dword [ebp - 0x408]
push ecx
push 1
lea edx, [ebp - 0x404]
push edx
call fcn.0042ff4c
add esp, 0x10
cmp dword [ebp - 0x408], 0
jg 0x4458e4
mov eax, dword [ebp - 0x40c]
push eax
call fcn.0043001a
add esp, 4
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0043001a
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret

Function at 0x445e60
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], 0
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.00427170
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x445f8f
cmp dword [ebp - 0x114], 5
jbe 0x445f8f
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x138], 4
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x134], 4
lea edx, [ebp - 0x120]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x445f8f
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x138]
push edx
push 0
push str.EnableLUA
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x445f82
cmp dword [ebp - 0x124], 1
jne 0x445f6c
mov dword [ebp - 0x128], 1
jmp 0x445f76
mov dword [ebp - 0x128], 0
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret
Function at 0x4461c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44627f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44627f
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x44622d
push 9
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [ebp + 0xc], 0
je 0x44627b
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jle 0x44627b
mov dword [ebp - 0x14], 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x446284
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x446ab0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fa25
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x47e014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x446af8
xor eax, eax
xor edx, edx
jmp 0x446c5e
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
cmp dword [ebp - 0x1c], 3
jne 0x446b37
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x446b32
mov edx, dword [ebp - 0x50]
sub edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
sbb eax, dword [ebp - 0x54]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
jmp 0x446c58
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00408bf0
mov byte [ebp - 4], 1
push 0x17
push 0
push 0x4715c8
lea ecx, [ebp - 0x18]
call fcn.00408c10
lea ecx, [ebp - 0x14]
call fcn.00408bf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00408ba0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x34]
call fcn.00408700
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00408bd0
push eax
mov ecx, dword [ebp - 0x30]
call fcn.004087c0
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x54]
call ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.004087a0
lea ecx, [ebp - 0x70]
call fcn.00408940
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00408ba0
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [eax + 0x60]
call ecx
lea ecx, [ebp - 0x70]
call fcn.00408960
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00408a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00408a90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00408a90
jmp 0x446c42
mov dword [ebp - 4], 0xffffffff
jmp 0x446c52
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446ff0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x46cd58
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x447021
xor eax, eax
jmp 0x44717b
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004220a8
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x447053
xor eax, eax
jmp 0x44717b
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x447084
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00421ea8
add esp, 4
xor eax, eax
jmp 0x44717b
mov dword [ebp - 0x18], 0x34
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x46cd5c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x447164
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x46cd60
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x447164
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
push str._d._d._d._d
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00421ea8
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4473c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.00427170
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x46ccf0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x108], 2
jne 0x4474eb
cmp dword [ebp - 0x114], 5
jne 0x447442
cmp dword [ebp - 0x110], 0
jne 0x447442
push str.Win2000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4474e9
cmp dword [ebp - 0x114], 5
jne 0x447468
cmp dword [ebp - 0x110], 0
jbe 0x447468
push 0x46cd08
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4474e9
cmp dword [ebp - 0x114], 6
jne 0x44748b
cmp dword [ebp - 0x110], 0
jne 0x44748b
push str.Vista
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4474e9
cmp dword [ebp - 0x114], 6
jne 0x4474ae
cmp dword [ebp - 0x110], 1
jne 0x4474ae
push str.Win7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4474e9
cmp dword [ebp - 0x114], 6
jne 0x4474d1
cmp dword [ebp - 0x110], 2
jb 0x4474d1
push str.Win8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4474e9
cmp dword [ebp - 0x114], 0xa
jne 0x4474e9
push str.Win10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x447536
cmp dword [ebp - 0x108], 1
jne 0x447536
cmp dword [ebp - 0x114], 4
jne 0x447515
cmp dword [ebp - 0x110], 0x5a
jae 0x447515
push 0x46cd40
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x114], 4
jne 0x447536
cmp dword [ebp - 0x110], 0x5a
jb 0x447536
push 0x46cd48
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.004216bd
mov esp, ebp
pop ebp
ret

Function at 0x447550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.00427170
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 0x4475b2
cmp dword [ebp - 0x114], 6
jb 0x4475b2
cmp dword [ebp - 0x110], 2
jb 0x4475b2
mov eax, 1
jmp 0x4475b4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret

Function at 0x4475d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.00427170
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 0x447629
cmp dword [ebp - 0x114], 6
jb 0x447629
mov eax, 1
jmp 0x44762b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret
Function at 0x4476b0
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 0x4476d2
movzx edx, word [ebp - 0x24]
cmp edx, 6
jne 0x4476db
mov eax, 1
jmp 0x4476dd
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4476f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45faa9
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0042ec53
add esp, 4
lea ecx, [ebp - 0x78]
call fcn.004050d0
mov dword [ebp - 4], 0
call fcn.0042ec32
push eax
call fcn.0042ec32
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.NS_08d_05d_05d
lea eax, [ebp - 0x78]
push eax
call fcn.00405820
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x447868
push 0
lea ecx, [ebp - 0x84]
call fcn.0040b380
mov byte [ebp - 4], 1
push 0xf003f
push 0x46ce44
push SysReAllocString
lea ecx, [ebp - 0x84]
call fcn.0040b080
test eax, eax
jne 0x447811
mov dword [ebp - 0x88], 0x1e
push 0x64
push 0
lea ecx, [ebp - 0x74]
push ecx
call fcn.00427170
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x74]
push eax
push 0x46ce68
lea ecx, [ebp - 0x84]
call fcn.0040af10
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x14
jl 0x4477e6
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x1e
jle 0x447803
push 1
lea ecx, [ebp - 0x78]
call fcn.00405110
push eax
push 0x46ce70
lea ecx, [ebp - 0x84]
call fcn.0040b120
jmp 0x44780f
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
call fcn.00405230
jmp 0x44784e
push 0
push 0
push 0x2001f
push 0
push 0
push 0x46ce78
push SysReAllocString
lea ecx, [ebp - 0x84]
call fcn.0040b250
push 1
lea ecx, [ebp - 0x78]
call fcn.00405110
push eax
push 0x46ce9c
lea ecx, [ebp - 0x84]
call fcn.0040b120
lea ecx, [ebp - 0x84]
call fcn.0040b310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.0040b360
lea ecx, [ebp - 0x78]
call fcn.00405110
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00404fe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret
Function at 0x447990
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x47e014]
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 0x4479b7
xor eax, eax
xor edx, edx
jmp 0x447a4c
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042f7df
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x4479d8
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
jmp 0x447a4c
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 0x447a48
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 0x447a4c
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret
Function at 0x449780
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x47e014]
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.00427170
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 0x4497ef
push str.nslicense.txt
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x449801
push str._nslicense.txt
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x210]
push eax
push 0x46e508
push 0x1f55
call sym.Install_silent.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_silent.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.004216bd
mov esp, ebp
pop ebp
ret
Function at 0x449950
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fd1e
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x47e014]
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.00427170
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.00409490
lea eax, [ebp - 0x21c]
push eax
call sym.Install_silent.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.00409490
lea edx, [ebp - 0x21c]
push edx
call sym.Install_silent.exe_int___cdecl_GetProgramsPath_wchar_t__
add esp, 4
push 0x46e424
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 0x46e428
mov ecx, dword [ebp + 8]
call fcn.00409490
mov ecx, dword [ebp - 0x224]
add ecx, 0xbe8
call fcn.00405110
push eax
push str.myapp
mov ecx, dword [ebp + 8]
call fcn.00409490
call sym.Install_silent.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x449b16
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea edx, [ebp - 0x21c]
push edx
push 0x46e450
mov ecx, dword [ebp + 8]
call fcn.00409490
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x21c]
push ecx
push 0x46e45c
mov ecx, dword [ebp + 8]
call fcn.00409490
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.00405020
mov dword [ebp - 4], 0
push 0x46e46c
push str.__x86_
lea ecx, [ebp - 0x220]
call fcn.00409490
lea ecx, [ebp - 0x220]
call fcn.00405110
push eax
push 0x46e480
mov ecx, dword [ebp + 8]
call fcn.00409490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00404fe0
jmp 0x449b77
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.00409490
lea eax, [ebp - 0x21c]
push eax
push str.sys64
mov ecx, dword [ebp + 8]
call fcn.00409490
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.00409490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret 4
Function at 0x449ba0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fd56
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x47e014]
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 0x449bdb
jmp 0x449c68
mov ecx, dword [ebp - 0x14]
add ecx, 0xbe8
call fcn.00405110
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004050d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xbe8]
push eax
push 0x46e344
lea ecx, [ebp - 0x10]
push ecx
call fcn.00405820
add esp, 0x10
push str._s__S__SILENT__silent__quiet__noreboot__verysilent__sp__norestart__q__qn__SilentInstall
lea ecx, [ebp - 0x18]
call fcn.00405020
mov byte [ebp - 4], 1
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.00405110
push eax
lea ecx, [ebp - 0x10]
call fcn.00405110
push eax
call sym.Install_silent.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.00404fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00404fe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4