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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1046080]
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0x103e
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x1009b14
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x1000
call esi
test eax, eax
jne 0x1028c7c
push 0x2001
call esi
test eax, eax
jne 0x1028c7c
push 1
push eax
push 0x1009b20
push 0x101c6d8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
pop esi
mov ecx, dword [ebp - 4]
call fcn.010019ca
leave
ret
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1d4]
lea eax, [ebp - 0x20c]
push 0x1028cc0
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push 1
push 0
push 0x1009b20
lea eax, [ebp - 0x20c]
push eax
jmp 0x1009b0d

Function at 0x100a394
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
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
jne 0x1029b22
mov eax, dword [edi + 8]
push esi
mov esi, dword [edi + 0xc]
and esi, 3
cmp eax, ebx
je 0x100a423
push ebx
push ebx
push ebx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
mov ebx, 0x101c6d8
push ebx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
je 0x100d97a
mov ecx, edi
call fcn.0100a449
test eax, eax
mov dword [ebp + 8], eax
je 0x100a423
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push ebx
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1029b29
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 2
je 0x100d98b
cmp esi, 1
jne 0x100a43b
test byte [edi + 0xc], 0x10
jne 0x1029b39
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret 4
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 4]
mov dword [eax], 1
jmp 0x100a423
test byte [edi + 0xc], 8
jne 0x100a43b
jmp 0x1029b31
xor eax, eax
jmp 0x100a43e
mov esi, dword [ebp - 4]
jmp 0x100a41a
xor esi, esi
inc esi
jmp 0x100a43b
push 2
pop esi
jmp 0x100a43b
Function at 0x100a4da
Capabilities:
Get common file path

Disassembly:
mov edi, edi
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 0x100a57c
lea eax, [ebp - 8]
push eax
push 0x101bbfc
push esi
push dword [ebp - 0xc]
push esi
call fcn.010178a5
test eax, eax
jl 0x100a573
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 0x100a56a
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
jne 0x100a561
cmp dword [ebp + 0xc], esi
je 0x100a588
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.0100a590
test eax, eax
jne 0x100a588
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHFree]
cmp edi, dword [ebp + 0x10]
jb 0x100a528
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
inc edi
jmp 0x100a553
Function at 0x100ad47
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1046080]
push ebx
xor ebx, ebx
cmp dword [0x1046bec], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], ebx
je 0x1016106
cmp dword [0x1046bec], 1
je 0x1029077
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [0x1046bec], 1
pop edi
sete al
pop ebx
call fcn.010019ca
leave
ret 4
push esi
push 7
xor esi, esi
call fcn.0100f8d1
test eax, eax
je 0x1028fd2
call fcn.01016167
cmp ax, bx
mov word [0x1047988], ax
je 0x1016148
push 0x10
lea ecx, [ebp - 0x30]
push ecx
movzx eax, ax
push 0x58
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1016148
test byte [ebp - 0x21], 8
jne 0x1028fb7
xor eax, eax
cmp esi, ebx
sete al
inc eax
push eax
push 0x1046bec
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop esi
jmp 0x100ad6d
xor eax, eax
mov ax, word [0x1047988]
push eax
call fcn.0103de47
test eax, eax
jne 0x102906f
jmp 0x1016148
push 5
call fcn.0100f8d1
test eax, eax
je 0x1016148
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1016148
lea eax, [ebp - 0x38]
push eax
push 0x20019
push ebx
push 0x1029090
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1016148
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push 0x102908d
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0xc
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x38]
mov byte [ebp - 5], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0103dd4b
test eax, eax
je 0x1016148
mov eax, dword [ebp - 0x34]
and eax, 0x3ff
cmp eax, 1
je 0x1029069
cmp eax, 0xd
jne 0x1016148
mov word [0x1047988], ax
xor esi, esi
inc esi
jmp 0x1016148
cmp edi, ebx
je 0x100ad7a
mov ax, word [0x1047988]
mov word [edi], ax
jmp 0x100ad7a

Function at 0x100b7a3
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
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 0x100b83f
add dword [ebp - 4], 2
push edi
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, esi
mov dword [ebp - 8], edi
je 0x100b83e
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 0x100b835
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 0x100b826
and word [edi], 0
cmp word [esi], 0
je 0x100b81e
push esi
push dword [ebp + 0x10]
call fcn.0100b849
lea esi, [edi + 2]
push 0x3b
push esi
jmp 0x100b803
cmp word [esi], ax
pop ebx
je 0x100b835
push esi
push dword [ebp + 0x10]
call fcn.0100b849
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
leave
ret 0xc
Function at 0x100c817
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 1
xor edi, edi
push edi
push 0x100ae24
push 0x101c6d8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x1029697
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, 0x100adf8
push ebx
mov edi, 0x100c990
push edi
mov dword [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x10296b0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x100c974
push 0x100c918
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 0x100c8f6
mov eax, dword [ebp - 8]
cdq
push 0
add eax, 0xb610d750
push 0x989680
adc edx, 2
push edx
push eax
call fcn.01016558
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 0x100c8e0
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 0x100c8f6
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 0x100c90e
test byte [ebp - 0xc], 3
jne 0x10296d4
pop esi
pop ebx
pop edi
leave
ret 4
mov ecx, dword [0x100d900]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [0x100d904]
mov dword [eax + 4], ecx
jmp 0x100c910
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 0x100c876
lea eax, [ebp - 0x24]
push eax
push eax
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 0x100c90e
lea eax, [ebp - 0x14]
push eax
push esi
call edi
test eax, eax
jge 0x100c90e
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
jmp 0x100c90e
Function at 0x100cb61
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1046080]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi]
test eax, eax
push edi
mov edi, dword [ebp + 8]
jne 0x1029960
push 4
mov ecx, esi
call fcn.01016778
test eax, eax
je 0x100cbce
cmp dword [edi], 0xffffffff
je 0x100cbcb
mov eax, edi
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push dword [eax]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x100cbc1
lea eax, [ebp - 0x20c]
push eax
push dword [esi]
call fcn.0100b849
add edi, 4
cmp dword [edi], 0xffffffff
mov eax, edi
jne 0x100cb9a
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.010019ca
leave
ret 8
push 0
push 0x102140b
push eax
call dword [fcn.01016200]
push dword [esi]
call dword [0x101622c]
jmp 0x100cb93
Function at 0x100e894
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x1d
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x102595c
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret
cmp dword [edi + 0x548], esi
je 0x100e8b8
push 0x222
push esi
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x100e8b8
push 0x40000073
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x100e8b8
push ebx
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0xc], 1
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
mov ebx, 0x1025c4c
push ebx
mov edi, 0x1025bc0
push edi
mov dword [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
je 0x1025a36
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x1025b88
push 0x1025b10
push 0x80000002
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1025a19
cmp dword [ebp - 8], esi
je 0x1025a19
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffcb
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.01032337
jmp 0x1025a25
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push 2
push 8
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0x20019
push edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHLWAPI.dll_SHRegOpenUSKeyW]
test eax, eax
jne 0x1025ace
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x1025b00
push dword [ebp - 0x10]
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHRegQueryUSValueW]
test eax, eax
jne 0x1025a79
cmp dword [ebp - 8], esi
jne 0x1025ac2
push 0x3c
pop ebx
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x1025ad4
push edi
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x1025a9f
mov ebx, dword [ebp - 8]
cmp ebx, esi
jle 0x1025ac5
mov ecx, dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.01032337
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x1025ac5
mov dword [ebp - 0xc], esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHRegCloseUSKey]
pop ebx
jmp 0x100e8b8
Function at 0x100e8c4
Capabilities:
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x1046080]
push esi
push 0x220
xor esi, esi
push esi
mov dword [ebp - 4], eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
je 0x100e971
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x100e971
push edi
push 0x20
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
cmp edi, esi
je 0x100e970
lea eax, [ebp - 0x20c]
push eax
mov word [edi], si
mov esi, 0x104
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.01002ca8
lea ecx, [ebp - 0x20c]
mov eax, edi
sub eax, ecx
sar eax, 1
push 0x100e97c
mov ecx, esi
sub ecx, eax
push ecx
push edi
call fcn.01005da7
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1026afe
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.010019ca
leave
ret
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.01002ca8
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x840]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.01002d79
test byte [ebp - 0x86c], 0x10
je 0x1026b54
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1026b81
push 0x1026ba4
push 5
lea eax, [ebp - 0x414]
push eax
push 0x1033f3b
push 0x14
push dword [0x10466f0]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_292]
cmp eax, 5
je 0x1026b97
lea eax, [ebp - 0x86c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1026afe
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x100e970

Function at 0x100eb38
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0100eb63
test eax, eax
jne 0x1025f31
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 0x100eb4a
call fcn.0100a191
test eax, eax
je 0x1025f96
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x100eb5c
push 0
push 0
push 0x590
push dword [esi + 4]
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.01030ea7
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.01030f07
pop esi
ret
Function at 0x100eb63
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
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 0x100ebb4
push 0x101c6d8
push 0x80000001
mov esi, ecx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.0100a191
test eax, eax
je 0x1025f10
cmp dword [ebp - 4], 2
sbb eax, eax
neg eax
pop esi
leave
ret
mov eax, dword [ebp - 4]
sub eax, 0
je 0x1025f29
dec eax
jne 0x1025f22
mov ecx, esi
call fcn.01030ea7
xor eax, eax
jmp 0x100ebaf
xor eax, eax
inc eax
jmp 0x100ebaf
Function at 0x100f134
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x1046080]
push ebx
push esi
push edi
push 0x100f300
mov dword [ebp - 4], eax
mov esi, ecx
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [esi + 0xc0], 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 + 0x3c]
mov ecx, edi
call fcn.01014bd1
mov eax, dword [edi]
cmp eax, ebx
je 0x100f2e5
push 0x353
push dword [0x10466f0]
push 0x44d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.010120a4
mov eax, dword [esi + 0x78]
not eax
test al, 1
mov eax, 0x1012124
je 0x1024f3f
push eax
push ebx
push 0x200b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x1001db0
push dword [edi]
call fcn.0100ab95
push 0x14
mov ecx, edi
call fcn.01010ba0
xor ecx, ecx
push ecx
xor eax, eax
push eax
mov ecx, edi
call fcn.01010bc0
push 0x3c0
mov ecx, edi
call fcn.01010beb
push ebx
push 6
push 0x2007
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.01011fbd
lea eax, [ebp - 0xb0]
push eax
mov ecx, edi
call fcn.01006d4d
mov eax, dword [eax]
cmp eax, ebx
je 0x100f23c
push 3
push 3
push 0xfffffffffffffff0
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_165]
push 0x100f2ec
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 3
push dword [esi + 0x20]
mov dword [esi + 0x40], eax
call dword [sym.imp.SHELL32.dll_Ordinal_181]
push 1
push ebx
push ebx
mov ecx, esi
call fcn.010095e3
push esi
push 0x1011135
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp - 0xac]
push eax
push 1
push 0x43a
push 0xc008000
push 0x8002
push dword [esi + 0x20]
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xac], ebx
call dword [sym.imp.SHELL32.dll_SHChangeNotifyRegister]
mov dword [esi + 0xbc], eax
push 0x50
lea eax, [ebp - 0xa4]
push eax
push 0x252
push dword [0x10466f0]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0xa4]
push eax
push dword [esi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
call esi
lea eax, [ebp - 0xa4]
push eax
push dword [edi]
call esi
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.010019ca
pop edi
pop esi
pop ebx
leave
ret
or eax, 0xffffffff
jmp 0x100f2d8
mov eax, 0x102afd0
jmp 0x100f1c5
Function at 0x1010246
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 0x40000056
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x10102a6
push 1
push eax
push 0x10102d0
mov esi, 0x101c6d8
push esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
mov dword [edi + 0x34], eax
je 0x10102a2
and dword [ebp - 4], 0
push 4
pop eax
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
add edi, 0x38
push edi
push 0
push 0x10102ac
push esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
pop edi
pop esi
leave
ret
and dword [edi + 0x34], 0
jmp 0x10102a2
Function at 0x10108ef
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1046080]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
mov esi, 0xf003f
push esi
push 0
push 0x1010978
push 0x80000000
call ebx
test eax, eax
jne 0x1010951
push edi
lea eax, [ebp - 0x54]
push eax
push esi
push 0
mov edi, 0x1010960
push edi
push dword [ebp - 0x40]
call ebx
test eax, eax
jne 0x10239c4
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.010019ca
leave
ret
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push esi
push 0
mov ebx, 0x100ab04
push ebx
push 0
push edi
push dword [ebp - 0x40]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call edi
test eax, eax
jne 0x1010947
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
xor eax, eax
push eax
push esi
push eax
push ebx
push eax
push 0x101cdc4
push dword [ebp - 0x50]
call edi
test eax, eax
jne 0x1023a7d
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
xor eax, eax
push eax
push esi
push eax
push ebx
push eax
push 0x1023ac0
push dword [ebp - 0x48]
call edi
test eax, eax
jne 0x1023a74
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push 8
pop ecx
push 0x20
lea eax, [ebp - 0x3c]
push eax
push 1
push 0x1022798
push dword [ebp - 0x44]
mov esi, 0x1023aa0
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
call ebx
push 6
pop ecx
push 0x18
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x102af38
push dword [ebp - 0x44]
mov esi, 0x1023a88
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
call ebx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x50]
jmp 0x1010941
Function at 0x10114e5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1046080]
push ebx
xor ebx, ebx
push 0x40000047
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ebx
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x10115db
cmp dword [0x1046b48], ebx
jne 0x10115db
lea eax, [ebp - 0x208]
push eax
push 1
push ebx
push 0x1011600
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10115db
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x10115f4
push ebx
push dword [ebp - 0x208]
mov dword [ebp - 0x210], 0x1fe
call esi
test eax, eax
jne 0x1011599
cmp dword [ebp - 0x214], 1
jne 0x1011599
push 7
lea eax, [ebp - 0x204]
push eax
call fcn.0101166f
test eax, eax
jne 0x1023305
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x10115ec
push ebx
push dword [ebp - 0x208]
mov dword [ebp - 0x210], 0x1fe
call esi
test eax, eax
je 0x1023314
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20c]
pop ebx
call fcn.010019ca
leave
ret
mov dword [ebp - 0x20c], 1
jmp 0x1011599
xor esi, esi
inc esi
cmp dword [ebp - 0x214], esi
jne 0x10115ce
push esi
lea eax, [ebp - 0x204]
push eax
call fcn.0101166f
test eax, eax
je 0x10115ce
mov dword [ebp - 0x20c], esi
jmp 0x10115ce