joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000bcb3
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x9c0], 0x270
jl 0x1000bd65
push ebx
push esi
push edi
xor esi, esi
mov edi, 0x7fffffff
mov eax, dword [ecx + esi*4 + 4]
lea edx, [ecx + esi*4]
xor eax, dword [edx]
and eax, edi
xor eax, dword [edx]
mov ebx, eax
shr eax, 1
and ebx, 1
xor eax, dword [ebx*4 + 0x1001e2d0]
xor eax, dword [ecx + esi*4 + 0x634]
inc esi
mov dword [edx], eax
cmp esi, 0xe3
jl 0x1000bcd3
jmp 0x1000bd27
mov eax, dword [ecx + esi*4 + 4]
lea edx, [ecx + esi*4]
xor eax, dword [edx]
and eax, edi
xor eax, dword [edx]
mov ebx, eax
shr eax, 1
and ebx, 1
xor eax, dword [ebx*4 + 0x1001e2d0]
xor eax, dword [ecx + esi*4 - 0x38c]
inc esi
mov dword [edx], eax
cmp esi, 0x26f
jl 0x1000bd02
mov eax, dword [ecx + 0x9bc]
xor eax, dword [ecx]
and eax, edi
xor eax, dword [ecx + 0x9bc]
pop edi
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x1001e2d0]
xor edx, dword [ecx + 0x630]
shr eax, 1
xor edx, eax
and dword [ecx + 0x9c0], 0
pop esi
mov dword [ecx + 0x9bc], edx
pop ebx
mov eax, dword [ecx + 0x9c0]
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ecx + 0x9c0], eax
mov eax, edx
shr eax, 0xb
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop ebp
ret

Function at 0x1000be10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
xor ecx, ecx
not eax
cmp dword [ebp + 0xc], ecx
jne 0x1000be23
xor eax, eax
pop ebp
ret
jbe 0x1000be52
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor eax, edx
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0x10016a60]
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0x10016a60]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x1000be25
not eax
pop ebp
ret

Function at 0x1000bf53
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.1000be98
mov edi, eax
pop ecx
cmp edi, ebx
je 0x1000bfad
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x1000bfa6
lea eax, [esi + 1]
push eax
call fcn.1000a890
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1000bfa6
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push edi
call fcn.1000bf00
add esp, 0x10
test eax, eax
je 0x1000bfa6
cmp dword [ebp - 8], esi
je 0x1000bfc2
push edi
call dword [0x10023690]
cmp dword [ebp - 4], ebx
je 0x1000bfbe
lea eax, [ebp - 4]
push ebx
push eax
call fcn.1000a8c0
pop ecx
pop ecx
xor eax, eax
jmp 0x1000bfdb
mov eax, dword [ebp - 4]
mov byte [esi + eax], bl
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x1000bfd1
mov dword [eax], esi
push edi
call dword [0x10023690]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000cd3a
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
xor ebx, ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
call edi
call esi
push eax
push 4
call dword [0x100236f0]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1000ce43
push 0x190
call fcn.1000a890
pop ecx
mov dword [ebp - 8], eax
test eax, eax
jne 0x1000cd91
push dword [ebp - 4]
call dword [0x10023690]
xor eax, eax
jmp 0x1000ce4f
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x28], 0x1c
call sub.KERNEL32.dll_Thread32First
jmp 0x1000ce32
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], eax
jne 0x1000ce26
xor eax, eax
cmp dword [ebp + 0x10], eax
jbe 0x1000cdc9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx + eax*4]
je 0x1000ce26
inc eax
cmp eax, dword [ebp + 0x10]
jb 0x1000cdb8
call edi
cmp dword [ebp - 0x20], eax
je 0x1000ce26
push dword [ebp - 0x20]
push 0
push 2
call dword [0x10023668]
mov esi, eax
test esi, esi
je 0x1000ce26
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1000ce1f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + ebx*4], ecx
inc ebx
push 0x64
xor edx, edx
mov eax, ebx
pop ecx
div ecx
test edx, edx
jne 0x1000ce1f
mov eax, ebx
shl eax, 2
lea ecx, [eax + 0x190]
push ecx
push eax
lea eax, [ebp - 8]
push eax
call fcn.1000a970
add esp, 0xc
push esi
call dword [0x10023690]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1000cda9
push dword [ebp - 4]
call dword [0x10023690]
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000ce4c
mov dword [eax], ebx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000cea4
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ebp
ret

Function at 0x1000cec0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret
Function at 0x1000cff1
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
push edi
push 8
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x14], 0x500
call fcn.1000ced8
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x1000d01f
xor eax, eax
jmp 0x1000d0aa
lea eax, [ebp - 0x10]
push eax
push 2
push edi
call fcn.1000cf24
add esp, 0xc
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1000d08f
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
call dword [0x10023734]
test eax, eax
je 0x1000d08f
mov eax, dword [ebp - 4]
push esi
xor esi, esi
mov dword [ebp - 8], ebx
cmp dword [eax], ebx
jbe 0x1000d085
push dword [ebp - 0xc]
push dword [eax + esi*8 + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1000d07e
mov eax, dword [ebp - 4]
inc esi
cmp esi, dword [eax]
jb 0x1000d063
jmp 0x1000d085
mov dword [ebp - 8], 1
push dword [ebp - 0xc]
call dword [0x100236d4]
pop esi
push edi
call dword [0x10023690]
cmp dword [ebp - 4], ebx
je 0x1000d0a7
lea eax, [ebp - 4]
push ebx
push eax
call fcn.1000a8c0
pop ecx
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret

Function at 0x1000d0ae
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x12
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 8], 0x500
call dword [0x10023734]
test eax, eax
jne 0x1000d0de
leave
ret
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 4]
mov esi, eax
call dword [0x100236d4]
mov eax, esi
pop esi
leave
ret

Function at 0x1000d4bd
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [0x100222c8], 3
je 0x1000d59b
push dword [0x10023a4c]
push dword [0x100233f0]
call fcn.1000bc1c
pop ecx
pop ecx
test eax, eax
jne 0x1000d59b
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
call fcn.1000c600
mov dword [ebp - 4], eax
test eax, eax
je 0x1000d56f
push 0x1721
call fcn.1000b76d
pop ecx
mov dword [ebp - 8], eax
test esi, esi
jne 0x1000d51a
mov esi, str.null
push 0x100221c8
push dword [0x100232e4]
push esi
push 0x100232e8
push eax
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.1000bab6
lea eax, [ebp - 8]
push eax
call fcn.1000b814
push dword [0x10023a10]
push dword [ebp - 4]
call fcn.1000c670
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 4]
call fcn.1000c6f0
lea eax, [ebp - 4]
push eax
call fcn.1000c9c0
add esp, 0x34
mov esi, dword [ebp + 8]
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
call fcn.1000cd3a
add esp, 0xc
test esi, esi
je 0x1000d58d
cmp dword [esi], 0
je 0x1000d59a
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000d572
pop esi
leave
ret
Function at 0x1000d885
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x100221a0], 0
je 0x1000d899
push 9
pop eax
leave
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x24]
leave
ret
Function at 0x1000e405
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
and dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
jle 0x1000e4a9
push ebx
push esi
push edi
movzx ecx, cl
movzx edi, dl
inc ecx
and ecx, 0x800000ff
jns 0x1000e441
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 1], cl
movzx ecx, cl
mov dl, byte [ecx + eax]
movzx ebx, dl
add ebx, edi
and ebx, 0x800000ff
jns 0x1000e45f
dec ebx
or ebx, 0xffffff00
inc ebx
mov esi, dword [ebp + 8]
add esi, dword [ebp - 8]
movzx edi, bl
mov byte [ebp + 0x13], bl
mov bl, byte [edi + eax]
mov byte [ecx + eax], bl
mov byte [edi + eax], dl
movzx ebx, byte [ecx + eax]
movzx edx, dl
add ebx, edx
and ebx, 0x800000ff
jns 0x1000e48d
dec ebx
or ebx, 0xffffff00
inc ebx
movzx edx, bl
mov dl, byte [edx + eax]
xor byte [esi], dl
inc dword [ebp - 8]
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jl 0x1000e430
mov dl, byte [ebp + 0x13]
mov cl, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
leave
ret

