joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11c8aaa
Capabilities:
Encode data using base64

Disassembly:
idiv eax
lea esi, [edx + esi - 0x49ca23eb]
dec ax
movzx eax, byte [esi + eax - 0xf26f0dd]
rol dx, 0x84
inc edx
xor al, bl
sar dl, 1
imul edx, edx
rol edx, 0x61
dec al
lea edx, [edx*2 - 0x1c503153]
sar edx, 0xc7
ror al, 1
shr dx, 7
setae dl
adc al, 0x3c
sar dx, 0xab
btc edx, 0x94
shr dl, 0xa4
xor al, 0x95
add dx, dx
sbb edx, edx
xor bl, al
push esi
rol dl, 0x67
bts dx, dx
setb dl
push edi
call fcn.011a47f4
neg ecx
lea ecx, [ecx + edx + 0x1a8d631f]
inc al
btc edx, eax
sar al, 0x41
neg ecx
xor ecx, 0x39b54589
or edx, eax
inc edx
xor ebx, ecx
and dx, dx
adc edi, ecx
sal edx, 0xd4
jp 0xca5298
ror ecx, 1
dec dl
lea ecx, [ecx + edx - 0x1a659380]
jl 0xc5f00a
add byte [eax], al
add byte [edi + 0x65], al
je 0x11c8b15
je 0x11c8b28
dec eax
popal
outsb dx, byte [esi]
insb byte es:[edi], dx
add byte gs:[eax + 0x43921414], bh
neg eax
lea ecx, [eax + eax - 0x18f40cdc]
lea esi, [esi + ecx - 0x5fe7cb00]
not ecx
rol eax, cl
movzx edx, al
mov ecx, dword [edx + esi - 0x65]
bts dx, ax
ror al, 0x83
xor eax, 0x952b2fb0
xor ecx, ebx
jmp 0xededb7
sub eax, dword [ebx]
add eax, dword [edx + 0x254c8b]
not edx
shr dl, 0x87
lea ebp, [edx + ebp - 0x1ffc]
xor ecx, ebx
movsx eax, dx
xchg dword [esp + edx*2 - 0x4000], eax
push eax
sub ecx, 0xf816d3b3
xor ecx, 0x408d1d1a
xadd word [esp + edx*4 - 0x7ffd], dx
ror ecx, 2
idiv ax
xor edx, edx
bswap ecx
ror edx, 0x7e
sal dl, 6
lea ecx, [ecx + edx*2 + 0x7e329a16]
not eax
cdq
and eax, edx
xor ebx, ecx
mov dword [esp + 4], 0x9baf01b0
add edi, ecx
cwd
dec al
pop eax
pop ecx
jmp edi
push dword [ebx]
retf
Function at 0x11d749e
Capabilities:
Encode data using base64

Disassembly:
xor eax, eax
adc ebp, edx
neg eax
sub eax, 0x449f1b80
bt eax, 0xad
mov ecx, dword [edi + ecx*2 - 0x10f96200]
mov edx, dword [edi + 4]
push eax
lea eax, [eax*2 - 0x3cd52b76]
rol byte [esp + eax*2 - 0x73d93b11], 0xe2
adc ecx, edx
mov edx, 0xefb962bc
cdq
or eax, dword [esp + eax - 0x39ec9d8a]
mov eax, ecx
movsx ecx, byte [esp + edx]
sets dl
xor ecx, edx
mov dx, word ss:[eax + edx*2 - 2]
mov word [edi + 6], dx
mov byte [esp + 1], cl
lea ecx, [ecx - 0x677aa652]
movsx eax, cx
lea edi, [edi + eax*4 - 0x164b6]
call fcn.00e83b10
mov ecx, 0xef189e96
or cx, cx
movzx ecx, byte [ebp]
mov edx, 0x452be7b7
lea eax, [edx + edx*2 - 0x146ce55b]
xadd dx, ax
lea ebp, [ebp + edx - 0x452bb980]
xor cl, bl
btr ax, ax
adc cl, 0x9d
not cl
neg cl
cbw
sar edx, 0xce
inc cl
call fcn.00b8986d
mov dword [esp], 0x52a52409
dec ebx
call fcn.00e4cc02
mov ecx, 0xaf80e034
mov edx, dword [esi]
sar cx, 0xe2
lea eax, [ecx*4 + 0x463a3237]
push eax
lea esi, [esi + eax*2 - 0x87c24d2]
shl al, 0x62
pop ecx
xor edx, ebx
xor eax, eax
rol cx, cl
ror edx, 1
add ecx, ecx
xor edx, 0xff078317
xchg cl, al
not edx
sub edx, 0xe1041195
neg eax
xor ebx, edx
jmp 0x118bc58
Function at 0x11daa19
Capabilities:
Encode data using base64

