joyce8/EMBER2024-capa huggingface dataset:
Function at 0x87a2d0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x10
lea edi, [ebp - 0x44]
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0xc3d2e1f0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x4c]
mov ebx, eax
add eax, ecx
and ebx, 0x3f
cmp eax, ecx
mov dword [ebp - 0x4c], eax
jae 0x87a32b
inc dword [ebp - 0x48]
add ecx, ebx
cmp ecx, 0x40
mov dword [ebp + 0x14], ecx
jb 0x87a389
shr ecx, 6
mov dword [ebp - 4], ecx
mov esi, dword [ebp + 0x10]
mov ecx, 0x40
sub ecx, ebx
lea edi, [ebp + ebx - 0x44]
mov edx, ecx
lea eax, [ebp - 0x60]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00878de0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov ecx, 0x40
add esp, 4
sub ecx, ebx
xor ebx, ebx
add edx, ecx
mov ecx, dword [ebp + 0x14]
sub ecx, 0x40
dec eax
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], ecx
mov dword [ebp - 4], eax
jne 0x87a33b
mov eax, dword [ebp - 0x4c]
cmp ecx, ebx
jbe 0x87a3a7
mov esi, dword [ebp + 0x10]
sub ecx, ebx
mov edx, ecx
lea edi, [ebp + ebx - 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 8]
mov ebx, eax
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
add eax, ecx
and ebx, 0x3f
cmp eax, ecx
mov dword [ebp - 0x4c], eax
jae 0x87a3c1
inc dword [ebp - 0x48]
add ecx, ebx
cmp ecx, 0x40
mov dword [ebp + 0x14], ecx
jb 0x87a41c
shr ecx, 6
mov dword [ebp + 8], ecx
mov esi, dword [ebp + 0x10]
mov ecx, 0x40
sub ecx, ebx
lea edi, [ebp + ebx - 0x44]
mov edx, ecx
lea eax, [ebp - 0x60]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00878de0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, 0x40
add esp, 4
sub ecx, ebx
xor ebx, ebx
add edx, ecx
mov ecx, dword [ebp + 0x14]
sub ecx, 0x40
dec eax
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 8], eax
jne 0x87a3d1
cmp ecx, ebx
jbe 0x87a437
mov esi, dword [ebp + 0x10]
sub ecx, ebx
mov edx, ecx
lea edi, [ebp + ebx - 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x60]
push eax
push esi
call fcn.0087a1e0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x87e880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
push ebx
mov dword [ebp - 0xf], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xb], eax
mov dword [ebp - 7], eax
mov byte [ebp - 0xf], 0x10
mov word [ebp - 3], ax
mov byte [ebp - 0x10], 1
mov byte [ebp - 1], al
call esi
sub al, 0x10
mov byte [ebp - 4], al
call esi
shr eax, 4
sub al, 0x33
mov byte [ebp - 3], al
call esi
shr eax, 8
sub al, 0x55
mov byte [ebp - 2], al
call esi
shr eax, 0xc
add al, 0x12
mov ecx, 0xa
mov byte [ebp - 1], al
xor eax, eax
mov bl, byte [eax + 0x7fb3e0]
mov edx, eax
shr edx, 2
mov dl, byte [ebp + edx - 4]
xor dl, bl
mov byte [ebp + eax - 0xe], dl
inc eax
dec ecx
jne 0x87e8d4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop esi
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
pop ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov esp, ebp
pop ebp
ret

Function at 0x87e910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x17], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x13], ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xf], ecx
xor ebx, ebx
mov dword [ebp - 0x20], eax
mov word [ebp - 0xb], cx
cmp esi, 0xffffffff
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], bl
mov byte [ebp - 9], cl
jne 0x87e953
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x2c]
lea eax, [ebp - 8]
push edx
push eax
lea ecx, [ebp - 0x18]
push 0x10
push ecx
push esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.0087b690
test eax, eax
jne 0x87e989
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x87e989
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 8]
push 1
lea eax, [ebp - 0x2c]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp dword [ebp - 8], 0x10
je 0x87e9ab
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 4], edx
mov ecx, 0xa
mov esi, eax
shr esi, 2
mov bl, byte [ebp + esi - 0xc]
xor byte [ebp + eax - 0x16], bl
inc eax
dec ecx
jne 0x87e9b8
push edi
mov ecx, 0xa
mov edi, 0x7fb3e0
lea esi, [ebp - 0x16]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
pop edi
je 0x87e9e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x87e9f1
mov ecx, dword [ebp + 0x10]
mov word [ecx], 0x10
jmp 0x87ea3b
mov al, byte [ebp + 0xc]
xor esi, esi
cmp al, 1
jne 0x87ea1a
cmp dl, 0xca
jne 0x87ea10
cmp dh, 0xfe
jne 0x87ea10
cmp byte [ebp - 2], 0xba
jne 0x87ea10
cmp byte [ebp - 1], 0xbe
je 0x87ea40
mov edx, dword [ebp + 0x10]
mov word [edx], 0
jmp 0x87ea3b
cmp al, 2
jne 0x87ea40
cmp byte [ebp - 2], 0x53
jne 0x87ea33
cmp dh, 0x57
jne 0x87ea33
cmp dl, 0x46
je 0x87ea40
cmp dl, 0x43
je 0x87ea40
mov eax, dword [ebp + 0x10]
mov word [eax], 0
mov esi, 1
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push ecx
call fcn.0087b750
xor eax, eax
cmp esi, 1
pop esi
pop ebx
setne al
mov esp, ebp
pop ebp
ret
Function at 0x87f210
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push edi
xor edi, edi
test eax, eax
je 0x87f2bb
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x87f2bb
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x87f2bb
xor eax, eax
lea ecx, [edx + 8]
mov byte [ecx + eax], al
inc eax
cmp eax, 0x100
jl 0x87f23d
mov eax, 0xfffffff8
push ebx
sub eax, edx
push esi
mov dword [ebp - 4], eax
add eax, ecx
mov esi, dword [ebp + 8]
cdq
idiv dword [ebp + 0xc]
mov bl, byte [ecx]
xor eax, eax
mov al, byte [edx + esi]
mov edx, ebx
and edx, 0xff
add edi, eax
add edi, edx
and edi, 0x800000ff
jns 0x87f280
dec edi
or edi, 0xffffff00
inc edi
mov eax, dword [ebp + 0x10]
inc ecx
mov dl, byte [eax + edi + 8]
lea esi, [eax + 8]
mov eax, dword [ebp - 4]
mov byte [ecx - 1], dl
mov byte [esi + edi], bl
lea edx, [eax + ecx]
cmp edx, 0x100
jl 0x87f254
mov eax, dword [ebp + 0x10]
mov ecx, 0x40
lea edi, [eax + 0x108]
mov dword [eax + 0x208], 0
rep movsd dword es:[edi], dword [esi]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x87f2c0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
test eax, eax
je 0x87f423
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x87f423
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x87f423
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebx + 0x208]
push esi
cmp ecx, eax
push edi
je 0x87f35d
lea edi, [ebx + 8]
lea esi, [ebx + 0x108]
mov ecx, 0x40
xor edx, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xffff
mov dword [ebx + 0x208], eax
div ecx
mov dword [ebx], 0
mov dword [ebx + 4], 0
test edx, edx
jbe 0x87f35a
mov edi, edx
mov eax, dword [ebx]
mov esi, dword [ebx + 4]
inc eax
xor ecx, ecx
and eax, 0xff
mov dword [ebx], eax
mov dl, byte [eax + ebx + 8]
add esi, edx
and esi, 0xff
dec edi
mov dword [ebx + 4], esi
mov cl, byte [eax + ebx + 8]
mov dl, byte [esi + ebx + 8]
mov byte [eax + ebx + 8], dl
mov eax, dword [ebx + 4]
mov byte [ebx + eax + 8], cl
jne 0x87f326
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
test edx, edx
jbe 0x87f410
mov ecx, dword [ebp + 0xc]
lea edi, [ebx + 8]
sub eax, ecx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
jmp 0x87f37e
mov eax, dword [ebp + 8]
add eax, ecx
xor edx, edx
mov ecx, 0xffff
div ecx
test edx, edx
jne 0x87f39f
lea esi, [ebx + 0x108]
mov ecx, 0x40
mov dword [ebx], edx
mov dword [ebx + 4], edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
mov esi, dword [ebx + 4]
inc eax
lea edi, [ebx + 8]
and eax, 0xff
mov dword [ebx], eax
mov dl, byte [eax + edi]
add esi, edx
xor edx, edx
and esi, 0xff
mov dword [ebx + 4], esi
mov dl, byte [eax + edi]
mov cl, byte [esi + edi]
mov byte [eax + edi], cl
mov eax, dword [ebx + 4]
mov byte [ebx + eax + 8], dl
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
xor edx, edx
mov dl, byte [ecx + ebx + 8]
xor ecx, ecx
mov cl, byte [ebx + eax + 8]
add edx, ecx
and edx, 0x800000ff
jns 0x87f3f2
dec edx
or edx, 0xffffff00
inc edx
mov ecx, dword [ebp + 0x14]
mov dl, byte [edx + ebx + 8]
mov al, byte [ecx]
xor al, dl
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
inc ecx
dec eax
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0xc], eax
jne 0x87f37b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x208]
add ecx, eax
pop edi
mov dword [ebx + 0x208], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x87fa00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x8830f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x883112
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x883104
pop ebx
pop esi
ret

