joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a11d0
Capabilities:
Copy file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100bdbb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x10106c69]
push edi
xor edi, edi
mov dword [esp + 4], eax
push edi
lea ecx, [esp + 0x20]
push 0x14
push ecx
push edi
mov dword [esp + 0x138], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x100a12ca
push esi
lea ecx, [esp + 0x10]
call fcn.100b6264
mov esi, dword [esp + 0x134]
push edi
push edi
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 1
call fcn.100b6376
test eax, eax
je 0x100a12b8
lea edx, [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
call fcn.100b688e
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x10]
push str._s_s
push edx
mov byte [esp + 0x13c], 2
call fcn.100b497e
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x12c], 1
call fcn.100b577c
lea ecx, [esp + 0x10]
call fcn.100b6591
mov eax, dword [esp + 8]
push 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x100a12b8
push esi
call dword [sym.imp.GDI32.dll_AddFontResourceA]
mov edi, eax
test edi, edi
je 0x100a12b8
push 0
push 0
push 0x1d
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 0
call fcn.100b62b9
pop esi
lea ecx, [esp + 4]
mov dword [esp + 0x128], 0xffffffff
call fcn.100b577c
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
mov dword fs:[0], ecx
add esp, 0x128
ret 4

Function at 0x100a1770
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100bdc22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebp
push esi
push 0x1010ab19
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.100b57ea
lea eax, [esp + 0xc]
mov ebp, 1
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push closesocket
mov dword [esp + 0x9c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100a17e5
mov esi, dword [esp + 0x90]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.100b54f1
mov dword [esp + 0x14], ebp
jmp 0x100a1859
push edi
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.Version
push edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
pop edi
test eax, eax
jbe 0x100a1842
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xc]
call fcn.100b58b9
mov esi, dword [esp + 0x90]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.100b54f1
mov dword [esp + 0x14], ebp
lea ecx, [esp + 8]
mov byte [esp + 0x88], 0
call fcn.100b577c
mov ecx, dword [esp + 0x80]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x84
ret 4
Function at 0x100a2db0
Capabilities:
Create directory
Get common file path

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x104
push esi
mov esi, ecx
push 0
lea ecx, [esp + 8]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edx, dword [esp + 0x10c]
lea eax, [esp + 4]
push edx
push 0x101065a5
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x100a2e0e
pop esi
add esp, 0x104
ret 8
lea eax, [esp + 4]
mov ecx, esi
push eax
push htons
call fcn.100a2d60
mov eax, 1
pop esi
add esp, 0x104
ret 8

Function at 0x100a2e30
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x104
push esi
mov esi, ecx
push 0
lea ecx, [esp + 8]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edx, dword [esp + 0x10c]
lea eax, [esp + 4]
push edx
push 0x101065a5
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 4]
mov ecx, esi
push 0
push 0
push edx
call fcn.1009ec80
test eax, eax
jne 0x100a2e91
pop esi
add esp, 0x104
ret 8
lea eax, [esp + 4]
push eax
call fcn.100a8b6f
add esp, 4
test eax, eax
je 0x100a2eae
xor eax, eax
pop esi
add esp, 0x104
ret 8
lea ecx, [esp + 4]
push ecx
push sendto
mov ecx, esi
call fcn.100a2d60
mov eax, 1
pop esi
add esp, 0x104
ret 8

Function at 0x100a2ed0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100bdd2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.100a63e5
mov edi, dword [esp + 0x140]
push 0
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x138], 0
call fcn.100a64a8
test eax, eax
lea ecx, [esp + 8]
jne 0x100a2f3e
call fcn.100a645e
lea ecx, [esp + 8]
mov dword [esp + 0x130], 0xffffffff
call fcn.100a6422
xor eax, eax
jmp 0x100a2fd5
call fcn.100a645e
mov eax, dword [esp + 0x144]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edx, dword [esp + 0x13c]
mov eax, dword [esp + 0x138]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x30]
push str._s_s_s.lnk
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [esp + 0x24]
mov ecx, esi
push eax
push edi
call fcn.100a3070
test eax, eax
jne 0x100a2fab
lea ecx, [esp + 8]
mov dword [esp + 0x130], 0xffffffff
call fcn.100a6422
xor eax, eax
jmp 0x100a2fd5
lea ecx, [esp + 0x24]
push ecx
push closesocket
mov ecx, esi
call fcn.100a2d60
lea ecx, [esp + 8]
mov dword [esp + 0x130], 0xffffffff
call fcn.100a6422
mov eax, 1
mov ecx, dword [esp + 0x128]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x12c
ret 0x10
Function at 0x100a2ff0
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x104
push esi
mov esi, ecx
push 0
lea ecx, [esp + 8]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edx, dword [esp + 0x110]
mov eax, dword [esp + 0x10c]
push edx
lea ecx, [esp + 8]
push eax
push ecx
lea edx, [esp + 0x10]
push str._s_s_s.lnk
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x100a304e
pop esi
add esp, 0x104
ret 0xc
lea ecx, [esp + 4]
push ecx
push reloc.WS2_32.dll_connect
mov ecx, esi
call fcn.100a2d60
mov eax, 1
pop esi
add esp, 0x104
ret 0xc

Function at 0x100a3070
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x100cafd8
push 1
push 0
push 0x100cafc8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x100a309e
xor eax, eax
add esp, 0x210
ret 8
mov eax, dword [esp]
mov edx, dword [esp + 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp]
lea edx, [esp + 4]
push edx
push 0x100cafe8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x100a30d2
xor eax, eax
add esp, 0x210
ret 8
mov ecx, dword [esp + 0x218]
lea eax, [esp + 8]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push 2
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 1
add esp, 0x210
ret 8
Function at 0x100a3130
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x100bdd50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x10106c69]
push ebp
mov dword [esp + 4], eax
lea ecx, [esp + 0x10]
xor ebp, ebp
push ecx
mov dword [esp + 0x30], ebp
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x100a318c
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100b577c
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov dword [esp + 8], ebp
mov edx, dword [esp + 0x1f]
mov eax, dword [esp + 0x1e]
mov ecx, dword [esp + 0x1d]
and edx, 0xff
push edx
mov edx, dword [esp + 0x20]
and eax, 0xff
and ecx, 0xff
push eax
mov eax, dword [esp + 0x23]
and edx, 0xff
push ecx
mov ecx, dword [esp + 0x26]
push edx
mov edx, dword [esp + 0x29]
and eax, 0xff
and ecx, 0xff
push eax
mov eax, dword [esp + 0x2c]
and edx, 0xff
push ecx
mov ecx, dword [esp + 0x2e]
push edx
mov edx, dword [esp + 0x30]
and eax, 0xff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x30]
and edx, 0xffff
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push str.SoftwareMicrosoftInternet_ExplorerExtensions_08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
push ecx
mov byte [esp + 0x60], 1
call fcn.100b497e
add esp, 0x34
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push ecx
push closesocket
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebp
je 0x100a3267
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100b577c
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.1FBA04EE_3024_11D2_8F1F_0000F87ABD16
call edi
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc eax
push eax
push str.1FBA04EE_3024_11D2_8F1F_0000F87ABD16
push 1
push ebp
push str.CLSID
push esi
call ebx
push 0x101065ed
call edi
inc eax
push eax
push 0x101065ed
push 1
push ebp
push str.Default_Visible
push esi
call ebx
mov ebp, dword [esp + 0x40]
push ebp
call edi
inc eax
push eax
push ebp
push 1
push 0
push str.ButtonText
push esi
call ebx
mov ebp, dword [esp + 0x44]
push ebp
call edi
inc eax
push eax
push ebp
push 1
push 0
push str.Icon
push esi
call ebx
push ebp
call edi
inc eax
push eax
push ebp
push 1
push 0
push str.HotIcon
push esi
call ebx
mov ebp, dword [esp + 0x48]
push ebp
call edi
inc eax
push eax
push ebp
push 1
push 0
push str.Exec
push esi
call ebx
test esi, esi
je 0x100a330b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.100b577c
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x100a3360
Capabilities:
Access peb ldr_data
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100bdd76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov eax, dword [0x10106c69]
push ebp
push esi
push edi
mov dword [esp + 0xc], eax
mov ecx, dword [str.ButtonText]
mov ax, word [0x101065d9]
mov edx, dword [0x101065d5]
mov dword [esp + 0x28], ecx
mov cl, byte [0x101065db]
mov word [esp + 0x30], ax
mov byte [esp + 0x32], cl
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x33]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x33c], 0
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x104
stosb byte es:[edi], al
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
lea edx, [esp + 0xc]
push str.SoftwareMicrosoftInternet_ExplorerExtensions
push edx
mov byte [esp + 0x344], 1
call fcn.100b497e
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 8
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push ecx
push closesocket
call ebp
test eax, eax
jne 0x100a356e
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x12c]
xor edi, edi
push 0x104
push edx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x100a3535
lea ecx, [esp + 0x12c]
lea edx, [esp + 0xc]
push ecx
push str.SoftwareMicrosoftInternet_ExplorerExtensions_s
push edx
call fcn.100b497e
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push ecx
push closesocket
call ebp
test eax, eax
jne 0x100a3513
lea edx, [esp + 0x1c]
lea eax, [esp + 0x230]
push edx
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100a3508
mov eax, dword [esp + 0x344]
lea esi, [esp + 0x230]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x100a34e0
test cl, cl
je 0x100a34dc
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x100a34e0
add eax, 2
add esi, 2
test cl, cl
jne 0x100a34bc
xor eax, eax
jmp 0x100a34e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100a3508
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x12c]
push eax
push ecx
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x100a355a
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x12c]
inc edi
push 0x104
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x100a344c
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov dword [esp + 0x33c], 0xffffffff
call fcn.100b577c
mov eax, dword [esp + 0x18]
jmp 0x100a3584
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x33c], 0xffffffff
call fcn.100b577c
xor eax, eax
mov ecx, dword [esp + 0x334]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x334
ret 4
Function at 0x100a49d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x100bddf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push esi
push edi
mov edi, dword [esp + 0x24]
push 0
push edi
push 0
push 0x14
call ebp
test eax, eax
je 0x100a4ad4
push edi
lea ecx, [esp + 0x28]
call fcn.100b57ea
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], 0
push eax
push 0x20006
push 0
push str.Control_PanelDesktop
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100a4ac3
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ecx - 8]
push eax
push edi
push 1
push 0
push str.Wallpaper
push edx
call esi
test eax, eax
je 0x100a4a65
mov eax, dword [esp + 0x10]
push eax
jmp 0x100a4abd
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x24]
push ecx
push 0x100fdb6d
push edx
call fcn.100b497e
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ebx, eax
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x18]
push 1
push 0
push str.WallpaperStyle
push eax
call esi
test eax, eax
jne 0x100a4ab8
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 8]
push eax
mov eax, dword [esp + 0x14]
push ebx
push 1
push 0
push str.TileWallpaper
push eax
call esi
test eax, eax
je 0x100a4ad8
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.100b577c
xor eax, eax
jmp 0x100a4b01
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push edi
push 0
push 0x14
call ebp
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.100b577c
mov eax, esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x100a4b20
Capabilities:
Find taskbar

Disassembly:
push esi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x100a4b4e
mov eax, dword [esp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
ret 4

Function at 0x100a4ba0
Capabilities:
Find taskbar

Disassembly:
push esi
push 0x12f
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push 0x12f
push eax
call esi
mov esi, eax
test esi, esi
je 0x100a4be4
mov eax, dword [esp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
ret 4

Function at 0x100a4bf0
Capabilities:
Find taskbar

Disassembly:
push esi
push 0x130
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x100a4c2a
mov eax, dword [esp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
ret 4
Function at 0x100a50a0
Capabilities:
Capture screenshot
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x10
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x100a50c8
xor eax, eax
pop edi
add esp, 0x10
ret 0xc
push ebx
push ebp
push esi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
push 8
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ebp, ebp
jge 0x100a5114
xor ebp, ebp
mov ecx, dword [esp + 0x24]
test ecx, ecx
jge 0x100a5124
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x10]
cmp ebx, ecx
jle 0x100a512e
mov ebx, ecx
cmp edi, eax
jle 0x100a5134
mov edi, eax
mov edx, dword [esp + 0x24]
sub ebx, ebp
sub edi, edx
push edi
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x24]
push 0xcc0020
push edx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov eax, dword [esp + 0x28]
pop esi
sub eax, 0
pop ebp
pop ebx
je 0x100a51bc
dec eax
jne 0x100a51d3
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100a51d3
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 4]
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp + 8], 1
jmp 0x100a51d3
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 4]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.100a52d0
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 8]
pop edi
add esp, 0x10
ret 0xc
Function at 0x100a51f0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x100a520c
xor eax, eax
pop edi
add esp, 8
ret 4
push ebx
push ebp
push esi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
push 8
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ebp, ebp
jge 0x100a5258
xor ebp, ebp
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jge 0x100a5268
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x14]
cmp ebx, ecx
jle 0x100a5272
mov ebx, ecx
cmp edi, eax
jle 0x100a5278
mov edi, eax
mov edx, dword [esp + 0x1c]
sub ebx, ebp
sub edi, edx
push edi
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push edx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 4
Function at 0x100a5510
Capabilities:
Create process on windows

Disassembly:
push str.Microsoft_Internet_Explorer
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 4

Function at 0x100a5540
Capabilities:
Check if file exists
Create process on windows
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100bde40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x10106c69]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
xor edi, edi
push 0x104
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], edi
call fcn.100b5a12
xor esi, esi
mov ebx, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push edi
push str.SoftwareMicrosoftShared_ToolsMSInfo
push closesocket
mov byte [esp + 0x3c], 1
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], edi
call ebp
cmp eax, edi
jne 0x100a55f2
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push ebx
push eax
push edi
push str.Path
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, edi
mov dword [esp + 0x18], eax
je 0x100a55ec
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x14], esi
cmp dword [esp + 0x18], edi
je 0x100a5663
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
push ecx
push 0x20019
push edi
push str.SoftwareMicrosoftShared_Tools_Location
push closesocket
call ebp
cmp eax, edi
jne 0x100a5663
xor eax, eax
cmp esi, edi
je 0x100a561e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x18]
cmp eax, edi
mov dword [esp + 0x14], esi
jne 0x100a5663
lea edx, [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push ebx
push eax
push edi
push str.MSInfo
push esi
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.MSInfo32.exe
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp esi, edi
je 0x100a5663
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x14], esi
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.100b5a61
lea ecx, [esp + 0x10]
call fcn.100b5aa9
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov edx, dword [esp + 0x10]
push 1
push edi
push edi
push edx
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp esi, edi
je 0x100a56a2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.100b577c
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret