joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40beea
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
call fcn.0040bead
call fcn.0040b2f2
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x40bf44
lea eax, [ebp - 8]
push eax
push str.IDMan.exe
call fcn.0040ba4c
pop ecx
test eax, eax
pop ecx
je 0x40bf44
push dword [ebp - 8]
push 0
push 1
call esi
test eax, eax
mov dword [ebp - 4], eax
je 0x40bf44
push 0
push eax
call edi
push dword [ebp - 4]
call ebx
lea eax, [ebp - 8]
push eax
push str.IDMIntegrator64.exe
call fcn.0040ba4c
pop ecx
test eax, eax
pop ecx
je 0x40bf72
push dword [ebp - 8]
push 0
push 1
call esi
test eax, eax
mov dword [ebp - 4], eax
je 0x40bf72
push 0
push eax
call edi
push dword [ebp - 4]
call ebx
lea eax, [ebp - 8]
push eax
push str.idmBroker.exe
call fcn.0040ba4c
pop ecx
test eax, eax
pop ecx
je 0x40bfa0
push dword [ebp - 8]
push 0
push 1
call esi
test eax, eax
mov dword [ebp - 4], eax
je 0x40bfa0
push 0
push eax
call edi
push dword [ebp - 4]
call ebx
lea eax, [ebp - 8]
push eax
push str.IDMGrHlp.exe
call fcn.0040ba4c
pop ecx
test eax, eax
pop ecx
je 0x40bfce
push dword [ebp - 8]
push 0
push 1
call esi
test eax, eax
mov dword [ebp - 4], eax
je 0x40bfce
push 0
push eax
call edi
push dword [ebp - 4]
call ebx
lea eax, [ebp - 8]
push eax
push str.IEMonitor.exe
call fcn.0040ba4c
pop ecx
test eax, eax
pop ecx
je 0x40bff9
push dword [ebp - 8]
push 0
push 1
call esi
mov esi, eax
test esi, esi
je 0x40bff9
push 0
push esi
call edi
push esi
call ebx
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push str.SoftwareDownloadManager
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c09e
lea eax, [ebp - 4]
xor esi, esi
push eax
lea eax, [ebp - 0x214]
push eax
push esi
push esi
push str.ExePath
push dword [ebp - 0xc]
mov dword [ebp - 4], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c095
lea eax, [ebp - 0x214]
push 0x5c
push eax
call sub.MSVCRT.dll_wcsrchr
mov edi, eax
pop ecx
cmp edi, esi
pop ecx
je 0x40c095
lea eax, [edi + 2]
push str.IDMan.exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40c095
lea eax, [ebp - 0x214]
mov word [edi], si
push eax
lea eax, [ebp - 0x41c]
push str._sIDMan.exe.Local_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x41c]
push eax
call fcn.0041081f
add esp, 0x10
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c1ef
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0
push 0
lea eax, [ebp - 0x14]
push 0
push eax
push dword [ebp + 0x10]
call sub.MSVCRT.dll__wsplitpath
add esp, 0x14
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40c247
push str.GetDiskFreeSpaceExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c247
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
call eax
test eax, eax
je 0x40c282
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
jmp 0x40c272
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x40c282
mov eax, dword [ebp + 0x10]
imul eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
xor ecx, ecx
cmp ecx, dword [ebp + 0xc]
jl 0x40c27e
jg 0x40c282
cmp eax, dword [ebp + 8]
ja 0x40c282
xor eax, eax
leave
ret
push 1
pop eax
leave
ret

Function at 0x40d46f
Capabilities:
Check os version
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
xor esi, esi
cmp dword [0x41de50], esi
push 1
pop edi
mov ebx, 0x114
je 0x40d4b2
mov eax, dword [0x41ce38]
cmp eax, esi
mov ecx, eax
jne 0x40d49d
mov ecx, 0x41ce3c
mov eax, dword [0x41cef8]
cmp eax, esi
jne 0x40d4ab
mov eax, 0x41cefc
push 0x50031
jmp 0x40d50e
cmp dword [0x41cd38], esi
je 0x40d521
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40d4eb
cmp dword [ebp - 0x118], 2
jne 0x40d4eb
cmp dword [ebp - 0x124], 6
jb 0x40d4eb
mov dword [0x41e098], edi
jmp 0x40d521
mov eax, dword [0x41cec8]
cmp eax, esi
mov ecx, eax
jne 0x40d4fb
mov ecx, 0x41cecc
mov eax, dword [0x41ce58]
cmp eax, esi
jne 0x40d509
mov eax, 0x41ce5c
push 0x50001
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, edi
jne 0x40d521
mov dword [0x41e094], edi
cmp dword [0x41e094], esi
je 0x40d5a7
push ebx
lea eax, [ebp - 0x128]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40d59e
push 2
pop ebx
cmp dword [ebp - 0x118], ebx
jne 0x40d59e
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40d59e
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x40d59e
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push esi
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d603
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 4]
push edi
push eax
xor edi, edi
push 0xf003f
push edi
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragemicrosoft.microsoftedge_8wekyb3d8bbweMicrosoftEdgeExtensionsStoredatastoreConfig
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d68e
push ebx
push esi
mov ebx, str.IDMIntegrationModule_
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
jne 0x40d66b
push ebx
call sub.MSVCRT.dll_wcslen
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.MSVCRT.dll__wcsnicmp
add esp, 0x10
test eax, eax
je 0x40d672
inc edi
test esi, esi
je 0x40d634
jmp 0x40d683
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 4]
call fcn.0040d5ce
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop edi
leave
ret

Function at 0x40d691
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x411370
call fcn.00410c00
sub esp, 0x108
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push 0x44
pop esi
lea eax, [ebp - 0x68]
push esi
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x68], esi
mov esi, str.PowerShell_Get_AppxPackage__Name__TonecInc.IDMIntegrationModule___Remove_AppxPackage
lea edi, [ebp - 0x114]
push 1
mov word [ebp - 0x38], bx
pop eax
push 0x2b
mov dword [ebp - 0x3c], eax
pop ecx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push ebx
push ebx
push 0x30
push eax
push ebx
lea eax, [ebp - 0x114]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x40d701
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2710
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push ebx
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragemicrosoft.microsoftedge_8wekyb3d8bbweMicrosoftEdgeExtensionsStoredatastoreConfig
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d755
push str.EdgeExtension_TonecIncIDMIntegrationModule_e7b5mm5d3r6v2
push dword [ebp - 0x14]
call fcn.0040d5ce
pop ecx
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x40d76f
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x41137c
call fcn.00410c00
sub esp, 0x628
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x10], esp
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
call edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call edi
push dword [ebp + 0x14]
lea eax, [ebp - 0x634]
push eax
call fcn.0040d8a4
pop ecx
cmp eax, esi
pop ecx
je 0x40d895
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
lea eax, [ebp + 0x14]
push eax
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x40d895
cmp dword [ebp + 0x14], esi
je 0x40d895
mov dword [ebp + 0xc], esi
xor ebx, ebx
cmp ebx, esi
jne 0x40d895
lea eax, [ebp - 0x224]
push 0x104
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, eax
cmp ebx, esi
jne 0x40d887
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x10]
push eax
push esi
push 0xf003f
push esi
push 0x41c4f4
lea eax, [ebp - 0x224]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40d887
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x208
push eax
lea eax, [ebp - 0x42c]
push eax
push esi
push esi
push esi
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40d87e
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40d87e
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
call edi
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp + 0xc]
jmp 0x40d7e9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x40dcb7
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareNetscapeNetscape_NavigatorAutomation_Protocols_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40dd00
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.http
push dword [ebp - 4]
call esi
push 0x41aad8
push dword [ebp - 4]
call esi
push str.https
push dword [ebp - 4]
call esi
pop esi
leave
ret

Function at 0x40dd02
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor esi, esi
push str.shell32
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, esi
je 0x40dd62
push ebx
push str.SHGetFolderPathW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, esi
je 0x40dd55
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [ebp + 8]
push esi
push esi
push 0x1c
push esi
call ebx
test eax, eax
jne 0x40dd4f
mov dword [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 4], esi
pop ebx
jne 0x40ddad
lea eax, [ebp - 8]
push eax
push 1
pop edi
push edi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ddad
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
push dword [ebp + 8]
push esi
push esi
push str.Local_AppData
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40dda4
mov dword [ebp - 4], edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x40ddb4
Capabilities:
Check if file exists
Delete registry key
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp + 8]
push 0
push str.SOFTWAREGoogleChromeExtensions
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ddfe
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.jmolcgpienlcieaajfkkdamlngancncm
push dword [ebp + 8]
call esi
push str.jeaohhlajejodfjadcponpnjgkiikocn
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x410]
push eax
call fcn.0040dd02
test eax, eax
pop ecx
je 0x40dec5
lea eax, [ebp - 0x410]
push eax
call sub.MSVCRT.dll_wcslen
dec eax
cmp word [ebp + eax*2 - 0x410], 0x5c
pop ecx
lea esi, [ebp + eax*2 - 0x410]
mov eax, 0x41c4f4
je 0x40de3d
mov eax, 0x4150b8
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push str._s_sGoogleChromeUser_DataDefaultExtensionsjmolcgpienlcieaajfkkdamlngancncm
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call ebx
cmp eax, 0xffffffff
je 0x40de7f
lea eax, [ebp - 0x208]
push eax
call fcn.0041081f
pop ecx
cmp word [esi], 0x5c
mov eax, 0x41c4f4
je 0x40de8f
mov eax, 0x4150b8
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push str._s_sGoogleChromeUser_DataDefaultExtensionsjeaohhlajejodfjadcponpnjgkiikocn
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call ebx
pop edi
cmp eax, 0xffffffff
pop ebx
je 0x40dec5
lea eax, [ebp - 0x208]
push eax
call fcn.0041081f
pop ecx
pop esi
leave
ret
Function at 0x40dec8
Capabilities:
Delete registry key

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [esp + 0x10]
mov edi, 0xf003f
push eax
push edi
mov ebp, str.SOFTWAREGoogleChromeNativeMessagingHosts
push 0
mov ebx, 0x80000002
push ebp
push ebx
call esi
test eax, eax
jne 0x40df0b
push str.com.tonec.idm
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00403110
test eax, eax
je 0x40df45
lea eax, [esp + 0x10]
push eax
push 0xf013f
push 0
push ebp
push ebx
call esi
test eax, eax
jne 0x40df45
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.com.tonec.idm
push dword [esp + 0x14]
call ebp
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40df4b
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [esp + 0x10]
mov ebx, 0x80000001
push eax
push edi
push 0
push str.SOFTWAREMozillaNativeMessagingHosts
push ebx
call esi
test eax, eax
jne 0x40df79
push str.com.tonec.idm
push dword [esp + 0x14]
call ebp
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
push edi
push 0
push str.SOFTWAREMicrosoftEdgeNativeMessagingHosts
push ebx
call esi
test eax, eax
jne 0x40dfa2
push str.com.tonec.idm
push dword [esp + 0x14]
call ebp
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
push edi
push 0
push str.SOFTWARECocCocBrowserNativeMessagingHosts
push ebx
call esi
test eax, eax
jne 0x40dfcb
push str.com.tonec.idm
push dword [esp + 0x14]
call ebp
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40dfd1
Capabilities:
Delete registry key
Delete registry value
Persist via run registry key

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call fcn.0040dcb7
call fcn.0040d90b
xor ebx, ebx
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
mov edi, 0x80000001
push dword [esp + 0x24]
push ebx
push ebx
push ebx
push str.SoftwareMozillaFirefoxExtensions
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40e038
push str.mozilla_cc_internetdownloadmanager.com
push dword [esp + 0x14]
call esi
push str.mozilla_cc2_internetdownloadmanager.com
push dword [esp + 0x14]
call esi
push str.mozilla_cc3_internetdownloadmanager.com
push dword [esp + 0x14]
call esi
push dword [esp + 0x10]
call ebp
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push dword [esp + 0x24]
push ebx
push ebx
push ebx
push str.SoftwareMozillaSeaMonkeyExtensions
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40e07d
push str.mozilla_cc_internetdownloadmanager.com
push dword [esp + 0x14]
call esi
push str.mozilla_cc2_internetdownloadmanager.com
push dword [esp + 0x14]
call esi
push str.mozilla_cc3_internetdownloadmanager.com
push dword [esp + 0x14]
call esi
push dword [esp + 0x10]
call ebp
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push dword [esp + 0x24]
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40e0b7
push str.IDMan
push dword [esp + 0x14]
call esi
push 0x415bdc
push dword [esp + 0x14]
call esi
push dword [esp + 0x10]
call ebp
lea eax, [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push dword [esp + 0x1c]
push ebx
push str.SOFTWAREGoogleChromeExtensions
push 0x80000002
call esi
test eax, eax
jne 0x40e0ec
push str.ngpampappnmepgilojfohadhhmbhlaek
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [esp + 0x10]
call ebp
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x1c]
push ebx
push str.SOFTWAREGoogleChromeExtensions
push edi
call esi
test eax, eax
jne 0x40e117
push str.ngpampappnmepgilojfohadhhmbhlaek
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [esp + 0x10]
call ebp
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x1c]
push ebx
push str.SOFTWAREMicrosoftEdgeExtensions
push edi
call esi
test eax, eax
jne 0x40e151
push str.ngpampappnmepgilojfohadhhmbhlaek
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.llbjbkhnmlidjebalopleeepgdfgcpec
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [esp + 0x10]
call ebp
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x1c]
push ebx
push str.SOFTWARECocCocBrowserExtensions
push edi
call esi
test eax, eax
jne 0x40e17c
push str.ngpampappnmepgilojfohadhhmbhlaek
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [esp + 0x10]
call ebp
push dword [esp + 0x18]
call fcn.0040ddb4
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40e18c
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor esi, esi
push str.shell32.dll
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, esi
je 0x40e1ec
push ebx
push str.SHGetFolderPathW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, esi
je 0x40e1df
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [ebp + 8]
push esi
push esi
push 0x1a
push esi
call ebx
test eax, eax
jne 0x40e1d9
mov dword [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 4], esi
pop ebx
jne 0x40e237
lea eax, [ebp - 8]
push eax
push 1
pop edi
push edi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e237
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
push dword [ebp + 8]
push esi
push esi
push str.AppData
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e22e
mov dword [ebp - 4], edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x40e23e
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x41139c
call fcn.00410c00
sub esp, 0x474
lea eax, [ebp - 0x480]
push eax
call fcn.0040e18c
test eax, eax
pop ecx
je 0x40e266
xor eax, eax
jmp 0x40e3b3
push ebx
lea eax, [ebp - 0x480]
push esi
xor ebx, ebx
push eax
mov byte [ebp - 0xd], bl
call sub.MSVCRT.dll_wcslen
mov esi, eax
push 2
lea eax, [ebp - 0x24]
push ebx
push eax
dec esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
call sub.MSVCRT.dll_memset
add esp, 0x10
cmp word [ebp + esi*2 - 0x480], 0x5c
lea esi, [ebp + esi*2 - 0x480]
mov dword [ebp - 4], ebx
mov eax, 0x41c4f4
je 0x40e2b0
mov eax, 0x4150b8
push eax
lea eax, [ebp - 0x480]
push eax
push str._s_sMozillaFirefoxProfiles
lea ecx, [ebp - 0x28]
call 0x408f4b
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jne 0x40e2cf
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x278]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [ebp - 0x14], 0xffffffff
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
stosd dword es:[edi], eax
pop edi
je 0x40e3a3
lea eax, [ebp - 0x24c]
push 0x416ce4
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
test eax, eax
pop ecx
je 0x40e37a
lea eax, [ebp - 0x24c]
push 0x41b1dc
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
test eax, eax
pop ecx
je 0x40e37a
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x40e37a
cmp word [esi], 0x5c
mov eax, 0x41c4f4
je 0x40e348
mov eax, 0x4150b8
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x480]
push eax
push str._s_sMozillaFirefoxProfiles_s_
call fcn.0040fbdf
mov eax, dword [ebp - 0x26c]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40e2f5
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0xd], bl
je 0x40e3a3
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040114f
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x40e3bf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4113b8
call fcn.00410c00
sub esp, 0x18
push ebx
xor ebx, ebx
push 2
lea eax, [ebp - 0x20]
push ebx
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ebx
push eax
call fcn.0040e23e
add esp, 0x10
test eax, eax
je 0x40e46a
push 2
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x40e417
lea eax, [ebp - 0x20]
push eax
push str._sextensionsmozilla_cc3_internetdownloadmanager.com.xpi
lea ecx, [ebp - 0x18]
call fcn.00408e4c
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x40e42f
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40e446
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40e45f
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x40e450
lea eax, [ebp - 0x14]
push ebx
push dword [ebp + 8]
push 0x41cd38
push eax
call fcn.00405ef6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0040114f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040114f
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret