joyce8/EMBER2024-capa huggingface dataset:
Function at 0x556840
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x3c
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x55686f
xor eax, eax
pop esi
add esp, 0x3c
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0xc]
push ecx
push 0xe
lea edx, [esp + 0x18]
push edx
push esi
call edi
test eax, eax
je 0x5568ca
cmp dword [esp + 8], 0xe
jne 0x5568ca
push 0
lea eax, [esp + 0xc]
push eax
push 0x28
lea ecx, [esp + 0x28]
push ecx
push esi
call edi
test eax, eax
je 0x5568ca
cmp dword [esp + 8], 0x28
jne 0x5568ca
xor edx, edx
cmp word [esp + 0x2a], 0x20
push esi
sete dl
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x3c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x3c
ret

Function at 0x5568e0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x5569a9
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x14]
push edx
push edi
mov byte [esp + 0x18], 0x89
mov byte [esp + 0x19], 0x50
mov byte [esp + 0x1a], 0x4e
mov byte [esp + 0x1b], 0x47
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5569a2
cmp dword [esp + 0xc], 4
jne 0x5569a2
mov eax, dword [esp + 8]
push esi
cmp eax, dword [esp + 8]
je 0x556972
movzx esi, al
sub esi, 0x89
jne 0x556988
movzx esi, ah
sub esi, 0x50
jne 0x556988
movzx esi, byte [esp + 0xe]
sub esi, 0x4e
jne 0x556988
movzx esi, byte [esp + 0xf]
sub esi, 0x47
jne 0x556988
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test esi, esi
pop esi
sete al
pop edi
add esp, 0xc
ret
sar esi, 0x1f
push edi
or esi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test esi, esi
pop esi
sete al
pop edi
add esp, 0xc
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
add esp, 0xc
ret
Function at 0x5569b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0x5884fc
push eax
push esi
mov byte [esp + 0x10], 0x89
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], 0x4e
mov byte [esp + 0x13], 0x47
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x5569e2
pop esi
pop ecx
ret
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x5569f5
pop edi
pop esi
pop ecx
ret
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [eax]
cmp ecx, dword [esp + 8]
je 0x556a2a
movzx esi, cl
sub esi, 0x89
jne 0x556a3e
movzx esi, byte [eax + 1]
sub esi, 0x50
jne 0x556a3e
movzx esi, byte [eax + 2]
sub esi, 0x4e
jne 0x556a3e
movzx esi, byte [eax + 3]
sub esi, 0x47
jne 0x556a3e
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
pop ecx
ret
sar esi, 0x1f
push edi
or esi, 1
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
pop ecx
ret

Function at 0x556a60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x556a7b
xor eax, eax
pop esi
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x556a77
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x556a77
xor ecx, ecx
cmp word [eax + 0xe], 0x20
push edi
sete cl
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
ret
Function at 0x557250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x57da78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
test ebp, ebp
je 0x55732c
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x55732c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x55732c
mov esi, dword [edi + 8]
imul esi, dword [edi + 4]
add esi, esi
add esi, esi
cmp word [edi + 0xe], 0x20
mov dword [esp + 0x18], 0
jne 0x5573a7
mov ecx, dword [esp + 0x40]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea edx, [esi + 0x28]
cmp eax, edx
jb 0x5573a7
lea ecx, [esp + 0x20]
call fcn.00416b70
xor ebp, ebp
push ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call fcn.0041725e
push 0x34
call fcn.0050fbef
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x557342
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.004172dd
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x28
push edi
push ebx
call fcn.0053e340
add esp, 0xc
push ebp
push ebp
lea eax, [esp + 0x1c]
push eax
push ebp
mov dword [ebx + 0x14], esi
mov ecx, dword [esp + 0x34]
push ebx
push ecx
mov dword [esp + 0x2c], ebp
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebp, eax
test ebp, ebp
je 0x557389
mov eax, dword [esp + 0x14]
test eax, eax
je 0x557389
push esi
add edi, 0x28
push edi
push eax
call fcn.0053e340
add esp, 0xc
mov dword [esp + 0x18], ebp
push ebx
call fcn.0050fcb9
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.004172dd
mov ebx, dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x5586f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57de31
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 2
call fcn.00557da0
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 1
call fcn.00556bf0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.00556bf0
mov eax, dword [esi + 0x18]
add esi, 8
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], vtable.CXTPImageManagerResource::CBitmapDC.0
test eax, eax
je 0x55876c
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, esi
call fcn.004172dd
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x558b40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57deef
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CXTPImageManagerIcon.0
push 1
mov dword [esp + 0x18], 8
call fcn.00558600
lea ecx, [esi + 0x12c]
mov byte [esp + 0x14], 7
call fcn.005589d0
lea ecx, [esi + 0x108]
mov byte [esp + 0x14], 6
call fcn.005589d0
lea ecx, [esi + 0xe4]
mov byte [esp + 0x14], 5
call fcn.005589d0
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 4
call fcn.005589d0
lea ecx, [esi + 0x9c]
mov byte [esp + 0x14], 3
call fcn.005589d0
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 2
call fcn.005589d0
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 1
call fcn.005589d0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.005589d0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00415ea4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x55a220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push edi
mov edi, dword [esp + 0xc]
push 0xe
push eax
push edi
call esi
test eax, eax
jne 0x55a23f
pop edi
pop esi
ret 0x10
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push edi
call ebp
test eax, eax
jne 0x55a254
pop ebp
pop edi
pop esi
ret 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push edx
push 1
push eax
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
movzx eax, ax
push 3
push eax
push edi
call esi
mov esi, eax
test esi, esi
je 0x55a28a
push esi
push edi
call ebp
test eax, eax
jne 0x55a293
pop ebx
pop ebp
pop edi
xor eax, eax
pop esi
ret 0x10
push eax
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push edx
push 0x30000
push 1
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
pop ebx
pop ebp
pop edi
pop esi
ret 0x10

Function at 0x55a5f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
call fcn.0055a1b0
mov edi, dword [esp + 0x10]
mov dword [esp + 8], eax
test eax, eax
je 0x55a617
push 5
push edi
lea eax, [esp + 0x10]
push eax
call fcn.0055a3e0
test eax, eax
jne 0x55a63a
call fcn.0041a5ff
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
test eax, eax
je 0x55a64c
push 5
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0055a3e0
test eax, eax
je 0x55a64c
mov edx, dword [esp + 8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
pop edi
pop esi
pop ecx
ret 4
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
Function at 0x55a7c0
Capabilities:
Enumerate gui resources

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x55a710
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov ax, word [esp]
pop ecx
ret

Function at 0x55a9e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
cmp dword [esp + 4], 0
jne 0x55a9ec
xor eax, eax
ret 8
push ebx
push ebp
push esi
push edi
call fcn.0055a1b0
movzx ebx, word [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x17
mov edi, eax
push ebx
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x55aa26
call fcn.0041a5ff
mov edi, dword [eax + 0xc]
test edi, edi
je 0x55aa5f
push 0x17
push ebx
push edi
call ebp
mov esi, eax
test esi, esi
je 0x55aa5f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x55aa5f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x55aa5f
mov ecx, dword [esp + 0x14]
lea esi, [ebx + ebx + 2]
push esi
call fcn.004018f0
mov edi, eax
test edi, edi
jne 0x55aa68
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
push esi
push 0
push edi
call fcn.0050fd50
add esp, 0xc
push esi
push edi
push ebx
push ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
mov esi, eax
call fcn.0040b650
pop edi
xor eax, eax
test esi, esi
pop esi
pop ebp
setg al
pop ebx
ret 8

Function at 0x55aaa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push edi
call fcn.00408010
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov eax, edi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x55aad5
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0xc
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x55aacd
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x55ab1b
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x55ab10
mov edi, edi
cmp esi, eax
jae 0x55ab1b
sub edi, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x55ab00
cmp esi, eax
jae 0x55ab1b
movzx edi, word [esi]
test edi, edi
jne 0x55ab24
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0xc
mov ebx, dword [esp + 0x1c]
push edi
mov ecx, ebx
call fcn.0040e959
lea ecx, [edi + edi]
push ecx
add esi, 2
push esi
push eax
call fcn.0053e340
add esp, 0xc
push edi
mov ecx, ebx
call fcn.0040b650
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
ret 0xc
Function at 0x55c890
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x57e3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [ebp + 8], 0
call fcn.00417588
mov esi, dword [esp + 0x50]
test esi, esi
je 0x55c92f
mov edi, dword [esp + 0x4c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x55c92f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x55c92f
cmp ebx, 0xa
jb 0x55c92f
push 0
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0044f26f
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov dword [esp + 0x48], 0
call fcn.0055c700
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.0044f5ef
mov eax, esi
jmp 0x55c931
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8

Function at 0x55e410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push ebp
push esi
mov ebp, dword [edi + 0x3c]
sub ebp, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub ebp, eax
cmp eax, edx
jb 0x55e48e
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00512fb0
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x55e461
sub eax, ebx
jmp 0x55e463
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x55e452
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x55e482
sub eax, ebx
jmp 0x55e484
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x55e473
add ebp, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x55e4e9
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, ebp
add edx, dword [edi + 0x38]
push edx
call fcn.0055e1a0
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x55e4d5
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x55e4e9
mov edx, dword [edi]
cmp dword [edx + 4], 0
jne 0x55e416
pop esi
pop ebp
pop ebx
ret
Function at 0x5608c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x560a6a
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x560918
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x56092b
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x56093f
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x560986.3
jmp 0x560950
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x56095c
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x560961
mov esi, 1
inc eax
cmp eax, edi
jl 0x560950
cmp si, cx
je case.0x560986.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x560986.3
movzx eax, byte [eax + 0x560a84]
jmp dword [eax*4 + 0x560a70]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x560986.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x5609a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x560986.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x5609e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x560986.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x560a06
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x560986.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, pe_nt_image_headers32
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x560a30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
mov ecx, 0x6a967b57
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x49f526b5
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x414d3e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x414d4d
pop dword [ebp - 0x2c]
mov eax, 0x4c6b48aa
sub eax, 0x4c29fb5d
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x1c11c669
add dword [ebp - 0x3c], 0x32407ee2
mov dword [ebp - 0x38], 0x36387a45
add dword [ebp - 0x38], 0xfbfad200
mov dword [ebp - 0x34], 0x7a01b26d
sub dword [ebp - 0x34], 0x2db56e3f
mov dword [ebp - 0x30], 0xb32e5209
add dword [ebp - 0x30], 0x4cd1adf7
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xa14f31ea
sub eax, 0xa10d0176
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x6492b462
sub dword [ebp - 0x3c], 0xf0204b0c
mov dword [ebp - 0x38], 0xdee01bf2
sub dword [ebp - 0x38], 0x9d73ba7d
mov dword [ebp - 0x34], 0x7a93f251
add dword [ebp - 0x34], 0xe8db7a1b
mov dword [ebp - 0x30], 0xc0c2c508
add dword [ebp - 0x30], 0x3f3d3af8
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x80d5fb6d
sub eax, 0x8093ca49
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a3fa
push 0
call eax
mov ecx, 0xdf8dbb8b
sub ecx, 0xdf8d818e
mov ebx, eax
mov esi, 0xc56743da
add esi, 0x3adc0026
add esi, dword [ebp - 0x2c]
mov edi, 0xcc6316fc
add edi, 0xd25efefc
mov edx, dword [esi]
mov dword [ebp - 0x24], 0x840e1bf9
add edx, edi
add dword [ebp - 0xc], eax
mov dword [ebx], edx
xor dword [ebp - 4], eax
add ebx, 0xc26fd50f
add ebx, 0x3d902af5
add esi, 0x1b8c65eb
sub esi, 0x1b8c65e7
loop 0x414e6f
add eax, 0x86bd7583
sub eax, 0x86bc9abc
xor ebx, ebx
add ebx, eax
add eax, 0x53d3de33
add eax, 0xac2c21d2
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0xb78058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xb781a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb7807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb7806a
add dl, dl
jne 0xb78089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb780dc
xor eax, eax
add dl, dl
jne 0xb78096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb7817d
add dl, dl
jne 0xb780a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb780b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb780bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb780c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb780d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb78075
mov eax, 1
add dl, dl
jne 0xb780ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb780f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb780e1
sub eax, ebx
mov ebx, 1
jne 0xb78128
mov ecx, 1
add dl, dl
jne 0xb7810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb78119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb78105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb78075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb7813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb7814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb78136
cmp eax, 0x7d00
jae 0xb7816d
cmp eax, 0x500
jb 0xb78168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb78075
cmp eax, 0x7f
ja 0xb78170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb78075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb7819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb78075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10