joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100020e0
Capabilities:
Get disk information
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcf0
push ebx
push esi
push edi
push 0x64
xorps xmm0, xmm0
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0xf4]
push 0
push eax
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 8], SHChangeNotifyRegister
lea edx, [ebp - 0x40]
mov ecx, SHChangeNotifyRegister
call fcn.10001dd0
cmp byte [ebp - 0x40], 0
jne 0x1000214d
lea edx, [ebp - 0x40]
mov dword [ebp - 8], reloc.SHELL32.dll_SHChangeNotifyRegister
mov ecx, reloc.SHELL32.dll_SHChangeNotifyRegister
call fcn.10001dd0
cmp byte [ebp - 0x40], 0
jne 0x1000214d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.xxxx_xxxx
lea eax, [ebp - 0x904]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x104
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
xor eax, eax
mov word [ebp - 0x4fe], ax
lea eax, [ebp - 0x2fc]
push 0x104
push eax
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
lea eax, [ebp - 0x2fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push 3
mov word [ebp + eax*2 - 0x2fe], cx
lea eax, [ebp - 0x2fc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push 0x3e8
lea eax, [ebp - 0xcec]
push eax
push 0
push 0
push 0x560000
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xce4]
lea edx, [ebp - 0x904]
mov ecx, esi
call fcn.1000eff0
cmp byte [ebp - 0x904], 0x78
jne 0x10002213
lea edx, [ebp - 0x904]
mov ecx, esi
call fcn.1000f120
lea ecx, [ebp - 0xf4]
call fcn.10001c80
lea eax, [ebp - 0x904]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x10
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x904]
push eax
push 0
push 0
push 0x21
call dword [sym.imp.bcrypt.dll_BCryptHash]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [ebp - 0x64]
xor esi, esi
movzx eax, byte [ebp + esi - 0x1c]
push eax
push str._02x
push edi
call ebx
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x10002250
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x10
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0xf4]
push eax
push 0
push 0
push 0x21
call dword [sym.imp.bcrypt.dll_BCryptHash]
xor esi, esi
lea edi, [ebp - 0x88]
nop dword [eax]
movzx eax, byte [ebp + esi - 0x1c]
push eax
push str._02x
push edi
call ebx
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x100022a0
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x64]
push eax
push edi
call esi
lea eax, [ebp - 0x88]
push eax
push edi
call esi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100022f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
lea eax, [ebp - 0x15c]
push ebx
push esi
push edi
push eax
call sym.StartIsBack32.dll_Ordinal_103
mov edi, eax
test edi, edi
je 0x100023cb
push 0x80
lea eax, [ebp - 0xf4]
push 0
push eax
call sub.msvcrt.dll_memset
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor esi, esi
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0x80
push eax
push 0x101
push 0
push str.SoftwareStartIsBackLicense
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push str.ActivationData
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test esi, esi
jle 0x10002370
push esi
lea eax, [ebp - 0x74]
push str.ActivationData_d
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xf4]
push eax
push 0
push 0
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
test eax, eax
jne 0x100023c5
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
lea edx, [ebp - 0x15c]
lea ecx, [ebp - 0xf4]
call fcn.10001ef0
movzx eax, al
add esp, 4
inc esi
test eax, eax
je 0x10002330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10002870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
push 0x1004f178
lea edi, [esi + 0x1c]
mov dword [esi], 0x1004f7b4
push edi
mov dword [esi + 4], 0x1004f79c
mov dword [esi + 8], 0x1004f78c
mov dword [esi + 0xc], 0x1004f77c
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 1
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov dword [ebp - 4], 0x104
mov word [edi], ax
lea eax, [ebp - 4]
push eax
push edi
push 0
push 2
push str.AppsFolderName
push str.SoftwareStartIsBack
push SHChangeNotifyRegister
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x100028f8
push 0
push 0x104
push edi
push str._twinui.dll__10207
call dword [sym.imp.SHLWAPI.dll_SHLoadIndirectString]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10003b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
push edi
push 0x218
lea eax, [ebp - 0x220]
mov edi, edx
push 0
push eax
mov ebx, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0x208
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 6
push str.AppsFolderIcon
push str.SoftwareStartIsBack
push SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
lea eax, [ebp - 0x210]
jne 0x10003bf6
push eax
call dword [sym.imp.SHLWAPI.dll_PathParseIconLocationW]
mov esi, eax
jmp 0x10003c0f
push 0x1004f3bc
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
mov esi, 0xffffffec
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005f60
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
push esi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
push 0
push 8
push str.CustomFolders
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerStartPage3
push SHChangeNotifyRegister
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1000600a
push dword [esp + 0xc]
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 8
push str.CustomFolders
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerStartPage3
push SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x10006000
push dword [esp + 0xc]
push esi
push 3
push str.CustomFolders
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerStartPage2
push SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x10006000
push str.CustomFolders
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerStartPage3
push SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
push 2
push str.CustomFolders
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerStartPage2
push SHChangeNotifyRegister
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
push 0
push 0
xorps xmm0, xmm0
mov dword [ebx], eax
mov ecx, dword [eax]
movq qword [esp + 0x18], xmm0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push eax
call dword [ecx + 0x14]
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x1005dc08], 0
je 0x10006d1a
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0x10
push str.NoDarkTooltips
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
push SHChangeNotifyRegister
mov dword [ebp - 8], 4
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x10
push str.NoDarkTooltips
push str.SoftwareStartIsBack
push SHChangeNotifyRegister
call esi
cmp dword [ebp - 4], 0
jne 0x10006d19
mov ecx, dword [0x1005dc10]
mov edx, 0x1004fd78
push 0x10006870
push dword [sym.imp.USER32.dll_CreateWindowExW]
call fcn.1001c730
mov ecx, dword [0x1005dc10]
mov edx, str.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll
push 0x10006870
push 0x1004fe3c
mov esi, eax
call fcn.1001c5e0
or eax, esi
jne 0x10006bd0
push str.patchedCreateWindowEx
push str.SIB_ASSERTION_FAILED:__s
call fcn.10001be0
add esp, 8
mov ecx, dword [0x1005dc10]
mov edx, 0x1004fd78
push 0x10006910
push dword [0x1005dc14]
call fcn.1001c730
mov ecx, dword [0x1005dc10]
mov edx, str.api_ms_win_rtcore_ntuser_private_l1_1_0.dll
push 0x10006910
push dword [0x1005dc14]
mov esi, eax
call fcn.1001c730
or eax, esi
jne 0x10006c1e
push str.patchedCreateWindowInBand
push str.SIB_ASSERTION_FAILED:__s
call fcn.10001be0
add esp, 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
push 0
push str.TrayNotifyWnd
push 0
push dword [0x1005dc0c]
call ebx
push 0
push str.ToolbarWindow32
mov esi, eax
push 0
push esi
call ebx
mov edi, dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
push 0
push 0x100069b0
push 0x100069b0
push eax
call edi
push 0
push str.SysPager
push 0
push esi
call ebx
push 0
push str.ToolbarWindow32
push 0
push eax
call ebx
push 0
push 0x100069b0
push 0x100069b0
push eax
call edi
push 0
push str.NotifyIconOverflowWindow
call dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.ToolbarWindow32
push 0
push eax
call ebx
push 0
push 0x100069b0
push 0x100069b0
push eax
call edi
push 0
push str.tooltips_class32
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x10006d03
nop dword [eax]
push 0
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, esi
jne 0x10006cf1
mov eax, dword [0x1005dc08]
test eax, eax
je 0x10006cf1
push 1
push edi
call eax
push 0
push str.Explorer
push edi
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
push 0
push str.tooltips_class32
push edi
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x10006cc0
push 0x10006d20
push 0x3e8
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10009cf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, ecx
push 0
mov dword [ebp - 4], ebx
push dword [ebx + 0xb0]
call esi
push 0
push dword [ebx + 4]
call esi
push 0
push 0
push 0x580
push dword [0x1005dc0c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov ecx, ebx
call fcn.1000c5c0
push eax
mov ecx, ebx
call fcn.1000a390
push 0x418
push 0x100075b0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [ebx + 4]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push esi
call ebx
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [ebp - 4]
push 0xffffffffffffffec
mov esi, dword [esi + 0xb0]
push esi
call ebx
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000c5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1005d040]
sub esp, 8
push esi
mov esi, ecx
cmp eax, 4
jne 0x1000c6ae
push 0x40000068
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1000c6ac
mov eax, dword [esi + 0x18]
push 0
push 0
push 0x1004
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1000c6ac
mov esi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xa
push eax
push 0
push 0x10
push str.Start_MinMFU
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
push SHChangeNotifyRegister
mov dword [ebp - 8], 4
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x10
push str.Start_MinMFU
push str.SoftwareStartIsBack
push SHChangeNotifyRegister
call esi
cmp dword [0x1005d038], 0
je 0x1000c66b
cmp dword [ebp - 4], 0
jne 0x1000c6ac
push 0x40000065
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1000c6a2
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 8
push str.Favorites
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerStartPage2
push SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp dword [ebp - 8], 2
jae 0x1000c6ac
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000eba0
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x1005e148], 0
jne 0x1000ec28
push str.Network_Flyout
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x1005e14c], eax
test eax, eax
jne 0x1000ebe6
cmp dword [0x1005e150], eax
jne 0x1000ec28
push eax
push eax
push eax
push 0x1000eaa0
push eax
push 0x8000
push 0x8000
call dword [sym.imp.USER32.dll_SetWinEventHook]
mov dword [0x1005e150], eax
ret
mov ecx, dword [0x1005e150]
test ecx, ecx
je 0x1000ec06
push ecx
call dword [sym.imp.USER32.dll_UnhookWinEvent]
mov eax, dword [0x1005e14c]
mov dword [0x1005e150], 0
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1000ec28
push eax
push 0
push 0x1000eab0
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x1005e148], eax
ret
Function at 0x1000eff0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c20
call fcn.10001ba0
push ebx
push edi
push ecx
lea eax, [ebp - 0x110]
mov ebx, edx
push str..PhysicalDrive_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x110]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000f10f
push 0x2710
lea eax, [ebp - 0x2c20]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 8], 0
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], 0
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 0
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2c20]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1000f108
push 0x400
lea eax, [ebp - 0x510]
push 0
push eax
call sub.msvcrt.dll_memset
mov edx, dword [ebp - 0x2c08]
add esp, 0xc
test edx, edx
je 0x1000f108
lea eax, [ebp - 0x510]
push eax
push ecx
lea ecx, [ebp - 0x2c20]
call fcn.1000ee70
add esp, 8
lea ecx, [ebp - 0x510]
call fcn.1000ee20
test eax, eax
je 0x1000f108
push dword [ebp - 0x510]
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
test eax, eax
jne 0x1000f0fa
push dword [ebp - 0x4fd]
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
test eax, eax
je 0x1000f108
lea eax, [ebp - 0x510]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100137b0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x87c
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
lea eax, [esp + 0x10]
push edi
push eax
push 0x1001
push ecx
mov edi, edx
mov dword [esp + 0x20], 0
call esi
test eax, eax
je 0x100137e7
xor bl, bl
jmp 0x100139bc
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0x1001
push edi
call esi
test eax, eax
je 0x10013807
xor bl, bl
jmp 0x100139ae
push 0x104
lea eax, [esp + 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov ebx, dword [sym.imp.msvcrt.dll_wcscat_s]
lea eax, [esp + 0x228]
push str.ImmersiveControlPanelSettings_
push 0x104
push eax
call ebx
add esp, 0xc
push 1
push 0x190
call dword [sym.imp.COMCTL32.dll_DSA_Create]
mov esi, dword [sym.imp.msvcrt.dll_wcscpy_s]
mov edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x24]
push 0x104
push eax
call esi
push str.AllSystemSettings_253E530E_387D_4BC2_959D_E6F86122E5F2.xml
lea eax, [esp + 0x30]
push 0x104
push eax
call ebx
add esp, 0x18
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10013990
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x24]
push 0x104
push eax
call esi
push str..settingcontent_ms
lea eax, [esp + 0x30]
push 0x104
push eax
call ebx
push 0x250
lea eax, [esp + 0x44c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x24
lea eax, [esp + 0x430]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10013912
xor bl, bl
jmp 0x100139a7
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax + eax]
test byte [esp + 0x430], 0x10
jne 0x10013978
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x684]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
lea eax, [esp + 0x468]
push eax
lea eax, [esp + 0x690]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x698]
push edi
push dword [esp + 0x34]
call fcn.10013530
add esp, 0x20
lea eax, [esp + 0x430]
push eax
push esi
call ebx
test eax, eax
jne 0x10013920
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x100139a5
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push edi
push dword [esp + 0x20]
call fcn.10013530
add esp, 8
mov bl, 1
push edi
call dword [sym.imp.COMCTL32.dll_DSA_Destroy]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100139bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100139ca
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10017310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x30]
mov dword [esi + 0x24], 0
test ecx, ecx
je 0x10017332
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x208]
push eax
push 0
push 0
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 3
push 1
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
push 4
push 0xffffffffffffffff
push esi
push 0x100173a0
push eax
mov dword [esi + 0x28], eax
lea eax, [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x10017389
mov edx, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x2c

Function at 0x10018eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 4
push eax
push 0
push 0x10
push str.EnableLUA
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
cmp dword [ebp - 4], 0
je 0x10018f29
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
push 0
push 0x10
push str.PromptOnSecureDesktop
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
cmp dword [ebp - 8], 0
jne 0x10018f29
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10019010
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x10
mov ebx, edx
mov edi, ecx
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
test esi, esi
je 0x10019034
mov dword [esi + 4], 0
jmp 0x10019036
xor esi, esi
mov dword [esi], edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ax, ax
jns 0x10019057
push 0x11
call edi
test ax, ax
jns 0x10019057
mov eax, 1
jmp 0x10019059
xor eax, eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1001908c
mov eax, dword [esi + 4]
lea edi, [esi + 4]
test eax, eax
je 0x10019084
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [edi], 0
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
push 0
push 0x29
push esi
push 0x10018f30
call dword [sym.imp.SHLWAPI.dll_SHCreateThread]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100195d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x20
mov esi, edx
mov ebx, ecx
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
test edi, edi
je 0x10019624
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
jmp 0x10019626
xor edi, edi
lea eax, [edi + 4]
push eax
push esi
push 0x1004eab0
call dword [sym.imp.ole32.dll_CoMarshalInterThreadInterfaceInStream]
test eax, eax
jne 0x10019700
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi], ebx
mov dword [edi + 0x10], eax
test ecx, ecx
je 0x10019660
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
jmp 0x10019672
mov esi, dword [sym.imp.USER32.dll_GetMessagePos]
call esi
cwde
mov dword [edi + 8], eax
call esi
cwde
mov dword [edi + 0xc], eax
mov ebx, dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1001969f
mov eax, dword [edi + 0x18]
lea esi, [edi + 0x18]
test eax, eax
je 0x10019697
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [esi], 0
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
mov ebx, dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100196cc
mov eax, dword [edi + 0x14]
lea esi, [edi + 0x14]
test eax, eax
je 0x100196c4
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [esi], 0
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
jns 0x100196eb
push 0x11
call esi
test ax, ax
jns 0x100196eb
mov eax, 1
jmp 0x100196ed
xor eax, eax
or dword [edi + 0x10], eax
push 0
push 0x28
push edi
push 0x10019290
call dword [sym.imp.SHLWAPI.dll_SHCreateThread]
pop edi
pop esi
pop ebx
pop ebp
ret