joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48a90e
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
pushal
lea esp, [esp + 0x58]
cmp dword [ebp - 4], ebx
pushal
pop dword [esp + 4]
jmp 0x48a914
lea esp, [esp + 4]
add ecx, 0x10
sub edx, 0x10
sub esp, 0x18
pushal
jmp 0x48a8cb
lea esp, [esp + 3]
jmp 0x48a8ed
push dword [esp + 0xc]
pop word [esp + 0xb]
lea esp, [esp + 2]
jmp 0x48a9f7
lea esp, [esp + 0x1c]
jl 0x45cf41
mov eax, dword [ebp - 8]
jmp 0x45cf62

Function at 0x48a935
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x48a967
lea ecx, [eax - 1]
bsr bx, bp
mov edi, dword [esp]
jmp 0x48a9d6
lea esp, [esp + 4]
jle 0x45cf26
bsf cx, si
xchg bl, bh
jmp 0x48a937
mov ecx, 0xff
jmp 0x45cf8e
mov dword [edi], ecx
pop edi
mov bl, bh
shr edx, 7
bsr di, cx
mov dl, dh
jmp 0x48a990
push edi
mov edi, ebp
lea edi, [edi - 4]
jmp 0x48a9ab

Function at 0x48aa31
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x48aac5
lea esp, [esp + 1]
and edi, ecx
push edx
pop word [esp]
call fcn.0048aaa7
rol byte [eax - 0x2a], 1
mov cl, 0x40
cmp dword [ebp + 0x4c], 0x8b5126df
pop esi
mov edi, dword [esi]
pop esi
cmc
push edx
add esp, 3
add esp, 0
jmp 0x48aa7f
push esi
mov esi, edi
lea esi, [esi*4]
lea esi, [esi + 0x467164]
jmp 0x48aa9a

Function at 0x48ab3a
Capabilities:
Encrypt data using aes

Disassembly:
sub esp, 0x1e
lea esp, [esp + 2]
jmp 0x48ab23
lea esp, [esp + 0x34]
xor edi, dword [ebx*4 + 0x467d64]
mov bl, bh
lea ebx, [esp + ecx]
mov ebx, 0x75df79a0
jmp 0x48aaf5
lea esp, [esp + 0x1c]
movzx ebx, byte [esi + 2]
call fcn.0048ab6a
cmp esp, dword [ecx + 0x64a35031]
pushal
mov dword [0xcb2135da], eax
and ebx, ecx
and ebx, ecx
sub esp, 2
lea esp, [esp + 2]
jmp 0x48ab0c

Function at 0x48ac28
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
shr edi, 0x18
sub esp, 0x1a
push esp
jmp 0x48ac64
lea esp, [esp + 2]
mov edi, dword [edi*4 + 0x467164]
push esp
add esp, 1
lea esp, [esp]
jmp 0x48ac4b

Function at 0x48aeca
Capabilities:
Encrypt data using aes

Disassembly:
mov byte [esp], dh
push esp
and ebx, ecx
jmp 0x48ae70
lea esp, [esp + 0x18]
xor edi, dword [ebx*4 + 0x467d64]
mov bl, bh
clc
stc
jmp 0x48aec0
movzx ebx, byte [esi + 0xa]
call 0x48aeca
bound esp, qword [esi - 1]
je 0x48aef2
add dword [esi - 1], esp
je 0x48aef7
add ebx, ebp
outsd dx, dword [esi]
popfd
sbb eax, 0xe127d48d
in eax, dx
outsb dx, byte [esi]
cld
wait
jbe 0x48aea3
inc esi
jno 0x48aedc
salc
or al, ch
invalid
add ch, bl
jb 0x48aee9
pushal
pop es
xor byte [eax - 9], dh
add dh, cl
dec edx
push 0xffffffffffffff85
xor al, 0x27
lea ebp, [ebp*4]
lea ebp, [ebp + 0x467164]
mov ebx, dword [ebp]
pop ebp
sub esp, 0xa
jmp 0x48aeef
Function at 0x48b087
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov edi, dword [edi*4 + 0x467164]
jmp 0x48b0b6
clc
push word [esp + 3]
push dword [esp + 4]
lea esp, [esp + 2]
jmp 0x48b04f
shr edi, 0x18
push esp
jmp 0x48b066
mov edi, dword [edi*4 + 0x467564]
sub esp, 2
sub esp, 0x10
lea esp, [esp + 2]
jmp 0x48b0f6
lea esp, [esp + 0x54]
xor edi, dword [ebx*4 + 0x467d64]
bswap ebx
call fcn.0048b0de
js 0x48b10f
mov dl, 0xad
and edi, ecx
stc
push edx
push esp
jmp 0x48b08d
and ebx, ecx
pushal
cmc
mov dword [esp + 0xb], eax
jmp 0x48b0a0
fbld tbyte [esi]
push ecx

Function at 0x48b0de
Capabilities:
Encrypt data using aes

Disassembly:
call fcn.0048b1c4
pop edi
lea esi, [edi*4]
mov ebx, esi
jmp 0x48b238
mov bx, word [esp]
mov dl, dh
jmp 0x48a9bb
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + 0x467164]
mov edx, 0xb66a1c08
jmp 0x48a9de
add esi, 0x10
pushal
jmp 0x48aa25
mov dword [esp], edx
cmc
cmc
push esp
lea esp, [esp + 4]
popal
call 0x48aa47
push 0xffffffffffffffeb
jnp 0x48aa3b
in eax, dx
push esp
mov ds, word [ecx]
js 0x48aa7e
mov dl, 0xad
mov edx, dword [esi]
pushal
mov si, sp
sub bl, ah
jmp 0x48aa09
add byte [eax + 0x15e68313], 0xa0
push ss
add dword [eax + 3], 0xffe3e8ba
invalid
dec dword [ebp + 0x21012464]
iretd
lea esp, [esp + 4]
jmp 0x48b130
mov ecx, ebx
lea ecx, [ecx*4]
lea ecx, [ecx + 0x467164]
mov ebx, dword [ecx]
jmp 0x48b140
movzx ebx, byte [esi + 0xe]
sub esp, 6
pop word [esp + 1]
stc
push ecx
jmp 0x48b117
pop ecx
stc
cmc
stc
cmc
jmp 0x48b1a2
mov edx, dword [edx*4 + 0x467164]
jmp 0x48b186
pushal
mov byte [esp + 6], bh
and edx, ecx
call fcn.0048b404
loopne 0x48b1f7
out dx, eax
mov bh, byte [ecx + 0x41]
into
push eax
invalid
and ebx, ecx
cmc
lea esp, [esp + 0xc]
xor edi, dword [ebx*4 + 0x467964]
jmp 0x48b16a
and edx, ecx
sub esp, 4
mov dword [esp], esi
sub esp, 6
lea esp, [esp + 2]
jmp 0x48b147
invalid
push 0x3a5fcf6b
leave
push eax
loop 0x48b1fc
insb byte es:[edi], dx
jg 0x48b228
lea esp, [esp + 0xc]
jne 0x45cf8e
mov byte [0xffffd1d], al
test byte [ebx + 0x71f1fffd], dh
loope 0x48b176
je 0x45cf26
int1
jno 0x48b1d6
xor byte [ebx - 0x4b], 0xf1
jae 0x48b1ad
mov ch, 0xf1
int1
jb 0x48b1db
xchg dword [edx - 0x3b], esi
jb 0x48b1c3
int1
ja 0x48b1e8
xor byte [ecx - 0x43], 0xea
add eax, 0x540c7e89
pop word [esp]
push word [esp + 1]
push edx
jmp 0x48b1e2
lea esp, [esp + 4]
leave
call 0x48b221
mov ah, 0x8d
and al, 4
ret
and ch, bh
jmp dword [ebx + ebp - 0x61d22145]
pop esi
pop ebx
push esp
jmp 0x48b216

Function at 0x48b295
Capabilities:
Encrypt data using aes

Disassembly:
mov dword [esi + 0xc], edi
push esp
jmp 0x48b206
Function at 0x91a710
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2eb000]
push edi
jmp 0x91a72a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x91a731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91a720
mov eax, 1
add ebx, ebx
jne 0x91a743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x91a754
jne 0x91a773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91a773
dec eax
add ebx, ebx
jne 0x91a760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x91a738
add ebx, ebx
jne 0x91a76f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x91a7c5
xor ecx, ecx
sub eax, 3
jb 0x91a78b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x91a7fa
sar eax, 1
mov ebp, eax
jmp 0x91a796
add ebx, ebx
jne 0x91a796
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91a764
inc ecx
add ebx, ebx
jne 0x91a7a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91a764
add ebx, ebx
jne 0x91a7b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x91a7a6
jne 0x91a7c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x91a7a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x91a7e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x91a7d6
jmp 0x91a726
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x91a7e4
add edi, ecx
jmp 0x91a726
pop esi
mov edi, esi
mov ecx, 0x9709
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x91a802
cmp byte [edi], 0x2e
jne 0x91a802
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x91a807
lea edi, [esi + 0x517000]
mov eax, dword [edi]
or eax, eax
je 0x91a87f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x51c8b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x51c9b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x91a834
mov ecx, edi
jns 0x91a863
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x51c9b8]
or eax, eax
je 0x91a879
mov dword [ebx], eax
add ebx, 4
jmp 0x91a851
call dword [esi + 0x51c9c8]
mov ebp, dword [esi + 0x51c9bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x91a8b3
sub esp, 0xffffff80
jmp 0x4012f0
Function at 0x11210
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push 0x111e0
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.ntoskrnl.exe_wcscpy]
add esp, 8
lea ecx, [ebp - 0xf8]
push ecx
call fcn.000134a0
lea edx, [ebp - 0xf8]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea ecx, [ebp - 4]
push ecx
push 0
push 0x100
push 0x22
lea edx, [ebp - 0x108]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
je 0x11276
xor al, al
jmp 0x112d3
mov ecx, dword [ebp - 4]
push ecx
call fcn.00011310
push 0x111f4
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.ntoskrnl.exe_wcscpy]
add esp, 8
lea eax, [ebp - 0x80]
push eax
call fcn.000134a0
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x100]
push edx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
test eax, eax
je 0x112d1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
xor al, al
jmp 0x112d3
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x1e1d0
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x269c8
push 0x25444
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff0
push ebx
push esi
push edi
push 0x27228
call fcn.000252d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
jmp 0x1e216
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [0x2728c]
jge 0x1e373
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x28
mov eax, dword [0x27294]
mov ecx, dword [eax + edx + 8]
cmp ecx, dword [ebp + 8]
jne 0x1e36e
mov byte [ebp - 0x1d], 0
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x28
mov eax, dword [0x27294]
cmp dword [eax + edx + 0xc], 0
je 0x1e2be
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x28
mov edx, dword [0x27294]
mov eax, dword [edx + ecx + 0xc]
mov dword [eax + 0x18], 0xc0000001
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x28
mov edx, dword [0x27294]
mov eax, dword [edx + ecx + 0xc]
mov dword [eax + 0x1c], 0
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x28
mov eax, dword [0x27294]
mov edx, dword [eax + edx + 0xc]
add edx, 0x38
xchg dword [edx], ecx
neg ecx
sbb ecx, ecx
inc ecx
mov byte [ebp - 0x1d], cl
movzx eax, byte [ebp - 0x1d]
test eax, eax
jne 0x1e2be
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x28
xor dl, dl
mov eax, dword [0x27294]
mov ecx, dword [eax + ecx + 0xc]
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
movzx ecx, byte [ebp - 0x1d]
test ecx, ecx
jne 0x1e36e
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x28
mov eax, dword [0x27294]
cmp dword [eax + edx + 0x14], 0
je 0x1e30b
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x28
mov edx, dword [0x27294]
mov eax, dword [edx + ecx + 0x14]
mov byte [eax + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x28
mov edx, dword [0x27294]
mov eax, dword [edx + ecx + 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_KeSetEvent]
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x28
mov edx, dword [0x27294]
cmp dword [edx + ecx + 0x10], 0
je 0x1e352
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x28
mov ecx, dword [0x27294]
mov edx, dword [ecx + eax + 0x10]
add edx, 0x10
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
jne 0x1e352
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x28
mov edx, dword [0x27294]
mov eax, dword [edx + ecx + 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x28
mov eax, dword [0x27294]
lea edx, [eax + edx + 8]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
jmp 0x1e20d
mov dword [ebp - 4], 0xffffffff
call fcn.0001e381
jmp 0x1e38c
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x22a00
Capabilities:
Get file attributes
Map section object
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov byte [ebp - 0x21], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.00022b80
push 0
push 0
push 0x40
push 1
push 1
push 0
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jl 0x22b6e
mov dword [ebp - 0x54], 0
push 5
push 0x18
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
test eax, eax
jl 0x22a6e
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x54], 0xa0
jbe 0x22b62
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00022b80
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push 0x8000000
push 2
push 0
lea edx, [ebp - 0x20]
push edx
push 0xf0005
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
test eax, eax
jl 0x22b62
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
push 2
push 0
push 1
lea ecx, [ebp - 0x5c]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x58]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
jl 0x22b56
cmp dword [ebp - 0x58], 0
je 0x22b56
mov edx, dword [ebp - 0x58]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x22b4a
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x3c]
add edx, 0x178
cmp edx, dword [ebp - 0x54]
jae 0x22b4a
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
cmp dword [edx], 0x4550
jne 0x22b4a
mov eax, dword [ebp - 0x60]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x22b3e
mov edx, dword [ebp - 0x60]
movzx eax, word [edx + 0x18]
cmp eax, 0x20b
jne 0x22b4a
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x58]
mov dword [ecx], edx
mov al, 1
jmp 0x22b71
mov eax, dword [ebp - 0x58]
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, byte [ebp - 0x21]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x22f90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [ebp - 8], 5
ja 0x22fc3
cmp dword [ebp - 8], 5
jne 0x22fba
cmp dword [ebp - 4], 0
ja 0x22fc3
mov dword [ebp - 0xc], 0
jmp 0x22fca
mov dword [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x22fe0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [ebp - 8], 6
ja 0x23013
cmp dword [ebp - 8], 6
jne 0x2300a
cmp dword [ebp - 4], 1
ja 0x23013
mov dword [ebp - 0xc], 0
jmp 0x2301a
mov dword [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x23030
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [ebp - 8], 0xa
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret

Function at 0x23060
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 8]
push ecx
push 0xb
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp dword [ebp - 4], 0
je 0x2313c
mov edx, dword [ebp - 4]
shl edx, 1
push edx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x2313c
push 0
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0xb
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
jne 0x23132
mov edx, dword [ebp - 8]
add edx, 4
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0
jmp 0x230de
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx]
jae 0x23132
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x11c
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x11c
mov edx, dword [ebp - 0x14]
movzx ecx, word [edx + ecx + 0x1a]
lea edx, [eax + ecx + 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
add esp, 8
test eax, eax
jne 0x23130
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x11c
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0xc], eax
jmp 0x23132
jmp 0x230d5
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x23bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x23bf7
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x23bf7
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x23bf7
mov eax, dword [ebp - 4]
add eax, 0x28
jmp 0x23bf9
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x24250
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 5
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp dword [ebp - 4], 0
jne 0x242e0
mov dword [ebp - 4], 0x10000
mov ecx, dword [ebp - 4]
shl ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x242a8
jmp 0x242de
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 5
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
jge 0x242cf
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
jne 0x242de
cmp dword [ebp - 4], 0x400000
jb 0x24288
jmp 0x24320
mov eax, dword [ebp - 4]
shl eax, 1
push eax
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x24320
push 0
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 8]
push edx
push 5
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
jge 0x24320
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x2436a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, 1
test edx, edx
je 0x24360
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x50]
cmp ecx, dword [ebp + 8]
jne 0x24349
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x24353
jmp 0x24360
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx]
mov dword [ebp - 0x10], edx
jmp 0x2432c
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x25070
Capabilities:
Get file attributes
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov byte [ebp - 0x235], 0
mov word [ebp - 0x210], 0x5c
mov word [ebp - 0x20e], 0x3f
mov word [ebp - 0x20c], 0x3f
mov word [ebp - 0x20a], 0x5c
mov word [ebp - 0x208], 0
mov eax, dword [ebp + 8]
push eax
push 0x210
lea ecx, [ebp - 0x210]
push ecx
call fcn.0001bfe0
cmp dword [ebp + 0xc], 0
je 0x250db
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x240]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.00022b80
push 0
push 0
push 0x40
push 1
push 1
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x234]
push edx
push 1
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jl 0x25296
mov dword [ebp - 0x244], 0
cmp dword [ebp + 0xc], 0
jne 0x25142
cmp dword [ebp + 0x14], 0
je 0x25264
push 0
push 0
lea ecx, [ebp - 0x234]
push ecx
call fcn.00022b80
mov edx, dword [ebp - 0x21c]
push edx
push 0x8000000
push 2
push 0
lea eax, [ebp - 0x234]
push eax
push 0xf0005
lea ecx, [ebp - 0x244]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
test eax, eax
jl 0x25262
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
push 2
push 0
push 1
lea edx, [ebp - 0x248]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x24c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
jl 0x25255
cmp dword [ebp - 0x24c], 0
je 0x25255
push 5
push 0x18
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x270]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
test eax, eax
jl 0x25246
cmp dword [ebp + 0x14], 0
je 0x25209
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x260]
mov dword [edx], eax
cmp dword [ebp + 0x10], 0
je 0x2521a
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 0x260]
jbe 0x25223
mov edx, dword [ebp - 0x260]
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0xc], 0
je 0x2523f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
push 0xa
call fcn.000193c0
mov byte [ebp - 0x235], 1
mov eax, dword [ebp - 0x24c]
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x2526b
mov byte [ebp - 0x235], 1
movzx edx, byte [ebp - 0x235]
test edx, edx
je 0x25289
cmp dword [ebp + 0x18], 0
je 0x25289
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x21c]
mov dword [eax], ecx
jmp 0x25296
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, byte [ebp - 0x235]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219