Function at 0x883120
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push ebp
push esi
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
mov esi, dword [esp + 0x1c]
xor eax, eax
push edi
xor ecx, esi
mov esi, dword [esp + 0x1c]
mov edi, 0x20
mov ebx, edx
mov ebp, edx
shr ebx, 5
shl ebp, 4
xor ebx, ebp
mov ebp, eax
and ebp, 3
add ebx, edx
mov ebp, dword [esi + ebp*4]
add ebp, eax
sub eax, 0x61c88647
xor ebx, ebp
add ecx, ebx
mov ebx, ecx
mov ebp, ecx
shr ebx, 5
shl ebp, 4
xor ebx, ebp
mov ebp, eax
shr ebp, 0xb
and ebp, 3
add ebx, ecx
mov ebp, dword [esi + ebp*4]
add ebp, eax
xor ebx, ebp
add edx, ebx
dec edi
jne 0x88313e
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
ret

Function at 0x883190
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [esp + 0x18]
push edi
mov eax, 0xc6ef3720
mov edi, 0x20
mov ebx, ecx
mov ebp, ecx
shr ebx, 5
shl ebp, 4
xor ebx, ebp
mov ebp, eax
shr ebp, 0xb
and ebp, 3
add ebx, ecx
mov ebp, dword [esi + ebp*4]
add ebp, eax
add eax, 0x61c88647
xor ebx, ebp
sub edx, ebx
mov ebx, edx
mov ebp, edx
shr ebx, 5
shl ebp, 4
xor ebx, ebp
mov ebp, eax
and ebp, 3
add ebx, edx
mov ebp, dword [esi + ebp*4]
add ebp, eax
xor ebx, ebp
sub ecx, ebx
dec edi
jne 0x8831ab
mov eax, dword [esp + 0x20]
pop edi
xor ecx, eax
mov eax, dword [esp + 0x14]
pop esi
pop ebp
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
ret
Function at 0x883960
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
cmp word [ebp], 0x5a4d
je 0x883977
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov ebx, dword [ebp + 0x3c]
add ebx, ebp
cmp dword [ebx], 0x4550
je 0x88398b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x3000
push eax
push ecx
call esi
mov edi, eax
test edi, edi
jne 0x8839c1
mov edx, dword [ebx + 0x50]
push 4
push 0x3000
push edx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x8839c1
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
push 4
push 0x1000
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x50]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx + 0x54]
push 4
push 0x1000
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebx + 0x54]
add edx, ecx
mov dword [esp + 0x14], eax
push edx
push ebp
push eax
call fcn.00882d00
mov eax, dword [ebp + 0x3c]
mov ecx, dword [esp + 0x20]
add eax, ecx
push esi
push ebx
mov dword [esi], eax
push ebp
mov dword [eax + 0x34], edi
call fcn.00883aa0
mov ecx, dword [ebx + 0x34]
mov eax, edi
add esp, 0x18
sub eax, ecx
je 0x883a46
push eax
push esi
call fcn.00883cc0
add esp, 8
push esi
call fcn.00883d40
add esp, 4
test eax, eax
je 0x883a76
push esi
call fcn.00883b60
mov edx, dword [esi]
add esp, 4
mov eax, dword [edx + 0x28]
test eax, eax
je 0x883a8d
add eax, edi
test eax, eax
je 0x883a76
push 0
push 1
push edi
call eax
test eax, eax
jne 0x883a86
push esi
call fcn.00883430
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 0x10], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x883aa0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
xor ecx, ecx
push esi
mov ebx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x883b50
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
add esi, 0x10
cmp dword [esi], 0
jne 0x883b05
mov edx, dword [esp + 0x1c]
mov edi, dword [edx + 0x38]
test edi, edi
jle 0x883b32
mov eax, dword [esi - 4]
push 4
push 0x1000
add eax, ebx
push edi
push eax
call ebp
push edi
push 0
push eax
mov dword [esi - 8], eax
call fcn.00882d20
add esp, 0xc
jmp 0x883b32
mov edx, dword [esi - 4]
mov ecx, dword [esi]
push 4
push 0x1000
add edx, ebx
push ecx
push edx
call ebp
mov ecx, dword [esi + 4]
mov edi, eax
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x1c]
add ecx, eax
push ecx
push edi
call fcn.00882d00
add esp, 0xc
mov dword [esi - 8], edi
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add esi, 0x28
mov ecx, dword [edx]
xor edx, edx
mov dword [esp + 0x10], eax
mov dx, word [ecx + 6]
cmp eax, edx
jl 0x883ad4
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0x883b60
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov byte [ebp - 0x1c], 0x47
mov byte [ebp - 0x1b], 0x4b
mov eax, dword [eax]
mov byte [ebp - 0x1a], 0x41
mov byte [ebp - 0x19], 0x30
mov byte [ebp - 0x18], 0x20
mov byte [ebp - 0x17], 7
mov byte [ebp - 0x16], 0x1b
mov byte [ebp - 0x15], 0xd8
mov byte [ebp - 0x14], 0xeb
mov byte [ebp - 0x13], 0xc5
mov byte [ebp - 0x12], 0xcf
mov byte [ebp - 0x11], 0xa9
mov byte [ebp - 0x10], 0xbe
mov byte [ebp - 0xf], 0x9a
mov byte [ebp - 0xe], 0xff
mov byte [ebp - 0xd], 0
mov cx, word [eax + 0x14]
push ebx
push esi
lea edx, [ecx + eax + 0x18]
push edi
mov dword [ebp - 8], edx
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
popal
xor ecx, ecx
mov al, cl
mov dl, 0x11
inc al
mov bl, byte [ebp + ecx - 0x1c]
imul dl
xor bl, al
mov byte [ebp + ecx - 0x1c], bl
inc ecx
cmp ecx, 0x10
jb 0x883bd3
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov ebx, dword [edx]
cmp word [ebx + 6], 0
jbe 0x883cad
mov eax, dword [ebp - 8]
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x883c4c
mov ecx, dword [edi - 0x14]
mov edx, dword [edi - 0x1c]
push 0x4000
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x883c90
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov esi, dword [edx*4 + 0x875380]
je 0x883c66
or esi, 0x200
mov edx, dword [edi - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x883c81
test al, 0x40
je 0x883c78
mov ecx, dword [ebx + 0x20]
jmp 0x883c7f
test al, 0x80
je 0x883c90
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x883c90
mov ecx, dword [edi - 0x1c]
lea eax, [ebp - 8]
push eax
push esi
push edx
push ecx
call dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
xor ecx, ecx
inc eax
mov ebx, dword [edx]
add edi, 0x28
mov dword [ebp - 4], eax
mov cx, word [ebx + 6]
cmp eax, ecx
jl 0x883c19
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408e84
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x76fa3dd1
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4181734
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
push edi
push eax
xor ebx, ebx
push ebx
push 0x2000000
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
cmp ebp, ebx
je 0x401124
lea ecx, [esp + 0x1c]
push ecx
push 0x2000000
push ebp
lea esi, [ebx - 2]
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, 1
jne 0x40111d
lea edx, [esp + 0x18]
push edx
push eax
push eax
mov eax, dword [esp + 0x28]
push ebx
push 0x2000000
push eax
lea esi, [ebx - 3]
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
cmp eax, 1
jne 0x401112
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
lea esi, [ebx - 4]
lea edi, [ebx + 0x30]
mov dword [esp + 0x20], ebx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
cmp eax, 1
jne 0x401093
mov edi, 0x430
jmp 0x401097
mov dword [esp + 0x14], ebx
push 0x40
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.00403cd0
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
push eax
push edi
push ebx
push ebx
push ebx
push ebx
push ecx
push edx
mov dword [esp + 0x5c], 0x44
mov dword [esp + 0x64], str.winsta0default
mov dword [esp + 0x4c], ebx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
cmp eax, 1
jne 0x4010f8
xor esi, esi
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x401107
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret

Function at 0x401320
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x134
mov eax, dword [0x40a004]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
mov ebp, dword [esp + 0x140]
push esi
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4013d4
push 0x124
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00403cd0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x4013cd
mov edi, edi
test edi, edi
je 0x4013bd
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401390
sub eax, edx
je 0x4013bd
lea edx, [esp + 0x34]
push edx
push edi
call fcn.00401729
add esp, 8
test eax, eax
jne 0x4013bd
test ebp, ebp
je 0x4013b8
mov eax, dword [esp + 0x18]
mov dword [ebp], eax
mov ebx, 1
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x401380
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0040156c
add esp, 0x134
ret
Function at 0x40156c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a004]
jne 0x401576
repz ret
jmp fcn.004018f1
Function at 0x1000fcd3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
not edx
push edi
mov edi, dword [esp + 0xc]
test esi, esi
je 0x1000fcff
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100c2528]
inc edi
sub esi, 1
jne 0x1000fce7
not edx
pop edi
mov eax, edx
pop esi
ret

Function at 0x1000fd06
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
not ebx
push edi
mov edi, dword [esp + 0x14]
mov edx, ebx
test edi, edi
je 0x1000fd6c
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x1000fd34
cmp edi, 2
jb 0x1000fd34
cmp byte [esi], al
jne 0x1000fd34
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100c2528]
test edi, edi
jne 0x1000fd1d
jmp 0x1000fd73
cmp al, 0x23
jne 0x1000fd5a
cmp byte [esi], al
jne 0x1000fd5a
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100c2528]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000fd4c
pop edi
not edx
pop esi
mov eax, edx
pop ebx
ret

Function at 0x1001070b
Capabilities:
Read file on windows

Disassembly:
push dword [esp + 0x18]
push dword [esp + 0x14]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.100a2242
add esp, 0x10
xor edx, edx
ret
Function at 0x1001c24d
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf84d
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10124480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x30], 0
je 0x1001c281
push dword [esi + 0x30]
call fcn.1001ac41
pop ecx
cmp dword [esi + 0x34], 0
je 0x1001c290
push dword [esi + 0x34]
call fcn.1001ac41
pop ecx
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x1001ba27
push 2
push 0xc
push eax
call fcn.1009a764
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret