joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010e30
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ecx + 0x100a4e38]
test edx, edx
jne 0x10010e69
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
push 0x100a4e38
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, 0x100a4e38
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret

Function at 0x10010e80
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x420], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.10054b00
add esp, 0xc
mov dword [ebp - 0x418], 0x104
mov dword [ebp - 0x41c], 1
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x10082a80
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x20c]
test ecx, ecx
je 0x10010f13
mov dword [ebp - 0x420], 1
jmp 0x10010f98
push 0x208
push 0
lea edx, [ebp - 0x414]
push edx
call fcn.10054b00
add esp, 0xc
mov dword [ebp - 0x418], 0x104
mov dword [ebp - 0x41c], 1
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x41c]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x10082ae0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x414]
test eax, eax
je 0x10010f86
mov dword [ebp - 0x420], 1
jmp 0x10010f98
mov dword [ebp - 0x420], 0
xor ecx, ecx
jne 0x10010e9d
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret

Function at 0x10011580
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x10011589
cmp dword [ebp + 0xc], 0
je 0x1001159c
mov dword [ebp - 0xc], 1
jmp 0x100115a3
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x100115b6
mov eax, 0xd
jmp 0x1001160b
xor edx, edx
jne 0x1001158d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x100115c9
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10018100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x4c
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0xd], 0x78
mov byte [ebp - 0xc], 0x70
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 9], 0x69
mov byte [ebp - 8], 0x6e
mov byte [ebp - 7], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.10017a70
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret 4

Function at 0x100184e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp - 0x214]
cmp dword [eax], 0
je 0x10018509
jmp 0x1001863a
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10054b00
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor ecx, ecx
mov byte [ebp - 0x20d], cl
lea ecx, [ebp - 0x20d]
call fcn.10018180
push eax
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10018577
jmp 0x1001863a
lea ecx, [ebp - 0x20c]
push ecx
call fcn.1003b1c0
add esp, 4
test eax, eax
jne 0x1001858f
jmp 0x1001863a
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x100185b0
jmp 0x1001863a
xor eax, eax
mov byte [ebp - 0x20e], al
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x20e]
call fcn.10018100
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
call fcn.100034b0
push eax
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x224]
call fcn.10003140
cmp dword [ebp - 0x21c], 0
je 0x10018632
call dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x214]
mov dword [ecx], eax
mov edx, dword [ebp - 0x214]
cmp dword [edx], 0
je 0x10018632
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x214]
mov eax, dword [ecx]
mov ecx, dword [edx]
mov edx, dword [eax]
call edx
xor eax, eax
jne 0x100184f9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret
Function at 0x1001bf80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1288
call fcn.10037ea0
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1280], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.10054b00
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov byte [ebp - 0x1279], al
lea ecx, [ebp - 0x1279]
call fcn.1001b8f0
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call sym.nativeutils.dll_CheckSign
test eax, eax
jne 0x1001c014
mov eax, dword [ebp - 0x1280]
jmp 0x1001c15d
push 0x44
push 0
lea eax, [ebp - 0x1268]
push eax
call fcn.10054b00
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x1268]
push ecx
call fcn.10054b00
add esp, 0xc
mov dword [ebp - 0x1268], 0x44
lea edx, [ebp - 0x1268]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x123c], 1
xor eax, eax
mov word [ebp - 0x1238], ax
xor ecx, ecx
mov dword [ebp - 0x1278], ecx
mov dword [ebp - 0x1274], ecx
mov dword [ebp - 0x1270], ecx
mov dword [ebp - 0x126c], ecx
xor edx, edx
mov dword [ebp - 0x1278], edx
mov dword [ebp - 0x1274], edx
mov dword [ebp - 0x1270], edx
mov dword [ebp - 0x126c], edx
lea eax, [ebp - 0x1224]
push eax
call fcn.1001bc20
add esp, 4
mov dword [ebp - 0x1288], 0x800
push 0x1000
push 0
lea ecx, [ebp - 0x120c]
push ecx
call fcn.10054b00
add esp, 0xc
lea ecx, [ebp - 0x1224]
call fcn.100083a0
push eax
lea edx, [ebp - 0x20c]
push edx
push str.__s___hs__frombluewhale
lea eax, [ebp - 0x120c]
push eax
call fcn.1001b400
add esp, 0x10
lea ecx, [ebp - 0x1278]
push ecx
lea edx, [ebp - 0x1268]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x120c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x1280], eax
cmp dword [ebp - 0x1280], 0
jne 0x1001c140
mov ecx, dword [ebp - 0x1274]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1278]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1280]
mov dword [ebp - 0x1284], eax
lea ecx, [ebp - 0x1224]
call fcn.10008120
mov eax, dword [ebp - 0x1284]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret
Function at 0x1001c340
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1001bf60
test eax, eax
ja 0x1001c367
xor eax, eax
jmp 0x1001c4e1
mov dword [ebp - 0x28], 0
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x10]
call fcn.1001bf60
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
call fcn.1001bf40
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.10064638
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1001c3a7
xor eax, eax
jmp 0x1001c4e1
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.10054000
add esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x1001c3cd
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x18]
jae 0x1001c440
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xc]
and edx, 0x80000007
jns 0x1001c3ee
dec edx
or edx, 0xfffffff8
inc edx
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx]
xor ecx, edx
mov eax, dword [ebp - 0xc]
cdq
mov esi, 0x11
idiv esi
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx + 8]
xor ecx, edx
mov eax, dword [ebp - 0xc]
cdq
mov esi, 0x1b
idiv esi
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx + 0x19]
xor ecx, edx
mov eax, dword [ebp - 0xc]
cdq
mov esi, 0x23
idiv esi
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx + 0x34]
xor ecx, edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov byte [eax], cl
jmp 0x1001c3c4
lea ecx, [ebp - 8]
push ecx
push 0
push 0x40000001
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10037ef5
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x40000001
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1001c4a4
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1006456c
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.100580e0
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10037efe
add esp, 4
cmp dword [ebp - 0x24], 0
jne 0x1001c4d1
mov dword [ebp - 0x34], 0
jmp 0x1001c4de
mov dword [ebp - 0x1c], 0x8123
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x28]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret
Function at 0x1001cc50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.10054b00
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov byte [ebp - 0x20d], al
lea ecx, [ebp - 0x20d]
call fcn.1001cc00
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001ccde
mov eax, dword [ebp - 0x214]
jmp 0x1001cd32
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x1001cd2c
push 0x10085858
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x1001cd2c
push 0x1008585c
call dword [ebp - 0x21c]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret

Function at 0x1001cd40
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1001cdcd
mov ecx, 0xc
imul edx, ecx, 0
lea eax, [ebp + edx - 0x10]
push eax
push 0x10085c70
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0x14], 1
mov ecx, 0xc
imul edx, ecx, 0
mov dword [ebp + edx - 8], 2
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1001cdc1
mov dword [ebp - 0x1c], 1
jmp 0x1001cdc8
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
jmp 0x1001cdd2
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret

Function at 0x1001cf50
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x100a5328], 0
je 0x1001cf62
or eax, 0xffffffff
jmp 0x1001cf8b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x1001ce00
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x100a5328], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1001d6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b05b
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], 0x104
mov ax, word [0x1008650c]
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.10054b00
add esp, 0xc
xor edx, edx
mov byte [ebp - 0x2a5], dl
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0x10086510
lea ecx, [ebp - 0x2a5]
call fcn.1001d370
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0x84
lea ecx, [ebp - 0x2a4]
call fcn.100062d0
push 0xfde9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.10008720
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
call fcn.100034b0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x2ac], eax
cmp dword [ebp + 8], 0
jne 0x1001d7e0
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.100087a0
mov eax, dword [ebp - 0x2b0]
jmp 0x1001d85b
lea ecx, [ebp - 0x2a4]
call fcn.100034b0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
cmp eax, dword [ebp + 0xc]
jle 0x1001d81e
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.100087a0
mov eax, dword [ebp - 0x2b4]
jmp 0x1001d85b
lea ecx, [ebp - 0x2a4]
call fcn.100034b0
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1000e460
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.100087a0
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret 8
Function at 0x10020060
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x1c]
mov ax, word [edx]
mov word [ebp - 0x26], ax
add dword [ebp - 0x1c], 2
cmp word [ebp - 0x26], 0
jne 0x1002007f
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x38]
sar ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 3
jae 0x100200b2
xor eax, eax
jmp 0x100201e9
push str.Preferred_DropEffect
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [ebp - 0x48], eax
push 4
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], 1
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x14
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + ecx + 0x18]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp - 0x14]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x2c]
shl ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x30]
add eax, 0x14
push eax
call fcn.10054000
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 0x34], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100201d2
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edx, dword [ebp - 0x24]
push edx
push 0xf
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x34], 1
jmp 0x100201e6
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret 4
Function at 0x10020900
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1009bbd0
push 0x10055f70
mov eax, dword fs:[0]
push eax
add esp, 0xfffffdb8
mov eax, dword [0x100a21a4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x258], 0
cmp dword [ebp - 0x24c], 0xffffffff
je 0x100209ff
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x100209e1
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100209c6
mov dword [ebp - 0x254], 1
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x258], ecx
jmp 0x100209e1
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x24c]
push eax
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x250], eax
jmp 0x10020990
mov dword [ebp - 4], 0xfffffffe
call fcn.100209ef
jmp 0x100209fd
jmp 0x10020a09
mov dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret 4

Function at 0x10020a30
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x244], 0
cmp dword [ebp - 0x238], 0xffffffff
je 0x10020b1c
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x10020b0d
xor edx, edx
mov byte [ebp - 0x231], dl
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x231]
call fcn.1001f650
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10020af2
mov ecx, dword [ebp - 0x228]
push ecx
push 0x100205f0
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x10020af2
mov dword [ebp - 0x240], 1
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x244], edx
jmp 0x10020b0d
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x23c], eax
jmp 0x10020a96
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10020b26
mov dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret
Function at 0x10020d00
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.10054b00
add esp, 0xc
mov dword [ebp - 0x44], 0x40
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret

Function at 0x10020db0
Capabilities:
Patch process command line

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b368
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100a21a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
push 4
lea ecx, [ebp - 0x14]
call fcn.100062d0
lea ecx, [ebp - 0x14]
call fcn.10002d70
mov dword [ebp - 4], 0
push str.NtQueryInformationProcess
push 0x10086838
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x10020e92
push 0
push 0x18
lea eax, [ebp - 0x38]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x10020e92
push 0
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x34]
add eax, 0x10
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10020e92
push 0
push 8
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x40
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10020e92
push 0
movzx edx, word [ebp - 0x20]
push edx
movzx eax, word [ebp - 0x20]
add eax, 2
push eax
lea ecx, [ebp - 0x14]
call fcn.10004840
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.10002ca0
mov ecx, dword [ebp - 0x40]
or ecx, 1
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003140
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10037e81
mov esp, ebp
pop ebp
ret