joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
push ebx
pop eax
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
or esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
push esi
pop eax
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
push esi
pop eax
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
push eax
pop edi
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
push eax
pop esi
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
or esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4019f0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jb 0x401a88
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push str.Amplayer
push str.416D706C61796572
call esi
test eax, eax
je 0x401a12
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
je 0x401a88
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push 0
push edx
call ebx
test eax, eax
je 0x401a75
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
call ebp
test eax, eax
je 0x401a88
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push str.Amplayer
push str.416D706C61796572
call esi
push eax
call edi
test eax, eax
jne 0x401a3b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x401a90
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x1c
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jb 0x401b38
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x401abe
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x401ac0
xor eax, eax
mov cl, byte [eax + 0xc0]
test cl, cl
je 0x401b38
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
push esi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x401af2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x401af4
xor eax, eax
mov bl, byte [eax + 0xc0]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call esi
test eax, eax
je 0x401b30
push 0
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
call edi
test eax, eax
je 0x401b30
lea edx, [esp + 0x10]
push edx
call ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
test bl, bl
jne 0x401ae0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x401bf0
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x402ed1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
lea ecx, [esp + 8]
call fcn.00402792
lea ecx, [esp]
mov dword [esp + 0x234], 0
call fcn.004027da
mov eax, dword [esp + 0x23c]
lea ecx, [esp + 0x128]
push eax
push ecx
mov byte [esp + 0x23c], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x128]
push str..
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x128]
push 0
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x401d66
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x10]
mov ebp, eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 1
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0xc]
mov esi, 0x4050ac
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401ce2
test cl, cl
je 0x401cde
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401ce2
add eax, 2
add esi, 2
test cl, cl
jne 0x401cbe
xor eax, eax
jmp 0x401ce7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401d5b
mov esi, 0x4050a8
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401d16
test cl, cl
je 0x401d12
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401d16
add eax, 2
add esi, 2
test cl, cl
jne 0x401cf2
xor eax, eax
jmp 0x401d1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401d5b
mov eax, dword [esp + 0x248]
lea ecx, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x30]
push 0x405034
push edx
call esi
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x30]
push eax
push ecx
call esi
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test ebp, ebp
jne 0x401c77
pop edi
pop esi
pop ebp
mov eax, dword [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp]
mov byte [esp + 0x234], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x234], 0xffffffff
call sub.MFC42.DLL_CFileFind::CFileFind
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
add esp, 0x238
ret
Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc

Function at 0x629474
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [esp], bl
lea esp, [esp + 4]
jae fcn.0061403d
seta bh
lea edi, [edx - 0x5478548a]
setge bl
mov ebx, eax
xadd ecx, edi
sar di, cl
pushfd
mov edi, eax
call fcn.0057de79
lea edi, [ecx + 0x6973b4b7]
mov edi, dword [edx + 0x1c]
clc
add edi, eax
pushfd
pushal
mov edi, dword [edi + ecx*4]
cmc
cmp si, si
test edi, edi
lea esp, [esp + 0x24]
jle 0x57f21f
pushal
pushfd
pushal
lea esp, [esp + 0x44]
je 0x614030
pushfd
add eax, edi
mov byte [esp], 0x4e
cmc
cmp eax, edx
push 0x2a2f2df
lea esp, [esp + 8]
jb fcn.0061403d
pushfd
cmp eax, dword [esp + 4]
jmp 0x57f2d0
movsx si, al
mov esi, dword [esp + 0x34]
pushfd
pushfd
mov byte [esp + 4], bh
lea esp, [esp + 0x40]
jne 0x57e639
clc
stc
stc
movzx ecx, word [edi + ecx*2]
btr di, 2
jmp 0x5ffea9
Function at 0x88b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0088b1a8
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 0x88b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x88b06a
add dl, dl
jne 0x88b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x88b0dc
xor eax, eax
add dl, dl
jne 0x88b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x88b17d
add dl, dl
jne 0x88b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x88b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x88b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x88b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x88b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x88b075
mov eax, 1
add dl, dl
jne 0x88b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x88b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x88b0e1
sub eax, ebx
mov ebx, 1
jne 0x88b128
mov ecx, 1
add dl, dl
jne 0x88b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x88b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x88b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x88b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x88b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x88b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x88b136
cmp eax, 0x7d00
jae 0x88b16d
cmp eax, 0x500
jb 0x88b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x88b075
cmp eax, 0x7f
ja 0x88b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x88b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x88b19e
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 0x88b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10007c1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x10007c2e
pop dword [ebp - 0x44]
mov eax, 0xbca224b2
sub eax, 0xaca1a884
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xda7b432e
sub dword [ebp - 0x54], 0x8c28fde3
mov dword [ebp - 0x50], 0xdcf8fc2d
sub dword [ebp - 0x50], 0xaac5afe8
mov dword [ebp - 0x4c], 0x2f6d3e68
sub dword [ebp - 0x4c], 0xe320fa3a
mov dword [ebp - 0x48], 0xa0555774
sub dword [ebp - 0x48], 0xa0555774
lea eax, [ebp - 0x54]
push eax
mov eax, 0x59d320e4
sub eax, 0x49d2a090
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x1e1e8dc5
sub dword [ebp - 0x54], 0xa9ac246f
mov dword [ebp - 0x50], 0xf6884720
add dword [ebp - 0x50], 0x4ae41a55
mov dword [ebp - 0x4c], 0x7c124e38
sub dword [ebp - 0x4c], 0x18a2e1cc
mov dword [ebp - 0x48], 0x2dbde33
sub dword [ebp - 0x48], 0x2dbde33
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xfc060c53
sub eax, 0xec058c03
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3634a
push 0
call eax
mov ecx, 0x84682993
sub ecx, 0x8467e36c
mov edi, eax
mov edx, 0x2ea34601
sub edx, 0x1ea24c01
add edx, dword [ebp - 0x44]
mov esi, 0x578977c8
sub dword [ebp - 0xc], esi
mov ebx, dword [edx]
add dword [ebp - 8], eax
sub ebx, esi
mov dword [edi], ebx
xor dword [ebp - 0xc], 0x49ca29b9
add edi, 0x15550566
sub edi, 0x15550562
add edx, 0x7afecb17
sub edx, 0x7afecb13
loop 0x10007d4a
add eax, 0x37f19cda
sub eax, 0x37f0916b
xor ebx, ebx
add ebx, eax
add eax, 0x39284c2d
sub eax, 0x39284c28
mov ecx, 0x4d316efe
sub ecx, 0x3d316efe
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x40525f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push esi
mov ebx, ecx
call dword [sym.imp.ntdll.dll_RtlGetDeviceFamilyInfoEnum]
cmp dword [ebp - 4], 3
je 0x405290
cmp dword [ebp - 4], 9
je 0x405290
cmp dword [ebp - 4], 0xd
je 0x405290
xor ebx, ebx
inc ebx
jmp 0x4052e8
lea eax, [ebp - 8]
push eax
push 0x20019
push esi
push 0x4018f0
push 0x80000002
call sub.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW
test eax, eax
jne 0x4052e8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x401948
push dword [ebp - 8]
call sub.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW
test eax, eax
jne 0x4052e0
cmp dword [ebp - 0x10], 4
jne 0x4052e0
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
setne bl
push dword [ebp - 8]
call sub.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41cee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
or ebp, 0xffffffff
jmp 0x41cf02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41cf09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41cef8
mov eax, 1
add ebx, ebx
jne 0x41cf1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41cf10
jne 0x41cf2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cf10
xor ecx, ecx
sub eax, 3
jb 0x41cf40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41cfb2
mov ebp, eax
add ebx, ebx
jne 0x41cf4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41cf58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41cf7c
inc ecx
add ebx, ebx
jne 0x41cf68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41cf5d
jne 0x41cf79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cf5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41cf9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41cf8d
jmp 0x41cefe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41cf9c
add edi, ecx
jmp 0x41cefe
pop esi
mov edi, esi
mov ecx, 0x157
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41cfba
cmp byte [edi], 0
jne 0x41cfba
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 eax, ebx
loop 0x41cfbf
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41d02e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d0b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d100]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41cfec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d104]
or eax, eax
je 0x41d028
mov dword [ebx], eax
add ebx, 4
jmp 0x41d009
call dword [esi + 0x1d108]
popal
jmp 0x403ab4
Function at 0x4d1529
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.004d1480
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x4d1558
mov eax, 0xea61
jmp 0x4d15d6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c], 0
jne 0x4d1568
mov eax, 0xea62
jmp 0x4d15d6
push 0xf8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.004d1480
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x4d1595
mov eax, 0xea62
jmp 0x4d15d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x14c
je 0x4d15ad
mov eax, 0xea65
jmp 0x4d15d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x16]
test ch, 0x10
je 0x4d15c2
mov eax, 0xea66
jmp 0x4d15d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x74], 0x10
jbe 0x4d15d2
mov eax, 0xea67
jmp 0x4d15d6
xor eax, eax
jmp 0x4d15d6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423060
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x142c
call fcn.0040fce0
mov eax, dword [0x42dbf8]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x142c], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xffffff
mov eax, dword [ebp - 0x142c]
mov byte [eax + 0x1580], 0
lea ecx, [ebp - 0x414]
push ecx
push 0x400
lea edx, [ebp - 0x1418]
push edx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4231e5
mov dword [ebp - 0x141c], 0
jmp 0x4230d3
mov eax, dword [ebp - 0x141c]
add eax, 1
mov dword [ebp - 0x141c], eax
mov ecx, dword [ebp - 0x414]
shr ecx, 2
cmp dword [ebp - 0x141c], ecx
jae 0x4231e5
mov edx, dword [ebp - 0x141c]
mov eax, dword [ebp + edx*4 - 0x1418]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1420], eax
cmp dword [ebp - 0x1420], 0
je 0x4231d3
lea ecx, [ebp - 0x1428]
push ecx
push 4
lea edx, [ebp - 0x1424]
push edx
mov eax, dword [ebp - 0x1420]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4231d3
push 0x400
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 0x1424]
push edx
mov eax, dword [ebp - 0x1420]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExA
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x410]
push edx
mov ecx, dword [ebp - 0x142c]
call fcn.00422990
movzx eax, al
test eax, eax
je 0x4231d3
cmp dword [ebp - 0x418], 0x34000
jne 0x4231d3
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x141c]
mov eax, dword [ebp + edx*4 - 0x1418]
cmp eax, dword [ebp - 4]
jae 0x4231ba
mov ecx, dword [ebp - 0x141c]
mov edx, dword [ebp + ecx*4 - 0x1418]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x141c]
mov ecx, dword [ebp + eax*4 - 0x1418]
push ecx
mov ecx, dword [ebp - 0x142c]
call fcn.00422940
mov edx, dword [ebp - 0x1420]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4230c4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 4], eax
jne 0x4231fd
mov eax, dword [ebp - 0x142c]
mov byte [eax + 0x1580], 1
cmp dword [ebp - 8], 4
jge 0x42320e
mov ecx, dword [ebp - 0x142c]
call fcn.00422cb0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040e454
mov esp, ebp
pop ebp
ret

