joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102fec7
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x5de
push esi
mov esi, ecx
jne 0x102feea
cmp dword [ebp + 0xc], 6
je 0x102ffb6
call fcn.0102fb9b
jmp 0x102ffb6
push ebx
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x102ffb4
push dword [esi + 0x14]
lea ecx, [esi + 0x23c]
push edi
push dword [ebp + 8]
call fcn.01005bd4
mov ebx, eax
cmp ebx, edi
je 0x102ffb4
cmp dword [esi + 0x26c], edi
je 0x102ff35
push edi
push dword [ebp + 8]
push 0x419
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov ecx, esi
call fcn.0102efec
push dword [ebx]
call fcn.01033eaf
cmp dword [ebx + 0x10], 3
jb 0x102ff72
xor eax, eax
cmp dword [esi + 0x26c], edi
mov ecx, esi
setne al
add eax, 0x400
push eax
push ebx
call fcn.01013afd
cmp dword [esi + 0x26c], edi
je 0x102ffb4
cmp dword [esi + 0x270], edi
je 0x102ffb4
push 0x401
jmp 0x102ffac
cmp dword [esi + 0x26c], edi
je 0x102ffb4
push 0x201
push ebx
mov ecx, esi
call fcn.01013afd
mov edi, 0x202
push edi
push ebx
mov ecx, esi
call fcn.01013afd
cmp dword [esi + 0x270], 0
je 0x102ffb4
push 0x203
push ebx
mov ecx, esi
call fcn.01013afd
push edi
mov ecx, esi
push ebx
call fcn.01013afd
pop edi
pop ebx
pop esi
pop ebp
ret 8

Function at 0x10307fd
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp + 0xc]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10308f3
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x214]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], esi
call ebx
test eax, eax
jne 0x10308c4
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 4]
call fcn.0103562a
test eax, eax
jl 0x10308ad
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_StrDupW]
test eax, eax
mov dword [ebp - 0xc], eax
je 0x10308ad
lea eax, [ebp - 0x41c]
push eax
push 0
push 0x143
push dword [ebp + 8]
call esi
test eax, eax
push dword [ebp - 0xc]
jl 0x10308a7
push eax
push 0x151
push dword [ebp + 8]
call esi
jmp 0x10308ad
call dword [sym.imp.KERNEL32.dll_LocalFree]
inc dword [ebp - 8]
push edi
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call ebx
test eax, eax
je 0x1030851
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push 0x80000001
push dword [ebp + 8]
call fcn.0103076f
test eax, eax
pop edi
pop ebx
jne 0x10308f3
push dword [ebp + 0xc]
push 0x80000002
push dword [ebp + 8]
call fcn.0103076f
pop esi
leave
ret 8

Function at 0x10309a1
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push dword [esp + 0x10]
push 0x1016848
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
ret 8
Function at 0x10309e2
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
lea eax, [ebp - 8]
push eax
push 0xb
xor esi, esi
push esi
push 0x103a068
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1030ab0
push esi
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1030a71
jmp 0x1030a6c
dec dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], 0x104
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1030a71
cmp dword [ebp - 0x10], 8
jbe 0x1030a6c
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 4], esi
jge 0x1030a2a
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 2
push 8
lea eax, [ebp - 0x18]
push eax
push 3
push 0x1017a14
push 0x1017998
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
push 0xffffffffffffffff
push 1
push 3
push 0x28
push 0x1016804
call fcn.0101f15c
pop esi
leave
ret

Function at 0x1030bc7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0x463
cmp dword [esi + 8], eax
mov ebx, ecx
je 0x1030bf2
push 0x103a028
push 0xc
push 0
push dword [esi + 0xc]
call dword [sym.imp.SHELL32.dll_Ordinal_127]
jmp 0x1030c51
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x70
mov edi, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x1030c17
push 0
push 9
push 0x110a
jmp 0x1030c39
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1111
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
pop edi
je 0x1030c51
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
push 0xc
push eax
push ecx
call dword [edx + 0x18]
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8
Function at 0x1030f49
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], 0x103a254
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
lea eax, [ebp - 0x244]
je 0x1030f94
push 0x103a24c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x23e]
jmp 0x1030fa6
push 0x103a238
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x232]
push edi
push 0xb
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x244]
mov dword [ebp - 0x28], eax
mov eax, dword [0x103e648]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], 0xa
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
leave
ret 4

Function at 0x1030fdf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 8]
push eax
push 8
push dword [ebp + 8]
xor ebx, ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x1031060
push edi
push dword [ebp - 8]
call fcn.01033e0a
mov esi, dword [sym.imp.SHELL32.dll_SHFree]
mov edi, eax
test edi, edi
je 0x1031056
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
push 0x60
push dword [ebp + 8]
push edi
call dword [eax + 0x10]
test eax, eax
jl 0x1031050
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x10]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1031047
cmp dword [ebp - 0xc], 1
jne 0x1031047
push dword [ebp - 0x10]
call esi
inc ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
push dword [ebp - 8]
call esi
test ebx, ebx
pop edi
jne 0x1031096
xor esi, esi
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push dword [esi + 0x103f9e4]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103108e
push dword [ebp - 0x10]
xor ebx, ebx
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 4
cmp esi, 0x14
jb 0x1031062
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop esi
pop ebx
leave
ret 8

Function at 0x10310b0
Capabilities:
Delete registry key

Disassembly:
push esi
push edi
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHAddToRecentDocs]
xor edi, edi
lea esi, [edi + 0x103f9e4]
push dword [esi]
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [esp + 0xc], 0
je 0x10310e4
push dword [esi]
push 0
push 0x1a
call dword [sym.imp.SHLWAPI.dll_SHSendMessageBroadcastW]
add edi, 4
cmp edi, 0x14
jb 0x10310be
pop edi
pop esi
ret 4
Function at 0x1031212
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
push 2
push 0x103a270
push 0x10177e0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x10312af
lea eax, [ebp - 4]
push eax
push 0x103a27c
push 1
push esi
push 0x103a28c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10312a9
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x10312a0
push dword [ebp - 0xc]
call fcn.01031145
push esi
xor eax, eax
push esi
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
push dword [ebp - 0x10]
mov eax, dword [ebx]
push dword [ebp - 0x14]
push ebx
call dword [eax + 0x14]
push dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x28]
push dword [ebp - 0xc]
call dword [0x1017e24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, 0x104
mov dword [ebp - 4], esi
push esi
jmp 0x10312fd
push dword [ebp + 0xc]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + 8]
call fcn.01031192
inc dword [ebp - 4]
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call edi
test eax, eax
je 0x10312cf
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1031310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x10]
push eax
xor esi, esi
push 0xb
push esi
mov dword [ebp - 0xc], esi
call edi
test eax, eax
mov ebx, 0x10166d4
jl 0x10313e8
lea eax, [ebp - 8]
push eax
push 0x16
push esi
call edi
test eax, eax
jl 0x10313d4
lea eax, [ebp - 4]
push eax
push 0x103a754
push 3
push esi
push 0x103a358
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10313c9
push dword [ebp - 0x10]
call fcn.01033e0a
mov edi, eax
cmp edi, esi
je 0x1031390
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0xff00
push dword [ebp - 0x10]
push edi
push esi
push eax
call dword [ecx + 0x34]
mov eax, dword [edi]
push edi
call dword [eax + 8]
push dword [ebp - 8]
call fcn.01033e0a
mov edi, eax
cmp edi, esi
je 0x10313b3
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push dword [ebp - 8]
push edi
push esi
push eax
call dword [ecx + 0x34]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push ebx
push eax
call dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ILFree]
jmp 0x10313df
push dword [ebp - 0x10]
call fcn.01033e0a
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
call dword [sym.imp.SHELL32.dll_ILFree]
cmp dword [ebp - 0xc], esi
je 0x10314b8
lea eax, [ebp - 4]
push eax
push 0x2001f
push esi
push 0x103a2c8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10314af
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.01031212
lea eax, [ebp - 8]
push eax
push esi
push esi
push 5
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
cmp dword [ebp - 8], esi
je 0x1031467
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push dword [ebp - 8]
push esi
call fcn.01007e05
test eax, eax
jl 0x103145e
push dword [ebp - 0x14]
push 0x103a2b0
push dword [ebp - 4]
call fcn.0103115c
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ILFree]
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push 2
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, 0x103a29c
mov edi, eax
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x10314a6
push dword [ebp - 0xc]
push esi
push edi
push dword [ebp - 4]
call fcn.01031192
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10314bd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
je 0x103157a
cmp dword [esi + 4], ebx
je 0x103157a
push edi
push esi
push 8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x103e0f8
call fcn.010303ad
xor eax, eax
cmp dword [ebp - 0x20], ebx
push 4
sete al
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 4
push 0x103a3b0
push 0x1016938
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x463
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 4]
push ebx
push 0x103a368
push 0x80000002
push eax
mov dword [esi], eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x110a
push dword [esi]
mov dword [ebp - 4], eax
call edi
push eax
push ebx
push 0x1114
push dword [esi]
call edi
push 0x465
push dword [ebp + 8]
call fcn.01030fdf
xor eax, eax
cmp dword [ebp - 4], ebx
pop edi
setge al
jmp 0x1031586
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x1031c09
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov ebx, ecx
call fcn.010305f8
xor esi, esi
cmp dword [ebx + 0x5c], esi
mov edi, eax
mov dword [ebp - 4], edi
jne 0x1031c39
cmp edi, 0xffffffff
jne 0x1031c42
push esi
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1031d01
cmp edi, 0xffffffff
je 0x1031d01
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x14]
push eax
push edi
push 0x100e
push dword [ebx + 0x44]
mov dword [ebp - 0x14], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push 0
push 0
push 0x101f
push dword [ebx + 0x44]
call esi
lea ecx, [ebp - 0x24]
push ecx
push 1
push 0x1207
push eax
call esi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebx + 0x48]
push ecx
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x1031cd3
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 1
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x48]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1031d01
push 5
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 0x28]
push 0
lea eax, [edi + edi*4]
push dword [ecx + eax*8 + 0x10]
push 0x14e
push dword [ebx + 0x40]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1032098
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, ecx
lea eax, [ebp + 0x64]
push eax
push 0x103a7b4
push 1
push 0
push 0x103a7c4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10321be
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x463
push esi
call edi
mov ecx, ebp
mov ebx, eax
call fcn.01030c73
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax]
push 0
push 0x103a458
push 0x80000002
push ebx
push eax
call dword [ecx + 0xc]
push 0
push 0
push 0x110a
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 5
push 0x110b
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x13
call dword [sym.imp.SHLWAPI.dll_IsOS]
neg eax
sbb eax, eax
inc eax
push eax
push 0x1016c48
mov ecx, ebp
call fcn.0103093c
mov ebx, dword [sym.imp.USER32.dll_CheckDlgButton]
push eax
push 0x51c
push esi
call ebx
push 1
push 0x10175dc
mov ecx, ebp
call fcn.0103093c
push eax
push 0x51a
push esi
call ebx
push 1
push 0x1017a40
mov ecx, ebp
call fcn.0103093c
push eax
push 0x52e
push esi
call ebx
push 0x40000003
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
mov ebp, 0x51d
je 0x10321af
push 0
push 0x521
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x520
push esi
call edi
push eax
call ebx
push 0
push 0x51c
push esi
call edi
push eax
call ebx
push 0
push ebp
push esi
call edi
push eax
call ebx
push ebp
push esi
call fcn.01030fdf
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
jmp 0x10321c0
xor eax, eax
pop ebp
ret 4

Function at 0x10321c4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 0x4000005a
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x103223b
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x46c
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x46f
push dword [ebp + 8]
call esi
push eax
call edi
push 0
push 0x46b
push dword [ebp + 8]
call esi
push eax
call edi
push 1
push 0x46d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0xab
push 0x46e
push dword [ebp + 8]
call fcn.01031917
jmp 0x10322c1
and dword [ebp - 0x20], 0
push 7
pop ecx
xor eax, eax
push eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
push 0x200000
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSetSettings]
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
and eax, 2
shr eax, 1
push eax
push 0x46c
push edi
call esi
mov eax, dword [ebp - 4]
not eax
and eax, 2
shr eax, 1
push eax
push 0x46d
push edi
call esi
mov eax, dword [ebp - 4]
not eax
and eax, 2
or eax, 0x154
shr eax, 1
push eax
push 0x46e
push edi
call fcn.01031917
mov eax, dword [ebp - 4]
not eax
and eax, 2
or eax, 0x8d4
push 0
shr eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
leave
ret 4
Function at 0x1032923
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov ecx, 0x103e0f8
call fcn.010303ad
push dword [esp + 0x28]
mov edi, dword [esp + 0x38]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x453
push edi
call esi
push dword [esp + 0x10]
push 0x44d
push edi
call esi
mov eax, dword [esp + 0x2c]
and eax, 1
push eax
push 0x44e
push edi
call esi
xor eax, eax
cmp dword [esp + 0x18], eax
sete al
push eax
push 0x44f
push edi
call esi
push 0x40000070
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x10329a5
push 0
push 0x44f
push edi
call ebx
push eax
call ebp
push 0x4000006b
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x10329c1
push 0
push 0x453
push edi
call ebx
push eax
call ebp
xor eax, eax
cmp dword [esp + 0x1c], eax
jne 0x10329ec
cmp dword [esp + 0x20], eax
jne 0x10329ec
push dword [esp + 0x24]
push 0x3ef
push edi
call ebx
push eax
call ebp
push dword [esp + 0x24]
push 0x3e8
push edi
call esi
jmp 0x1032a12
push eax
push 0x3e8
push edi
call ebx
push eax
call ebp
push 0
push 0x3ef
push edi
call ebx
push eax
call ebp
push 0
push 0x452
push edi
call ebx
push eax
call ebp
call fcn.01010fe4
neg eax
sbb eax, eax
inc eax
push eax
push 0x451
push edi
call esi
call fcn.01011006
neg eax
sbb eax, eax
inc eax
push eax
push 0x451
push edi
call ebx
push eax
call ebp
push 0x40000056
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x1032a5d
push 0
push 0x450
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1032a7f
push 1
push 0
push 0x10169e4
push 0x1016938
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x1032a7f
push 1
push 0x450
push edi
call esi
push edi
call fcn.01030edd
push edi
call fcn.010322fd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x1032a95
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push edi
push 0x44d
push dword [ebp + 8]
call esi
mov edi, 0x103e0f8
push eax
mov ecx, edi
call fcn.0102b9e5
mov ebx, 0x44e
push ebx
push dword [ebp + 8]
call esi
push eax
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.0102e048
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.010303ad
mov eax, dword [ebp - 4]
shr eax, 0x10
test ax, ax
jne 0x1032b0a
xor eax, eax
cmp dword [ebp - 8], eax
je 0x1032b0c
test byte [ebp - 0x14], 1
jne 0x1032b0c
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push dword [ebp + 8]
call fcn.010322fd
xor eax, eax
cmp word [ebp - 4], ax
je 0x1032b1d
push eax
push eax
push eax
push eax
mov ecx, edi
call fcn.0100262e
push 0x44f
push dword [ebp + 8]
call esi
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x28], ebx
jne 0x1032b55
cmp dword [ebp - 0x20], 0
jne 0x1032b55
push 0x3e8
push dword [ebp + 8]
call esi
cmp dword [ebp - 0x1c], eax
je 0x1032b55
push eax
mov dword [ebp - 0x1c], eax
call fcn.01030dc5
push 0x453
push dword [ebp + 8]
call esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0103040e
push ebx
push 0
push 0x402
push dword [0x103e49c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.01006815
push 0x451
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
neg eax
sbb eax, eax
push 2
inc eax
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0x1018c68
mov ebx, 0x1016938
push ebx
call edi
push 0x450
push dword [ebp + 8]
call esi
push 2
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0x10169e4
push ebx
call edi
push 0
push 0x3e8
push 8
push 0x1016aac
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1033c55
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
mov dword [ebp + 8], eax
je 0x1033c7c
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x1033c7c
xor eax, eax
jmp 0x1033caa
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 3
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1033c99
xor esi, esi
inc esi
cmp dword [ebp + 0xc], 0
je 0x1033ca8
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret 0x14