joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40494c
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
je 0x404969
cmp dword [ebp + 0x14], 0
jne 0x404969
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x40496c
push 1
pop eax
pop ebp
ret

Function at 0x4051c6
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov dword [ebp - 0x264], ecx
mov eax, dword [ebp - 0x264]
add eax, 0xa
push eax
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax]
call fcn.0040611f
mov eax, dword [ebp - 0x264]
add eax, 0xa
push eax
push str.CdirContents::CdirContents_for___s
call sym.NPROTECT.EXE_int___cdecl_dprintf_char__
pop ecx
pop ecx
mov eax, dword [ebp - 0x264]
and word [eax + 4], 0
mov eax, dword [ebp - 0x264]
and dword [eax + 6], 0
mov eax, dword [ebp - 0x264]
add eax, 0xa
push eax
push 0x41c2bc
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40537a
mov dword [ebp - 0x258], 1
cmp dword [ebp - 0x258], 0
je 0x405371
mov eax, dword [ebp - 0x250]
and eax, 0x10
test eax, eax
jne 0x405356
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.004050f9
pop ecx
pop ecx
test eax, eax
je 0x405356
push 0xc
call fcn.0040e453
pop ecx
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4052c9
mov ecx, dword [ebp - 0x264]
call fcn.0040537c
jmp 0x405371
mov eax, dword [ebp - 0x264]
cmp dword [eax + 6], 0
jne 0x4052ef
mov eax, dword [ebp - 8]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x254]
mov dword [eax + 6], ecx
jmp 0x405304
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 8]
and dword [eax + 8], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x25c]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
add eax, 4
push eax
lea eax, [ebp - 0x224]
push eax
call dword [0x4205c0]
mov eax, dword [ebp - 8]
add eax, 4
push eax
mov eax, dword [ebp - 8]
add eax, 4
push eax
call dword [sym.imp.USER32.dll_CharToOemA]
mov eax, dword [ebp - 0x264]
mov ax, word [eax + 4]
add ax, 1
mov ecx, dword [ebp - 0x264]
mov word [ecx + 4], ax
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x258], eax
jmp 0x405261
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
leave
ret
Function at 0x4066c5
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4066fd
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x4066fd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x4077a5
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1d]
add eax, 0x1c
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
imul eax, eax, 0x1af
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x22c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40780f
mov eax, dword [ebp - 0xc]
add eax, 0x157
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x234
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x40780d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x230]
dec eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x230], eax
jmp 0x407822
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x230]
dec eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x230], eax
mov eax, dword [ebp - 0xc]
mov ax, word [eax]
mov word [ebp - 8], ax
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 2]
mov word [ebp - 0x10], ax
movzx eax, word [ebp - 8]
cmp eax, 0xffff
je 0x407858
movzx eax, word [ebp - 8]
imul eax, eax, 0x1af
mov ecx, dword [ebp - 4]
mov dx, word [ebp - 0x10]
mov word [ecx + eax + 2], dx
movzx eax, word [ebp - 0x10]
cmp eax, 0xffff
je 0x407878
movzx eax, word [ebp - 0x10]
imul eax, eax, 0x1af
mov ecx, dword [ebp - 4]
mov dx, word [ebp - 8]
mov word [ecx + eax], dx
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x150]
movzx ecx, word [ebp + 8]
cmp eax, ecx
jne 0x407898
mov eax, dword [ebp - 0x18]
mov cx, word [ebp - 8]
mov word [eax + 0x150], cx
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x152]
movzx ecx, word [ebp + 8]
cmp eax, ecx
jne 0x4078b8
mov eax, dword [ebp - 0x18]
mov cx, word [ebp - 0x10]
mov word [eax + 0x152], cx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov cx, word [ecx + 0x148]
mov word [eax], cx
mov eax, dword [ebp - 0x18]
mov cx, word [ebp + 8]
mov word [eax + 0x148], cx
mov eax, dword [ebp - 0xc]
or byte [eax + 4], 0xff
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x158]
test eax, eax
jle 0x407903
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 0x158]
sub ax, 1
mov ecx, dword [ebp - 0x18]
mov word [ecx + 0x158], ax
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
call fcn.00406c70
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x154], eax
jb 0x40793a
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
call fcn.00406c70
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x154]
sub ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x154], ecx
jmp 0x407944
mov eax, dword [ebp - 0x18]
and dword [eax + 0x154], 0
mov ecx, dword [ebp - 0x18]
call fcn.00406ced
push 1
pop eax
leave
ret 4
Function at 0x407ff2
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x41678d
call fcn.0040e8c4
sub esp, 0x134
mov dword [ebp - 0x13c], ecx
and dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x13c]
mov al, byte [eax]
mov byte [ebp - 0x138], al
push str.Switches
movzx eax, byte [ebp - 0x138]
push eax
push str.SoftwareSymantecNorton_UtilitiesNorton_Protection
push str._sDrive__c:_s
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x18]
push eax
push 1
push 0
lea eax, [ebp - 0x12c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40810a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Integrity
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x408101
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x3e8
mov dword [ebp - 0x1c], eax
push 0x10
call fcn.0040e453
pop ecx
mov dword [ebp - 0x134], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x134], 0
je 0x4080d8
push dword [ebp - 0x1c]
push dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x134]
call fcn.0040846e
mov dword [ebp - 0x140], eax
jmp 0x4080df
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x130], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x130]
mov dword [eax + 0x274], ecx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x408387
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
add eax, 0x234
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x408461
push 0x40
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
add eax, 0x234
push eax
call fcn.0040ea40
add esp, 0xc
mov eax, dword [ebp - 0x14]
and dword [eax + 0x230], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0040605d
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x22c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40844e
and dword [ebp - 4], 0
jmp 0x408401
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, 0x1af
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov ax, word [eax + 0x29]
mov word [ebp - 0x10], ax
movzx eax, word [ebp - 0x10]
cmp dword [ebp - 4], eax
jae 0x40844c
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 4]
cmp eax, 1
jne 0x40844a
mov eax, dword [ebp - 8]
add eax, 0x157
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x40844a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x230]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x230], eax
jmp 0x4083ef
jmp 0x408461
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x158]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x230], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x230]
leave
ret 4
Function at 0x4084c2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
je 0x4084f7
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4084f7
cmp dword [ebp - 4], 0x103
je 0x4084f7
mov eax, dword [ebp - 8]
and dword [eax + 8], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
jne 0x408524
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
push 0
mov eax, dword [ebp - 8]
push dword [eax + 4]
push 0x40853c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
leave
ret

Function at 0x4089c5
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push edi
mov dword [ebp - 0x148], ecx
mov eax, dword [ebp - 0x148]
cmp dword [eax + 0x2d], 0xffffffff
jne 0x4089e6
jmp 0x408b06
call sym.NPROTECT.EXE__NPSystemGetWindowsType_0
cmp eax, 2
jne 0x408a86
mov eax, dword [0x41c8a8]
mov dword [ebp - 0x108], eax
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x104]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x148]
mov al, byte [eax]
mov byte [ebp - 0x108], al
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x408a81
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 0x31]
cmp eax, dword [ebp - 0x110]
jbe 0x408a81
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 0x31]
sub eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0x31], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x31]
mov ecx, dword [ebp - 0x148]
call fcn.0040889a
jmp 0x408b06
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x148]
mov al, byte [eax]
push eax
call sym.NPROTECT.EXE__SmartCanGetDiskFreeSpace_8
test eax, eax
je 0x408b06
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 0x2d]
shl eax, 0xa
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0x2d], eax
mov eax, dword [ebp - 0x148]
push dword [eax + 0x2d]
mov eax, dword [ebp - 0x148]
add eax, 0x15e
push eax
call dword [0x42058c]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
cmp eax, dword [ebp - 0x134]
jbe 0x408b06
mov eax, dword [ebp - 0x144]
sub eax, dword [ebp - 0x134]
mov dword [ebp - 0x144], eax
push dword [ebp - 0x144]
mov ecx, dword [ebp - 0x148]
call fcn.0040889a
pop edi
leave
ret
Function at 0x408c1d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00406512
test eax, eax
jne 0x408c34
xor eax, eax
jmp 0x408c7e
mov eax, dword [ebp - 4]
movsx eax, byte [eax]
push eax
push str.Launching_lazy_write_thread__drive__c:
call sym.NPROTECT.EXE_int___cdecl_dprintf_char__
pop ecx
pop ecx
mov eax, dword [ebp - 4]
add eax, 0x1e8
push eax
push 0
push dword [ebp - 4]
push 0x408c9d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1e4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
cmp dword [eax + 0x1e4], 0
setne cl
mov eax, ecx
leave
ret

Function at 0x408f6e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00406512
test eax, eax
jne 0x408f85
xor eax, eax
jmp 0x408fcf
mov eax, dword [ebp - 4]
movsx eax, byte [eax]
push eax
push str.Launching_Critical_event_thread__drive__c:
call sym.NPROTECT.EXE_int___cdecl_dprintf_char__
pop ecx
pop ecx
mov eax, dword [ebp - 4]
add eax, 0x1f4
push eax
push 0
push dword [ebp - 4]
push 0x408fee
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1f0], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
cmp dword [eax + 0x1f0], 0
setne cl
mov eax, ecx
leave
ret

Function at 0x40960e
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 0x110], ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x409642
xor eax, eax
jmp 0x409735
push 0x104
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x104]
push eax
push 1
push 2
push 0x110
push 0xf01ff
mov eax, dword [ebp - 0x110]
add eax, 0x4c
push eax
mov eax, dword [ebp - 0x110]
add eax, 0xc
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x4096e7
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0
push 0
push 0
mov eax, dword [ebp - 0x110]
add eax, 0xc
push eax
push 1
push 2
push 0
push 1
mov ecx, dword [ebp - 0x110]
add ecx, 0xb8
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0xb8]
call dword [eax + 0x3c]
xor eax, eax
jmp 0x409735
push 0
push 0
push 0
mov eax, dword [ebp - 0x110]
add eax, 0xc
push eax
push 1
push 1
push 0
push 4
mov ecx, dword [ebp - 0x110]
add ecx, 0xb8
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0xb8]
call dword [eax + 0x3c]
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 1
pop eax
leave
ret
Function at 0x409737
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40975f
xor eax, eax
jmp 0x409809
and dword [ebp - 8], 0
push 0x10000
mov eax, dword [ebp - 0x10]
add eax, 0xc
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4097fd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x4097bc
push 0
push 0
push 0
push 0
push 0
push 6
push 0
push 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb8]
call dword [eax + 0x3c]
mov dword [ebp - 8], 1
jmp 0x4097f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteService___error__d
call fcn.0040980b
pop ecx
pop ecx
push 0
push 0
push 0
push 0
push 0
push 7
push 0
push 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb8]
call dword [eax + 0x3c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x409dfc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 2
mov dword [ebp - 8], 1
mov dword [ebp - 4], 3
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push str.SoftwareSymantecNorton_UtilitiesNorton_Protection
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x409e35
mov al, byte [ebp - 0x10]
jmp 0x409e5d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push 0
push str.LastKnownState
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x10]
leave
ret
Function at 0x409e5f
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 4], 1
lea eax, [ebp - 0x11c]
push eax
call fcn.00409c32
pop ecx
test eax, eax
je 0x409e8a
mov eax, 0xffff
jmp 0x409f9f
mov dword [ebp - 0x118], 0x10e
cmp dword [ebp + 8], 0
jne 0x409ea6
mov dword [ebp - 0x120], 0x41747c
jmp 0x409eb0
mov dword [ebp - 0x120], 0x417484
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 0x120]
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x409ef0
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffff
jmp 0x409f9f
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 0x20007
push 0
push 0
push 0
push str.SoftwareSymantecNorton_UtilitiesNorton_UnEraseStateIcons
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x409f32
mov eax, 0xffff
jmp 0x409f9f
cmp dword [ebp + 8], 0
jne 0x409f44
mov dword [ebp - 0x124], str.OriginalEmpty
jmp 0x409f4e
mov dword [ebp - 0x124], str.OriginalFull
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x114]
push eax
push 1
push 0
push dword [ebp - 0x124]
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x409f91
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffff
jmp 0x409f9f
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
leave
ret
Function at 0x409fa1
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 4], 1
call sym.NPROTECT.EXE__NPSystemGetWindowsType_0
cmp eax, 2
je 0x409fc3
push 1
pop eax
jmp 0x40a1c0
lea eax, [ebp - 0x11c]
push eax
push 1
push 0
push str.SOFTWAREClassesCLSID645FF040_5081_101B_9F08_00AA002F954EDefaultIcon
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x409fe9
xor eax, eax
jmp 0x40a1c0
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWAREClassesCLSID645FF040_5081_101B_9F08_00AA002F954EDefaultIcon
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40a028
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40a1c0
mov dword [ebp - 0x120], 0x10e
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x41747c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40a0eb
mov dword [ebp - 0x120], 0x10e
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x41747c
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40a0ab
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40a1c0
push dword [ebp - 0x120]
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 4]
push 0
push 0x41747c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40a0eb
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40a1c0
mov dword [ebp - 0x120], 0x10e
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x417484
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40a1a8
mov dword [ebp - 0x120], 0x10e
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x417484
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40a16b
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40a1c0
push dword [ebp - 0x120]
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 4]
push 0
push 0x417484
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40a1a8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40a1c0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
leave
ret
Function at 0x40a6c4
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
or byte [ebp - 0x10], 0xff
or byte [ebp - 8], 0xff
mov dword [ebp - 4], 3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20007
push 0
push 0
push 0
push str.SoftwareSymantecNorton_UtilitiesNorton_UnEraseStateIcons
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40a70a
push 1
pop eax
jmp 0x40a7da
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push 0
push str.Bits
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 1
lea eax, [ebp + 8]
push eax
push 3
push 0
push str.Bits
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push str.Planes
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 1
lea eax, [ebp + 0xc]
push eax
push 3
push 0
push str.Planes
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [ebp - 0x10]
movzx ecx, byte [ebp + 8]
cmp eax, ecx
jne 0x40a7a1
movzx eax, byte [ebp - 8]
movzx ecx, byte [ebp + 0xc]
cmp eax, ecx
je 0x40a7d8
call fcn.00409d1f
mov byte [ebp - 0x18], al
movzx eax, byte [ebp - 0x18]
cmp eax, 2
jne 0x40a7bb
mov dword [ebp - 0x1c], 1
jmp 0x40a7ca
movzx eax, byte [ebp - 0x18]
dec eax
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.0040a7dc
pop ecx
push 1
pop eax
jmp 0x40a7da
xor eax, eax
leave
ret

Function at 0x40a7dc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x20007
push 0
push str.SoftwareSymantecNorton_UtilitiesNorton_Protection
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40a806
mov eax, 0xffff
jmp 0x40a83d
push 1
lea eax, [ebp + 8]
push eax
push 3
push 0
push str.LastKnownState
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40a832
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffff
jmp 0x40a83d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
leave
ret