joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102b9ae
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 0x1004f70
push 0x1002d80
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
jne 0x102b9e7
mov ecx, dword [0x10068dc]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [0x10068e0]
mov dword [eax + 4], ecx
jmp 0x102bb08
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, 0x1004ac4
push ebx
mov edi, 0x1004a48
push edi
mov dword [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
je 0x102ba3b
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]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x100700c
push 0x1006fb0
push reloc.SHELL32.dll_SHChangeNotifyRegister
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CompareFileTime]
jne 0x102babb
mov eax, dword [ebp - 8]
cdq
push 0
add eax, 0xb610d750
push 0x989680
adc edx, 2
push edx
push eax
call fcn.01029570
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 0x102baa5
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 0x102babb
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 0x102bb06
test byte [ebp - 0xc], 3
je 0x102bb06
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 0x102bb06
lea eax, [ebp - 0x14]
push eax
push esi
call edi
test eax, eax
jge 0x102bb06
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
pop esi
pop ebx
pop edi
leave
ret 4
Function at 0x102cb49
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x654
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_Ordinal_460]
push esi
push edi
mov dword [ebp - 0x14], ecx
mov esi, 0x104
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
cmp edi, dword [ebp + 0x10]
jae 0x102cd34
cmp dword [ebp + 0x14], 0
lea ecx, [edi + 1]
mov dword [eax], ecx
je 0x102cb9e
cmp edi, 0xc
jae 0x102cb9e
push 0x1007080
push dword [edi*4 + 0x103d254]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpCW]
test eax, eax
je 0x102cb63
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
push 0x14
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push esi
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_Ordinal_439]
test eax, eax
jl 0x102cb63
push esi
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x244]
push eax
call ebx
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
test eax, eax
mov dword [ebp - 4], eax
jne 0x102cc52
cmp dword [ebp + 0x14], eax
je 0x102cccb
and word [ebp - 0x244], ax
cmp edi, 0xc
jae 0x102cccb
push esi
push dword [edi*4 + 0x103d254]
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp word [ebp - 0x244], 0
je 0x102cccb
push esi
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x244]
push eax
call ebx
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
test eax, eax
mov dword [ebp - 4], eax
je 0x102cccb
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x100540c
push dword [ebp - 4]
call fcn.0102aa31
test eax, eax
jl 0x102ccc2
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
xor edi, edi
push edi
push 0x10053ec
lea edx, [ebp - 0x10]
push edx
push 1
push edi
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x102ccb9
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 4
push edi
push esi
lea edx, [ebp - 0x244]
push edx
push eax
call dword [ecx + 0xc]
push esi
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x244]
push eax
call ebx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_ILFree]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x102cceb
push eax
lea eax, [ebp - 0x654]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x102cb63
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
test eax, eax
je 0x102cd0b
push eax
lea eax, [ebp - 0x654]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x102cb63
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x102cb63
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
pop edi
pop esi
pop ebx
leave
ret 0x10
xor eax, eax
jmp 0x102cd2d
Function at 0x102cd38
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push 0x1007148
push dword [0x103d784]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x1003714
push 0x1002e34
push dword [0x103d784]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x102cd72
call fcn.01024e68
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push 0x10070e8
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102ceac
push esi
push edi
push 0x1004970
call fcn.0102cacb
push 0x1004910
mov dword [ebp - 0xc], eax
call fcn.0102cacb
mov dword [ebp - 8], eax
mov dword [ebp - 0x40], ebx
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 3
stosd dword es:[edi], eax
mov dword [ebp + 8], ebx
pop esi
push ebx
push 4
push 0x10070d8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.0102cb49
mov dword [ebp + esi*4 - 0x40], eax
inc esi
cmp esi, 6
jb 0x102cdc3
mov dword [ebp + 8], ebx
xor edi, edi
lea esi, [ebp + edi*4 - 0x40]
cmp dword [esi], ebx
jne 0x102ce05
push 1
push 0x10
push 0x10070c8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.0102cb49
mov dword [esi], eax
inc edi
cmp edi, 6
jb 0x102cde6
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x28], 0x18
mov dword [ebp - 0x24], 3
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push ebx
push 0x40000000
lea eax, [ebp - 0x18]
push eax
call fcn.0100cee9
push 0x13
xor esi, esi
pop edi
mov eax, dword [ebp + esi*4 - 0x40]
cmp eax, ebx
je 0x102ce78
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 8]
push ecx
push 0x100540c
push eax
mov dword [ebp - 0x20], edi
call fcn.0102aa31
test eax, eax
jl 0x102ce78
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push 0x12
push 0x10054dc
call fcn.0100b7c5
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
dec edi
cmp esi, 6
jb 0x102ce37
xor esi, esi
push dword [ebp + esi*4 - 0x40]
call dword [sym.imp.SHELL32.dll_ILFree]
inc esi
cmp esi, 6
jb 0x102ce81
push dword [ebp - 0xc]
mov esi, dword [sym.imp.SHELL32.dll_SHFree]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x102cff1
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 0x102d035
push ebx
push eax
call dword [fcn.01008690]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x102d08f
mov eax, dword [esi + 0xec]
inc ebx
cmp ebx, dword [eax]
jl 0x102d014
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
jl 0x102d086
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 0x102d086
push edi
push edi
push edi
push edi
push 0x10071d0
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]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
inc eax
jmp 0x102d088
Function at 0x102d6b6
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push ebp
push esi
push edi
push 1
push 0x1007264
push 0x10071e8
mov esi, ecx
xor ebp, ebp
push SysReAllocString
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebp
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov edi, eax
cmp edi, ebp
je 0x102d7fc
push 4
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x24], 9
call dword [sym.imp.SHLWAPI.dll_IStream_Write]
test eax, eax
jl 0x102d7da
mov dword [esp + 0xc], ebp
add esi, 0x38
push ebx
push dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
call fcn.0102c53f
test eax, eax
je 0x102d7bf
mov eax, dword [esp + 0x10]
movzx eax, byte [eax*8 + 0x10068f4]
push eax
push edi
call fcn.0102c58f
test eax, eax
jl 0x102d7d9
mov eax, dword [esi]
cmp eax, ebp
je 0x102d7b1
cmp dword [esi + 8], ebp
je 0x102d7b1
cmp dword [eax], ebp
mov dword [esp + 0x14], ebp
jle 0x102d7b1
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov ebx, dword [eax + ecx*4]
mov eax, dword [ebx]
cmp ebp, eax
je 0x102d789
push 0
push edi
mov ebp, eax
call fcn.0102c58f
test eax, eax
jl 0x102d7d9
push dword [ebp + 4]
push dword [esi + 8]
call fcn.0102c5a3
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_IStream_WritePidl]
test eax, eax
jl 0x102d7d9
push 1
push edi
call fcn.0102c58f
test eax, eax
jl 0x102d7d9
push dword [ebx + 4]
push edi
call dword [sym.imp.SHLWAPI.dll_IStream_WritePidl]
test eax, eax
jl 0x102d7d9
inc dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax]
jl 0x102d752
push 2
push edi
call fcn.0102c58f
test eax, eax
jl 0x102d7d9
xor ebp, ebp
inc dword [esp + 0x10]
add esi, 0x1c
cmp dword [esp + 0x10], 6
jb 0x102d70f
mov dword [esp + 0x18], 1
pop ebx
mov eax, dword [edi]
push edi
call dword [eax + 8]
cmp dword [esp + 0x14], 0
jne 0x102d7fc
push 0x1007264
push 0x10071e8
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
pop edi
pop esi
pop ebp
add esp, 0x14
ret

Function at 0x102da6b
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 0x102db05
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 0x102db04
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 0x102dafb
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrChrW]
push 0x3b
mov esi, edi
push edi
jmp 0x102dae4
and word [edi], 0
cmp word [esi], 0
je 0x102dade
push esi
push dword [ebp + 0x10]
call fcn.0102d83c
lea esi, [edi + 2]
push 0x3b
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x102dacb
cmp word [esi], ax
pop ebx
je 0x102dafb
push esi
push dword [ebp + 0x10]
call fcn.0102d83c
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
leave
ret 0xc
Function at 0x102df15
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
je 0x102df83
push 0
push 0x102c5cc
push eax
call dword [fcn.010086fc]
push dword [edi]
call dword [0x10086f8]
mov eax, dword [ebp + 8]
cmp dword [eax], 0xffffffff
je 0x102df7b
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 0x102df70
lea eax, [ebp - 0x208]
push eax
push dword [edi]
call fcn.0102d83c
add esi, 4
cmp dword [esi], 0xffffffff
mov eax, esi
jne 0x102df49
pop esi
xor eax, eax
inc eax
pop edi
leave
ret 8
push 4
mov ecx, edi
call fcn.0100e2d1
test eax, eax
jne 0x102df3e
jmp 0x102df7e
Function at 0x102ed08
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0x580
push 0x28e44000
lea eax, [ebp - 0x14]
push eax
call fcn.0100cee9
lea esi, [ebx + 0x20]
push esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jl 0x102ed4d
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
push ebx
push 0x102bc60
push dword [ebx + 0xe0]
call dword [fcn.010086fc]
and dword [ebp - 4], 0
lea esi, [ebx + 0x44]
mov ecx, dword [ebp - 4]
shl ecx, 3
mov eax, dword [ecx + 0x10068f4]
mov ecx, dword [ecx + 0x10068f8]
lea edi, [esi - 4]
mov dword [ebx + 0x28], ecx
cmp dword [edi], 0
mov dword [ebp - 0xc], eax
jne 0x102ed96
push edi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [esi], 1
push dword [ebp - 4]
mov ecx, ebx
call fcn.0102c53f
test eax, eax
je 0x102eebe
test byte [ebx + 0x28], 8
je 0x102edc1
push 0x20000
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x102edc1
or dword [ebx + 0x28], 1
push dword [ebp - 0xc]
call fcn.0102b96f
test eax, eax
jne 0x102eeb6
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x102eeb6
mov eax, dword [edi]
test eax, eax
je 0x102ee0b
push dword [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_ILIsEqual]
test eax, eax
je 0x102ee0b
cmp dword [esi], 0
jne 0x102ee0b
cmp dword [esi + 4], 0
jne 0x102eeab
mov ecx, dword [edi]
xor edx, edx
cmp ecx, edx
je 0x102ee17
cmp dword [esi], edx
je 0x102ee81
mov eax, dword [esi - 0xc]
cmp eax, edx
mov dword [esi], edx
mov dword [esi - 8], eax
je 0x102ee27
mov eax, dword [eax]
jmp 0x102ee29
xor eax, eax
push ecx
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
call dword [sym.imp.SHELL32.dll_ILFree]
and dword [edi], 0
push 4
lea ecx, [esi - 0xc]
call fcn.0100e2d1
test eax, eax
je 0x102ee78
push dword [ebp - 8]
push dword [ebx + 0x2c]
call fcn.0102d909
test eax, eax
mov dword [ebp - 0xc], eax
je 0x102ee78
mov eax, dword [ebp - 8]
and dword [ebp - 8], 0
mov dword [edi], eax
lea eax, [esi - 0xc]
push eax
push dword [ebp - 0xc]
mov ecx, ebx
call fcn.0102eb98
mov ecx, dword [ebp - 0xc]
call fcn.0102cef6
lea eax, [esi - 8]
push eax
call fcn.0102e10f
cmp dword [ebx + 4], 0
je 0x102eeab
cmp dword [esi + 4], 0
jne 0x102eeab
mov edi, dword [edi]
test edi, edi
je 0x102eeab
xor eax, eax
inc eax
push eax
push edi
push 0x2381f
push dword [ebp - 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 4]
call fcn.0103371c
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ILFree]
jmp 0x102eebe
lea ecx, [esi - 0xc]
call fcn.0102e12f
inc dword [ebp - 4]
add esi, 0x1c
cmp dword [ebp - 4], 6
jb 0x102ed66
pop edi
pop esi
mov dword [ebx + 0xf4], 1
xor eax, eax
pop ebx
leave
ret
Function at 0x102f9c5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x7c], ebx
jne 0x102fa2c
cmp dword [esi + 0x74], ebx
je 0x102fa2c
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x102fa2c
push edi
xor edi, edi
inc edi
push edi
push ebx
push 0x1004f70
push 0x1002d80
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x102fa2b
dec dword [esi + 0x74]
push 3
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [esi + 0x7c], edi
mov esi, dword [esi + 0x24]
push 0x4e
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 0xd1
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_Ordinal_178]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x102fa30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ecx + 0x74], 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 2
push 8
lea eax, [ebp - 8]
push eax
push 3
push 0x10076f0
push 0x1004a48
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
leave
ret
Function at 0x10307cf
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
push 0
push dword [esp + 0xc]
push 0x1002d80
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
ret 4

Function at 0x1030b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov esi, ecx
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x48]
xor ebx, ebx
cmp eax, ebx
je 0x1030b47
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push 1
push ebx
push eax
call dword [ecx + 0x24]
push ebx
push ebx
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x10076f0
push 0x1004a48
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
add edi, 0xc
push edi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x1030b90
mov ecx, esi
mov dword [esi + 0x74], 3
call fcn.0102f9c5
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4

Function at 0x10319e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [eax], ebx
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x1031a08
xor eax, eax
jmp 0x1031a9e
mov eax, dword [edi + 8]
push esi
mov esi, dword [edi + 0xc]
and esi, 3
cmp eax, ebx
je 0x1031a7d
push ebx
push ebx
push ebx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
mov ebx, 0x1002d80
push ebx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x1031a48
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 4]
mov dword [eax], 1
jmp 0x1031a7d
mov ecx, edi
call fcn.01031994
test eax, eax
mov dword [ebp + 8], eax
je 0x1031a7d
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push ebx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1031a74
mov esi, dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 2
jne 0x1031a8d
test byte [edi + 0xc], 8
jne 0x1031a9b
xor esi, esi
inc esi
jmp 0x1031a9b
cmp esi, 1
jne 0x1031a9b
test byte [edi + 0xc], 0x10
je 0x1031a9b
push 2
pop esi
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret 4

Function at 0x103215c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
push 0
push dword [esp + 0xc]
push 0x1008078
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
ret 4
Function at 0x10326b7
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jl 0x1032714
push edi
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0x1003db0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ILFree]
pop edi
leave
ret 4

Function at 0x1032734
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
xor esi, esi
push esi
xor edi, edi
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x10327db
lea eax, [ebp - 8]
push eax
push 0x10053fc
push esi
push dword [ebp - 0xc]
push esi
call fcn.0102a434
test eax, eax
jl 0x10327d2
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x60
push esi
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x10327c9
jmp 0x10327a9
cmp dword [ebp + 0xc], esi
je 0x103279a
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.010323e2
test eax, eax
je 0x103279b
inc edi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHFree]
cmp edi, dword [ebp + 0x10]
jae 0x10327c0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp + 8]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x1032786
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_ILFree]
cmp edi, dword [ebp + 0x10]
pop edi
sbb eax, eax
inc eax
pop esi
leave
ret 0xc

Function at 0x1033dbc
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
cmp word [eax + 0xc], 0x71
push edi
mov edi, ecx
jne 0x1033e06
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
jl 0x1033e05
push 0x11
call esi
test ax, ax
jl 0x1033e05
push 0x12
call esi
test ax, ax
jl 0x1033e05
test byte [edi + 0x48], 8
je 0x1033e05
mov ecx, edi
call fcn.01032caa
test eax, eax
jl 0x1033e05
push eax
mov ecx, edi
call fcn.010338c5
pop esi
xor eax, eax
pop edi
ret 4