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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x158], 0
and dword [ebp - 0x13c], 0
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x154]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x158]
mov ebx, ecx
push eax
mov esi, edx
push ebx
mov dword [ebp - 0x144], esi
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x1002637c
lea eax, [ebp - 0x1a8]
push eax
push 0x18
push dword [ebp - 0x148]
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x118
xor edi, edi
lea eax, [ebp - 0x134]
push edi
push eax
call fcn.10044e90
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
mov dword [ebp - 0x138], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
push eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x140]
push eax
mov dword [ebp - 0x178], 1
call sub.gdiplus.dll_GdiplusStartup
push ebx
call fcn.10008391
cmp word [ebp - 0x196], 0x20
pop ecx
jne 0x100262fe
cmp dword [ebp - 0x134], 5
je 0x100262fe
push dword [ebp - 0x148]
call fcn.10008359
mov edi, eax
pop ecx
mov esi, edi
call fcn.100082e6
mov ebx, eax
call fcn.100082c6
and dword [ebp - 0x168], 0
and dword [ebp - 0x164], 0
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], ebx
call fcn.10008306
lea ecx, [ebp - 0x190]
push ecx
push eax
push 1
lea eax, [ebp - 0x168]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipBitmapLockBits
test eax, eax
je 0x100262c8
mov dword [edi + 8], eax
push 0x10
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x100262f4
push dword [ebp - 0x180]
mov esi, eax
push dword [ebp - 0x188]
push dword [ebp - 0x18c]
push dword [ebp - 0x190]
call fcn.10008322
jmp 0x100262f6
xor eax, eax
mov esi, dword [ebp - 0x144]
jmp 0x10026305
push ebx
call fcn.10008391
pop ecx
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
call fcn.100260f4
pop ecx
test eax, eax
je 0x1002633d
cmp dword [esi + 0x18], 8
jb 0x10026320
mov esi, dword [esi + 4]
jmp 0x10026323
add esi, 4
lea eax, [ebp - 0x14]
push eax
push esi
mov esi, ebx
call fcn.100082a6
test eax, eax
jne 0x1002633d
mov dword [ebp - 0x13c], 1
test ebx, ebx
je 0x10026349
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
test edi, edi
je 0x10026355
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
push dword [ebp - 0x148]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x14c]
call esi
push dword [ebp - 0x140]
call sub.gdiplus.dll_GdiplusShutdown
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003f03d
leave
ret
Function at 0x100265ac
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa94
mov eax, dword [0x10071118]
xor eax, esp
mov dword [esp + 0xa90], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edx
test esi, esi
je 0x100267ad
test eax, eax
jne 0x100265fc
test ecx, ecx
je 0x100267ad
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x10026657
cmp ax, 0x5c
je 0x10026657
xor eax, eax
push 0x40e
push eax
mov word [esp + 0x690], ax
lea eax, [esp + 0x692]
push eax
call fcn.10044e90
add esp, 0xc
lea eax, [esp + 0x688]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [esp + 0x68c]
push eax
call edi
lea esi, [esp + 0x688]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100267ad
test al, 0x10
je 0x100267ad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [esp + 0x484]
push eax
call ebx
push 0x10062290
lea eax, [esp + 0x484]
push eax
call edi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x100267ad
mov dword [esp + 0x10], 1
push 0x10063940
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1002677c
push 0x10063944
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1002677c
cmp dword [esp + 0x28], 0xffffffff
je 0x1002677c
push esi
lea eax, [esp + 0x27c]
push eax
call ebx
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x27c]
push eax
call edi
test byte [esp + 0x28], 0x10
je 0x10026761
cmp dword [esp + 0x14], 0
je 0x1002672e
push dword [esp + 0x24]
lea eax, [esp + 0x27c]
push eax
call dword [esp + 0x1c]
test eax, eax
je 0x10026795
cmp dword [ebp + 0xc], 0
je 0x1002677c
push dword [esp + 0x24]
lea eax, [esp + 0x27c]
push dword [esp + 0x18]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [ebp + 0xc]
push eax
call fcn.100265ac
push 2
pop ecx
cmp eax, ecx
jne 0x1002677c
mov dword [esp + 0x10], ecx
jmp 0x1002679d
cmp dword [esp + 0x18], 0
je 0x1002677c
push dword [esp + 0x1c]
lea eax, [esp + 0x27c]
push eax
call dword [esp + 0x20]
test eax, eax
je 0x10026795
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100266b7
jmp 0x1002679d
mov dword [esp + 0x10], 2
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
jmp 0x100267af
xor eax, eax
mov ecx, dword [esp + 0xa9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003f03d
mov esp, ebp
pop ebp
ret 0x18
Function at 0x100267c6
Capabilities:
Enumerate files on windows

Disassembly:
push 0x6bc
mov eax, 0x1005882e
call fcn.10040d9a
and dword [ebp - 0x678], 0
lea eax, [ebp - 0x6a0]
mov ebx, ecx
mov edi, edx
push eax
mov dword [ebp - 0x67c], ebx
mov dword [ebp - 0x680], edi
call fcn.100095cd
xor esi, esi
inc esi
mov dword [ebp - 4], esi
test edi, edi
jne 0x10026813
push ebx
lea ecx, [ebp - 0x6a0]
call fcn.1000d869
jmp 0x10026928
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x218]
push eax
call edi
push 0x10062290
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x674], eax
cmp eax, 0xffffffff
je 0x1002691c
push 0x10063940
lea eax, [ebp - 0x644]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100268f5
push 0x10063944
lea eax, [ebp - 0x644]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100268f5
cmp dword [ebp - 0x670], 0xffffffff
je 0x100268f5
push dword [ebp - 0x680]
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
lea esi, [ebp - 0x6bc]
call fcn.100048d8
mov eax, esi
push eax
lea eax, [ebp - 0x6a0]
push eax
lea ebx, [ebp - 0x6c8]
mov byte [ebp - 4], 2
call fcn.1000962b
push 0
push 1
mov byte [ebp - 4], 1
call fcn.10004dfd
mov ebx, dword [ebp - 0x67c]
xor esi, esi
inc esi
lea eax, [ebp - 0x670]
push eax
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10026858
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
lea ecx, [ebp - 0x6a0]
call fcn.1000d869
lea eax, [ebp - 0x6a0]
push eax
mov dword [ebp - 0x678], esi
mov byte [ebp - 4], 0
call fcn.10009603
mov eax, ebx
call fcn.10040e1d
ret
Function at 0x10026946
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x10026a40
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x10026a40
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.10044e90
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.100274e0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100269bd
shr eax, 4
not eax
and eax, 1
jmp 0x10026a42
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.10026a50
test eax, eax
je 0x10026a40
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x10026a22
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x10026a28
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.100011b0
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x10026a42
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1003f03d
leave
ret
Function at 0x10026e2a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x10026e90
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.10044e90
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x10026e90
push esi
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jbe 0x10026e90
xor eax, eax
inc eax
jmp 0x10026e92
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003f03d
leave
ret

Function at 0x10026e9e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 0x428], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10026f31
test al, 0x10
je 0x10026f31
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, 0x104
push edi
push ebx
lea eax, [ebp - 0x424]
push eax
call esi
push edi
push dword [ebp - 0x428]
lea eax, [ebp - 0x21c]
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x424]
push eax
call esi
lea eax, [ebp - 0x21c]
push eax
call esi
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x424]
push eax
mov eax, 0x10026f43
push eax
lea ecx, [ebp - 0x424]
push ecx
push eax
push 1
push ebx
call fcn.100265ac
jmp 0x10026f33
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.1003f03d
leave
ret 4

Function at 0x10027002
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10027019
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
ret
test al, 1
je 0x10027028
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret
Function at 0x10027156
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x10027182
call fcn.10026946
test eax, eax
jne 0x10027182
pop edi
pop esi
pop ebx
leave
ret 0xc
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x100271a2
cmp esi, 0xffffffff
jne 0x100271ba
cmp dword [ebp - 8], ebx
jne 0x100271ae
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
call fcn.100011b0
mov eax, ebx
jmp 0x1002717b
mov edi, dword [ebp + 0x10]
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100271de
cmp dword [ebp - 4], edi
jne 0x100271de
xor ebx, ebx
inc ebx
jmp 0x100271ae
cmp dword [ebp - 8], ebx
jne 0x100271ae
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x100271f7
cmp esi, ebx
je 0x100271f7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp 0x100271a8

Function at 0x100271fc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
or eax, 0xffffffff
cmp dword [esp + 8], ecx
jle 0x10027227
push esi
mov edx, dword [esp + 8]
movzx edx, byte [ecx + edx]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10073200]
inc ecx
cmp ecx, dword [esp + 0xc]
jl 0x10027208
pop esi
not eax
ret 8

Function at 0x1002758f
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp - 8], eax
movsx eax, byte [ebp + 8]
push ebx
push esi
push edi
push eax
push str.__c:
lea esi, [ebp - 0x60]
call fcn.10028b00
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x100275c1
mov eax, dword [eax + 4]
jmp 0x100275c4
add eax, 4
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov ebx, eax
push 1
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x40], ebx
call fcn.10004d05
cmp ebx, esi
je 0x100275f2
cmp ebx, 0xffffffff
jne 0x1002760c
lea eax, [ebp - 0x40]
call fcn.100011b0
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003f03d
leave
ret
push 0x28
pop edx
push 9
pop ecx
xor eax, eax
push esi
mov dword [ebp - 0x3c], edx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
push edx
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push ebx
mov dword [ebp - 0x44], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10027658
or esi, 0xffffffff
lea eax, [ebp - 0x40]
call fcn.100011b0
mov eax, esi
jmp 0x100275fd
mov esi, dword [ebp - 0x20]
jmp 0x1002764c
Function at 0x1002765d
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ebx
test edi, edi
je 0x10027734
test ebx, ebx
je 0x10027734
mov esi, str.deviceMup_
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, edi
jne 0x100276b9
push ebx
push 0x100639ec
push esi
mov eax, edi
call fcn.1002892f
xor eax, eax
inc eax
jmp 0x10027736
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x80], eax
xor ebx, ebx
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
mov ecx, dword [ebp - 0x80]
test ecx, eax
je 0x1002772e
push 0x3a
lea eax, [ebx + 0x61]
mov word [ebp + 0x194], ax
pop eax
mov word [ebp + 0x196], ax
xor eax, eax
push 0x206
lea edi, [ebp + 0x198]
push eax
stosd dword es:[edi], eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.10044e90
add esp, 0xc
push 0x104
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x1002772e
push dword [ebp - 0x78]
lea esi, [ebp - 0x74]
call fcn.10028a2b
test eax, eax
jne 0x1002774e
inc ebx
cmp ebx, 0x1a
jl 0x100276c4
xor eax, eax
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003f03d
add ebp, 0x1a0
leave
ret
push dword [ebp - 0x7c]
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
jmp 0x100276af

Function at 0x10027b34
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x10071118]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.1002845d
push esi
test eax, eax
je 0x10027bc1
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10044e90
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x10027bb8
cmp esi, 0xffffffff
je 0x10027bb8
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x10027bb4
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1002845d
test eax, eax
je 0x10027bb8
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x10027b9a
lea eax, [esp + 4]
call fcn.100011b0
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.1003f03d
mov esp, ebp
pop ebp
ret 4
Function at 0x10027bd6
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x1005656d
call fcn.10040d31
mov eax, dword [ebp + 0x238]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x10027c6b
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x10027c63
cmp esi, 0xffffffff
je 0x10027c63
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.10044e90
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x10027c5f
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call edi
test eax, eax
je 0x10027c63
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10027c48
lea eax, [ebp - 0x10]
call fcn.100011b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.1003f03d
add ebp, 0x230
leave
ret 4

Function at 0x10027c90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
xor ebx, ebx
push edi
mov esi, eax
cmp dword [ebp + 8], ebx
jne 0x10027ca6
xor eax, eax
jmp 0x10027d20
push 0x40
lea eax, [ebp - 0x58]
push ebx
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.10044e90
add esp, 0xc
cmp esi, ebx
jne 0x10027ccd
xor eax, eax
mov dword [ebp - 0x30], 1
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x14], ebx
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
call fcn.10026572
mov edi, eax
lea eax, [ebp - 0x14]
push eax
neg esi
lea eax, [ebp - 0x5c]
push eax
push ebx
push ebx
sbb esi, esi
and esi, 0xf8000000
add esi, 0x8000000
push esi
push ebx
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10027d18
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.1002659f
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10027d27
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x10027d3c
xor eax, eax
jmp 0x10027e48
lea eax, [ebp - 0xc]
push eax
push 0xf01ff
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10027e45
push ebx
lea eax, [ebp - 4]
push eax
xor ebx, ebx
inc ebx
push ebx
push ebx
push esi
push 0x2000000
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x10027e3b
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
push 4
lea eax, [ebp + 8]
push eax
push 0xc
push dword [ebp - 4]
call edi
test eax, eax
je 0x10027e31
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1a
push dword [ebp - 4]
mov dword [ebp - 0x14], ebx
call edi
push esi
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x10027e31
mov edi, dword [ebp + 0xc]
call fcn.10026572
push 0x40
mov ebx, eax
lea eax, [ebp - 0x64]
push esi
push eax
mov dword [ebp - 0x68], 0x44
call fcn.10044e90
xor eax, eax
mov dword [ebp - 0x24], esi
add esp, 0xc
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 8]
push 0x430
push esi
push esi
push esi
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x10027e22
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.1002659f
push dword [ebp - 8]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, dword [ebp - 0x10]
pop esi
leave
ret 8
Function at 0x10027f45
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x10027f5e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.10027e4d
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x1002805a
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.10027bd6
cmp dword [ebp - 0x14], esi
je 0x10027f55
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x10027f9a
cmp eax, 0xffffffff
jne 0x10027fa6
lea eax, [ebp - 0x10]
call fcn.100011b0
mov eax, esi
jmp 0x10027f57
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10027f9a
push esi
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10028050
mov edi, dword [ebp + 8]
call fcn.10026572
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], 0x44
call fcn.10044e90
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x44], ax
xor eax, eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x48], 1
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1002803f
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
call ebx
push dword [ebp + 8]
call fcn.1002659f
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x10027f9a

Function at 0x10028220
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x10028247
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003f03d
leave
ret 4
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x210], esi
test esi, esi
je 0x10028269
cmp esi, 0xffffffff
jne 0x1002827b
xor esi, esi
lea eax, [ebp - 0x210]
call fcn.100011b0
mov eax, esi
pop esi
jmp 0x10028239
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10044e90
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jbe 0x10028269
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.1002765d
xor esi, esi
inc esi
jmp 0x1002826b