joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442d8e
Capabilities:
Delete file
Enumerate files on windows
Get file attributes
Set file attributes

Disassembly:
push 0x26c
mov eax, 0x490fae
call fcn.00458f67
mov esi, dword [ebp + 8]
test esi, esi
je 0x442fa8
cmp byte [esi], 0
je 0x442fa8
push esi
call fcn.00461890
pop ecx
cmp eax, 3
jbe 0x442fa8
push esi
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00465df5
lea eax, [ebp - 0x114]
push 0x5c
push eax
call fcn.004662f3
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x442fa8
inc ebx
cmp dword [ebp + 0xc], 0
push 0xf
pop edi
jne 0x442eb8
and dword [ebp - 0x11c], 0
mov ecx, esi
mov dword [ebp - 0x118], edi
mov byte [ebp - 0x12c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442e15
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x12c]
call fcn.0040a9d0
and dword [ebp - 4], 0
lea eax, [ebp - 0x12c]
push eax
call fcn.00443df9
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x118]
mov byte [ebp - 0x26d], al
cmp ecx, 0x10
jb 0x442e9c
mov edx, dword [ebp - 0x12c]
inc ecx
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x278], edx
cmp ecx, 0x1000
jb 0x442e8d
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00403184
mov edx, dword [ebp - 0x278]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x274]
push ecx
push edx
call fcn.00458ecf
mov al, byte [ebp - 0x26d]
pop ecx
pop ecx
and dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], edi
mov byte [ebp - 0x12c], 0
test al, al
jne 0x442fa8
lea eax, [ebp - 0x26c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x442fa8
xor esi, esi
inc esi
lea eax, [ebp - 0x240]
push eax
call fcn.00461890
inc eax
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call fcn.00467c43
add esp, 0x10
test byte [ebp - 0x26c], 0x10
je 0x442f1d
cmp byte [ebp - 0x240], 0x2e
je 0x442f83
cmp dword [ebp + 0xc], 0
je 0x442f83
push dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push eax
call fcn.00442c28
pop ecx
pop ecx
jmp 0x442f74
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x442f83
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xf
je 0x442f83
cmp eax, 2
je 0x442f83
cmp eax, 3
je 0x442f83
push 1
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044357c
add esp, 0xc
test esi, esi
je 0x442f81
test eax, eax
je 0x442f81
xor esi, esi
inc esi
jmp 0x442f83
xor esi, esi
lea eax, [ebp - 0x26c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x442ed4
test edi, edi
je 0x442fa4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
jmp 0x442faa
xor eax, eax
call fcn.00458f11
ret
Function at 0x443242
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4432be
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4432be
push edi
push 0
push esi
call fcn.0045b1d0
mov ebx, dword [ebp + 0x10]
add esp, 0xc
test ebx, ebx
je 0x44328c
push ebx
call fcn.00461890
pop ecx
test eax, eax
je 0x44328c
push ebx
call fcn.00461890
mov ecx, edi
sub ecx, eax
push ecx
push ebx
push edi
push esi
call fcn.00467c09
add esp, 0x14
jmp 0x44329f
push esi
push 1
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x4432be
push esi
call fcn.00461890
mov ecx, edi
sub ecx, eax
push ecx
push str.McAfeeTemp
push edi
push esi
call fcn.00467c09
xor eax, eax
add esp, 0x14
inc eax
jmp 0x4432c0
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x443303
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
push str.McAfeeInstaller
push str.Software
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x118], 2
push 0x494bc0
push eax
call fcn.0044251b
add esp, 0x10
lea eax, [ebp - 0x114]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x443366
xor eax, eax
jmp 0x4433c6
push esi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push str.OemMode
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4433b5
xor esi, esi
inc esi
cmp dword [ebp - 0x11c], esi
jne 0x4433b5
lea eax, [ebp - 0x110]
push eax
push 0x49b2ec
call fcn.00465a8e
pop ecx
pop ecx
test eax, eax
je 0x4433b7
xor esi, esi
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458eeb
leave
ret

Function at 0x4433ee
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
and esi, 8
test eax, eax
je 0x4434a7
mov edx, 0x100
lea ecx, [ebp - 0x308]
push edx
push ecx
push edx
lea ecx, [ebp - 0x208]
xor ebx, ebx
push ecx
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.00470aec
add esp, 0x24
test eax, eax
jne 0x4434a7
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4434a7
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
je 0x4434a7
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00465e4f
add esp, 0xc
test eax, eax
jne 0x4434a7
mov eax, edi
xor eax, 8
test esi, esi
cmove eax, edi
push eax
push ebx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x4434a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret
Function at 0x4434b8
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4434e5
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x44356f
push ebx
push esi
mov esi, 0x104
test eax, eax
jne 0x443518
push edi
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00465df5
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.004662f3
add esp, 0x14
test eax, eax
je 0x443529
mov byte [eax], 0
jmp 0x443529
push eax
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00465df5
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x108]
push eax
call esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea eax, [ebp - 0x20c]
push eax
call esi
test edi, edi
jne 0x44356b
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00458eeb
leave
ret
Function at 0x44357c
Capabilities:
Copy file
Delete file
Get common file path
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x4436c5
cmp byte [esi], 0
je 0x4436c5
cmp dword [ebp + 0x10], 1
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jne 0x4435cf
push esi
call fcn.00444f03
pop ecx
cmp eax, 1
jne 0x4435cf
push esi
call ebx
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test edi, edi
je 0x4436d6
cmp byte [edi], 0
je 0x4436d6
push edi
call fcn.00444f03
pop ecx
cmp eax, 1
jne 0x44360e
push edi
call ebx
and eax, 0xfffffffe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
cmp eax, 1
jne 0x4436c7
push edi
call fcn.00465f76
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4436c5
push 0x5c
push ebx
call fcn.004662f3
pop ecx
pop ecx
test eax, eax
je 0x443632
mov byte [eax], 0
jmp 0x44364c
push 0x4947cc
call fcn.00461890
inc eax
push eax
push 0x4947cc
push ebx
call fcn.00467c43
add esp, 0x10
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0045b1d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x4a5cb8
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x4436be
cmp byte [ebp - 0x20c], 0
je 0x4436be
push ebx
call fcn.0045f1d9
cmp dword [ebp + 0x10], 0
lea eax, [ebp - 0x20c]
pop ecx
je 0x4436a3
push 0xb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x4436ad
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp eax, 1
jne 0x4436c7
push 4
push edi
lea eax, [ebp - 0x20c]
push eax
jmp 0x4436db
push ebx
call fcn.0045f1d9
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x4436c7
Function at 0x443834
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x443991
cmp dword [ebp + 0x10], 0
je 0x443991
call fcn.004433de
test eax, eax
jne 0x443860
push 0x78
jmp 0x443993
push esi
mov esi, 0xf003f
call fcn.004433d2
test eax, eax
mov ecx, 0xf013f
lea eax, [ebp - 4]
push eax
cmovne esi, ecx
lea eax, [ebp + 8]
push eax
xor ecx, ecx
mov dword [ebp - 8], esi
push ecx
push esi
push 2
push ecx
push ecx
push dword [ebp + 0xc]
mov dword [ebp + 8], ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x4438a5
cmp dword [ebp - 4], 1
je 0x44395a
cmp esi, 0xb7
jne 0x4438cb
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push dword [ebp - 8]
push 8
push eax
push eax
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x44397d
xor ecx, ecx
lea eax, [ebp - 0xc]
push ecx
push ecx
push eax
push 0xffff
push str.SymbolicLinkValue
push ecx
push dword [ebp + 8]
call fcn.004437ae
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x4438ff
cmp dword [ebp - 0xc], 6
je 0x44395a
jmp 0x443904
cmp esi, 2
jne 0x44397d
push 0
push dword [ebp + 8]
call fcn.00443771
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x44397d
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp + 8], esi
push esi
push dword [ebp - 8]
push dword [ebp + 0xc]
push edi
call fcn.0044372e
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x44397d
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push dword [ebp - 8]
push 2
push eax
push eax
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x44397d
push dword [ebp + 0x10]
call fcn.0045ef01
pop ecx
add eax, eax
push eax
push dword [ebp + 0x10]
push 6
push 0
push str.SymbolicLinkValue
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp dword [ebp + 8], 0
je 0x44398c
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x443994
push 0x57
pop eax
pop edi
leave
ret

Function at 0x443997
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, 0xf003f
xor edi, edi
call fcn.004433d2
test eax, eax
mov dword [ebp - 4], edi
mov ecx, 0xf013f
lea eax, [ebp - 4]
push eax
cmovne esi, ecx
push esi
push 8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4439ff
push str.SymbolicLinkValue
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x4439ec
push dword [ebp - 4]
call fcn.004437fa
pop ecx
test eax, eax
je 0x4439f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x443a07
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x443a0d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x443b22
cmp byte [esi], 0
je 0x443b22
test edi, edi
je 0x443b22
cmp byte [edi], 0
je 0x443b22
mov ebx, 0x208
lea eax, [ebp - 0x20c]
push ebx
push 0
push eax
call fcn.0045b1d0
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00465df5
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00467af1
mov cl, byte [ebp - 0x20c]
lea eax, [ebp - 0x20c]
add esp, 0x20
jmp 0x443aa3
cmp cl, 0x5c
jne 0x443a9a
mov byte [eax], 0x25
push eax
call fcn.004662b8
pop ecx
mov cl, byte [eax]
test cl, cl
jne 0x443a92
push 1
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push eax
push str.SharedModules
call fcn.00444e53
add esp, 0x10
test eax, eax
jne 0x443b25
push esi
call fcn.00461890
pop ecx
inc eax
push eax
push esi
push 1
push ebx
push ebx
push dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call ebx
mov esi, eax
test esi, esi
jne 0x443b09
push 4
lea eax, [ebp - 0x214]
push eax
push 4
push esi
push edi
push dword [ebp - 0x210]
call ebx
mov esi, eax
cmp dword [ebp - 0x210], 0
je 0x443b1e
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x443b25
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret

Function at 0x443b34
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
je 0x443bca
cmp byte [eax], 0
je 0x443bca
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x443bca
cmp byte [esi], 0
je 0x443bca
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x443bca
cmp byte [edi], 0
je 0x443bca
push 1
lea ecx, [ebp + 8]
xor ebx, ebx
push ecx
push eax
push str.SharedPackages
mov dword [ebp - 4], ebx
mov dword [ebp + 8], ebx
call fcn.00444e53
add esp, 0x10
test eax, eax
jne 0x443bcd
push esi
call fcn.00461890
pop ecx
inc eax
push eax
push esi
push 1
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.Path
push dword [ebp + 8]
call ebx
mov esi, eax
test esi, esi
jne 0x443bb7
push 4
lea eax, [ebp - 4]
push eax
push 4
push esi
push edi
push dword [ebp + 8]
call ebx
mov esi, eax
cmp dword [ebp + 8], 0
je 0x443bc6
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x443bcd
push 0x57
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443c43
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x194
mov eax, 0x490ff5
call fcn.00458f67
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
jne 0x443c79
push esi
call fcn.004432ca
pop ecx
test al, al
je 0x443df3
push esi
call fcn.00443df9
pop ecx
test al, al
jne 0x443df3
xor edi, edi
lea ecx, [ebp - 0x28]
push esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0040b6a8
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 4], edi
cmp byte [eax + ecx - 1], 0x5c
je 0x443cb1
push 1
push 0x494bbc
lea ecx, [ebp - 0x28]
call fcn.0040bcb5
push 0x4a38e8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00412ce5
push 0x140
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.0045b1d0
add esp, 0x18
lea ecx, [ebp - 0x198]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x443da2
lea eax, [ebp - 0x16c]
push 0x4947cc
push eax
call fcn.004619b0
pop ecx
pop ecx
test eax, eax
je 0x443d7f
lea eax, [ebp - 0x16c]
push 0x4947d0
push eax
call fcn.004619b0
pop ecx
pop ecx
test eax, eax
je 0x443d7f
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00412ce5
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00445178
add esp, 0x14
test al, al
jne 0x443d73
test byte [ebp - 0x198], 0x10
je 0x443d73
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.00443c43
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0040a94c
lea eax, [ebp - 0x198]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x443d00
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x40]
call fcn.0040a94c
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x443df3
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x1a0], ecx
cmp eax, 0x1000
jb 0x443dea
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.00403184
mov eax, dword [ebp - 0x19c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1a0]
push eax
push ecx
call fcn.00458ecf
pop ecx
pop ecx
call fcn.00458f11
ret
Function at 0x443f6d
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x44415e
cmp byte [esi], 0
je 0x44415e
test ebx, ebx
je 0x44415e
cmp byte [ebx], 0
je 0x44415e
test edi, edi
je 0x44415e
and dword [ebp - 0x218], 0
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x21c], 4
call fcn.0045b1d0
push esi
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00465df5
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00467af1
mov cl, byte [ebp - 0x20c]
lea eax, [ebp - 0x20c]
add esp, 0x20
jmp 0x44401c
cmp cl, 0x5c
jne 0x444013
mov byte [eax], 0x25
push eax
call fcn.004662b8
pop ecx
mov cl, byte [eax]
test cl, cl
jne 0x44400b
xor esi, esi
mov dword [edi], 1
push esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], esi
push eax
lea eax, [ebp - 0x20c]
push eax
push str.SharedModules
call fcn.00444e53
add esp, 0x10
test eax, eax
je 0x444059
mov dword [edi], 1
jmp 0x444128
push esi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], esi
push eax
push dword [ebp - 0x210]
call fcn.00444d8e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x444128
cmp dword [ebp - 0x214], eax
je 0x44404e
and dword [edi], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push esi
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x4440b6
xor esi, esi
jmp 0x444128
cmp dword [ebp - 0x220], 4
jne 0x444128
mov eax, dword [ebp - 0x218]
test eax, eax
jne 0x444105
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
test esi, esi
jne 0x444128
push eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x210]
call fcn.00444d8e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x444128
cmp dword [ebp - 0x214], eax
sete al
mov dword [edi], eax
jmp 0x444128
dec eax
push 4
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x218]
push eax
push 4
push 0
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
cmp dword [ebp - 0x210], 0
je 0x444144
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x210], 0
test esi, esi
jne 0x44415a
cmp dword [edi], 1
jne 0x44415a
lea eax, [ebp - 0x20c]
push eax
call fcn.004443cb
pop ecx
mov eax, esi
jmp 0x444161
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret
Function at 0x444170
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14
push ebx
push esi
push edi
test eax, eax
je 0x4442bf
cmp byte [eax], 0
je 0x4442bf
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4442bf
cmp byte [ebx], 0
je 0x4442bf
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4442bf
xor esi, esi
mov dword [ebp - 0x10], 4
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], esi
push ecx
push eax
push str.SharedPackages
mov dword [edi], 1
mov dword [ebp - 4], esi
call fcn.00444e53
add esp, 0x10
test eax, eax
je 0x4441e5
mov dword [edi], 1
xor eax, eax
jmp 0x4442c2
push str.Path
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push dword [ebp - 4]
call fcn.00444d8e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x444296
cmp dword [ebp - 8], eax
jne 0x444216
mov dword [edi], 1
jmp 0x444296
and dword [edi], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x44423b
xor esi, esi
jmp 0x444296
cmp dword [ebp - 0x14], 4
jne 0x444296
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x44427c
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
test esi, esi
jne 0x444296
push str.Path
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00444d8e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x444296
cmp dword [ebp - 8], eax
sete al
mov dword [edi], eax
jmp 0x444296
dec eax
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
cmp dword [ebp - 4], 0
je 0x4442a9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
test esi, esi
jne 0x4442bb
cmp dword [edi], 1
jne 0x4442bb
push dword [ebp + 8]
call fcn.0044468f
pop ecx
mov eax, esi
jmp 0x4442c2
push 0x57
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4442c7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
push str.McAfeeInstaller
push str.Software
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x114], 4
push 0x494bc0
push eax
call fcn.0044251b
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44432a
xor eax, eax
jmp 0x44436e
push esi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push str.FullLogs
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44435d
xor esi, esi
inc esi
cmp dword [ebp - 0x118], esi
je 0x44435f
xor esi, esi
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458eeb
leave
ret