joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425ea8
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf0414f14
jmp fcn.00425f43
pushfd
lea esp, [esp + 2]
mov dword [esp + 4], eax
jmp 0x425ee8
lea esp, [esp]
mov byte [esp], bh
mov byte [esp], bh
mov byte [esp], ch
push si
mov dword [esp + 4], ecx
call fcn.00425ea8
or dword [eax + reloc.mscoree.dll__CorExeMain], ebp
dec edi
mov word [esp + 1], bp
mov dword [esp], edx
jmp 0x425e5c
lea esp, [esp + 1]
and al, 1
lea esp, [esp + 3]
mov dword [esp], edx
call 0x425ec0
in al, dx
inc esi
jno 0x425f17
jae 0x425e94
jmp 0x425e92
call fcn.00430b97
add byte [eax + ebp*8 + 0x7e], dh
sbb eax, ebp
pop ecx
lcall 0x34b9, 0xffc9505
daa
dec esi
fnstcw word [eax]
push ebp
pop dword [esp]
mov dword [esp], ebx
call 0x425eaa
cmp ebx, dword [edi + reloc.mscoree.dll__CorExeMain]
jb 0x425f41
jl 0x425f25
salc
mov word [esp + 1], bp
mov dword [esp], edx
pushfd
lea esp, [esp + 2]
mov dword [esp + 4], eax
push dx
jmp 0x425e6a
mov dword [esp + 0x18], edi
lea esp, [esp + 0x18]
jmp 0x425f3d
sbb byte [ebp - 0x14e7db9c], cl
sbb bl, ch
pop ds
je 0x425f1b
imul ecx, dword [esi], reloc.mscoree.dll__CorExeMain
dec ecx
pop esi
test eax, 0x3d826bc8
push eax
lea esp, [esp + 3]
lea esp, [esp + 1]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
jmp 0x425f14
pushfd
jmp 0x425a2e
invalid

Function at 0x425eaa
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf0414f14
jmp fcn.00425f43
pushfd
lea esp, [esp + 2]
mov dword [esp + 4], eax
jmp 0x425ee8
lea esp, [esp]
mov byte [esp], bh
mov byte [esp], bh
mov byte [esp], ch
push si
mov dword [esp + 4], ecx
call fcn.00425ea8
or dword [eax + reloc.mscoree.dll__CorExeMain], ebp
dec edi
mov word [esp + 1], bp
mov dword [esp], edx
jmp 0x425e5c
lea esp, [esp + 1]
and al, 1
lea esp, [esp + 3]
mov dword [esp], edx
call 0x425ec0
in al, dx
inc esi
jno 0x425f17
jae 0x425e94
jmp 0x425e92
call fcn.00430b97
add byte [eax + ebp*8 + 0x7e], dh
sbb eax, ebp
pop ecx
lcall 0x34b9, 0xffc9505
daa
dec esi
fnstcw word [eax]
push ebp
pop dword [esp]
mov dword [esp], ebx
call 0x425eaa
cmp ebx, dword [edi + reloc.mscoree.dll__CorExeMain]
jb 0x425f41
jl 0x425f25
salc
mov word [esp + 1], bp
mov dword [esp], edx
pushfd
lea esp, [esp + 2]
mov dword [esp + 4], eax
push dx
jmp 0x425e6a
mov dword [esp + 0x18], edi
lea esp, [esp + 0x18]
jmp 0x425f3d
sbb byte [ebp - 0x14e7db9c], cl
sbb bl, ch
pop ds
je 0x425f1b
imul ecx, dword [esi], reloc.mscoree.dll__CorExeMain
dec ecx
pop esi
test eax, 0x3d826bc8
push eax
lea esp, [esp + 3]
lea esp, [esp + 1]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
jmp 0x425f14
pushfd
jmp 0x425a2e
invalid
Function at 0x425ec0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf0414f14
jmp fcn.00425f43
pushfd
lea esp, [esp + 2]
mov dword [esp + 4], eax
jmp 0x425ee8
lea esp, [esp]
mov byte [esp], bh
mov byte [esp], bh
mov byte [esp], ch
push si
mov dword [esp + 4], ecx
call fcn.00425ea8
or dword [eax + reloc.mscoree.dll__CorExeMain], ebp
dec edi
mov word [esp + 1], bp
mov dword [esp], edx
jmp 0x425e5c
lea esp, [esp + 1]
and al, 1
lea esp, [esp + 3]
mov dword [esp], edx
call 0x425ec0
in al, dx
inc esi
jno 0x425f17
jae 0x425e94
jmp 0x425e92
call fcn.00430b97
add byte [eax + ebp*8 + 0x7e], dh
sbb eax, ebp
pop ecx
lcall 0x34b9, 0xffc9505
daa
dec esi
fnstcw word [eax]
push ebp
pop dword [esp]
mov dword [esp], ebx
call 0x425eaa
cmp ebx, dword [edi + reloc.mscoree.dll__CorExeMain]
jb 0x425f41
jl 0x425f25
salc
mov word [esp + 1], bp
mov dword [esp], edx
pushfd
lea esp, [esp + 2]
mov dword [esp + 4], eax
push dx
jmp 0x425e6a
mov dword [esp + 0x18], edi
lea esp, [esp + 0x18]
jmp 0x425f3d
sbb byte [ebp - 0x14e7db9c], cl
sbb bl, ch
pop ds
je 0x425f1b
imul ecx, dword [esi], reloc.mscoree.dll__CorExeMain
dec ecx
pop esi
test eax, 0x3d826bc8
push eax
lea esp, [esp + 3]
lea esp, [esp + 1]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
jmp 0x425f14
pushfd
jmp 0x425a2e
invalid

Function at 0x42c836
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x42c870
push word [esp + 2]
jae 0x42c820
pushal
lea esp, [esp + 2]
jmp 0x42c875
pushal
lea esp, [esp + 2]
and dl, 0xfc
jmp 0x42c85a

Function at 0x42c9a1
Capabilities:
Execute anti-debugging instructions

Disassembly:
add byte [edi], cl
mov dword [reloc.mscoree.dll__CorExeMain], eax
lds ecx, [edi]
enter 0xfffffffffffffae9, 0
add byte [eax], al
cmp byte [0xd78b9f0c], 0xf
mov dh, 0xa
bsf edx, edi
setle dl
lea ecx, [ecx + 0x19]
mov dh, 0x7c
lea edx, [eax + ecx]
xchg edx, eax
jmp 0x42c9b4
rcr ax, 2
bts edx, ecx
xchg dword [esp], ecx
mov eax, dword [esp]
mov ax, 0x267b
jmp 0x42c980
lea edx, [ebp*4]
push ebx
xchg dword [esp + 4], ecx
call fcn.0042c9de
enter 0xffffffffffffdb4b, 0xffffffffffffffbe
dec ebp
clc
outsb dx, byte [esi]
jns 0x42c951
les eax, [esi]
Function at 0x4633ef
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x463405
lea esp, [esp + 4]
push dword [ebp + 8]
jmp 0x46344c
call fcn.0042fa6a
add cl, ch
cwde
xchg bh, bh
inc edi
add al, 0x24
push edi
pop es
cmp byte [ecx - 0x18], dh
jp 0x4634b0
cld
invalid
jle 0x46351f
lea esp, [esp + 1]
jmp 0x4634ef
xchg edx, ecx
clc
jne 0x4634fa
sub esp, 0x14
call fcn.0046353d
enter 0xfffffffffffff86a, 0xffffffffffffff9f
push 0xffffffffffffffed
or esp, dword [edx + reloc.mscoree.dll__CorExeMain]
add dword [ebx + reloc.mscoree.dll__CorExeMain], eax
mov dword [esp + 0xe], esp
lea esp, [esp + 1]
sub esi, 8
pushal
mov word [esp + 0xe], sp
jmp 0x4634d5
sub esp, 0x14
jmp 0x463503
mov dword [esi], ecx
mov ch, byte [esp]
jmp 0x4635b6
jmp 0x4634eb
lea ecx, [edx*4]
mov dword [esi + 4], eax
xchg cx, ax
jmp 0x46366c
mov ch, byte [esp]
add ecx, esi
jb 0x463591
lea ecx, [edx*4]
call fcn.0046357b
scasb al, byte es:[edi]
mov ch, al
bswap ecx
mov cx, word [esp]
sbb ecx, 0xb56f5e6e
jmp 0x463623
mov ecx, edx
mov ecx, esi
lea ecx, [ebp - 0xe2]
push dword [esp + 4]
ret 8
lea ebp, [ebp - 0x31]
mov cl, 0x82
dec ecx
bswap ecx
xchg dword [esp + 4], ebp
bts ecx, ebx
jmp 0x46360d
mov ax, word [esp]
pushfd
mov eax, dword [esp + 2]
jmp fcn.0042bfb9

Function at 0x4c48a2
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
out 0xbb, al
jle 0x4c1c69
stosd dword es:[edi], eax
cmpsb byte [esi], byte es:[edi]
ret 0xb4fe
sbb esi, esp
push 0x64
sbb dl, byte [edi + 0x7c]
inc dword [eax + 0x40c010]
pushfd
call fcn.004c1c70
add eax, 0xe9cea7b4
into
add eax, dword [eax]
add byte [ebp - 1], bh
outsd dx, dword [esi]
or bh, cl
jmp 0x2192ecfa
jmp 0x4c2069
call 0x4c206e
jmp 0x4c2dac
cmp dword [eax + reloc.mscoree.dll__CorExeMain], 0
jmp 0x4c2df8
pop eax
sub eax, 0x4c206e
jmp 0x4c2d96
popal
jmp 0x4c1c4b
je 0x4c1c86
lea esp, [esp + 8]
jmp 0x4c2de2
call 0x4c4080
jmp 0x4c4908
push word [esp + 0x1a]
pop dword [esp + 0xf]
pop dword [esp + 2]
jmp 0x4c4950
mov eax, dword [eax]
jmp 0x4c491e
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x4c48e4
pop eax
jmp 0x4c4927
mov eax, dword [eax + 8]
push eax
jmp 0x4c407b
sub eax, 0xc4080
push eax
jmp 0x4c1c96
push dword [esp + 0x14]
pop word [esp + 2]
push word [esp + 9]
lea esp, [esp + 2]
mov dword [esp + 0x20], edi
lea esp, [esp + 0x20]
jmp 0x4c48fa
Function at 0x1001c540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1001c54f
pop dword [ebp - 0x34]
mov eax, 0x1001c54f
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x3c989e72
sub dword [ebp - 0x44], 0xee465927
mov dword [ebp - 0x40], 0x51356fa6
sub dword [ebp - 0x40], 0x1f022361
mov dword [ebp - 0x3c], 0x845c2ddb
add dword [ebp - 0x3c], 0xc7f01653
mov dword [ebp - 0x38], 0x3f6bdb2f
sub dword [ebp - 0x38], 0x3f6bdb2f
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x7bc54a78
add dword [ebp - 0x44], 0xf8ad1ede
mov dword [ebp - 0x40], 0xe49e4284
sub dword [ebp - 0x40], 0xa331e10f
mov dword [ebp - 0x3c], 0x690123d
sub dword [ebp - 0x3c], 0xa320a5d1
mov dword [ebp - 0x38], 0x89baeacb
add dword [ebp - 0x38], 0x76451535
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x31269a8d
sub eax, 0x2124aa49
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x387ad
push 0
call eax
mov ecx, 0x4621
mov esi, eax
mov edi, 0x8cd2a6df
add edi, 0x83304b21
add edi, dword [ebp - 0x34]
mov ebx, 0x561ae759
sub dword [ebp - 0x28], 0x160311e3
mov edx, dword [edi]
sub dword [ebp - 8], 0x48cc599a
xor edx, ebx
sub dword [ebp - 0x1c], eax
mov dword [esi], edx
add esi, 0xf4d855d8
sub esi, 0xf4d855d4
add edi, 0xde7c4917
sub edi, 0xde7c4913
loop 0x1001c65b
add eax, 0x10b57
xor ebx, ebx
add ebx, eax
add eax, 0xd390f731
sub eax, 0xd390f72c
mov ecx, 0xea82ac27
sub ecx, 0xda82ac27
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x1001e4ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10029008]
jne 0x1001e4f4
repz ret
jmp fcn.1001ea43

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40177f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x43fee0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x22c]
push eax
push 0x20019
mov edi, ecx
xor ebx, ebx
push ebx
push dword [edi + 0x10]
mov dword [ebp - 0x238], edi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401936
mov esi, 0x103
push esi
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x10f]
push ebx
push eax
mov dword [ebp - 0x21c], 0x104
mov byte [ebp - 0x110], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x228]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push dword [ebp - 0x22c]
mov dword [ebp - 0x220], 0x104
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x401932
jmp 0x401856
mov edi, dword [ebp - 0x238]
cmp dword [ebp - 0x228], 4
jne 0x4018dd
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
cmp eax, ebx
pop ecx
jge 0x4018dd
neg eax
mov dword [ebp - 0x230], eax
movzx eax, byte [ebp - 0x110]
call fcn.004086af
cmp dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], eax
je 0x4018dd
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x240]
lea ebx, [edi + 4]
push eax
call fcn.00401e2b
mov eax, dword [ebx + 4]
lea edi, [ebp - 0x248]
lea esi, [ebp - 0x240]
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], ebx
call fcn.00406fa2
test al, al
jne 0x4018db
call fcn.00401ead
mov ecx, dword [ebp - 0x234]
mov dword [eax + 4], ecx
xor ebx, ebx
inc dword [ebp - 0x224]
mov eax, 0x104
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x228]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x401850
mov al, 1
jmp 0x401938
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422a47
leave
ret
Function at 0x406caf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x43fee0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [ebp - 0x22c]
push ecx
push 0x20019
xor ebx, ebx
push ebx
push dword [eax + 0x10]
mov dword [ebp - 0x234], eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406e00
mov edi, 0x103
push edi
lea eax, [ebp - 0x21b]
push ebx
push eax
mov dword [ebp - 0x220], ebx
mov byte [ebp - 0x21c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x113]
push ebx
lea esi, [edi + 1]
push eax
mov dword [ebp - 0x228], esi
mov byte [ebp - 0x114], bl
call sub.MSVCR80.dll_memset
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x230]
push eax
push ebx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x230], ebx
push ebx
jmp 0x406de6
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
cmp eax, ebx
pop ecx
jle 0x406db0
mov dword [ebp - 0x23c], eax
movzx eax, byte [ebp - 0x114]
call fcn.004086af
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x23c]
push eax
mov eax, dword [ebp - 0x234]
add eax, 4
push eax
lea ebx, [ebp - 0x248]
call fcn.00406e96
xor ebx, ebx
inc dword [ebp - 0x220]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x230]
push eax
push ebx
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
mov dword [ebp - 0x228], esi
push dword [ebp - 0x22c]
mov dword [ebp - 0x224], esi
call edi
test eax, eax
je 0x406d68
mov al, 1
jmp 0x406e02
xor al, al
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422a47
leave
ret 4

Function at 0x407dc8
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0xf003f
push 0
push 0
mov dword [ebx], 2
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
mov dword [ebp - 4], eax
jne 0x407dec
leave
ret
push esi
push edi
push 0xf01ff
push str.NeroSVC
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
jne 0x407e1b
xor eax, eax
inc eax
mov dword [ebx], eax
mov edi, eax
push dword [ebp - 4]
call esi
mov eax, edi
jmp 0x407e49
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
push edi
jne 0x407e31
call esi
xor edi, edi
jmp 0x407e12
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 4]
call esi
xor eax, eax
inc eax
cmp dword [ebp - 0x1c], eax
jne 0x407e49
and dword [ebx], 0
pop edi
pop esi
leave
ret
Function at 0x407eb4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 8]
push eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SOFTWAREAheadNero_BurnRights
push SysReAllocStringLen
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x407f1c
push edi
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push esi
push str.FirstStartDone
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, esi
sete al
pop edi
jmp 0x407f27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
leave
ret
Function at 0x408779
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [esi + 0x20]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x408815
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.QueryCurrentNeroGroup
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
push str.GrantDriveAccess
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x20]
push str.GrantClassAccess
push eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x20]
push str.RemoveGroupACEfromDrives
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
push str.SecurityCleanup
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x20]
push str.RemoveCoinstaller
push eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x20]
push str.AddString
push eax
call edi
cmp dword [esi + 4], ebx
mov dword [esi + 0x1c], eax
pop edi
je 0x408815
cmp dword [esi + 8], ebx
je 0x408815
cmp dword [esi + 0xc], ebx
je 0x408815
cmp dword [esi + 0x10], ebx
je 0x408815
cmp dword [esi + 0x14], ebx
je 0x408815
cmp dword [esi + 0x18], ebx
je 0x408815
cmp eax, ebx
je 0x408815
xor eax, eax
inc eax
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x408b86
Capabilities:
List user account groups

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push edi
push edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
call sub.NETAPI32.dll_NetLocalGroupEnum
test eax, eax
je 0x408bc3
push 0xffffffffffffffff
push 0x30
push 3
call sub.MFC80.DLL_Ordinal_1122
xor eax, eax
jmp 0x408c13
mov esi, dword [ebp - 4]
mov dword [ebp - 8], edi
xor ebx, ebx
cmp ebx, dword [ebp - 0xc]
jae 0x408c08
push dword [esi]
lea eax, [ebp - 0x10]
push eax
call fcn.004091b9
mov eax, dword [ebp + 8]
pop ecx
pop ecx
push dword [eax]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_1486]
test eax, eax
jne 0x408bf6
mov dword [ebp - 8], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
inc ebx
add esi, 4
cmp dword [ebp - 8], edi
je 0x408bcb
push dword [ebp - 4]
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408c18
Capabilities:
Add user account group

Disassembly:
push 0x30
mov eax, 0x42a196
call fcn.00422efe
xor esi, esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x3c]
call fcn.0040926e
pop ecx
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
push 0xa
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80.DLL_Ordinal_4035]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 2
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
call fcn.0040926e
pop ecx
push esi
lea ecx, [ebp - 0x3c]
call fcn.00409be6
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
call fcn.00409be6
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
push esi
mov dword [ebp - 0x14], esi
call sub.NETAPI32.dll_NetLocalGroupAdd
xor ecx, ecx
cmp eax, esi
sete cl
mov byte [ebp - 4], 1
mov esi, ecx
lea ecx, [ebp - 0x2c]
call fcn.00409da7
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00409da7
mov eax, esi
call fcn.00422fd6
ret

Function at 0x408dc4
Capabilities:
Shutdown system

Disassembly:
push 0x2c
mov eax, 0x429822
call fcn.00422f31
call fcn.0040ab0d
xor esi, esi
test eax, eax
je 0x408e76
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x408e0d
mov dword [ebp - 0x18], esi
push 0x4379f4
lea eax, [ebp - 0x18]
push eax
call sub.MSVCR80.dll__CxxThrowException
lea eax, [ebp - 0x28]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x408e2e
mov dword [ebp - 0x1c], esi
push 0x4379f4
lea eax, [ebp - 0x1c]
jmp 0x408e07
mov eax, dword [ebp - 0x28]
push esi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
push esi
push esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x408e76
mov dword [ebp - 0x20], esi
push 0x4379f4
lea eax, [ebp - 0x20]
jmp 0x408e07
push esi
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00422fd6
ret
Function at 0x408e8b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x42a162
call fcn.00422efe
lea eax, [ebp - 0x14]
push eax
push 0x20019
xor edi, edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x408ec0
xor eax, eax
call fcn.00422fd6
ret
mov eax, 0x400
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], eax
call fcn.00409c11
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.00409c57
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x14]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
mov dword [ebp - 0x14], edi
je 0x408f15
cmp dword [ebp - 0x18], 1
je 0x408f25
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00409df9
mov eax, esi
jmp 0x408eba
push edi
lea ecx, [ebp - 0x2c]
call fcn.00409c57
mov ecx, dword [ebp + 0x10]
push eax
call dword [sym.imp.MFC80.DLL_Ordinal_784]
jmp 0x408f15

Function at 0x408f3a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x408f63
xor eax, eax
leave
ret
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp - 0xc], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x408fa6
cmp dword [ebp - 8], 4
je 0x408fa6
xor eax, eax
jmp 0x408fa8
mov eax, esi
pop esi
leave
ret