Disassembly:
not eax
pop edx
mov dword [ebp], eax
pop ecx
jmp esi
xor dl, bl
bswap eax
neg dl
xor ax, 0x68af
sbb dl, 0xa6
sar eax, 0xe1
btr eax, eax
ror dl, 1
add dl, 0xf
sal al, 5
jns 0xc91469
sbb eax, ecx
rol edx, 1
rol eax, cl
push ecx
neg dword [esp]
xor ebx, edx
bts eax, 0x96
adc esi, edx
shl byte [esp + 3], cl
sal dword [esp], cl
mov ax, word [ebp]
pop edx
ror cl, 0xa7
mov dx, word [ebp + edx - 0x6c7e]
or ecx, ecx
neg cx
adc ebp, 1
or ax, dx
not ax
call fcn.00e64a64
into
nop
jp 0xe566f7
dec esp
int3
dec ecx
inc ebp
bt ebx, eax
dec eax
mov dword [esp + edi - 0x1f], eax
dec esp
xor dword [esp + edi - 0x1f], ebx
bswap ecx
dec eax
sbb edx, 0x2e84e9aa
call fcn.00c994a8
movsx eax, dl
lea esi, [esi + edx*2 - 0x7358eb0a]
cwde
lea ebp, [edx + ebp - 0x39ac7588]
sal ax, 0x61
bts dx, ax
movzx edx, byte [ebp + edx - 0x39ac7587]
sbb ax, 0x57ad
add eax, eax
jne 0xe56701
Function at 0x11de758
Capabilities:
Encode data using xor

Disassembly:
xadd dword [esp + edx + 2], ecx
bswap eax
rol edx, 7
xor ebx, eax
or edx, edx
adc edi, eax
movzx eax, word [esp + edx + 4]
ror dword [esp + edx + 4], 0xe
neg eax
lea ebp, [ebp + edx*2 - 1]
inc byte [esp + edx*8 + 5]
ror eax, 0xf
rol dl, 0xa6
xor dl, byte [edx + ebp]
xchg word [esp + eax - 0x276ffffa], cx
xor dl, bl
call fcn.00b4e575
call fcn.00c5ac61
inc ecx
mov eax, 0xc08c4190
inc ecx
movzx edi, ax
mov esi, dword [ebp + edi*8 - 0x20c80]
inc ebp
mov ebx, eax
call fcn.00ec14e0
push 0xde890b11
mov ecx, 0x10292298
mov eax, ecx
mov ax, 4
inc cl
lea edx, [ecx*4 + 0x1d0f6e30]
jle 0xb94acc
push 0xed1e8924
push 0xadb0628a
ror dword [esp + 4], 0x61
mov eax, dword [ebp]
mov edx, dword [esp + 4]
lea ebp, [ebp + edx - 0x768f448e]
xchg dword [esp + edx - 0x768f448f], edx
xor eax, ebx
add word [esp], dx
ror eax, 1
push edx
not word [esp + 0xa]
dec eax
mov ecx, edx
xor eax, 0x9c2b090f
sub eax, 0xe0a7ecb2
dec dx
xor ebx, eax
add edi, eax
dec byte [esp + 4]
mov dx, word [esi]
mov ax, word [esi + 2]
mov cl, byte [esi + 4]
rol word [esp + 0xa], 0xa5
dec dword [esp + 3]
sal word [esp + 1], 0x8f
adc esi, 3
ror byte [esp + 7], 0xc1
push 0x1ca9343c
dec dword [esp + 0xb]
shld dx, ax, cl
mov ecx, 0x782171ae
mov word [esi + ecx - 0x782171ae], dx
not word [esp + ecx - 0x782171a6]
mov dword [esp + ecx - 0x782171ae], edi
ret 0xc
xor eax, ebx
mov dword [esp + edx*2 - 0x3ec93c], edx
lea eax, [eax + edx*8 + 0xf0e88b1]
lea ecx, [ecx + edx + 0x78b7c82]
sal cl, 0x86
sub edx, dword [esp + edx*8 - 0xfb24f0]
xor eax, 0xe5858521
push ecx
bt edx, edx
dec eax
and dx, 0x4735
jle 0xe8ea6b
movzx eax, word [ebp]
mov edx, 0xba96a909
sub dl, dh
lea ecx, [edx + edx*8 - 0x9626470]
adc ebp, 1
xor ax, bx
shr cx, 0xc3
ror ax, 1
rol ecx, cl
not ax
rol dl, 0x61
dec ax
bts cx, cx
sar cx, 0x21
setb dl
neg ax
add ax, 0x3d3f
shl ecx, 0x9d
xor bx, ax
and cx, dx
or edx, ecx
sub dl, 0xa0
sbb esi, 1
mov word [esi], ax
sal ecx, 0xcb
mov edx, dword [ebp + ecx*2]
mov eax, ecx
sub eax, ecx
xchg ecx, eax
lea ebp, [ebp + ecx + 4]
setae cl
inc cx
xor edx, ebx
sal ax, 0x85
lea ecx, [ecx + 0x15aba4]
ror edx, 2
btc eax, eax
lea ecx, [eax + ecx*4 + 0x5e124d9f]
push eax
lea edx, [edx + eax*4 - 0x530c82b3]
inc dword [esp + eax*2 - 2]
ror edx, 1
and dword [esp + eax - 1], ecx
lea ecx, [eax - 0x37ca5dd1]
lea edx, [edx + eax + 0x232c0705]
sal ax, 4
xor ebx, edx
add edi, edx
push eax
cdq
btc dx, 0xb8
pop eax
pop eax
jae fcn.011d0d7c
mov eax, 0x4d9054a1
movsx ecx, al
mov edx, dword [edi + eax - 0x4d9054a1]
shr cx, cl
mov eax, dword [edi + eax - 0x4d90549d]
and ecx, 0x7d10b016
shl ecx, cl
mov ecx, dword [edi + ecx*2 - 0x601ffff8]
call fcn.00c30806
add byte [eax], al
ja 0x11de8dd
jbe 0x11de8e3
dec edi
jne 0x11de8f5
push eax
popal
jne 0x11de8f8
add byte gs:[ebx], al
test byte [esp + esi - 8], al
mov byte [esi - 0x5b9bbfd], 0x83
out dx, al
push es
add ecx, dword [edi]
retf 0xf8c1
xchg dword [edx + 0x8ffa314], edx
xchg esp, eax
add al, 4
add bh, bh
inc dword [eax - 0x45f0fa27]
cli
mov ebx, 0xb30fca0f
rcl al, 1
rcr dword [ecx - 0x2e7f1d09], 0xb
mov dword [0x49408ff], eax
add al, 0
invalid
Function at 0x11386
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x1401c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x204]
push eax
xor esi, esi
call fcn.0001106e
cmp word [ebp - 0x204], si
jne 0x113ba
xor eax, eax
jmp 0x11481
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push esi
push esi
push 0x820
push 3
push 3
push 0x80
lea eax, [ebp - 0x238]
mov dword [ebp - 0x228], eax
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x230]
push eax
push 0x120116
lea eax, [ebp - 0x208]
push eax
mov dword [ebp - 0x230], 0x18
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x224], 0x40
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jl 0x1147f
mov eax, dword [ebp + 8]
push esi
push esi
push 8
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push esi
push dword [ebp - 0x208]
mov dword [ebp - 0x218], 0x58
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
test eax, eax
jl 0x11473
mov esi, dword [ebp - 0x20c]
push dword [ebp - 0x208]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00012197
leave
ret 4

Function at 0x120d4
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [ebp - 8], 5
jne 0x12125
cmp dword [ebp - 4], 2
jne 0x12106
mov dword [0x1433c], 0x77
jmp 0x12177
cmp dword [ebp - 4], 1
jne 0x12118
mov dword [0x1433c], 0x71
jmp 0x12177
cmp dword [ebp - 4], esi
jne 0x1216f
mov dword [0x1433c], esi
jmp 0x1218d
cmp dword [ebp - 8], 6
jne 0x1216f
mov eax, dword [ebp - 4]
cmp eax, esi
jne 0x1213e
mov dword [0x1433c], 0xb7
jmp 0x12177
cmp eax, 1
jne 0x1214f
mov dword [0x1433c], 0xaf
jmp 0x12177
cmp eax, 2
jne 0x12160
mov dword [0x1433c], 0xed
jmp 0x12177
cmp eax, 3
jne 0x1216f
mov dword [0x1433c], 0xef
cmp dword [0x1433c], esi
je 0x1218d
push dword [0x14050]
push 0x14338
push dword [0x1433c]
call fcn.00016476
pop esi
leave
ret 4
Function at 0x15998
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [ebp - 8], 5
jne 0x15a72
cmp dword [ebp - 4], 2
jne 0x15a03
mov dword [0x1426c], 0x80
mov dword [0x14284], 0xba
mov dword [0x142bc], 0x179
mov dword [0x14294], 0x1e1
mov dword [0x142c4], 0x137
mov dword [0x142b0], 0x24c
jmp 0x15b92
cmp dword [ebp - 4], 1
jne 0x15a40
mov dword [0x1426c], 0x7a
mov dword [0x14284], 0xb2
mov dword [0x142bc], 0x17a
mov dword [0x142c4], 0x138
mov dword [0x142b0], 0x250
jmp 0x15b88
cmp dword [ebp - 4], esi
jne 0x15b92
mov dword [0x1426c], esi
mov dword [0x14284], esi
mov dword [0x142bc], esi
mov dword [0x14294], esi
mov dword [0x142c4], esi
mov dword [0x142b0], esi
jmp 0x15b92
cmp dword [ebp - 8], 6
jne 0x15b92
mov ecx, dword [ebp - 4]
cmp ecx, esi
jne 0x15ac4
mov dword [0x1426c], 0xc2
mov dword [0x14284], 0xfd
mov dword [0x142bc], 0x187
mov dword [0x14294], 0x1f8
mov dword [0x142c4], 0x142
mov dword [0x142b0], 0x269
jmp 0x15b92
xor eax, eax
inc eax
cmp ecx, eax
jne 0x15b0c
mov dword [0x1426c], 0xbe
mov dword [0x14284], 0x10b
mov dword [0x142bc], 0x18c
mov dword [0x14294], 0x203
mov dword [0x142c4], 0x143
mov dword [0x142b0], 0x275
jmp 0x15b92
cmp ecx, 2
jne 0x15b50
mov dword [0x1426c], 0xde
mov dword [0x14284], esi
mov dword [0x142bc], 0x1c9
mov dword [0x14294], 0x1e0
mov dword [0x142c4], 0x167
mov dword [0x142b0], 0x283
mov dword [0x14264], eax
jmp 0x15b92
cmp ecx, 3
jne 0x15b92
mov dword [0x1426c], 0xe0
mov dword [0x14284], esi
mov dword [0x142bc], 0x1cc
mov dword [0x142c4], 0x16a
mov dword [0x142b0], 0x28c
mov dword [0x14264], eax
mov dword [0x14294], 0x1e3
pop esi
leave
ret
Function at 0x15b9a
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x818
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
push edi
xor edi, edi
push edi
push 0xa
push edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
call esi
mov ebx, eax
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
push edi
push ebx
cmp eax, 0xc0000004
jne 0x15ca4
mov ebx, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
call ebx
push edi
push dword [ebp - 8]
push edi
call esi
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, edi
je 0x15caa
push edi
push dword [ebp - 8]
push esi
push 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jge 0x15c10
push edi
push esi
call ebx
jmp 0x15caa
push 0x800
lea eax, [ebp - 0x818]
push edi
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], edi
push dword [esi + 0x44]
call fcn.00011496
test eax, eax
jl 0x15c58
mov ecx, dword [esi + 0x44]
xor eax, eax
mov edx, dword [ebp - 0x14]
cmp dword [eax + edx], ecx
je 0x15c4f
inc eax
cmp eax, 0x200
jb 0x15c3d
jmp 0x15c58
lea eax, [ebp + eax*4 - 0x818]
inc dword [eax]
mov eax, dword [esi]
cmp eax, edi
je 0x15c62
add esi, eax
jmp 0x15c25
xor eax, eax
mov ecx, dword [ebp + eax*4 - 0x818]
cmp dword [ebp - 0x10], ecx
jae 0x15c76
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
inc eax
cmp eax, 0x200
jb 0x15c64
mov eax, dword [ebp - 4]
cmp eax, edi
jbe 0x15c8c
mov dword [ebp - 0xc], 1
push edi
push dword [ebp - 0x18]
mov dword [0x1425c], eax
add eax, 4
mov dword [0x14260], eax
call ebx
mov eax, dword [ebp - 0xc]
jmp 0x15cac
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x15f54
Capabilities:
Get file attributes
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push esi
push edi
push 0x18
pop edi
push 0x820
mov dword [ebp - 0x1c], eax
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
xor esi, esi
push 0x120089
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
jge 0x15fa5
xor eax, eax
jmp 0x16016
push 5
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
test eax, eax
jge 0x15fc8
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x15fa1
push esi
push dword [ebp - 0x34]
push esi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edi, eax
cmp edi, esi
je 0x15fbd
push esi
push esi
push dword [ebp - 0x34]
lea eax, [ebp - 0xc]
push edi
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwReadFile]
push dword [ebp - 4]
test eax, eax
jge 0x16006
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push esi
push edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x15fa1
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
leave
ret 8

Function at 0x16076
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
push edi
xor ebx, ebx
push ebx
push 0xa
push ebx
call esi
mov edi, eax
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
push ebx
push edi
cmp eax, 0xc0000004
jne 0x16137
mov edi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
call edi
push ebx
push dword [ebp - 4]
push ebx
call esi
mov esi, eax
cmp esi, ebx
je 0x1613d
push ebx
push dword [ebp - 4]
push esi
push 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jge 0x160d6
push ebx
push esi
call edi
jmp 0x1613d
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
lea eax, [esi + 0x20]
push 0x5c
push eax
call dword [sym.imp.ntoskrnl.exe_strrchr]
pop ecx
pop ecx
inc eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
sub eax, ecx
movzx edx, word [ecx]
mov word [eax + ecx], dx
inc ecx
inc ecx
cmp dx, bx
jne 0x16116
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
push ebx
push esi
call edi
mov eax, dword [ebp - 8]
jmp 0x1613f
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1614c
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
push edi
xor ebx, ebx
push ebx
push 0xa
push ebx
call esi
mov edi, eax
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
push ebx
push edi
cmp eax, 0xc0000004
jne 0x161ec
mov edi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
call edi
push ebx
push dword [ebp - 4]
push ebx
call esi
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, ebx
je 0x161f2
push ebx
push dword [ebp - 4]
push esi
push 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jge 0x161ab
push ebx
push esi
call edi
jmp 0x161f2
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, esi
add eax, 0x38
jmp 0x161ca
mov eax, dword [esi]
cmp eax, ebx
je 0x161e0
add esi, eax
lea eax, [esi + 0x38]
push 1
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
test eax, eax
jne 0x161bf
mov esi, dword [esi + 0x44]
jmp 0x161e2
mov esi, ebx
push ebx
push dword [ebp - 8]
call edi
mov eax, esi
jmp 0x161f4
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x16200
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
mov edx, dword [ebp + 0xc]
add eax, ecx
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
cmp edx, dword [ecx + 0xc]
jae 0x16221
mov eax, edx
jmp 0x1624c
push ebx
push esi
movzx esi, word [eax + 6]
push edi
xor edi, edi
test esi, esi
jbe 0x16246
mov eax, dword [ecx + 0xc]
cmp edx, eax
jb 0x1623e
mov ebx, dword [ecx + 8]
add ebx, eax
cmp edx, ebx
jb 0x16250
add ecx, 0x28
inc edi
cmp edi, esi
jb 0x1622e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
add eax, edx
jmp 0x16249
Function at 0x411660
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0x67452301
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x98badcfe
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0x10325476
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0
push 0x10
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x5c
push ecx
call fcn.00436a50
add esp, 0xc
push 0x50
push 0
mov edx, dword [ebp - 4]
add edx, 0x6c
push edx
call fcn.00436a50
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x415fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x415fe0
xor eax, eax
jmp 0x41617d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x41613e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x455cd0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x455cd0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x455cd0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x455cd0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x455cd0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x455cd0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x455cd0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x455cd0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x415fe9
cmp dword [ebp + 0x10], 0
je 0x416177
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x455cd0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x416144
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x41e8b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x41e8c0
xor eax, eax
jmp 0x41ea5d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x41ea1e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x456938]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x456938]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x456938]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x456938]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x456938]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x456938]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x456938]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x456938]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x41e8c9
cmp dword [ebp + 0x10], 0
je 0x41ea57
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x456938]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x41ea24
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret