joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53eb71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x53eddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x53eddd
mov eax, 1
test eax, eax
je 0x53eddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x53eddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x53edd3
mov ebx, eax
and eax, 0x80000000
jne 0x53ed4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x53eddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x53eddd
mov eax, 1
test eax, eax
je 0x53eddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x53eddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x53eca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x53eddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x53eb67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x53eddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x53eca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x53ee9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x53efee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x53efee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.0053eff8
test eax, eax
je 0x53efee
add ebx, 0x28
dec ecx
jne 0x53efc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x53f09e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x53f0c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x53f12e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x53f0e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x53f12e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x53f105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x53f12e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x53f123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x53f12e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x53f16b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x53f172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x53f1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x53f1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x53fdff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.0053ff04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.0053ff20
push edx
push dword [ebp + 0x10]
push eax
call fcn.0053feec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0053ff04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0053fecb
push ecx
push dword [ebp + 8]
call fcn.0053ff04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0053ff04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0053fecb
push ecx
push dword [ebp + 8]
call fcn.0053ff04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0053ff04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0053fecb
push ecx
push dword [ebp + 8]
call fcn.0053ff04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0053ff04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0053fecb
cmp ecx, 0x2b
jne 0x53fe0f
leave
ret 0xc

Function at 0x5414b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x541544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x9bc10
push 0
call dword [eax + 0x20]
test eax, eax
je 0x5415d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x9bc10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x9bc10
call fcn.005413fa
push 0x9bc10
push dword [ebp + 0xc]
call fcn.0053f1a8
test eax, eax
jne 0x5415b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x9bc10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.005415dd
test eax, eax
je 0x5415d6
jmp 0x541574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x5415d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x54160b
Capabilities:
Terminate process

Disassembly:
call fcn.00541618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
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.00012186
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 0x12166
cmp dword [ebp - 4], 1
jne 0x12118
mov dword [0x1433c], 0x71
jmp 0x12166
cmp dword [ebp - 4], esi
jne 0x1215e
mov dword [0x1433c], esi
jmp 0x1217c
cmp dword [ebp - 8], 6
jne 0x1215e
cmp dword [ebp - 4], esi
jne 0x1213c
mov dword [0x1433c], 0xb7
jmp 0x12166
cmp dword [ebp - 4], 1
jne 0x1214e
mov dword [0x1433c], 0xaf
jmp 0x12166
cmp dword [ebp - 4], 2
jne 0x1215e
mov dword [0x1433c], 0xed
cmp dword [0x1433c], esi
je 0x1217c
push dword [0x14050]
push 0x14338
push dword [0x1433c]
call fcn.00016434
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 0x15a76
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 0x15b4f
cmp dword [ebp - 4], 1
jne 0x15a4a
mov dword [0x1426c], 0x7a
mov dword [0x14284], 0xb2
mov dword [0x142bc], 0x17a
mov dword [0x14294], 0x1e3
mov dword [0x142c4], 0x138
mov dword [0x142b0], 0x250
jmp 0x15b4f
cmp dword [ebp - 4], esi
jne 0x15b4f
mov dword [0x1426c], esi
mov dword [0x142bc], esi
mov dword [0x14294], esi
mov dword [0x142c4], esi
mov dword [0x142b0], esi
jmp 0x15b49
cmp dword [ebp - 8], 6
jne 0x15b4f
cmp dword [ebp - 4], esi
jne 0x15ac6
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 0x15b4f
xor eax, eax
inc eax
cmp dword [ebp - 4], 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 0x15b4f
cmp dword [ebp - 4], 2
jne 0x15b4f
mov dword [0x1426c], 0xde
mov dword [0x142bc], 0x1c9
mov dword [0x14294], 0x1e0
mov dword [0x142c4], 0x167
mov dword [0x142b0], 0x283
mov dword [0x14264], eax
mov dword [0x14284], esi
pop esi
leave
ret
Function at 0x15b58
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 0x15c62
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 0x15c68
push edi
push dword [ebp - 8]
push esi
push 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jge 0x15bce
push edi
push esi
call ebx
jmp 0x15c68
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 0x15c16
mov ecx, dword [esi + 0x44]
xor eax, eax
mov edx, dword [ebp - 0x14]
cmp dword [eax + edx], ecx
je 0x15c0d
inc eax
cmp eax, 0x200
jb 0x15bfb
jmp 0x15c16
lea eax, [ebp + eax*4 - 0x818]
inc dword [eax]
mov eax, dword [esi]
cmp eax, edi
je 0x15c20
add esi, eax
jmp 0x15be3
xor eax, eax
mov ecx, dword [ebp + eax*4 - 0x818]
cmp dword [ebp - 0x10], ecx
jae 0x15c34
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
inc eax
cmp eax, 0x200
jb 0x15c22
mov eax, dword [ebp - 4]
cmp eax, edi
jbe 0x15c4a
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 0x15c6a
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x15f12
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 0x15f63
xor eax, eax
jmp 0x15fd4
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 0x15f86
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x15f5f
push esi
push dword [ebp - 0x34]
push esi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edi, eax
cmp edi, esi
je 0x15f7b
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 0x15fc4
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push esi
push edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x15f5f
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 0x16034
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 0x160f5
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 0x160fb
push ebx
push dword [ebp - 4]
push esi
push 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jge 0x16094
push ebx
push esi
call edi
jmp 0x160fb
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 0x160d4
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 0x160fd
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1610a
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 0x161aa
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 0x161b0
push ebx
push dword [ebp - 4]
push esi
push 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jge 0x16169
push ebx
push esi
call edi
jmp 0x161b0
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, esi
add eax, 0x38
jmp 0x16188
mov eax, dword [esi]
cmp eax, ebx
je 0x1619e
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 0x1617d
mov esi, dword [esi + 0x44]
jmp 0x161a0
mov esi, ebx
push ebx
push dword [ebp - 8]
call edi
mov eax, esi
jmp 0x161b2
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x161be
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 0x161df
mov eax, edx
jmp 0x1620a
push ebx
push esi
movzx esi, word [eax + 6]
push edi
xor edi, edi
test esi, esi
jbe 0x16204
mov eax, dword [ecx + 0xc]
cmp edx, eax
jb 0x161fc
mov ebx, dword [ecx + 8]
add ebx, eax
cmp edx, ebx
jb 0x1620e
add ecx, 0x28
inc edi
cmp edi, esi
jb 0x161ec
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 0x16207

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 0x42e960
Capabilities:
Delete file
Hide graphical window
Terminate process

Disassembly:
mov eax, dword [0x14e4578]
test eax, eax
jne 0x42ea0d
mov eax, dword [0x13f8dd4]
test eax, eax
je 0x42e980
mov eax, dword [0x884e6c]
mov dword [0x884e70], eax
mov eax, dword [0x14e3394]
mov ecx, dword [0x884e54]
inc eax
mov dword [0x884e58], ecx
mov dword [0x14e3394], eax
jne 0x42e9a3
mov dword [0x14e3394], 1
mov eax, dword [0x8d6c38]
test eax, eax
mov dword [0x13f8d9c], 0
mov dword [0x13f8df4], 0
je 0x42e9e0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x8d6c38]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x8d6c38], 0
call fcn.0040f270
push str.EXE_SERVERQUIT
call fcn.0044c360
call fcn.0042abe0
call fcn.00430980
push 1
call fcn.00425870
add esp, 8
call fcn.004257f0
call fcn.00425830
jmp 0x451910
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
call fcn.004500f0
mov eax, dword [0x8d6c40]
test eax, eax
je 0x451952
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x8d6c40]
push eax
call dword [sym.imp.USER32.dll_CloseWindow]
mov ecx, dword [0x8d6c40]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x8d6c40], 0
push 0x8d66f0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [0x8d52e0], 0
mov dword [0x8d52e4], 0
call fcn.00431960
call fcn.00421590
call fcn.0040d5a0
push 0
call fcn.0051c8f0
int3

Function at 0x431430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [eax + eax + 8]
lea eax, [eax + eax*2 + 1]
sub ecx, 0x8d7ce8
lea eax, [edx + eax*2]
sar ecx, 3
jmp fcn.0045b2c0