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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b159b
mov eax, dword fs:[0]
push eax
sub esp, 0x8b4
mov eax, dword [0x4ea00c]
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.004a7370
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
call sym.Install_rocket.exe_private:_bool___thiscall_CNsLog::isLog_void_
movzx ecx, al
test ecx, ecx
jne 0x4a2f4a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8b8]
call fcn.004a73a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004185a0
jmp 0x4a311c
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.004116c0
movzx edx, al
test edx, edx
je 0x4a2f64
mov ecx, dword [ebp + 8]
call sym.Install_rocket.exe_private:_bool___thiscall_CNsLog::GetDefLogPath_void_
push 0x4cfd9c
mov ecx, dword [ebp + 8]
add ecx, 0x10
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043c019
add esp, 8
mov dword [ebp - 0x8ac], eax
cmp dword [ebp - 0x8ac], 0
je 0x4a30fe
push 0x800
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.00432e20
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.00424fa0
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.00424f20
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.00417de0
push eax
lea ecx, [ebp - 0x8b4]
call fcn.004189a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8a4]
call fcn.00418e80
lea ecx, [ebp - 0x8a8]
call fcn.00424c90
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.004184e0
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.00424cb0
add esp, 0x2c
mov edx, dword [ebp - 0x8ac]
push edx
lea ecx, [ebp - 0x8a8]
call fcn.00417de0
push eax
call fcn.0043c190
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x8a8]
call fcn.00417de0
push eax
call fcn.0043be3f
add esp, 0x10
mov eax, dword [ebp - 0x8ac]
push eax
call fcn.0043c10f
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8a8]
call fcn.00418980
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8b4]
call fcn.00418980
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8b8]
call fcn.004a73a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004185a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e29e
mov esp, ebp
pop ebp
ret
Function at 0x4a4a10
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 0x4a4a2e
xor al, al
jmp 0x4a4ab8
mov ecx, dword [ebp + 8]
push ecx
call sym.Install_rocket.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.00479dbd
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_rocket.exe_int___cdecl_NsReadFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
test eax, eax
je 0x4a4a73
mov byte [ebp - 2], 1
jmp 0x4a4a77
mov byte [ebp - 2], 0
mov cl, byte [ebp - 2]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x4a4aa3
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_rocket.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.00479db8
add esp, 4
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 4
Function at 0x4a54d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x4ea00c]
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.0042e29e
mov esp, ebp
pop ebp
ret
Function at 0x4a6530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1b30
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x4ea00c]
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.00432e20
add esp, 0xc
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x288]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_rocket.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 0x4a6695
lea eax, [ebp - 0x294]
push eax
push 0x20019
push 0
push 0x4d0370
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x4a65fd
mov byte [ebp - 0x27d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.00409680
mov al, byte [ebp - 0x27d]
jmp 0x4a66c2
mov dword [ebp - 0x28c], 0x208
mov ecx, dword [ebp - 0x28c]
push ecx
push 0
lea edx, [ebp - 0x27c]
push edx
call fcn.00432e20
add esp, 0xc
mov eax, dword [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x27c]
push ecx
push 0
push 0
push 0x4d030c
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 0x4d03e8
push 0x4d036c
lea ecx, [ebp - 0x284]
call fcn.00418c00
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x284]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_rocket.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.0042e29e
mov esp, ebp
pop ebp
ret
Function at 0x4a66e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4ea00c]
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 0x4a671e
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4a67a7
mov dword [ebp - 0x74], 0x64
mov edx, dword [ebp - 0x74]
push edx
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.00432e20
add esp, 0xc
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x68]
push edx
push 0
push 0
push 0x4d0298
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 0x4a678d
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 0x4a678d
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4a67a7
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.0042e29e
mov esp, ebp
pop ebp
ret
Function at 0x4a6ad0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1bb7
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4ea00c]
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 0x4a6b1d
xor eax, eax
xor edx, edx
jmp 0x4a6ce5
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.00432e20
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 0x4a6b73
mov byte [ebp - 0x265], 1
jmp 0x4a6b7a
mov byte [ebp - 0x265], 0
mov al, byte [ebp - 0x265]
mov byte [ebp - 0x267], al
jmp 0x4a6bbc
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x4a6ba9
mov byte [ebp - 0x266], 1
jmp 0x4a6bb0
mov byte [ebp - 0x266], 0
mov al, byte [ebp - 0x266]
mov byte [ebp - 0x267], al
movzx ecx, byte [ebp - 0x267]
test ecx, ecx
je 0x4a6ccc
lea edx, [ebp - 0x240]
push edx
lea ecx, [ebp - 0x26c]
call fcn.004096a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.0040dd70
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x26c]
call fcn.0040ddd0
test eax, eax
jne 0x4a6cb5
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 0x4a6cb5
jl 0x4a6c64
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [ebp - 0x284]
jae 0x4a6cb5
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 0x4a6cb5
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 0x4a6ce5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.00409680
jmp 0x4a6b88
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.0042e29e
mov esp, ebp
pop ebp
ret
Function at 0x4a6d00
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1be7
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4ea00c]
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 0x4a6d44
xor al, al
jmp 0x4a6dde
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.0047a210
mov ecx, eax
call fcn.0047a8e0
cvtsd2ss xmm0, xmm0
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
movss dword [ebp - 0x5c], xmm0
call fcn.0047a8e0
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_rocket.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.0042e29e
mov esp, ebp
pop ebp
ret

Function at 0x4a70a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4ea00c]
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.00432e20
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 0x4a70f3
xor al, al
jmp 0x4a7106
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.0042e29e
mov esp, ebp
pop ebp
ret
Function at 0x4a7500
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4ea00c]
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_rocket.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_rocket.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.0042e29e
mov esp, ebp
pop ebp
ret
Function at 0x4a7640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4ea00c]
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_rocket.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 0x4a774e
xor al, al
jmp 0x4a7772
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_rocket.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.0042e29e
mov esp, ebp
pop ebp
ret
Function at 0x4a8f40
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ea00c]
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 0x4a8f87
xor eax, eax
jmp 0x4a9046
cmp dword [ebp + 0xc], 0
je 0x4a9023
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00432e20
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x4a8fc3
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x4a8fd4
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 0x4a9021
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4a9046
jmp 0x4a9034
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.0042e29e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a9080
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
push 0x26c
call fcn.0042e7eb
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_rocket.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 0x4a911d
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4a9400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4ea00c]
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 0x4a9446
mov eax, dword [ebp - 0x214]
or eax, 0x100
mov dword [ebp - 0x214], eax
jmp 0x4a9461
call sym.Install_rocket.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x4a9461
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 0x4a9501
mov dword [ebp - 0x21c], 0x104
push 0x20a
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00432e20
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 0x4a94f4
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 0x4a9503
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.0042e29e
mov esp, ebp
pop ebp
ret 0x14