Function at 0x1000e4b7
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
pop ebp
ret
Function at 0x1000e4f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14c
push ebx
push esi
xor edx, edx
lea ecx, [eax + 0x1d]
push edi
movzx esi, byte [ecx - 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 2]
shl esi, 8
or esi, edi
mov dword [ebp + edx*4 - 0x14c], esi
inc edx
add ecx, 4
cmp edx, 0x10
jl 0x1000e506
push 0x40
lea ecx, [ebp - 0x144]
pop edx
mov esi, dword [ecx + 0x2c]
xor esi, dword [ecx + 0x18]
xor esi, dword [ecx - 8]
xor esi, dword [ecx]
add ecx, 4
dec edx
rol esi, 1
mov dword [ecx + 0x34], esi
jne 0x1000e53d
mov esi, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
and dword [ebp + 8], 0
mov dword [ebp - 4], esi
mov esi, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 8]
mov edi, ecx
not edi
and edi, dword [ebp - 4]
mov ebx, edx
and ebx, ecx
or edi, ebx
rol esi, 5
add esi, edi
mov edi, dword [ebp + 8]
add esi, dword [ebp + edi*4 - 0x14c]
mov edi, dword [ebp - 0xc]
inc dword [ebp + 8]
lea esi, [esi + edi + 0x5a827999]
mov edi, dword [ebp - 4]
ror ecx, 2
cmp dword [ebp + 8], 0x14
mov dword [ebp - 4], edx
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
jl 0x1000e56e
mov dword [ebp + 8], 0x14
mov ebx, dword [ebp - 4]
xor ebx, edx
xor ebx, ecx
rol esi, 5
add esi, ebx
mov ebx, dword [ebp + 8]
add esi, dword [ebp + ebx*4 - 0x14c]
inc dword [ebp + 8]
lea esi, [esi + edi + 0x6ed9eba1]
mov edi, dword [ebp - 4]
ror ecx, 2
cmp dword [ebp + 8], 0x28
mov dword [ebp - 4], edx
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 8], esi
jl 0x1000e5bb
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], 0x28
mov edi, edx
or edi, ecx
and edi, dword [ebp - 4]
mov ebx, edx
and ebx, ecx
or edi, ebx
mov ebx, dword [ebp + 8]
add edi, dword [ebp + ebx*4 - 0x14c]
rol esi, 5
add esi, dword [ebp - 0xc]
inc dword [ebp + 8]
lea esi, [edi + esi - 0x70e44324]
mov edi, dword [ebp - 4]
ror ecx, 2
push 0x3c
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edx
pop edi
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 8], esi
cmp dword [ebp + 8], edi
jl 0x1000e5fc
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
mov ebx, dword [ebp + 8]
xor edi, edx
xor edi, ecx
add edi, dword [ebp + ebx*4 - 0x14c]
mov ebx, dword [ebp - 4]
rol esi, 5
add esi, dword [ebp - 0xc]
inc dword [ebp + 8]
ror ecx, 2
cmp dword [ebp + 8], 0x50
mov dword [ebp - 4], edx
lea esi, [edi + esi - 0x359d3e2a]
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
jl 0x1000e642
mov edi, dword [eax]
add edi, esi
mov esi, dword [eax + 4]
add esi, ecx
mov ecx, dword [eax + 8]
add ecx, edx
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 4]
mov dword [eax], edi
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
pop edi
add ecx, ebx
and dword [eax + 0x5c], 0
mov dword [eax + 4], esi
pop esi
mov dword [eax + 0x10], ecx
pop ebx
leave
ret
Function at 0x401549
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call section..text
test al, al
je 0x401629
push 1
push str.SeDebugPrivilege
call fcn.004014b7
pop ecx
lea eax, [ebp - 4]
pop ecx
push eax
lea eax, [ebp - 8]
push eax
push 1
push ebx
push ebx
call dword [0x4031e4]
test eax, eax
je 0x401608
cmp dword [ebp - 4], ebx
je 0x40161d
push str.Client_IP
push str.DISC_TIME
push str.LOGON_TIME
push str.STATE
push 0x403194
push str.SESSIONNAME
push str._USERNAME
push str.__18s__14s__6s__8s__16s__t__16s__16s_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 0x20
cmp dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
jbe 0x401629
push esi
push edi
mov eax, dword [ebp - 8]
lea edi, [ebp - 0x18]
lea esi, [ebx + eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x10], 6
je 0x4015f4
cmp dword [ebp - 0x18], 0xffffffff
je 0x4015f4
cmp dword [ebp - 0x18], 0
je 0x4015f4
push dword [ebp - 0x18]
call fcn.004012a1
pop ecx
inc dword [ebp - 0xc]
add ebx, 0xc
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jb 0x4015cd
pop edi
xor ebx, ebx
pop esi
jmp 0x401629
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WTSEnumerateSessions_Error_Code___d_n
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
jmp 0x401628
push str.No_One_Logon_n
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
cmp dword [ebp - 8], ebx
pop ebx
je 0x401638
push dword [ebp - 8]
call dword [0x4031e0]
xor al, al
leave
ret
Function at 0x4016c6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402080
push 0x401800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x403200], 0xffffffff
or dword [0x403204], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4031fc]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x4031f8]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x403208], eax
call fcn.004017f7
cmp dword [0x4031d8], 0
jne 0x401749
push 0x4017f4
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004017e2
push 0x40300c
push 0x403008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x4031f4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4031f0]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x403004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.0040163c
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0xcf91b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00cf9140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00cf9140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00cf9140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00cf9140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xcf9bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xcf9c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xd0b87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xcf9c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xcf9c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x63ec2460
Capabilities:
Get memory capacity

Disassembly:
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 4
jbe 0x63ec1558
mov dword [esp], str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
sub esp, 4
test eax, eax
je 0x63ec1558
mov dword [esp + 4], str.GlobalMemoryStatusEx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x63ec1558
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], 0x40
mov dword [esp], ebx
call eax
sub esp, 4
test eax, eax
je 0x63ec155c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov esi, edx
or esi, eax
jne 0x63ec1576
jmp 0x63ec155c
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], 0x20
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
xor edx, edx
sub esp, 4
mov eax, dword [esp + 0x18]
add esp, 0x54
pop ebx
pop esi
ret
jmp 0x63ec14f0

Function at 0x63ec3f10
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x4c
lea eax, [esp + 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
sub esp, 4
mov eax, dword [esp + 0x30]
add esp, 0x4c
ret
jmp 0x63ec1580

Function at 0x63ecb7e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.63ecb583
dec ebp
dec edi
je 0x63ecb81a
lea eax, [ebp - 0x58]
push eax
call fcn.63ecb593
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.63ecb548
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
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
dec dword [ebx - 0xe0807bb]
test edx, edx
je 0x63ecb871
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.63ecb583
sub ebp, dword [edi + 0x7d]
dec edi
lea eax, [ebp - 0x40]
push eax
call fcn.63ecb593
push eax
push esi
push dword [ebp + 8]
call fcn.63ecb548
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.63ecb583
jp 0x63ecb8f3
mov byte [eax - 0x7717ba73], ah
pop ebp
call 0x4d4a4144
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
invalid
jmp 0xa4d6febe
Function at 0x63ecb990
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push dword [ebp + 8]
call fcn.63ecb548
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.63ecb593
push eax
push esi
push dword [ebp + 8]
call fcn.63ecb548
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.63ecb583
cdq
mov esi, 0x9d88d960
jl 0x63ecba08
invalid
invalid

Function at 0x63ecbb80
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x63ecbb28
cmp dword [eax + 0xc], ebx
je 0x63ecbbcb
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.63ecb583
mov esi, 0x396e3918
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x63ecbbb9
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x63ecbb94
and eax, 0xffff
push eax
jmp 0x63ecbb98
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
invalid
movsd dword es:[edi], dword [esi]