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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcac
push ebx
push esi
mov ebx, eax
push edi
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0xcac]
xor esi, esi
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], 0x200
call fcn.268909dd
cmp ebx, esi
pop ecx
lea eax, [ebp - 4]
pop ecx
push eax
lea edi, [ebp - 0xcac]
lea eax, [ebp - 0x878]
jne 0x2689101b
push 2
push esi
push eax
mov word [ebp - 0x444], si
call fcn.2689093e
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, esi
jne 0x26891002
push dword [ebp + 0x18]
lea eax, [ebp - 0x444]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x26891098
push edi
call fcn.2687140a
push eax
push 0x26912ebe
push dword [ebp + 0xc]
push 0x139a5
push dword [ebp + 8]
jmp 0x2689108b
push 0xb
push esi
push eax
call fcn.2689093e
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, esi
jne 0x2689105c
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x444]
push eax
dec ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
cmp edi, esi
jne 0x26890ff4
jmp 0x26890fd8
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x3c]
cmp dword [eax + 0x61], 5
jne 0x26891076
push 1
push eax
xor eax, eax
inc eax
call fcn.268e7b07
push edi
call fcn.2687140a
push eax
push 0x26912ebe
push dword [ebp + 0xc]
push 0x139a5
push ebx
mov ebx, 0x268f3f58
call fcn.268c708f
add esp, 0x18
xor eax, eax
cmp edi, esi
pop edi
pop esi
sete al
pop ebx
leave
ret 0x14
Function at 0x268910a6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x868
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x18], edi
mov ebx, eax
mov esi, ecx
je 0x268910d8
push 0x268f1584
push ebx
call fcn.26891e1e
test eax, eax
jne 0x268910d8
push edi
push edi
push ebx
call fcn.268908c6
test eax, eax
je 0x2689111f
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x868]
push eax
mov eax, ebx
call fcn.268909dd
cmp dword [ebp + 0x1c], edi
pop ecx
pop ecx
je 0x2689114c
mov eax, esi
call fcn.268ac2cc
test eax, eax
je 0x2689111f
cmp dword [esi + 0x418], edi
jne 0x26891126
push str.RegOpenKeyTransacted
push 0x13f99
push esi
mov ebx, 0x268f3f58
call fcn.268c708f
add esp, 0xc
xor eax, eax
jmp 0x268911d3
push edi
push dword [ebp + 0x1c]
lea eax, [ebp + 0x18]
push eax
push 2
push edi
lea eax, [ebp - 0x434]
push eax
lea edi, [ebp - 0x868]
call fcn.2689093e
push eax
call dword [esi + 0x418]
jmp 0x2689116c
lea eax, [ebp + 0x18]
push eax
push 2
push edi
lea eax, [ebp - 0x434]
push eax
lea edi, [ebp - 0x868]
call fcn.2689093e
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x26891197
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x268911cc
push edi
call fcn.2687140a
push eax
push dword [ebp + 8]
push ebx
push 0x139a5
mov ebx, 0x268f3f58
push esi
call fcn.268c708f
add esp, 0x18
cmp edi, 5
jne 0x268911cc
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
mov ecx, eax
xor eax, eax
inc eax
push eax
push ecx
call fcn.268e7b07
xor eax, eax
test edi, edi
sete al
pop edi
pop esi
pop ebx
leave
ret 0x18

Function at 0x26891364
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc9c
push ebx
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0xc9c]
push eax
mov eax, dword [ebp + 8]
call fcn.268909dd
push dword [ebp + 8]
lea ebx, [ebp - 0x434]
call fcn.26890b34
add esp, 0xc
jmp 0x268913b7
lea eax, [ebp - 0x434]
push eax
call fcn.26891364
test eax, eax
pop ecx
je 0x268913e4
push dword [ebp + 8]
lea ebx, [ebp - 0x434]
call fcn.26890b34
pop ecx
cmp word [ebp - 0x434], 0
jne 0x26891397
push edi
lea eax, [ebp - 0x868]
push eax
lea edi, [ebp - 0xc9c]
call fcn.2689093e
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb eax, eax
inc eax
pop edi
pop ebx
leave
ret
xor eax, eax
jmp 0x268913e1
Function at 0x26891782
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x268ee9ea
call fcn.268eb4dc
sub esp, 0x88
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x268917b3
push 0x139a2
push edi
mov ebx, 0x268f3f58
call fcn.268c708f
pop ecx
pop ecx
xor eax, eax
jmp 0x26891975
push esi
push dword [ebp + 0x14]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
call esi
test eax, eax
pop ecx
jne 0x2689180d
push edi
call fcn.26891519
test eax, eax
je 0x268917e7
push 0x139a8
push edi
mov ebx, 0x268f3f58
call fcn.268c708f
pop ecx
pop ecx
xor eax, eax
jmp 0x26891974
push dword [ebp + 8]
call esi
test eax, eax
pop ecx
je 0x268917e0
push dword [ebp + 0xc]
call esi
test eax, eax
pop ecx
je 0x268917e0
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
jmp 0x26891974
push dword [ebp + 0xc]
call esi
test eax, eax
pop ecx
je 0x268917e0
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov dword [ebp + 0x10], ebx
call fcn.26884adf
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x26891833
call ebx
mov dword [ebp + 0x10], eax
mov esi, dword [ebp + 0x14]
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x268918d5
mov eax, dword [edi + 4]
mov eax, dword [eax]
call fcn.26884adf
test eax, eax
je 0x26891971
call fcn.268d05c4
test eax, eax
je 0x26891971
call ebx
mov esi, eax
mov eax, dword [edi + 4]
mov eax, dword [eax]
test eax, eax
je 0x26891971
call fcn.26884adf
test eax, eax
je 0x26891971
sub esi, dword [ebp + 0x10]
lea eax, [ebp - 0x94]
push esi
push dword [ebp + 0x14]
push 0x13f24
push eax
call fcn.26884a91
add esp, 0x10
and dword [ebp - 4], 0
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [ebp - 0x94]
push edx
push eax
call dword [ecx + 0x304]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.26878e29
jmp 0x26891971
cmp dword [0x2692af68], 0
je 0x26891971
push esi
lea esi, [ebp + 8]
call fcn.26869bdf
mov dword [ebp - 4], 1
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp + 8]
lea esi, [edi + 0x3c4]
push eax
call fcn.26892330
test eax, eax
jne 0x2689195e
cmp dword [edi + 0x3dc], 0xc8
jbe 0x2689191c
mov eax, esi
call fcn.268923b1
lea eax, [ebp + 0xf]
push eax
lea ecx, [ebp + 8]
mov edx, esi
mov byte [ebp + 0xf], 0
call fcn.2689225c
mov ecx, dword [0x2692af68]
cmp ecx, ebx
je 0x2689195e
mov eax, dword [edi + 4]
mov eax, dword [eax]
cmp eax, ebx
jne 0x26891945
xor eax, eax
jmp 0x26891954
mov ecx, dword [eax]
push eax
call dword [ecx + 0x354]
mov ecx, dword [0x2692af68]
push dword [ebp + 0x14]
mov edx, dword [ecx]
push 0xd
push eax
call dword [edx]
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x26891971
call fcn.268e5db4
mov dword [ebp + 8], ebx
mov eax, dword [ebp - 0x10]
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x26891984
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x268ee9cd
call fcn.268eb4dc
sub esp, 0x84
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x26891b4b
cmp dword [ebp + 0x10], esi
jne 0x26891b4b
push dword [ebp + 0x14]
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
call ebx
test eax, eax
pop ecx
jne 0x268919ec
push edi
call fcn.26891519
test eax, eax
je 0x268919ce
push 0x139a8
jmp 0x26891b50
push dword [ebp + 8]
call ebx
test eax, eax
pop ecx
je 0x26891b5d
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
jmp 0x26891b5f
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov dword [ebp + 0xc], esi
call fcn.26884adf
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x26891a08
call ebx
mov dword [ebp + 0xc], eax
push dword [ebp + 0x14]
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp eax, esi
mov dword [ebp + 0x10], eax
je 0x26891aa9
mov eax, dword [edi + 4]
mov eax, dword [eax]
call fcn.26884adf
test eax, eax
je 0x26891b46
mov esi, dword [ebp + 0x14]
call fcn.268d05c4
test eax, eax
je 0x26891b46
call ebx
mov esi, eax
mov eax, dword [edi + 4]
mov eax, dword [eax]
test eax, eax
je 0x26891b46
call fcn.26884adf
test eax, eax
je 0x26891b46
sub esi, dword [ebp + 0xc]
lea eax, [ebp - 0x90]
push esi
push dword [ebp + 0x14]
push 0x13f24
push eax
call fcn.26884a91
add esp, 0x10
and dword [ebp - 4], 0
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [ebp - 0x90]
push edx
push eax
call dword [ecx + 0x304]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.26878e29
jmp 0x26891b46
cmp dword [0x2692af68], esi
je 0x26891b46
push dword [ebp + 0x14]
lea esi, [ebp + 0xc]
call fcn.26869bdf
mov dword [ebp - 4], 1
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp + 0xc]
lea esi, [edi + 0x3c4]
push eax
call fcn.26892330
test eax, eax
jne 0x26891b33
cmp dword [edi + 0x3dc], 0xc8
jbe 0x26891af1
mov eax, esi
call fcn.268923b1
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp + 0xc]
mov edx, esi
mov byte [ebp + 0xb], 0
call fcn.2689225c
mov ecx, dword [0x2692af68]
cmp ecx, ebx
je 0x26891b33
mov eax, dword [edi + 4]
mov eax, dword [eax]
cmp eax, ebx
jne 0x26891b1a
xor eax, eax
jmp 0x26891b29
mov ecx, dword [eax]
push eax
call dword [ecx + 0x354]
mov ecx, dword [0x2692af68]
push dword [ebp + 0x14]
mov edx, dword [ecx]
push 0xd
push eax
call dword [edx]
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x26891b46
call fcn.268e5db4
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 0x10]
jmp 0x26891b5f
push 0x139a2
mov ebx, 0x268f3f58
push edi
call fcn.268c708f
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x26891e89
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
mov ebx, eax
push ebx
call esi
test eax, eax
pop ecx
je 0x26891f3c
push dword [ebp + 0xc]
call esi
test eax, eax
pop ecx
je 0x26891f3c
push dword [ebp + 0xc]
push ebx
call fcn.26891e1e
test eax, eax
je 0x26891f1c
push edi
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x80c]
push eax
mov eax, ebx
call fcn.268909dd
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push 2
lea eax, [ebp - 0x408]
push 0
push eax
lea edi, [ebp - 0x80c]
call fcn.2689093e
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
pop edi
jne 0x26891f21
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x26891f21
xor eax, eax
inc eax
jmp 0x26891f3e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push 0x139a3
push eax
call dword [ecx + 0x3c]
mov ebx, 0x268f3f58
call fcn.268e6bb2
pop ecx
pop ecx
xor eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x26894e59
Capabilities:
Get common file path

Disassembly:
mov eax, 0x268ee014
call fcn.268eb4dc
sub esp, 0x218
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [ebp - 0x10], ebx
xor eax, eax
cmp esi, 0x29
mov ecx, 0x82
lea edi, [ebp - 0x222]
mov word [ebp - 0x224], bx
rep stosd dword es:[edi], eax
ja case.0x26894e92.30
jmp dword [esi*4 + 0x26895009]
push 0x105
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x26894fe0
push 0x26914118
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
push 0x105
je 0x26894ede
lea ecx, [ebp - 0x224]
push ecx
call eax
jmp 0x26894fe0
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x26894fe0
push 0xb
jmp 0x26894fc0
push 0x16
jmp 0x26894fc0
push 2
jmp 0x26894fc0
push 0x17
jmp 0x26894fc0
push 6
jmp 0x26894fc0
push 0x1f
jmp 0x26894fc0
push 7
jmp 0x26894fc0
push 0x18
jmp 0x26894fc0
push 0x10
jmp 0x26894fc0
push 0x19
jmp 0x26894fc0
push 0x26
push edx
lea esi, [ebp - 0x224]
call fcn.26894e07
cmp word [ebp - 0x224], bx
jne 0x26894fe0
lea eax, [ebp - 0x14]
push eax
mov eax, esi
push eax
push str.ProgramFilesDir
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersion
lea esi, [ebp - 0x18]
mov dword [ebp - 0x14], 0x104
call fcn.26890d99
add esp, 0x10
jmp 0x26894fe0
push 0x2b
jmp 0x26894fc0
push 9
jmp 0x26894fc0
push 0x30
jmp 0x26894fc0
push 0x2f
jmp 0x26894fc0
push 0x1a
jmp 0x26894fc0
push 0x23
jmp 0x26894fc0
push 0x1c
jmp 0x26894fc0
push 5
jmp 0x26894fc0
push 0x2e
jmp 0x26894fc0
push 0x27
jmp 0x26894fc0
push 0x15
jmp 0x26894fc0
push 0x2d
jmp 0x26894fc0
push 0x28
jmp 0x26894fc0
push 8
jmp 0x26894fc0
push 0x14
jmp 0x26894fc0
push 0x21
jmp 0x26894fc0
push 0x20
jmp 0x26894fc0
push 0xe
jmp 0x26894fc0
push 0xd
push edx
lea esi, [ebp - 0x224]
call fcn.26894e07
jmp 0x26894fe0
push 0x13911
push edx
mov ebx, 0x268f3f58
call fcn.268c708f
pop ecx
pop ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x224]
push eax
call fcn.26869bdf
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword [ebp - 0x10], 1
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x268955c8
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x268ecef4
call fcn.268eb4dc
mov eax, 0xfa1c
call fcn.268eb500
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ecx, ecx
mov edx, eax
mov si, word [edx]
cmp si, bx
jne 0x268955fc
cmp word [edx + 2], bx
je 0x2689562d
cmp ecx, 0x7d00
jae 0x2689562d
cmp si, bx
jne 0x26895623
mov word [ebp + ecx*2 - 0xfa28], 0xd
inc ecx
mov word [ebp + ecx*2 - 0xfa28], 0xa
inc ecx
inc edx
inc edx
jmp 0x268955ee
mov word [ebp + ecx*2 - 0xfa28], si
jmp 0x2689561e
push eax
mov word [ebp + ecx*2 - 0xfa28], bx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push dword [ebp + 0xc]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
call edi
test eax, eax
pop ecx
lea eax, [ebp - 0xfa28]
push eax
jne 0x26895667
mov esi, dword [ebp + 8]
call fcn.26869bdf
mov dword [ebp - 0x20], 1
jmp 0x26895734
lea esi, [ebp - 0x18]
call fcn.268e2ff3
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 3
mov esi, 0x268f163c
push esi
mov dword [ebp - 0x1c], eax
push eax
jmp 0x268956e9
lea eax, [ebp - 0x14]
call fcn.268e3045
test eax, eax
je 0x268956f8
push dword [ebp + 0xc]
call edi
pop ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.268e3675
mov byte [ebp - 4], 4
mov edx, dword [ebp + 0xc]
mov ecx, eax
call fcn.268e30a7
mov ebx, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x24]
call fcn.268e3036
test ebx, ebx
je 0x268956e2
lea eax, [ebp - 0x10]
call fcn.268e3147
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.268e33a7
inc dword [ebp - 0x1c]
push esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
lea ebx, [ebp - 0x10]
call fcn.268e3b71
test eax, eax
jne 0x2689568f
lea eax, [ebp - 0x14]
call fcn.268e3147
mov esi, dword [ebp + 8]
push eax
call fcn.26869bdf
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
call fcn.268e3036
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.268e3036
mov byte [ebp - 4], 0
lea eax, [ebp - 0x18]
call fcn.268e3036
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x26895ec5
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x26895f48
cmp dword [ebp - 0x104], 2
jne 0x26895ef8
call fcn.26895e66
mov eax, dword [ebp + 0xc]
dec eax
je 0x26895f82
dec eax
je 0x26895f5c
dec eax
je 0x26895f56
dec eax
je 0x26895f25
push ebx
push 0x13911
push dword [ebp + 8]
mov ebx, 0x268f3f58
call fcn.268c708f
pop ecx
pop ecx
xor eax, eax
pop ebx
jmp 0x26895f8c
push 0
push 0
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x26895f48
push str.LockWorkStation
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x26895f4c
xor eax, eax
jmp 0x26895f8c
call eax
neg eax
sbb eax, eax
neg eax
jmp 0x26895f8c
push 0
push 2
jmp 0x26895f86
call fcn.268e9983
test eax, eax
mov esi, dword [sym.imp.USER32.dll_ExitWindowsEx]
je 0x26895f7a
push 0
push 8
call esi
test eax, eax
je 0x26895f7a
xor eax, eax
inc eax
jmp 0x26895f8c
push 0
push 1
call esi
jmp 0x26895f8c
push 0
push 0
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
leave
ret 8
Function at 0x26896aa5
Capabilities:
Delete registry value
Set environment variable
Set registry value

Disassembly:
mov eax, 0x268edeb8
call fcn.268eb4dc
sub esp, 0x2c
push ebx
push esi
push edi
xor eax, eax
mov edi, ecx
mov al, byte [edi + 9]
xor esi, esi
mov dword [ebp - 0x14], esi
and eax, 1
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
push eax
call fcn.26873978
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], esi
jne 0x26896afb
lea eax, [ebp - 0x38]
call fcn.26878d81
xor eax, eax
mov bx, 0x6e
lea ecx, [ebp - 0x38]
call fcn.268925e2
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call dword [eax + 0x2c]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov edi, eax
cmp edi, esi
je 0x26896b8c
cmp dword [ebp + 0x10], esi
jle 0x26896b88
lea eax, [ebp - 0x10]
push eax
xor edi, edi
cmp dword [ebp + 0x10], 1
push 2
mov dword [ebp - 0x10], esi
push esi
jne 0x26896b30
push str.Environment
push 0x80000001
jmp 0x26896b3a
push 0x26913f08
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x26896b7f
cmp dword [ebp - 0x18], esi
je 0x26896b57
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x26896b78
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x14]
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
neg edi
sbb edi, edi
inc edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
jne 0x26896bc2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x13917
push eax
call dword [ecx + 0x3c]
mov ebx, 0x268f3f58
call fcn.268e6bb2
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov ecx, eax
push esi
mov eax, ebx
mov esi, ecx
call fcn.268e72f2
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
push 1
lea ecx, [ebp - 0x34]
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x2689b086
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x268ebf0e
call fcn.268eb4dc
sub esp, 0x410
push ebx
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov ebx, ecx
je 0x2689b0c7
cmp dword [ebp + 0xc], edi
jle 0x2689b0c7
lea eax, [ebp - 0x10]
push eax
push 1
push edi
push str.SYSTEMMountedDevices
push 0x80000002
mov word [ebx], di
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x2689b0ce
xor eax, eax
jmp 0x2689b1f0
push esi
push str.DosDevices_
lea esi, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0x400
call fcn.268e2ff3
mov dword [ebp - 4], edi
push dword [ebp + 8]
mov eax, esi
push eax
call fcn.268e33a7
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
mov eax, esi
call fcn.268e3147
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x2689b12b
xor esi, esi
jmp 0x2689b1e1
cmp dword [ebp - 0x18], 3
jne 0x2689b124
mov eax, dword [ebp - 0x1c]
shr eax, 1
cmp word [ebp - 0x41c], 0x5c
push 0x3f
pop ecx
jne 0x2689b167
cmp word [ebp - 0x41a], cx
jne 0x2689b1de
cmp word [ebp - 0x418], cx
jne 0x2689b1de
cmp word [ebp - 0x416], 0x5c
je 0x2689b18d
cmp word [ebp - 0x41c], 0x5f
jne 0x2689b1de
cmp word [ebp - 0x41a], cx
jne 0x2689b1de
cmp word [ebp - 0x418], cx
jne 0x2689b1de
cmp word [ebp - 0x416], 0x5f
jne 0x2689b1de
sub eax, 4
xor esi, esi
cmp eax, edi
mov edx, ebx
jle 0x2689b1db
mov dword [ebp + 8], edi
mov cl, byte [ebp + esi*2 - 0x414]
cmp cl, 0x7b
je 0x2689b1db
cmp cl, 0x23
jne 0x2689b1ba
cmp word [ebp + esi*2 - 0x412], 0x7b
je 0x2689b1db
add cl, 0x39
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
sar edi, 1
dec ebx
cmp edi, ebx
jge 0x2689b1d4
movsx cx, cl
mov word [edx], cx
inc edx
inc edx
add dword [ebp + 8], 2
inc esi
xor edi, edi
cmp esi, eax
jl 0x2689b19b
mov word [edx], di
xor esi, esi
inc esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.268e3036
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x2689b477
Capabilities:
Inspect load icon resource

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push 0
call esi
mov edi, dword [sym.imp.USER32.dll_LoadIconW]
push str.TOPICONE
push eax
call edi
test eax, eax
jne 0x2689b4a1
push str.wd180obj.dll
call esi
push 0x70
push eax
call edi
pop edi
pop esi
ret

Function at 0x2689ec3f
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x268edea6
call fcn.268eb4dc
push ecx
push esi
push str.FI_SelecteurCouleur.bChargeEtatVolet
mov esi, ecx
call fcn.268c7c4c
xor eax, eax
call fcn.268c7c9d
call fcn.268c7b7b
push eax
mov dword [esi + 0xac], eax
lea eax, [ebp - 0x10]
push str.Etat_du_volet_:__d
push eax
call fcn.268849d8
add esp, 0x10
and dword [ebp - 4], 0
call fcn.268e3147
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.2687de1b
call fcn.2689ecaa
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret