joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100eb48
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x36
pop ecx
xor eax, eax
mov word [ebp - 0x6c], bx
lea edi, [ebp - 0x6a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x6c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3b0]
push eax
mov word [ebp - 0x28], 0xdc
call dword [sym.imp.USER32.dll_EnumDisplaySettingsExW]
test eax, eax
je 0x100ebdd
test byte [ebp - 0x24], 0x20
je 0x100ebdd
mov eax, 0x258
cmp dword [ebp + 0x40], eax
jb 0x100ebdd
cmp dword [ebp + 0x44], eax
jb 0x100ebdd
cmp dword [ebp + 0x3c], 0xf
jb 0x100ebdd
mov dword [ebp + 0x74], ebx
jmp 0x100ebdd
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x42c
push ebx
xor ebx, ebx
push 0x1d
mov dword [ebp + 0x74], ebx
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x100ebef
push esi
push edi
mov ecx, 0xd2
lea edi, [ebp - 0x3b4]
rep stosd dword es:[edi], eax
xor edi, edi
inc edi
push edi
push ebx
push 0x101bf1c
push 0x101be80
mov dword [ebp - 0x3b4], 0x348
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x100ebed
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x43
call esi
test eax, eax
jne 0x100ebed
push 0x1000
call esi
test eax, eax
jne 0x100ebed
mov esi, dword [sym.imp.USER32.dll_EnumDisplayDevicesW]
push ebx
lea eax, [ebp - 0x3b4]
push eax
mov dword [ebp + 0x74], edi
mov dword [ebp + 0x70], ebx
push ebx
push ebx
call esi
test eax, eax
je 0x100ebed
test byte [ebp - 0x270], 8
je 0x100eae3
inc dword [ebp + 0x70]
push ebx
lea eax, [ebp - 0x3b4]
push eax
push dword [ebp + 0x70]
jmp 0x100ebc9
pop edi
pop esi
mov eax, dword [ebp + 0x74]
pop ebx
add ebp, 0x78
leave
ret

Function at 0x100eefd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
push esi
push edi
push 0xe
pop ecx
xor eax, eax
push 0x43
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
push 0x106
lea eax, [ebp - 0x248]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_Ordinal_653]
cmp eax, 0xffffffff
je 0x10201c7
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
mov esi, eax
cmp word [esi], bx
je 0x100ef50
mov word [esi - 2], bx
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov dword [ebp - 0x28], esi
xor esi, esi
inc esi
cmp dword [ebp + 0xc], ebx
lea eax, [ebp - 0x248]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x38], 0x40
je 0x100ef89
mov dword [ebp - 0x38], 0x440
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x100efb7
cmp dword [ebp - 4], ebx
je 0x100efae
cmp dword [ebp + 0x10], ebx
jne 0x10201dc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x100efb0
push dword [ebp + 8]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x100ef38
push 0x4ff
push 0xffffffffffffffff
push dword [ebp - 4]
push ebx
call fcn.0101efc2
jmp 0x100efa5
Function at 0x100f1cc
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
call fcn.0100f1f0
test eax, eax
jne 0x1022494
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
push 0x40000042
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x100f1dc
call fcn.0100ded5
test eax, eax
je 0x102250b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x100f1ee
push 1
call dword [sym.imp.USER32.dll_LockSetForegroundWindow]
push 0
push 0
push 0x590
push dword [esi + 4]
mov dword [esi + 0x43c], 1
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 1
push 0xf3
push 0x130
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
pop esi
jmp fcn.0102b5e0
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x321
push 0x320
mov ecx, esi
call fcn.0102b632
pop esi
ret

Function at 0x100f1f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x101b5ec
push 0x101b3a8
push 0x80000001
mov esi, ecx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.0100ded5
test eax, eax
je 0x1022473
cmp dword [ebp - 4], 2
sbb eax, eax
neg eax
pop esi
leave
ret
mov eax, dword [ebp - 4]
sub eax, 0
je 0x102248c
dec eax
jne 0x1022485
mov ecx, esi
call fcn.0102b5e0
xor eax, eax
jmp 0x100f23a
xor eax, eax
inc eax
jmp 0x100f23a

Function at 0x100f620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xec]
xor edi, edi
xor ebx, ebx
cmp dword [eax], edi
jle 0x100f664
push ebx
push eax
call dword [fcn.0101af24]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x100f695
mov eax, dword [esi + 0xec]
inc ebx
cmp ebx, dword [eax]
jl 0x100f643
mov eax, dword [esi + 0xe4]
mov ecx, dword [eax]
push edi
push edi
push dword [ebp + 8]
push 2
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x100f69a
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
inc eax
jmp 0x100f67d
mov esi, dword [esi + 0xe4]
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push edi
push 2
push edi
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x100f67b
push edi
push edi
push edi
push edi
push 0x101c1f8
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
push dword [ebp - 4]
mov edi, eax
neg edi
sbb edi, edi
inc edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100f67b
Function at 0x10107e5
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 1
xor edi, edi
push edi
push 0x101c828
push 0x101b3a8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x1025aa8
push ebx
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp + 8]
push edi
push edi
push edi
lea eax, [ebp - 4]
push eax
push esi
push edi
mov ebx, 0x101c7fc
push ebx
mov edi, 0x101c780
push edi
mov dword [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x1025ac1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x101c8ac
push 0x101c850
push 0x80000002
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CompareFileTime]
jne 0x10108c2
mov eax, dword [ebp - 8]
cdq
push 0
add eax, 0xb610d750
push 0x989680
adc edx, 2
push edx
push eax
call fcn.01005e5b
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], edx
call edi
test eax, eax
jle 0x10108ac
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push esi
call edi
test eax, eax
jge 0x10108c2
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USERENV.dll_GetProfileType]
test eax, eax
je 0x10108da
test byte [ebp - 0xc], 3
jne 0x1025ae5
pop esi
pop ebx
pop edi
leave
ret 4
mov ecx, dword [0x101c274]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [0x101c278]
mov dword [eax + 4], ecx
jmp 0x10108dc
mov eax, dword [ebp - 0x1c]
push 8
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
pop eax
push 2
push eax
push esi
push 3
push ebx
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
jmp 0x1010842
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x10108da
lea eax, [ebp - 0x14]
push eax
push esi
call edi
test eax, eax
jge 0x10108da
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
jmp 0x10108da
Function at 0x1011290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101132a
mov eax, dword [ebp - 4]
push edi
add eax, 2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, esi
mov dword [ebp - 8], edi
je 0x1011329
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1011320
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrChrW]
push 0x3b
mov esi, edi
push edi
call ebx
mov edi, eax
test edi, edi
je 0x1011311
and word [edi], 0
cmp word [esi], 0
je 0x1011309
push esi
push dword [ebp + 0x10]
call fcn.0101132f
lea esi, [edi + 2]
push 0x3b
push esi
jmp 0x10112ee
cmp word [esi], ax
pop ebx
je 0x1011320
push esi
push dword [ebp + 0x10]
call fcn.0101132f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
leave
ret 0xc

Function at 0x10113c9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x1025d3b
push 4
mov ecx, edi
call fcn.01018805
test eax, eax
je 0x101142d
mov eax, dword [ebp + 8]
cmp dword [eax], 0xffffffff
je 0x101142a
push esi
mov esi, eax
lea ecx, [ebp - 0x208]
push ecx
push 0
push 0
push dword [eax]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x101141f
lea eax, [ebp - 0x208]
push eax
push dword [edi]
call fcn.0101132f
add esi, 4
cmp dword [esi], 0xffffffff
mov eax, esi
jne 0x10113f8
pop esi
xor eax, eax
inc eax
pop edi
leave
ret 8
push 0
push 0x1016ebe
push eax
call dword [fcn.0101b020]
push dword [edi]
call dword [0x101b024]
jmp 0x10113ed
Function at 0x1011e57
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
xor ebx, ebx
cmp dword [0x103f7d4], ebx
mov dword [ebp - 0xc], ebx
jne 0x1011f25
lea eax, [ebp - 4]
push eax
push 1
push ebx
push 0x101ce40
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1011f25
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x101ce30
push ebx
push dword [ebp - 4]
mov dword [ebp - 8], 0x1fe
call esi
test eax, eax
jne 0x1011ed9
cmp dword [ebp - 0x10], 1
jne 0x1011ed9
push 7
lea eax, [ebp - 0x210]
push eax
call fcn.01011f2b
test eax, eax
jne 0x1020303
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x101ce28
push ebx
push dword [ebp - 4]
mov dword [ebp - 8], 0x1fe
call esi
test eax, eax
jne 0x1011f1b
xor esi, esi
inc esi
cmp dword [ebp - 0x10], esi
jne 0x1011f1b
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.01011f2b
test eax, eax
jne 0x102030f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret
mov dword [ebp - 0xc], 1
jmp 0x1011ed9
mov dword [ebp - 0xc], esi
jmp 0x1011f1b

Function at 0x1011f2b
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
xor edi, edi
push 0x104
lea eax, [ebp - 0x24c]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebx, dword [ebp + 8]
call fcn.0100ea3d
test eax, eax
jne 0x1011f8b
cmp word [ebx], di
mov esi, ebx
jne 0x1020279
cmp word [esi], di
jne 0x1011f95
mov dword [ebp - 8], 1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x10202a3
cmp dword [ebp - 8], edi
lea ebx, [esi + 2]
je 0x1011f54
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
mov word [esi], di
jmp 0x1011f74
mov ax, word [esi]
cmp ax, 0x20
je 0x1011f68
cmp ax, 0x2c
je 0x1011f68
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], di
jne 0x1020279
jmp 0x1011f68
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x34], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x10202f5
push ebx
push 0x1030
push 0x20c
push 0x203
push eax
push dword [0x103f654]
call sub.SHELL32.dll_ShellMessageBoxW
add esp, 0x18
jmp 0x10202fc
mov dword [ebp - 4], 1
xor edi, edi
jmp 0x1011f83
Function at 0x101256e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
lea eax, [ebp - 4]
push eax
mov esi, 0xf003f
push esi
push 0
push 0x101d1dc
push 0x80000000
call ebx
test eax, eax
jne 0x10125c6
push edi
lea eax, [ebp - 0x18]
push eax
push esi
push 0
mov edi, 0x101d1c4
push edi
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x10206d4
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0
mov ebx, 0x101c58c
push ebx
push 0
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call edi
test eax, eax
jne 0x10125bc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
xor eax, eax
push eax
push esi
push eax
push ebx
push eax
push 0x101e828
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x102075c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
xor eax, eax
push eax
push esi
push eax
push ebx
push eax
push 0x102740c
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x1020753
push 4
push 0x10273a0
push 1
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x14]
jmp 0x10125b6

Function at 0x10125d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.010125ed
test eax, eax
jne 0x1020521
pop ebx
leave
ret 8
mov eax, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
push 7
mov dword [ebp - 0x20], eax
pop ecx
xor eax, eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x1c]
push ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
mov dword [ebp - 0x28], eax
cmp word [eax], si
je 0x1020561
mov word [eax - 2], si
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
jmp 0x10125e8
Function at 0x1013be0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xac
push ebx
push esi
push edi
push 0x101d3b8
mov esi, ecx
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [esi + 0xbc], eax
lea eax, [esi + 8]
push eax
push dword [esi + 0x20]
call dword [sym.imp.ole32.dll_RegisterDragDrop]
xor ebx, ebx
push ebx
push ecx
mov eax, esp
push ebx
push 0x52009344
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [eax], ebx
push dword [esi + 0x20]
lea edi, [esi + 0x38]
mov ecx, edi
call fcn.01013b5f
mov eax, dword [edi]
cmp eax, ebx
je 0x1013d77
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x353
push dword [0x103f654]
push 0x44d
push eax
call ebx
mov ecx, esi
call fcn.01013daf
mov eax, dword [esi + 0x74]
not eax
test al, 1
mov eax, 0x101d348
je 0x1021753
push eax
push 0
push 0x200b
push dword [edi]
call ebx
push 0
push 0
push 0x1002019
push dword [edi]
call fcn.0100f447
push 0
push 0x14
push 0x41e
push dword [edi]
call ebx
xor ecx, ecx
push ecx
xor eax, eax
push eax
mov ecx, edi
call fcn.0100c6d5
push 0x3c0
push 0
push 0x454
push dword [edi]
call ebx
push 0
push 6
push 0x2007
push dword [edi]
call ebx
mov ecx, esi
call fcn.01013aa4
lea eax, [ebp + 0x6c]
push eax
mov ecx, edi
call fcn.0101351d
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x1013ce5
push 3
push 3
push 0xfffffffffffffff0
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_165]
push 0x101d3a4
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 3
push dword [esi + 0x20]
mov dword [esi + 0x3c], eax
call dword [sym.imp.SHELL32.dll_Ordinal_181]
push 1
push ebx
push ebx
mov ecx, esi
call fcn.0101978f
push esi
push 0x1013d7c
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp + 0x70]
push eax
push 1
push 0x43a
push 0xc008000
push 0x8002
push dword [esi + 0x20]
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x70], ebx
call dword [sym.imp.SHELL32.dll_SHChangeNotifyRegister]
mov dword [esi + 0xb8], eax
push 0x50
lea eax, [ebp - 0x34]
push eax
push 0x252
push dword [0x103f654]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x34]
push eax
push dword [esi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
call esi
lea eax, [ebp - 0x34]
push eax
push dword [edi]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret
or eax, 0xffffffff
jmp 0x1013d6f
mov eax, 0x1039ca8
jmp 0x1013c6b

Function at 0x10141bb
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
xor ebx, ebx
inc ebx
push ebx
push 0x10
lea eax, [ebp - 0x208]
push eax
xor edi, edi
push edi
call esi
push ebx
push 2
lea eax, [ebp - 0x208]
push eax
push edi
call esi
push ebx
push 0xb
lea eax, [ebp - 0x208]
push eax
push edi
call esi
push ebx
push 7
lea eax, [ebp - 0x208]
push eax
push edi
call esi
push ebx
push 8
lea eax, [ebp - 0x208]
push eax
push edi
call esi
push ebx
push 6
lea eax, [ebp - 0x208]
push eax
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10142e4
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x101da18
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1020764
leave
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x101430d
push 0x102746c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
push 0
push 0x102742c
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x101430d

Function at 0x10143f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push 0x101d470
mov edi, 0x101b3a8
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 4]
cmp eax, 2
jb 0x1020a0b
pop edi
pop esi
pop ebx
leave
ret
sub eax, ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
je 0x1020a1a
dec eax
je 0x1020a83
jmp 0x1020a91
push 0x1027578
push 0x101d408
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0xc], 0x104
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1027564
lea eax, [ebp - 0x21c]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1020a83
cmp word [ebp - 0x424], ax
je 0x1020a83
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0x1039bf0
push edi
push esi
mov dword [ebp - 8], 1
call ebx
xor eax, eax
cmp dword [ebp - 4], eax
sete al
push eax
call fcn.0103637d
push 0
push 1
push 0x1027544
push 0x1027528
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
jne 0x1014434
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0x101d470
push edi
push esi
mov dword [ebp - 8], 2
call ebx
jmp 0x1014434
Function at 0x101560a
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, 0x101d638
push 0x101d6f4
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov ebx, eax
test ebx, ebx
je 0x101566d
push ebx
call dword [sym.imp.SHLWAPI.dll_IStream_Reset]
test eax, eax
jl 0x101566d
cmp dword [ebp + 8], 0
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
push dword [ebp + 0xc]
push ebx
jne 0x1023ff4
call fcn.01015674
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
cmp dword [ebp - 8], 0
jne 0x102400d
pop edi
pop esi
pop ebx
leave
ret 0xc
call fcn.0102f353
test eax, eax
jge 0x101565d
mov dword [ebp - 8], 1
jmp 0x101565d
lea eax, [ebp + 8]
push eax
push 0x20006
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101566d
push 0x101d6f4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x101566d

Function at 0x10157a7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push ebx
push 0x101d6b4
push 0x101d638
push 0x80000001
mov dword [ebp - 4], ecx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov esi, eax
cmp esi, ebx
je 0x1015834
push edi
xor eax, eax
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x14
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_IStream_Read]
test eax, eax
jl 0x101582d
cmp dword [ebp - 0x18], 0x14
jne 0x101582d
mov edi, dword [ebp - 4]
push dword [ebp - 0x14]
mov ecx, edi
call fcn.01015845
test eax, eax
je 0x101582d
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x101582d
cmp dword [ebp - 0xc], ebx
jbe 0x101582d
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
push ebx
push ebx
push ebx
push eax
push esi
call dword [ecx + 0x14]
test eax, eax
jne 0x101582d
push esi
call dword [fcn.0101d898]
mov dword [edi + 0x1c], eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ecx + 0x1c], ebx
pop esi
setne al
pop ebx
leave
ret 4
Function at 0x1015b0d
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x101db70
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1015b6a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x264]
push eax
push esi
push esi
push 0x101db5c
push dword [ebp - 4]
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x102048f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
cmp word [ebp - 0x264], si
je 0x1015b61
push edi
push 0x10
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x264]
push eax
push esi
mov dword [ebp - 0x5c], 0x44
mov word [ebp - 0x2c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x1015b61
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
jmp 0x1015b61