Function at 0x103acc68
Capabilities:
Encode data using xor

Disassembly:
jmp 0x103acc72
pushal
call 0x103acc78
pop ebp
sub ebp, 0x10
sub ebp, 0x3acc68
mov al, byte [esp + 0x28]
cmp al, 1
je 0x103acc9c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x103acca5
mov eax, 0x3acc68
add eax, ebp
add eax, 0x63
mov ecx, 0x604
mov edx, 0x301134ca
xor byte [eax], dl
inc eax
dec ecx
jne 0x103accbc
jmp 0x103acccf
inc ecx
pop es
inc ecx
inc ebx
test dl, 0xca
retf 0xb4b
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00407290
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00407290
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00407290
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00407290
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00407290
mov dword [0x41203c], eax
call fcn.00407290
test eax, eax
jge 0x402550
push 8
call fcn.00407290
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00407290
pop ecx
push 1
call fcn.00407290
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00407290
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00407290
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00407290
jmp 0x402495

Function at 0x407290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40729f
pop dword [ebp - 8]
mov eax, 0xad214a53
add eax, 0x531f284c
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x375c8
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0xe02ef237
sub ecx, 0xe02eb1e6
mov esi, eax
mov edx, 0x99c4ac78
sub edx, 0x998370b4
add edx, dword [ebp - 8]
mov edi, 0xf11d346f
sub edi, 0x1b9907b8
add dword [ebp - 4], ecx
mov ebx, dword [edx]
xor dword [ebp - 4], ecx
sub ebx, edi
mov dword [esi], ebx
xor dword [ebp - 4], ecx
add esi, 0x97349ec6
sub esi, 0x97349ec2
add edx, 4
loop 0x4072f9
add eax, 0xc326a36c
sub eax, 0xc325af55
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xd3b80a2a
add ecx, 0x2c87f5d6
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x8ce058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8ce1a8
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 0x8ce07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8ce06a
add dl, dl
jne 0x8ce089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8ce0dc
xor eax, eax
add dl, dl
jne 0x8ce096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8ce17d
add dl, dl
jne 0x8ce0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8ce0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8ce0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8ce0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8ce0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8ce075
mov eax, 1
add dl, dl
jne 0x8ce0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8ce0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8ce0e1
sub eax, ebx
mov ebx, 1
jne 0x8ce128
mov ecx, 1
add dl, dl
jne 0x8ce10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8ce119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8ce105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8ce075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8ce13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8ce14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8ce136
cmp eax, 0x7d00
jae 0x8ce16d
cmp eax, 0x500
jb 0x8ce168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8ce075
cmp eax, 0x7f
ja 0x8ce170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8ce075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8ce19e
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 0x8ce075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10