joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4048d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov byte [ebp - 1], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4048e4
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
lea eax, [edi + edi]
push eax
mov dword [ebp - 8], edi
call fcn.00523ae4
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4049c7
push 2
pop ecx
cmp edi, ecx
jle 0x404964
push 0x5c
pop edx
cmp word [esi], dx
jne 0x404964
cmp word [esi + 2], dx
jne 0x404964
add esi, 4
jmp 0x40492e
cmp ax, dx
je 0x40493d
add esi, ecx
movzx eax, word [esi]
test ax, ax
jne 0x404927
jmp 0x40493d
cmp ax, dx
je 0x404947
add esi, ecx
movzx eax, word [esi]
test ax, ax
jne 0x404938
mov edi, esi
sub edi, dword [ebp + 8]
sar edi, 1
push edi
push dword [ebp + 8]
push dword [ebp - 8]
push ebx
call fcn.00523b78
add esp, 0x10
xor eax, eax
mov word [ebx + edi*2], ax
mov byte [ebp - 1], 1
cmp word [esi], 0
jmp 0x404972
cmp ax, 0x5c
je 0x40497f
add esi, 2
movzx eax, word [esi]
test ax, ax
jne 0x40496e
mov edi, esi
sub edi, dword [ebp + 8]
sar edi, 1
push edi
push dword [ebp + 8]
push dword [ebp - 8]
push ebx
call fcn.00523b78
xor eax, eax
mov word [ebx + edi*2], ax
xor edi, edi
push edi
push ebx
call fcn.00522f0f
add esp, 0x18
test eax, eax
je 0x4049b5
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4049bc
cmp word [esi], di
jne 0x404968
jmp 0x4049c0
mov byte [ebp - 1], 0
push ebx
call fcn.00522ae1
pop ecx
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4049e1
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5aff20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
call fcn.00404882
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.0040464a
mov esi, 0x100
add esp, 0x10
test dword [ebp + 0xc], esi
je 0x404a2f
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x404a23
lea eax, [ebp - 0x20]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
or dword [ebp - 0x24], 0xffffffff
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x404a3f
lea eax, [ebp - 0x20]
push esi
push 0x40
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0052443e
mov ebx, dword [ebp - 0x24]
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x20]
call fcn.00409659
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.005220b2
leave
ret
Function at 0x40505a
Capabilities:
Print debug messages

Disassembly:
push 0x78
mov eax, 0x555484
call fcn.00527be2
mov eax, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0x84], eax
test ecx, ecx
je 0x405221
call fcn.0040522b
mov edi, eax
test edi, edi
je 0x405221
cmp dword [edi], 0
je 0x405221
mov ebx, 0x585d54
mov eax, esi
test esi, esi
jne 0x40509e
mov eax, ebx
push eax
lea eax, [edi + 0x48]
push eax
call fcn.00409508
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x2c]
push eax
lea esi, [ebp - 0x2c]
mov dword [edi + 0x64], 0x4065ce
mov dword [edi + 0x68], 0x4065d3
call fcn.00408277
and dword [ebp - 4], 0
lea eax, [edi + 0x10]
push eax
lea esi, [ebp - 0x48]
call fcn.00408277
xor esi, esi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x84], esi
je 0x4050ec
mov ebx, dword [ebp - 0x84]
push ebx
lea eax, [edi + 0x90]
push eax
call fcn.00409508
cmp dword [edi + 0x88], 8
mov dword [edi + 0x84], esi
jb 0x40510d
mov eax, dword [edi + 0x74]
jmp 0x405110
lea eax, [edi + 0x74]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x405121
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x405134
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x405147
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
call fcn.00404721
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x405161
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.00404721
pop ecx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], 0x10
mov ecx, dword [ebp - 0x64]
jae 0x40517b
lea ecx, [ebp - 0x64]
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x80]
jae 0x405187
lea eax, [ebp - 0x80]
push edi
push esi
push 0x404af2
push esi
push ecx
push eax
push dword [edi]
call fcn.005422d5
add esp, 0x1c
test eax, eax
je 0x4051d0
push 0xffffffffffffffff
push esi
lea eax, [edi + 0x74]
lea ecx, [ebp - 0x2c]
call fcn.0040946e
push esi
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0040933f
push esi
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.0040933f
jmp 0x4050f9
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0040933f
push esi
push ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.0040933f
mov eax, dword [edi]
cmp eax, esi
je 0x4051fb
push eax
call fcn.00541d8f
pop ecx
push edi
call fcn.00405593
push ebx
xor edi, edi
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.00409659
or dword [ebp - 4], 0xffffffff
push ebx
lea esi, [ebp - 0x2c]
call fcn.00409659
mov al, 1
jmp 0x405223
xor al, al
call fcn.00527c65
ret 8
Function at 0x40984f
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x553504
call fcn.00527be2
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x409934
cmp byte [edi + 0x49], bl
je 0x409934
mov eax, dword [edi]
push 0xffffffffffffffff
mov ecx, edi
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x409884
xor al, al
jmp 0x409936
lea esi, [ebp - 0x2c]
call fcn.00409128
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4098d6
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [edi + 0x4c]
push eax
call dword [esi + 0x18]
sub eax, 0
je 0x4098db
dec eax
je 0x4098df
dec eax
dec eax
je 0x409930
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040933f
mov al, bl
jmp 0x409936
mov edx, dword [ebp - 0x2c]
jmp 0x40989d
mov byte [edi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4098eb
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x409911
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4098fe
lea eax, [ebp - 0x2c]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.0052328b
add esp, 0x10
cmp esi, eax
jne 0x4098c0
cmp byte [edi + 0x49], 0
je 0x409930
test esi, esi
jne 0x40988f
push esi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.004091b6
jmp 0x40988f
mov bl, 1
jmp 0x4098c2
mov al, 1
call fcn.00527c65
ret

Function at 0x40c361
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push 0x14
mov eax, 0x5552c8
call fcn.00527bac
mov esi, ecx
push 2
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
cmp dword [esi], ebx
je 0x40c395
mov eax, 0x80004005
jmp 0x40c418
lea eax, [ebp - 0x18]
push eax
push 0x5887f4
push 1
push ebx
push 0x5887e4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jl 0x40c3d4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x1c]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jl 0x40c3d4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40c3e4
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x40c3f4
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40c405
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x40c415
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
call fcn.00527c51
ret
Function at 0x40c588
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5aff20]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00527ca0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
inc eax
cmp dword [ebp - 0x114], 5
jb 0x40c5e0
jne 0x40c5de
cmp dword [ebp - 0x110], eax
jbe 0x40c5e0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005220b2
leave
ret

Function at 0x40c651
Capabilities:
Write file on windows

Disassembly:
push 0x160
mov eax, 0x55525d
call fcn.00527be2
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
mov esi, ecx
mov dword [ebp - 0x16c], eax
call fcn.00401edb
pop ecx
lea ecx, [ebp - 0x164]
call fcn.004020c9
push 0x585004
push eax
lea eax, [ebp - 0x148]
mov dword [ebp - 4], ebx
call fcn.0040adbd
add esi, 0x38
lea ecx, [ebp - 0x12c]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040ade1
add esp, 0x10
push 1
xor edi, edi
lea esi, [ebp - 0x148]
mov byte [ebp - 4], 3
call fcn.00409659
push 1
lea esi, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00409659
cmp dword [ebp - 0x118], 8
mov eax, dword [ebp - 0x12c]
jae 0x40c6e5
lea eax, [ebp - 0x12c]
push 0x585008
push eax
call fcn.00523017
pop ecx
pop ecx
mov dword [ebp - 0x168], eax
cmp eax, ebx
je 0x40c79b
push 0xff
lea eax, [ebp - 0x10f]
push ebx
push eax
call fcn.00527ca0
mov eax, dword [ebp - 0x16c]
mov esi, 0x585010
lea edi, [ebp - 0x110]
movsw word es:[edi], word [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40c72b
lea edi, [ebp - 0x110]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x40c73b
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push ebx
mov ecx, eax
push 2
push dword [ebp - 0x168]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005230b8
lea eax, [ebp - 0x110]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40c76d
push dword [ebp - 0x168]
sub eax, ecx
push eax
lea eax, [ebp - 0x110]
push 1
push eax
call fcn.0052328b
push dword [ebp - 0x168]
call fcn.00523372
add esp, 0x14
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
xor edi, edi
lea esi, [ebp - 0x12c]
call fcn.00409659
mov al, bl
call fcn.00527c65
ret 4
Function at 0x40c9cb
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x553496
call fcn.00527be2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x244], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x23d], 1
xor edi, edi
cmp edi, ebx
jle 0x40ca00
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
inc edi
cmp eax, 0xa
jg 0x40cac2
push ebx
push 2
mov byte [ebp - 0x23d], bl
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x40caab
push 0x228
lea eax, [ebp - 0x238]
push ebx
push eax
mov dword [ebp - 0x23c], 0x22c
call fcn.00527ca0
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x40caa2
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x40ca61
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005233e6
pop ecx
pop ecx
test eax, eax
je 0x40ca94
mov byte [ebp - 0x23d], 1
cmp dword [ebp - 0x234], ebx
jbe 0x40ca94
push dword [ebp - 0x234]
mov ecx, dword [ebp - 0x244]
call fcn.0040ccbc
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne al
cmp al, bl
jne 0x40ca55
cmp esi, ebx
je 0x40cab6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x23d], bl
jne 0x40c9f1
xor eax, eax
cmp byte [ebp - 0x23d], bl
push 1
sete al
or dword [ebp - 4], 0xffffffff
xor edi, edi
lea esi, [ebp + 0xc]
mov ebx, eax
call fcn.00409659
mov eax, ebx
call fcn.00527c65
ret 0x20

Function at 0x40cae9
Capabilities:
Enumerate processes

Disassembly:
push 0x230
mov eax, 0x553466
call fcn.00527be2
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x40cb80
push 0x228
lea eax, [ebp - 0x238]
push ebx
push eax
mov dword [ebp - 0x23c], 0x22c
call fcn.00527ca0
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x40cb69
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x40cb48
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005233e6
pop ecx
pop ecx
test eax, eax
jne 0x40cb76
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40cb3c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40cb80
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
push 1
xor edi, edi
lea esi, [ebp + 8]
call fcn.00409659
mov eax, ebx
call fcn.00527c65
ret 0x1c
Function at 0x40cb9a
Capabilities:
Create process on windows

Disassembly:
push 0x40
mov eax, 0x553443
call fcn.00527bac
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
mov byte [ebp - 4], 3
call fcn.00527ca0
push ebx
mov dword [ebp - 0x4c], esi
call fcn.00401edb
add esp, 0x10
call fcn.0040c588
mov dword [ebp - 0x40], 0x5850f0
test eax, eax
je 0x40cbe0
mov dword [ebp - 0x40], str.Open
mov dword [ebp - 0x44], ebx
cmp dword [ebp + 0x18], ebx
jbe 0x40cbf9
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x40cbf4
lea eax, [ebp + 8]
mov dword [ebp - 0x34], eax
jmp 0x40cbfc
mov dword [ebp - 0x34], ebx
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], ebx
jae 0x40cc0b
lea eax, [ebp + 0x24]
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x50], ebx
jbe 0x40cc24
cmp dword [ebp + 0x54], 8
mov eax, dword [ebp + 0x40]
jae 0x40cc1f
lea eax, [ebp + 0x40]
mov dword [ebp - 0x38], eax
jmp 0x40cc27
mov dword [ebp - 0x38], ebx
xor eax, eax
cmp dword [ebp + 0x60], ebx
setne al
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x5c], ebx
je 0x40cc3e
mov dword [ebp - 0x48], 0x40
or dword [ebp - 0x48], 0x400
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40cc71
cmp dword [ebp + 0x5c], ebx
je 0x40cc71
cmp dword [ebp - 0x14], ebx
je 0x40cc71
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 2
jmp 0x40cc89
push 1
xor edi, edi
lea esi, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00409659
push 1
lea esi, [ebp + 0x24]
mov byte [ebp - 4], bl
call fcn.00409659
or dword [ebp - 4], 0xffffffff
push 1
lea esi, [ebp + 0x40]
call fcn.00409659
call fcn.00527c51
ret 0x5c
Function at 0x40ccbc
Capabilities:
Check for time delay via gettickcount
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x5aff20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x468], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
je 0x40ce33
push ebx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x464], ebx
cmp ebx, 0xffffffff
je 0x40ce1d
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
mov dword [ebp - 0x230], 0x22c
call fcn.00527ca0
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x40cd62
cmp dword [ebp - 0x218], esi
jne 0x40cd54
cmp dword [ebp - 0x228], 0
jbe 0x40cd54
push dword [ebp - 0x228]
mov ecx, edi
call fcn.0040ccbc
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40cd36
push esi
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40ce1d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
lea ebx, [eax + 0x7530]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x460], eax
cmp eax, 0xffffffff
je 0x40ce1d
push 0x228
lea eax, [ebp - 0x458]
push 0
push eax
mov dword [ebp - 0x45c], 0x22c
call fcn.00527ca0
add esp, 0xc
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x40ce0d
mov eax, dword [ebp - 0x468]
cmp dword [ebp - 0x454], eax
je 0x40ce43
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40cdec
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x464], 0
pop ebx
je 0x40ce33
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005220b2
leave
ret 4
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc8
call esi
call edi
cmp ebx, eax
jb 0x40cda2
jmp 0x40ce1d
Function at 0x40ce62
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
jne 0x40ce82
xor eax, eax
jmp 0x40cee8
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 4], edi
je 0x40ce7e
push esi
push dword [ebp - 4]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
jne 0x40ceac
xor eax, eax
jmp 0x40cee7
lea eax, [ebp - 8]
push eax
push 2
push esi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [ebp - 0xc]
push eax
push 1
push 2
push edi
push 0xf01ff
push dword [ebp - 8]
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 0xc]
pop esi
pop edi
leave
ret
Function at 0x40d30f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x55519c
call fcn.00527bac
push dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
movzx eax, word [ebp + 8]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
je 0x40d427
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
cmp eax, edi
je 0x40d427
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, edi
je 0x40d427
push dword [ebp + 0xc]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
cmp ebx, edi
jne 0x40d382
push edi
jmp 0x40d421
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x40d419
push dword [ebp + 0xc]
push esi
push eax
call fcn.00529fa0
add esp, 0xc
lea eax, [ebp + 8]
push eax
push edi
push ebx
mov dword [ebp + 8], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40d419
mov eax, dword [ebp + 8]
push 0x10
mov dword [ebp + 0xc], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
cmp esi, edi
je 0x40d3e6
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp + 0x10], edi
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
jmp 0x40d3e8
xor esi, esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp esi, edi
je 0x40d427
mov eax, dword [esi + 8]
mov dword [esi + 8], edi
cmp eax, edi
jne 0x40d411
mov eax, esi
jmp 0x40d429
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
call fcn.00527c51
ret 0xc
Function at 0x40d506
Capabilities:
Check os version
Create process on windows
Delete file

Disassembly:
push 0x16c
mov eax, 0x555159
call fcn.00527be2
mov esi, ecx
xor ebx, ebx
push str.myDelALnk_getSpecialFolderLocation
push ebx
mov dword [ebp - 4], ebx
call fcn.004024ac
pop ecx
mov ecx, eax
call fcn.0040252f
push esi
lea ecx, [ebp - 0x64]
call fcn.0040e66c
push 0x585004
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0040adbd
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040ade1
add esp, 0x10
push 1
xor edi, edi
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00409659
push 1
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.00409659
push str.myDelALnk__waccess
push ebx
call fcn.004024ac
pop ecx
mov ecx, eax
call fcn.0040252f
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40d59d
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00522f0f
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x40d61e
mov esi, 0x114
push esi
lea eax, [ebp - 0x178]
push ebx
push eax
call fcn.00527ca0
add esp, 0xc
lea eax, [ebp - 0x178]
push eax
mov dword [ebp - 0x178], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x174], 6
jne 0x40d5ef
cmp dword [ebp - 0x170], 2
je 0x40d60b
cmp dword [ebp - 0x170], 3
je 0x40d60b
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40d5fb
lea eax, [ebp - 0x2c]
push ebx
push ebx
push ebx
push eax
push str.startunpin
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40d617
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00409659
or dword [ebp - 4], 0xffffffff
push 1
lea esi, [ebp + 8]
call fcn.00409659
call fcn.00527c65
ret 0x1c
Function at 0x40df09
Capabilities:
Delete file

Disassembly:
push 0x2c
mov eax, 0x554fbf
call fcn.00527bac
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
mov edi, dword [ebp + 0x1c]
add edi, 8
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042337b
mov esi, eax
pop ecx
cmp esi, ebx
je 0x40e005
push edi
push ebx
push esi
call fcn.00527ca0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], 8
jae 0x40df5c
lea eax, [ebp + 0xc]
push eax
push edi
push esi
call fcn.005264c3
add esp, 0xc
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, 0x614
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x22], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x1e], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push esi
mov edi, eax
call fcn.00423370
pop ecx
cmp edi, ebx
je 0x40dfd8
sub esp, 0x1c
lea eax, [ebp + 0xc]
mov esi, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00408277
mov ecx, dword [ebp + 8]
call fcn.0040e01f
or dword [ebp - 4], 0xffffffff
push 1
xor edi, edi
lea esi, [ebp + 0xc]
mov ebx, eax
call fcn.00409659
mov eax, ebx
jmp 0x40e017
or dword [ebp - 4], 0xffffffff
push 1
xor edi, edi
lea esi, [ebp + 0xc]
call fcn.00409659
xor eax, eax
inc eax
jmp 0x40e017
or dword [ebp - 4], 0xffffffff
push 1
xor edi, edi
lea esi, [ebp + 0xc]
call fcn.00409659
xor eax, eax
call fcn.00527c51
ret 0x20