joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018e0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bd08
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x1004618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 8]
mov dword [0x1006648], eax
cmp dword [0x1006638], 0
je 0x401941
cmp dword [0x100681c], 0
je 0x401941
cmp dword [0x1006648], 0
je 0x401937
push 8
mov ecx, dword [ebp - 0x64]
call fcn.0054836e
jmp 0x401941
push 0
mov ecx, dword [ebp - 0x64]
call fcn.0054836e
cmp dword [0x1006648], 0
je 0x401a44
mov ecx, dword [0x1006630]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
call fcn.0042eea0
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], edx
mov edx, dword [ebp - 0x64]
add edx, 0xd4
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x64]
add eax, 0xd0
push eax
mov ecx, dword [0x10062c4]
add ecx, 0x7c
call fcn.00545d5b
lea ecx, [ebp - 0x18]
call fcn.00428330
mov dword [ebp - 4], 0
push 2
push 0x50
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0x5b7f74
call fcn.0041f1b0
add esp, 0x14
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0041e260
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00402610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004025d0
lea ecx, [ebp - 0x10]
call fcn.00428330
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
push edx
push 0x5b7ff8
lea eax, [ebp - 0x10]
push eax
call fcn.00402ba0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x7c
call fcn.005482cc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004025d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004025d0
jmp 0x401aa5
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x7c
call fcn.005482cc
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0xd8]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0xd4]
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
call fcn.0042eea0
mov ecx, dword [ebp - 0x64]
sub eax, dword [ecx + 0xdc]
sbb edx, dword [ecx + 0xe0]
mov dword [0x10068f0], eax
mov dword [0x10068f4], edx
mov edx, dword [0x1006630]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x401f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x10062c4], 0
push 0
push 0
push 0
push 0x401f60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [0x10062c4], 0
jne 0x401f42
push 0x100661c
push 0x32
push 0xa
call fcn.00405950
add esp, 0xc
jmp 0x401f26
mov esp, ebp
pop ebp
ret
Function at 0x4032f0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40335c
lea ecx, [ebp - 0x1c]
push ecx
push 0x5b86dc
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 2
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40335c
xor eax, eax
jmp 0x403374
push 0x80020003
mov eax, dword [ebp + 8]
or eax, 0x10
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x4047c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c098
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1004618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x10]
call fcn.00428330
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x404890
mov eax, dword [0x100669c]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40488a
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
movsx eax, byte [edx]
test eax, eax
je 0x404880
xor ecx, ecx
mov word [ebp - 0x20], cx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00404400
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x40485e
movzx ecx, word [ebp - 0x20]
test ecx, ecx
jne 0x404860
jmp 0x404880
mov dx, word [ebp - 0x20]
mov word [ebp - 0x4e], dx
movzx eax, word [ebp - 0x4e]
push eax
lea ecx, [ebp - 0x10]
call fcn.00428c40
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
jmp 0x40482d
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00402970
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004025d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40ba80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c99b
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1004618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
push 0xa4
call fcn.00541524
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x40bad2
mov ecx, dword [ebp - 0x18]
call fcn.0040b710
mov dword [ebp - 0x70], eax
jmp 0x40bad9
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040bb50
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov dword [ebp - 0x68], eax
push 1
mov ecx, dword [ebp - 0x68]
call fcn.00420120
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x68]
mov dword [edx + 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x30
call fcn.00405850
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41da60
Capabilities:
Acquire debug privileges
Allocate thread local storage
Get common file path
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dc66
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x1004618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], ecx
push 0
push 0x1006410
call fcn.0041d940
add esp, 8
push 0x1006410
mov ecx, 0x10067fc
call fcn.00428400
push 0
push 0x1a
push 0x104
mov ecx, 0x10067f8
call fcn.004288a0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, 0x10067f8
call fcn.004281d0
push 1
push 0x5bac28
call fcn.0041d9d0
add esp, 8
mov dword [0x10062f8], 0x114
push 0x10062f8
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.0054d373
mov eax, dword [eax + 4]
mov dword [ebp - 0xc8], eax
call fcn.0054d373
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xcc], ecx
mov edx, 0x80
movzx eax, dx
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x10062f4], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xf0]
add eax, 0xa4
push eax
call sub.gdiplus.dll_GdiplusStartup
push 0
call fcn.0054c546
add esp, 4
push 0
lea ecx, [ebp - 0x98]
push ecx
call fcn.0042e710
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x98]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0xd0], eax
xor ecx, ecx
cmp dword [ebp - 0xd0], 0
sete cl
movzx edx, cl
test edx, edx
jne 0x41dbb7
mov eax, dword [ebp - 0x98]
push eax
call fcn.0042fe80
add esp, 4
jmp 0x41dbc4
push 0x5babec
call fcn.0042fe80
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.004025d0
mov dword [ebp - 0xb0], vtable.VObj.0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], vtable.ExprItem.0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xb0], vtable.AnyArray.0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
mov dword [edx], 0
mov eax, dword [ebp - 0xd8]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 4]
mov dword [0x10062f0], eax
lea ecx, [ebp - 0xb0]
call fcn.0041dd20
push 0
call fcn.0056325d
add esp, 4
push eax
call fcn.005614a1
add esp, 4
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ecx + 0x44]
push edx
call fcn.004f9e90
add esp, 4
call fcn.00472e20
call fcn.004c5b70
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1006624], eax
push 0
lea ecx, [ebp - 0x94]
call fcn.00429f90
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0x94]
mov dword [eax + 0x20], ecx
push 0
mov edx, 0x66
movzx eax, dx
push eax
lea ecx, [ebp - 0x94]
call fcn.00541f5e
push 0
lea ecx, [ebp - 0x94]
call fcn.00544677
mov ecx, dword [0x1006624]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x1006624], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.005415a7
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41e160
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dc98
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1004618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0
je 0x41e1b0
mov ecx, dword [ebp - 0x14]
or ecx, 0x1000000
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x1c]
call fcn.00428330
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x40
mov edx, dword [ebp - 0x18]
shl edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00428140
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004281d0
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
je 0x41e1c6
mov eax, dword [ebp - 0x1c]
sub eax, 0x10
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00402970
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004025d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x42b7f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e4b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1004618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42b8cf
push 8
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x42b8c9
push 8
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42b8c9
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042b9d0
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42b8c9
mov dword [ebp - 0x20], vtable.CGdiObject.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], vtable.CBitmap.0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00549987
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004389c0
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 4], 0
sete cl
neg ecx
sbb ecx, ecx
add ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], vtable.CBitmap.0
lea ecx, [ebp - 0x20]
call fcn.00402ca0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42b8f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e4e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1004618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 4], 0
sete cl
test ecx, ecx
je 0x42b92c
xor eax, eax
jmp 0x42b9b2
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42b9b0
mov dword [ebp - 0x14], vtable.CGdiObject.0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], vtable.CBitmap.0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.004387c0
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebp - 0x14]
test eax, eax
jne 0x42b976
mov dword [ebp - 0x1c], 0
jmp 0x42b97c
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], vtable.CBitmap.0
lea ecx, [ebp - 0x14]
call fcn.00402ca0
mov eax, dword [ebp - 0x18]
jmp 0x42b9b2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x42bf90
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e550
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1004618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x14]
call fcn.00428330
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00428330
mov byte [ebp - 4], 1
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42c039
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42c00a
mov dword [ebp - 0x3c], 0
jmp 0x42c019
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00560b8c
add esp, 4
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004026d0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.00402970
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x10
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004025d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004025d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42c0a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42c147
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
push eax
call fcn.00560b8c
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + ecx + 2]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42c141
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42c141
mov ecx, dword [ebp - 0xc]
shl ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00560d50
add esp, 0xc
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 8]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x42c141
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x42c700
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x42c721
mov eax, 1
jmp 0x42c7a7
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 4], eax
push 1
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp dword [ebp + 0xc], 0
je 0x42c787
push 9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x10], eax
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x42d1e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
je 0x42d1f5
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
push ecx
push 0
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42d21c
xor eax, eax
jmp 0x42d21f
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42d230
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
push 0x288
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0x288
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x42d285
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x42d306
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42d306
push 0xfbb7c4
mov ecx, dword [ebp - 0x10]
add ecx, 0x10c
push ecx
call fcn.00564250
add esp, 8
test eax, eax
ja 0x42d2c9
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x1a0], 0x47
jne 0x42d2fc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x190]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x194
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00560d50
add esp, 0xc
mov dword [ebp - 8], 1
jmp 0x42d306
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
jmp 0x42d29c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x42eb80
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0xfdd4b8
push 1
push 0
push 0xfdd528
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x42ebab
xor eax, eax
jmp 0x42ec18
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x50]
call edx
lea eax, [ebp - 4]
push eax
push 0xfdd4e8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x42ebe0
xor eax, eax
jmp 0x42ec18
push 2
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x42eee0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e7a8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1004618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x42ef15
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x42ef17
jmp 0x42ef8f
lea ecx, [ebp - 0x30]
call fcn.00428330
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
push 0x5b7f6c
lea eax, [ebp - 0x30]
push eax
call fcn.00402ba0
add esp, 0xc
push 0
lea ecx, [ebp - 0x30]
call fcn.00428c40
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 3
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x20], edx
mov eax, 0x44
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x16], 0
mov dword [ebp - 0x12], 0xfbbb50
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004025d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret