joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ca7a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x60], edx
push ebx
mov dword [ebp - 0x64], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5ca949
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x1002
push edi
call esi
mov dword [ebp - 0x58], eax
test eax, eax
je 0x5ca949
push 0
push 0
push 0x1002
push edi
call esi
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov edi, eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x20
push eax
push eax
push edi
mov dword [ebp - 8], 0x10
call esi
lea eax, [ebp - 8]
push eax
push eax
push dword [ebp - 0x58]
call esi
movzx ecx, word [ebp - 8]
lea edx, [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x4c], 0
test edi, edi
mov dword [ebp - 0x50], 0
cmove edx, eax
movzx eax, word [ebp - 0xc]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0x5c], edx
push ecx
lea eax, [ebp - 0x4c]
push eax
push edx
push 0
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHELL32.dll_SHDefExtractIconW]
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x50]
test edi, edi
je 0x5ca878
test eax, eax
jne 0x5ca878
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x5ca886
push eax
call esi
mov eax, dword [ebp - 0x50]
jmp 0x5ca87f
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
jne 0x5ca8a4
test eax, eax
je 0x5ca886
push eax
call esi
push 1
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x5c]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x5ca949
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x60]
push ecx
push 0xffffffffffffffff
push dword [ebp - 0x58]
mov byte [ebp - 0x51], 1
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
jne 0x5ca8d6
mov byte [ebp - 0x51], 0
jmp 0x5ca903
cmp dword [ebp - 0x50], 0
je 0x5ca903
test edi, edi
je 0x5ca903
push edi
lea ebx, [eax + 1]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
cmp eax, ebx
jge 0x5ca8f6
push ebx
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push dword [ebp - 0x50]
push dword [ebp - 0x2c]
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
lea eax, [ebp - 0x48]
push eax
push 0
push 0x104c
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
mov eax, dword [ebp - 0x4c]
neg ebx
sbb bl, bl
and bl, byte [ebp - 0x51]
test eax, eax
je 0x5ca92a
push eax
call esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x5ca934
push eax
call esi
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8
Function at 0x5cad10
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, ecx
mov byte [ebp - 0x21], dl
push eax
push 4
mov dword [ebp - 0x28], eax
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x20], 0x1c
or eax, esi
test edi, edi
cmove edi, eax
lea eax, [ebp - 0x20]
push eax
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x5cadc1
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], eax
jne 0x5cadb2
push dword [ebp - 0x18]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x2c], eax
cmp esi, 0xffffffff
je 0x5cad83
test esi, esi
je 0x5cad83
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
mov esi, eax
test eax, eax
jne 0x5cad8e
or esi, 0xffffffff
jmp 0x5cadb2
cmp esi, 0xffffffff
je 0x5cadb2
cmp byte [ebp - 0x21], 0
push esi
je 0x5cada2
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x5cada8
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
add ebx, ecx
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x5cad58
cmp edi, 0xffffffff
je 0x5cadd1
test edi, edi
je 0x5cadd1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x5cade1
test esi, esi
je 0x5cade1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret

Function at 0x5cc080
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 1
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
call fcn.005dc570
lea ecx, [ebp - 0x10]
call fcn.005dbeb0
test al, al
je 0x5cc0c1
xor edi, edi
jmp 0x5cc13f
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x5cc13c
cmp esi, 0xffffffff
je 0x5cc13c
push ebx
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x5cc129
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
call fcn.005dc480
test al, al
je 0x5cc123
lea eax, [ebp - 0x23c]
push eax
push esi
call edi
test eax, eax
jne 0x5cc100
jmp 0x5cc129
mov ebx, dword [ebp - 0x234]
mov ecx, ebx
call fcn.005cbfb0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
jmp 0x5cc13e
xor edi, edi
pop esi
lea ecx, [ebp - 0x10]
call fcn.005dc430
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x5cc160
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6019fa
mov eax, dword fs:[0]
push eax
mov eax, 0x1f60
call fcn.0041ead0
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x1f64], 0
push ecx
lea ecx, [ebp - 0x1f6c]
movq qword [ebp - 0x1f6c], xmm0
call fcn.005dc570
lea ecx, [ebp - 0x1f6c]
mov dword [ebp - 4], 0
call fcn.005dc3a0
dec eax
lea ecx, [ebp - 0x1f6c]
push eax
call fcn.005dc440
cmp word [eax], 0x5c
je 0x5cc1ff
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x624284
lea ecx, [ebp - 0x1f6c]
call fcn.005da780
lea eax, [ebp - 0x1f54]
mov dword [ebp - 0x1f54], 0
push eax
push 0x1f40
lea eax, [ebp - 0x1f50]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x5cc22d
xor edi, edi
jmp 0x5cc2fa
shr dword [ebp - 0x1f54], 2
lea ecx, [ebp - 0x1f60]
xorps xmm0, xmm0
mov dword [ebp - 0x1f58], 0
movq qword [ebp - 0x1f60], xmm0
call fcn.005dc5e0
push 0
push 0
push 0x1000
lea ecx, [ebp - 0x1f60]
mov byte [ebp - 4], 1
call fcn.005db9a0
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x1f54], esi
jbe 0x5cc2ef
nop dword [eax + eax]
cmp dword [ebp + esi*4 - 0x1f50], 5
jb 0x5cc2e6
lea ecx, [ebp - 0x1f60]
call fcn.005dc380
push 0x1000
call fcn.005dc190
mov ecx, dword [ebp + esi*4 - 0x1f50]
mov edx, eax
call fcn.005ce4c0
test al, al
je 0x5cc2e6
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0x1f6c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x1f60]
call fcn.005daa70
cmp eax, 1
jne 0x5cc2e6
mov ecx, dword [ebp + esi*4 - 0x1f50]
call fcn.005cc410
movzx eax, al
add edi, eax
inc esi
cmp esi, dword [ebp - 0x1f54]
jb 0x5cc280
lea ecx, [ebp - 0x1f60]
call fcn.005dc430
lea ecx, [ebp - 0x1f6c]
call fcn.005dc430
mov eax, edi
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.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x5cc330
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 1
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
call fcn.005dc570
lea ecx, [ebp - 0x10]
call fcn.005dc3a0
test eax, eax
jne 0x5cc371
xor edi, edi
jmp 0x5cc3f6
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x5cc3f3
cmp esi, 0xffffffff
je 0x5cc3f3
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x5cc3ea
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
call fcn.005dc480
test al, al
jne 0x5cc3db
mov ecx, dword [ebp - 0x234]
call fcn.005cc410
movzx eax, al
push 0xa
add edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x23c]
push eax
push esi
call ebx
test eax, eax
jne 0x5cc3b0
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5cc3f5
xor edi, edi
pop esi
lea ecx, [ebp - 0x10]
call fcn.005dc430
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x5cc690
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601a34
mov eax, dword fs:[0]
push eax
mov eax, 0x1f54
call fcn.0041ead0
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x1f54]
mov dword [ebp - 0x1f54], 0x1f40
push eax
push 0x1f40
lea eax, [ebp - 0x1f50]
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x5cc7a8
shr dword [ebp - 0x1f54], 2
lea ecx, [ebp - 0x1f60]
xorps xmm0, xmm0
mov dword [ebp - 0x1f58], edi
movq qword [ebp - 0x1f60], xmm0
call fcn.005dc5e0
push 0
push 0
push 0x1000
lea ecx, [ebp - 0x1f60]
mov dword [ebp - 4], 0
call fcn.005db9a0
xor esi, esi
cmp dword [ebp - 0x1f54], esi
jbe 0x5cc79b
nop dword [eax]
cmp dword [ebp + esi*4 - 0x1f50], 0
je 0x5cc792
lea ecx, [ebp - 0x1f60]
call fcn.005dc380
push 0x1000
call fcn.005dc190
mov ecx, dword [ebp + esi*4 - 0x1f50]
mov edx, eax
call fcn.005ce4c0
test al, al
je 0x5cc792
push ebx
lea ecx, [ebp - 0x1f60]
call fcn.005dc480
test al, al
jne 0x5cc792
mov ecx, dword [ebp + esi*4 - 0x1f50]
call fcn.005cc410
movzx eax, al
add edi, eax
inc esi
cmp esi, dword [ebp - 0x1f54]
jb 0x5cc740
lea ecx, [ebp - 0x1f60]
call fcn.005dc430
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret

Function at 0x5cc7d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601a6e
mov eax, dword fs:[0]
push eax
mov eax, 0x1f5c
call fcn.0041ead0
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1f68], edx
mov dword [ebp - 0x1f64], ecx
lea eax, [ebp - 0x1f54]
mov dword [ebp - 0x1f54], 0x1f40
push eax
push 0x1f40
lea eax, [ebp - 0x1f50]
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x5cc8e7
shr dword [ebp - 0x1f54], 2
lea ecx, [ebp - 0x1f60]
xorps xmm0, xmm0
mov dword [ebp - 0x1f58], edi
movq qword [ebp - 0x1f60], xmm0
call fcn.005dc5e0
push 0
push 0
push 0x1000
lea ecx, [ebp - 0x1f60]
mov dword [ebp - 4], 0
call fcn.005db9a0
xor esi, esi
cmp dword [ebp - 0x1f54], esi
jbe 0x5cc8da
lea ecx, [ebp - 0x1f60]
call fcn.005dc380
lea ebx, [ebp - 0x1f50]
push 0x1000
lea ebx, [ebx + esi*4]
call fcn.005dc190
mov ecx, dword [ebx]
mov edx, eax
call fcn.005ce4c0
test al, al
je 0x5cc8cd
push dword [ebp - 0x1f64]
lea ecx, [ebp - 0x1f60]
call fcn.005dc480
test al, al
jne 0x5cc8cd
cmp dword [ebp - 0x1f68], 0
je 0x5cc8d8
inc edi
inc esi
cmp esi, dword [ebp - 0x1f54]
jb 0x5cc883
jmp 0x5cc8da
mov edi, dword [ebx]
lea ecx, [ebp - 0x1f60]
call fcn.005dc430
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x5cc960
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 1
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push str.Regsvr32.exe
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
call fcn.005dc570
lea ecx, [ebp - 0x10]
call fcn.005dc3a0
test eax, eax
jne 0x5cc9a2
xor ebx, ebx
jmp 0x5cca0f
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x5cca0c
cmp esi, 0xffffffff
je 0x5cca0c
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x5cca03
push edi
lea eax, [ebp - 0x218]
mov edi, ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.005dc4c0
test al, al
lea ebx, [edi + 1]
lea eax, [ebp - 0x23c]
push eax
push esi
cmove ebx, edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x5cc9d7
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5cca0e
xor ebx, ebx
pop esi
lea ecx, [ebp - 0x10]
call fcn.005dc430
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x5cd220
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601bbd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, eax
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], ebx
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.005dc5e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.005dc5e0
push 0
push 0
push 0x400
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.005db9a0
push 0
push 0
push 0x400
lea ecx, [ebp - 0x34]
call fcn.005db9a0
mov esi, 1
nop dword [eax]
push esi
lea ecx, [ebp - 0x1c]
call fcn.005db320
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x627828
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
push str.INSTANCE:
push str._CLASS:SysListView32_TEXT:FolderView_
lea ecx, [ebp - 0x1c]
call fcn.005dc200
lea ecx, [ebp - 0x1c]
call fcn.005dc190
mov edx, eax
mov ecx, ebx
call fcn.005cbb50
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x5cd391
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
je 0x5cd391
push 0x400
lea ecx, [ebp - 0x28]
call fcn.005dc380
mov ecx, eax
call fcn.005dc190
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x400
lea ecx, [ebp - 0x34]
call fcn.005dc380
mov ecx, eax
call fcn.005dc190
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ecx, [ebp - 0x28]
call fcn.005dbeb0
test al, al
je 0x5cd385
push str.SHELLDLL_DefView
lea ecx, [ebp - 0x34]
call fcn.005dc4c0
test al, al
jne 0x5cd38e
mov ebx, dword [ebp - 0x38]
inc esi
jmp 0x5cd2d0
mov ebx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x28]
call fcn.005dc430
lea ecx, [ebp - 0x34]
call fcn.005dc430
lea ecx, [ebp - 0x1c]
call fcn.005dc430
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x5cd9a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, edx
push ecx
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x5cd9be
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 8
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
xor bl, bl
test edi, edi
je 0x5cda49
mov esi, dword [ebp + 8]
test esi, esi
jne 0x5cd9e5
mov ecx, edi
call fcn.005d8c40
lea esi, [eax*2 + 2]
test esi, esi
je 0x5cda49
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x5cda57
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push dword [ebp - 4]
push eax
call fcn.0041fb10
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x5cda36
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor bl, bl
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov al, bl
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
mov bl, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov al, bl
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
setne bl
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov al, bl
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x5cf0f0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601e5e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0x604c40
push 1
push 0
push 0x6eda04
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x5cf14d
xor bl, bl
jmp 0x5cf1fb
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
jns 0x5cf16d
xor bl, bl
jmp 0x5cf1ea
push esi
lea ecx, [ebp - 0x1c]
call fcn.00401a90
mov byte [ebp - 4], 6
mov edx, dword [eax]
test edx, edx
je 0x5cf184
mov edx, dword [edx]
jmp 0x5cf186
xor edx, edx
mov eax, dword [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov esi, dword [ebp - 0x1c]
mov ebx, eax
shr ebx, 0x1f
xor bl, 1
test esi, esi
je 0x5cf1ea
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x5cf1e3
test esi, esi
je 0x5cf1e3
mov eax, dword [esi]
test eax, eax
je 0x5cf1c1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x5cf1d8
push eax
call fcn.0041e1c3
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0041e7c1
add esp, 8
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5cf1fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5cf20f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret
Function at 0x5cf230
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601eaa
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push 0x6ed880
push 1
push 0
push 0x6ed734
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x5cf28d
xor bl, bl
jmp 0x5cf334
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x5cf2ad
xor bl, bl
jmp 0x5cf323
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
jns 0x5cf2cf
xor bl, bl
jmp 0x5cf312
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
jns 0x5cf2ef
xor bl, bl
jmp 0x5cf301
mov eax, dword [ebp - 0x14]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ebx, eax
shr ebx, 0x1f
xor bl, 1
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x5cf312
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5cf323
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5cf334
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5cf348
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret

Function at 0x5d1e80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0x14
mov edi, edx
mov esi, ecx
call fcn.0041e7cf
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0xc]
push 0
push 0
push eax
push 0x5d0660
push 0
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x10]
push 0
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
test eax, eax
je 0x5d1eda
cmp eax, 0xffffffff
je 0x5d1eda
push ebx
push eax
mov bl, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop ebp
ret 0xc
xor al, al
pop ebp
ret 0xc
Function at 0x5d3780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6020dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.005dc570
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x24], 0
call fcn.005d5180
mov edi, eax
test edi, edi
je 0x5d3845
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push 0
call fcn.005dc190
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5d3839
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x5d3839
mov bl, 1
test esi, esi
je 0x5d3830
push eax
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x24]
cmp eax, 2
setne bl
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5d3847
test esi, esi
jne 0x5d3845
cmp eax, 2
setne bl
jmp 0x5d3847
xor bl, bl
lea ecx, [ebp - 0x20]
call fcn.005dc430
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret