joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a35e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1e2b
mov eax, dword fs:[0]
push eax
sub esp, 0x8b4
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 - 4], 0
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
lea ecx, [ebp - 0x8b8]
call fcn.004a7a80
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
call sym.Install_vip.exe_private:_bool___thiscall_CNsLog::isLog_void_
movzx ecx, al
test ecx, ecx
jne 0x4a365a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8b8]
call fcn.004a7ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00418ec0
jmp 0x4a382c
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00412150
movzx edx, al
test edx, edx
je 0x4a3674
mov ecx, dword [ebp + 8]
call sym.Install_vip.exe_private:_bool___thiscall_CNsLog::GetDefLogPath_void_
push 0x4cfdbc
mov ecx, dword [ebp + 8]
add ecx, 0x10
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043c75a
add esp, 8
mov dword [ebp - 0x8ac], eax
cmp dword [ebp - 0x8ac], 0
je 0x4a380e
push 0x800
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.00433560
add esp, 0xc
lea ecx, [ebp + 0x2c]
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp - 0x8b0]
push edx
mov eax, dword [ebp + 0x28]
push eax
push 0x800
lea ecx, [ebp - 0x810]
push ecx
call fcn.004256e0
add esp, 0x10
mov dword [ebp - 0x8b0], 0
lea edx, [ebp - 0x820]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0xfde9
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x8a4]
call fcn.00425660
mov dword [ebp - 0x8bc], eax
mov ecx, dword [ebp - 0x8bc]
mov dword [ebp - 0x8c0], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8c0]
call fcn.00418700
push eax
lea ecx, [ebp - 0x8b4]
call fcn.004192c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8a4]
call fcn.004195d0
lea ecx, [ebp - 0x8a8]
call fcn.004253d0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x8b4]
push edx
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [ebp + 0xc]
call fcn.00418e00
push eax
movzx ecx, word [ebp - 0x814]
push ecx
movzx edx, word [ebp - 0x816]
push edx
movzx eax, word [ebp - 0x818]
push eax
movzx ecx, word [ebp - 0x81a]
push ecx
movzx edx, word [ebp - 0x81e]
push edx
movzx eax, word [ebp - 0x820]
push eax
push str.__d__02d__02d__02d:_02d:_02d___s___d___s_r_n
lea ecx, [ebp - 0x8a8]
push ecx
call fcn.004253f0
add esp, 0x2c
mov edx, dword [ebp - 0x8ac]
push edx
lea ecx, [ebp - 0x8a8]
call fcn.00418700
push eax
call fcn.0043c8d0
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x8a8]
call fcn.00418700
push eax
call fcn.0043c580
add esp, 0x10
mov eax, dword [ebp - 0x8ac]
push eax
call fcn.0043c850
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8a8]
call fcn.004192a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8b4]
call fcn.004192a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8b8]
call fcn.004a7ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00418ec0
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 0x4a5120
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a513e
xor al, al
jmp 0x4a51c8
mov ecx, dword [ebp + 8]
push ecx
call sym.Install_vip.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
add edx, 1
push edx
call fcn.0047a4ed
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.Install_vip.exe_int___cdecl_NsReadFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
test eax, eax
je 0x4a5183
mov byte [ebp - 2], 1
jmp 0x4a5187
mov byte [ebp - 2], 0
mov cl, byte [ebp - 2]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x4a51b3
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], 0
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x14]
call sym.Install_vip.exe_public:_bool___thiscall_CNsStringManager::ParseStrings_unsigned_char_const___int__bool_
mov byte [ebp - 1], al
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0047a4e8
add esp, 4
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 4
Function at 0x4a5be0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x198], ecx
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret
Function at 0x4a6c40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b23c0
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.C:WindowsSystem32MacromedFlashFlash.ocx
lea ecx, [ebp - 0x288]
call fcn.004096a0
mov dword [ebp - 4], 0
push 0x64
push 0
lea eax, [ebp - 0x74]
push eax
call fcn.00433560
add esp, 0xc
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x288]
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_GetFileVer_wchar_t_const___wchar_t__
add esp, 8
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4a6da5
lea eax, [ebp - 0x294]
push eax
push 0x20019
push 0
push 0x4d0390
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x4a6d0d
mov byte [ebp - 0x27d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.00409680
mov al, byte [ebp - 0x27d]
jmp 0x4a6dd2
mov dword [ebp - 0x28c], 0x208
mov ecx, dword [ebp - 0x28c]
push ecx
push 0
lea edx, [ebp - 0x27c]
push edx
call fcn.00433560
add esp, 0xc
mov eax, dword [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x27c]
push ecx
push 0
push 0
push 0x4d032c
mov edx, dword [ebp - 0x294]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x284]
call fcn.004096a0
mov byte [ebp - 4], 1
push 0x4d0408
push 0x4d038c
lea ecx, [ebp - 0x284]
call fcn.0040d470
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x284]
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_GetFileVer_wchar_t_const___wchar_t__
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00409680
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp - 0x27e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.00409680
mov al, byte [ebp - 0x27e]
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 0x4a6df0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x70]
push eax
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4a6e2e
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4a6eb7
mov dword [ebp - 0x74], 0x64
mov edx, dword [ebp - 0x74]
push edx
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.00433560
add esp, 0xc
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x68]
push edx
push 0
push 0
push 0x4d02b8
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4a6e9d
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x68]
push edx
push 0
push 0
push str.Version
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4a6e9d
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4a6eb7
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x68]
push eax
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
Function at 0x4a71e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2447
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
jne 0x4a722d
xor eax, eax
xor edx, edx
jmp 0x4a73f5
xorps xmm0, xmm0
movlpd qword [ebp - 0x278], xmm0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x264], 0x22c
push 0x228
push 0
lea eax, [ebp - 0x260]
push eax
call fcn.00433560
add esp, 0xc
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4a7283
mov byte [ebp - 0x265], 1
jmp 0x4a728a
mov byte [ebp - 0x265], 0
mov al, byte [ebp - 0x265]
mov byte [ebp - 0x267], al
jmp 0x4a72cc
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x4a72b9
mov byte [ebp - 0x266], 1
jmp 0x4a72c0
mov byte [ebp - 0x266], 0
mov al, byte [ebp - 0x266]
mov byte [ebp - 0x267], al
movzx ecx, byte [ebp - 0x267]
test ecx, ecx
je 0x4a73dc
lea edx, [ebp - 0x240]
push edx
lea ecx, [ebp - 0x26c]
call fcn.004096a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.0040d410
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x26c]
call fcn.0040ed80
test eax, eax
jne 0x4a73c5
mov ecx, dword [ebp - 0x25c]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x27c], eax
push 0x28
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x27c]
push eax
call dword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x280], edx
mov eax, dword [ebp - 0x274]
cmp eax, dword [ebp - 0x280]
jg 0x4a73c5
jl 0x4a7374
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [ebp - 0x284]
jae 0x4a73c5
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x274], eax
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
jne 0x4a73c5
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x28c], edx
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x288], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.00409680
mov eax, dword [ebp - 0x28c]
mov edx, dword [ebp - 0x288]
jmp 0x4a73f5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.00409680
jmp 0x4a7298
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x278]
mov edx, dword [ebp - 0x274]
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 0x4a7410
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2477
mov eax, dword fs:[0]
push eax
sub esp, 0x54
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 - 0x50], 0x40
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x4a7454
xor al, al
jmp 0x4a74ee
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
sbb edx, dword [ebp - 0x3c]
push 0
push 0x64
push edx
push ecx
call fcn.0047a940
mov ecx, eax
call fcn.0047b010
cvtsd2ss xmm0, xmm0
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
movss dword [ebp - 0x5c], xmm0
call fcn.0047b010
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebp - 0x5c]
divss xmm1, xmm0
movss dword [ebp - 0x60], xmm1
lea ecx, [ebp - 0x58]
call fcn.004097c0
mov dword [ebp - 4], 0
cvtss2sd xmm0, dword [ebp - 0x60]
sub esp, 8
movsd qword [esp], xmm0
push str._.0f__
lea eax, [ebp - 0x58]
push eax
call fcn.00409d70
add esp, 0x10
lea ecx, [ebp - 0x58]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp - 0x51], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00409680
mov al, byte [ebp - 0x51]
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 0x4a77b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x808], 0x400
mov eax, dword [ebp - 0x808]
shl eax, 1
push eax
push 0
lea ecx, [ebp - 0x804]
push ecx
call fcn.00433560
add esp, 0xc
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4a7803
xor al, al
jmp 0x4a7816
lea ecx, [ebp - 0x804]
push ecx
mov edx, dword [ebp + 8]
push edx
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
Function at 0x4a7c10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 1
shl eax, 3
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call sym.Install_vip.exe_public:_static_bool___cdecl_CNsEncrypt::EasyEncode_unsigned_char___unsigned_int__unsigned_char_
add esp, 0xc
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x14], 0x12
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x14], 0xa0
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x14], 0xab
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x14], 0x52
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x14], 0x24
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0x14], 0x3c
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x14], 0x5a
mov edx, 1
imul eax, edx, 7
mov byte [ebp + eax - 0x14], 0x1c
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x14], 0x3f
mov edx, 1
imul eax, edx, 9
mov byte [ebp + eax - 0x14], 0x1f
mov ecx, 1
imul edx, ecx, 0xa
mov byte [ebp + edx - 0x14], 0x44
mov eax, 1
imul ecx, eax, 0xb
mov byte [ebp + ecx - 0x14], 0x32
mov edx, 1
imul eax, edx, 0xc
mov byte [ebp + eax - 0x14], 0x48
mov ecx, 1
imul edx, ecx, 0xd
mov byte [ebp + edx - 0x14], 0x4f
mov eax, 1
imul ecx, eax, 0xe
mov byte [ebp + ecx - 0x14], 0x5a
mov edx, 1
imul eax, edx, 0xf
mov byte [ebp + eax - 0x14], 0x8a
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.Install_vip.exe_public:_static_bool___cdecl_CNsEncrypt::AesDecode_unsigned_char_const___unsigned_char___unsigned_char_const___unsigned_char___unsigned_int___unsigned_int_
add esp, 0x18
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret
Function at 0x4a7d50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x14], 0x12
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x14], 0xa0
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x14], 0xab
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x14], 0x52
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x14], 0x24
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0x14], 0x3c
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x14], 0x5a
mov edx, 1
imul eax, edx, 7
mov byte [ebp + eax - 0x14], 0x1c
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x14], 0x3f
mov edx, 1
imul eax, edx, 9
mov byte [ebp + eax - 0x14], 0x1f
mov ecx, 1
imul edx, ecx, 0xa
mov byte [ebp + edx - 0x14], 0x44
mov eax, 1
imul ecx, eax, 0xb
mov byte [ebp + ecx - 0x14], 0x32
mov edx, 1
imul eax, edx, 0xc
mov byte [ebp + eax - 0x14], 0x48
mov ecx, 1
imul edx, ecx, 0xd
mov byte [ebp + edx - 0x14], 0x4f
mov eax, 1
imul ecx, eax, 0xe
mov byte [ebp + ecx - 0x14], 0x5a
mov edx, 1
imul eax, edx, 0xf
mov byte [ebp + eax - 0x14], 0x8a
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.Install_vip.exe_public:_static_bool___cdecl_CNsEncrypt::AesEncode_unsigned_char_const___unsigned_char___unsigned_char_const___unsigned_char___unsigned_int___unsigned_int_
add esp, 0x18
mov byte [ebp - 0x15], al
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
jne 0x4a7e5e
xor al, al
jmp 0x4a7e82
mov edx, 1
shl edx, 3
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call sym.Install_vip.exe_public:_static_bool___cdecl_CNsEncrypt::EasyEncode_unsigned_char___unsigned_int__unsigned_char_
add esp, 0xc
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret
Function at 0x4a9650
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
lea eax, [ebp - 0x210]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a9697
xor eax, eax
jmp 0x4a9756
cmp dword [ebp + 0xc], 0
je 0x4a9733
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00433560
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x4a96d3
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x4a96e4
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4a9731
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4a9756
jmp 0x4a9744
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a9790
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
push 0x26c
call fcn.0042ef2b
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x25c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x260], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x264], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 0x268], eax
mov ecx, dword [ebp - 8]
mov dword [ecx], 0
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push sym.Install_vip.exe_public:_static_unsigned_long_int___stdcall_CNsReg::MonitorThread_void__
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a982d
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4a9b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x214], 0xf003f
cmp dword [ebp + 0x14], 0
je 0x4a9b56
mov eax, dword [ebp - 0x214]
or eax, 0x100
mov dword [ebp - 0x214], eax
jmp 0x4a9b71
call sym.Install_vip.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x4a9b71
mov ecx, dword [ebp - 0x214]
or ecx, 0x200
mov dword [ebp - 0x214], ecx
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x214]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a9c11
mov dword [ebp - 0x21c], 0x104
push 0x20a
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00433560
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x220]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a9c04
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x4a9c13
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret 0x14