joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10047690
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [eax + 0x2c]
mov ebx, dword [ebp]
mov ecx, dword [ebx + 0x20c]
push esi
push edi
mov esi, ecx
test ecx, ecx
jne 0x100476ad
mov esi, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
call fcn.10021e90
push edx
push eax
call fcn.10021ec0
mov ecx, eax
mov eax, edx
mov dword [esp + 0x24], eax
mov eax, esi
cdq
add esp, 0x10
mov edi, eax
sub edi, ecx
mov ecx, dword [esp + 0x14]
mov esi, edx
sbb esi, ecx
cmp dword [ebx + 0x200], 0
je 0x1004771a
mov edx, dword [ebp + 0x18c]
mov eax, dword [ebp + 0x188]
push edx
push eax
call fcn.10021e90
push edx
push eax
call fcn.10021ec0
mov ecx, eax
mov eax, dword [ebx + 0x200]
mov ebp, edx
cdq
add esp, 0x10
sub eax, ecx
sbb edx, ebp
cmp esi, edx
jl 0x1004771a
jg 0x1004771e
cmp edi, eax
jae 0x1004771e
mov eax, edi
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10048a00
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x10048a32
push 0x2e
push esi
call fcn.10050320
add esp, 8
test eax, eax
je 0x10048a30
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret
Function at 0x10048b10
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x24
mov eax, dword [0x1007f1e0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
mov ebp, dword [esp + 0x30]
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10048bba
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea esi, [esp + 0x20]
mov eax, ebp
mov byte [esp + 0x14], 8
mov byte [esp + 0x15], 2
mov dword [esp + 0x18], 0x6601
mov dword [esp + 0x1c], 8
call fcn.10048a80
mov ecx, esi
push 8
push ecx
call fcn.1004b7d0
mov ecx, dword [esp + 0x10]
add esp, 8
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x14
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
pop esi
test eax, eax
jne 0x10048bcc
mov edx, dword [esp + 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1004d073
add esp, 0x24
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0xc]
push ecx
push edi
push 0
push 0
mov dword [edi + 4], edx
mov edx, dword [esp + 0x20]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [esp + 4]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 0x24]
pop ebp
xor ecx, esp
mov eax, 1
call fcn.1004d073
add esp, 0x24
ret
Function at 0x10048d20
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov eax, ebp
push edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10048d30
sub eax, edx
mov edi, eax
lea ebx, [edi + edi]
push ebx
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10048d59
pop edi
lea eax, [esi + 0x1b]
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
xor eax, eax
test edi, edi
jbe 0x10048d70
nop
mov cl, byte [eax + ebp]
mov byte [esi + eax*2], cl
mov byte [esi + eax*2 + 1], 0
inc eax
cmp eax, edi
jb 0x10048d60
push 0xf0000000
push 1
push 0
push 0
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov edi, dword [esp + 0x28]
test eax, eax
je 0x10048def
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x8002
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10048de2
mov edx, dword [esp + 0x10]
push 0
push ebx
push esi
push edx
mov dword [esp + 0x28], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push 2
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov dword [edi + 0x10], eax
push esi
mov byte [edi + 0x14], al
call dword [0x1007f004]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x1004c240
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x1004c265
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x1004c2ac
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x1004c2b0
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
jbe 0x1004c30e
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
sub ebp, 1
jne 0x1004c2d3
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x1004c351
lea esp, [esp]
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push str.6_bad_allocation
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x10074b83
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x1004c320
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x1004d073
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1007f1e0]
jne 0x1004d07d
repz ret
jmp fcn.10055569
Function at 0x10062ff2
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.10058822
and dword [ebp - 4], 0
cmp dword [0x10081ef4], 0
mov ebx, eax
jne 0x100630a3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10063154
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10063154
push eax
call fcn.100587b0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10081ef4], eax
call esi
push eax
call fcn.100587b0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10081ef8], eax
call esi
push eax
call fcn.100587b0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10081efc], eax
call esi
push eax
call fcn.100587b0
pop ecx
mov dword [0x10081f04], eax
test eax, eax
je 0x100630a3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100587b0
pop ecx
mov dword [0x10081f00], eax
mov eax, dword [0x10081f00]
cmp eax, ebx
je 0x100630fb
cmp dword [0x10081f04], ebx
je 0x100630fb
push eax
call fcn.1005882b
push dword [0x10081f04]
mov esi, eax
call fcn.1005882b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100630fb
test edi, edi
je 0x100630fb
call esi
test eax, eax
je 0x100630f2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100630f2
test byte [ebp - 0xc], 1
jne 0x100630fb
or dword [ebp + 0x10], 0x200000
jmp 0x10063134
mov eax, dword [0x10081ef8]
cmp eax, ebx
je 0x10063134
push eax
call fcn.1005882b
pop ecx
test eax, eax
je 0x10063134
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10063134
mov eax, dword [0x10081efc]
cmp eax, ebx
je 0x10063134
push eax
call fcn.1005882b
pop ecx
test eax, eax
je 0x10063134
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10081ef4]
call fcn.1005882b
pop ecx
test eax, eax
je 0x10063154
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10063156
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002e01
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10002e10
pop dword [ebp - 0x2c]
mov eax, 0xe9f9962b
add eax, 0x260697e5
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x25ccf816
sub dword [ebp - 0x3c], 0xd77ab2cb
mov dword [ebp - 0x38], 0x2b296e92
sub dword [ebp - 0x38], 0xf8f6224d
mov dword [ebp - 0x34], 0xff677828
add dword [ebp - 0x34], 0x4ce4cc06
mov dword [ebp - 0x30], 0x52e6773b
add dword [ebp - 0x30], 0xad1988c5
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x7627a595
sub eax, 0x66274a05
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xb3ccd5bb
sub dword [ebp - 0x3c], 0x3f5a6c65
mov dword [ebp - 0x38], 0xa0282fd0
add dword [ebp - 0x38], 0xa14431a5
mov dword [ebp - 0x34], 0x5fab880a
add dword [ebp - 0x34], 0x3c3e462
mov dword [ebp - 0x30], 0x15a7c2f7
sub dword [ebp - 0x30], 0x15a7c2f7
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3521a
push 0
call eax
mov ecx, 0xa1bcb285
sub ecx, 0xa1bc703c
mov edx, eax
mov edi, 0x14de0e5
sub edi, 0xf14d28e5
add edi, dword [ebp - 0x2c]
mov esi, 0x7bee9a77
sub esi, 0xe159feb0
add dword [ebp - 0x28], 0xbc2bd413
mov ebx, dword [edi]
mov dword [ebp - 8], 0x42441ac9
xor ebx, esi
add dword [ebp - 0xc], 0xc61891bf
mov dword [edx], ebx
sub dword [ebp - 0x20], ecx
add edx, 4
add edi, 0x4286b81c
sub edi, 0x4286b818
loop 0x10002f2d
add eax, 0x6297d543
add eax, 0x9d6926b4
mov ebx, eax
add eax, 0x274bf92c
sub eax, 0x274bf927
mov ecx, 0x6a179a47
add ecx, 0xa5e865b9
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x10008ec6
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x10008f28
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, ecx
test edx, edx
jne 0x10008f38
push 0xd
pop eax
jmp 0x10008f6e
push ebp
push esi
push edi
xor esi, esi
mov edi, edx
mov ecx, edi
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008f44
sub ecx, ebp
lea eax, [ecx + 1]
add edi, eax
add esi, eax
cmp eax, 1
jne 0x10008f3f
push esi
push edx
push 7
push 0
push dword [esp + 0x24]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x1000bb8b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1000bb9a
pop dword [ebp - 0x4c]
mov eax, 0x1e473a55
add eax, 0xf1b98145
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3854a
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x3dbfbbf4
add ecx, 0xc2408fde
mov ebx, eax
mov edi, 0x25c8c492
add edi, 0xea394f6e
add edi, dword [ebp - 0x4c]
mov edx, 0xbf0048c1
sub edx, 0x6040991a
add dword [ebp - 0x3c], 0x8400e620
mov esi, dword [edi]
add dword [ebp - 0x34], eax
add esi, edx
sub dword [ebp - 4], edi
mov dword [ebx], esi
xor dword [ebp - 0x20], eax
add ebx, 0xa61e4006
sub ebx, 0xa61e4002
add edi, 0xd540360a
add edi, 0x2abfc9fa
loop 0x1000bbf4
add eax, 0x1221b
xor ebx, ebx
add ebx, eax
add eax, 0x2a1ce394
sub eax, 0x2a1ce38f
mov ecx, 0xe79926b
add ecx, 0x1866d95
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
lea ebx, [0x4821fc]
mov eax, 0x7f4d
mov edi, 0x8124
shl eax, 0xa
ror eax, 0xd
inc eax
push edi
push eax
call sub.kernel32.dll_GetThreadLocale
pop ecx
pop edx
push 0x40
push 0x3000
push 0x11c00
push 0
call sub.kernel32.dll_VirtualAlloc
jmp loc.0054f000

Function at 0x47e9b0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x47e9eb
mov edi, 0x482164
mov dword [edi], eax
mov edi, eax
jmp 0x47e9fb
call ebx
nop
add esp, 0x3b8
ret
mov al, byte [esi]
xor al, dl
mov byte [edi], al
inc esi
inc edi
dec ecx
nop
cmp ecx, 0
nop
jne 0x47e9d2
jmp 0x47e9c3
sub esp, 0x3b8
mov esi, 0x47c1b0
jmp 0x47e9b5
mov ebx, edi
mov ecx, 0x3b8
mov edx, 0x4f
jmp 0x47e9d2
Function at 0x465860
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
mov bh, 0x71
push es
Function at 0x470805
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x470833
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x470851
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047076b
jmp 0x470851
mov eax, dword [esi + 0x14]
test eax, eax
je 0x470851
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047076b
test edi, edi
mov eax, edi
jne 0x47083b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x2a30de4c
Capabilities:
Terminate thread

Disassembly:
push 0xc
mov eax, 0x2a351a4b
call fcn.2a3027ac
mov ebx, ecx
xor ecx, ecx
cmp dword [ebx], 0xb
mov edi, ecx
mov dword [ebp - 0x14], edi
jne 0x2a30df3d
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
or dword [ebx + 0x1a0], 0xffffffff
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
lea esi, [eax + 0x12c]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, esi
jae 0x2a30def6
mov edi, esi
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebx + 0x2d8]
mov esi, dword [ebx]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp esi, 0xb
jne 0x2a30def3
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, edi
jb 0x2a30deba
mov edi, dword [ebp - 0x14]
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp dword [ebx], 0xb
jne 0x2a30df1d
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_TerminateThread]
xor edi, edi
inc edi
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebx + 0x2d8], ecx
cmp dword [ebx + 0x18], 0
lea esi, [ebx + 0x1a0]
mov dword [esi], ecx
je 0x2a30df72
test di, di
jne 0x2a30df6f
push esi
push dword [ebx + 0x18]
call fcn.2a31fa06
xor ecx, ecx
cmp dword [esi], ecx
jne 0x2a30df72
push esi
push dword [ebx + 0x14]
mov dword [ebx + 0x18], ecx
call fcn.2a31fa06
xor ecx, ecx
jmp 0x2a30df72
mov dword [ebx + 0x18], ecx
cmp word [ebx + 0x144], cx
je 0x2a30dff9
push ecx
push ecx
lea ecx, [ebp - 0x18]
call fcn.2a31fa06
mov edi, dword [0x2a36ab40]
xor eax, eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebx + 0x40]
push eax
mov eax, dword [0x2a36ab34]
push str.Cstring
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x2a35635c]
call esi
mov esi, dword [edi + 0xd0]
pop ecx
movzx eax, ax
mov ecx, esi
push eax
push 0
call dword [0x2a35635c]
call esi
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0
push eax
call fcn.2a31fa06
cmp dword [ebp - 0x14], 0
je 0x2a30dfeb
lea ecx, [ebp - 0x18]
call fcn.2a31fa06
test al, al
je 0x2a30dfeb
lea ecx, [ebp - 0x18]
call fcn.2a33c9da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a31fa06
xor ecx, ecx
cmp dword [ebx + 0x34], 0
je 0x2a30e01d
mov eax, dword [0x2a36a804]
push dword [ebx + 0x34]
mov esi, dword [eax + 0x284]
mov ecx, esi
call dword [0x2a35635c]
call esi
pop ecx
xor ecx, ecx
mov dword [ebx + 0x34], ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x2a30e051
push eax
mov eax, dword [0x2a36ab50]
cmp word [ebx + 0x196], cx
je 0x2a30e03b
mov esi, dword [eax + 0x124]
jmp 0x2a30e041
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x2a35635c]
call esi
xor eax, eax
pop ecx
mov dword [ebx + 0x20], eax
mov dword [ebx], 2
call fcn.2a302c60
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xe901a45
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x232445db
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x30809222
Capabilities:
Enumerate process modules

Disassembly:
push 0x24
mov eax, 0x3081af3b
call fcn.30801ee1
xor ebx, ebx
push 8
pop esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push ebx
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.3081968d
push 0x20
pop edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x30]
call sub.psapi.dll_EnumProcesses
test eax, eax
je 0x3080928c
mov eax, dword [ebp - 0x18]
cmp eax, edi
jb 0x30809285
push ebx
add esi, esi
push esi
lea ecx, [ebp - 0x30]
call fcn.3081968d
mov edi, esi
shl edi, 2
jmp 0x30809294
shr eax, 2
mov esi, eax
jmp 0x30809291
xor esi, esi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
jne 0x3080925a
cmp dword [ebp - 0x14], ebx
je 0x308092c8
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.3081968d
cmp esi, ebx
jbe 0x308092c8
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, edi
call fcn.3081968d
add ebx, 4
dec esi
jne 0x308092ba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.30806a0c
mov eax, dword [ebp - 0x14]
call fcn.30801fc6
ret

Function at 0x3081968d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x3081969c
pop dword [ebp - 0x48]
mov eax, 0x3081969c
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x8c5540ab
sub dword [ebp - 0x58], 0x3e02fb60
mov dword [ebp - 0x54], 0x6035a180
add dword [ebp - 0x54], 0xd1fdaac5
mov dword [ebp - 0x50], 0x4a5fe085
add dword [ebp - 0x50], 0x1ec63a9
mov dword [ebp - 0x4c], 0x66c169b7
add dword [ebp - 0x4c], 0x993e9649
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x9333ea8b
sub dword [ebp - 0x58], 0x1ec18135
mov dword [ebp - 0x54], 0x958e30b4
add dword [ebp - 0x54], 0xabde30c1
mov dword [ebp - 0x50], 0x36c380
sub dword [ebp - 0x50], 0x9cc75714
mov dword [ebp - 0x4c], 0x9982410b
add dword [ebp - 0x4c], 0x667dbef5
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x8d22bef5
add eax, 0xa35f11c7
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3d034
push 0
call eax
mov ecx, 0xd439d872
sub ecx, 0xd43990b1
xor esi, esi
add esi, eax
mov edx, 0xe3362e47
sub edx, 0xb2b33c47
add edx, dword [ebp - 0x48]
mov ebx, 0x55aa5e2d
sub ebx, 0xd94e4ca0
add dword [ebp - 0x40], ebx
mov edi, dword [edx]
add dword [ebp - 0x1c], eax
add edi, ebx
xor dword [ebp - 0x20], esi
mov dword [esi], edi
mov dword [ebp - 0x34], 0x2ebd51c1
add esi, 0x79adae86
sub esi, 0x79adae82
add edx, 0x1ec8ddb9
sub edx, 0x1ec8ddb5
loop 0x308197b6
add eax, 0xf3f80321
sub eax, 0xf3f6f14a
mov ebx, eax
add eax, 5
mov ecx, 0x30800000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x48da22
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401d7a
mov eax, dword [0x521fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00405d80
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x48da64
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x48dbc0
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00405eca
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x5258b8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00403247
mov ecx, dword [esi*4 + 0x5258b8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x48dbb9
cmp eax, dword [edi + ecx + 0x24]
jne 0x48dbb9
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48dbb9
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00403247
add esp, 0x14
test edx, edx
jl 0x48dbb9
jg 0x48db2f
test eax, eax
jb 0x48dbb9
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x48dbb9
jl 0x48db49
cmp dword [ebp - 0x1008], eax
ja 0x48dbb9
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x48db67
test ebx, ebx
je 0x48dba0
cmp ecx, edi
jae 0x48dba0
mov al, byte [ecx]
cmp al, 0xd
jne 0x48db81
lea eax, [edi - 1]
cmp ecx, eax
jae 0x48db8d
cmp byte [ecx + 1], 0xa
jne 0x48db8d
inc ecx
jmp 0x48db8d
movzx eax, al
movsx eax, byte [eax + 0x522310]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x48db67
cmp edx, ebx
jne 0x48db67
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x48dbbe
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403021
leave
ret