joyce8/EMBER2024-capa huggingface dataset:
Function at 0x667c76b0
Capabilities:
Delete registry key

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x58
test byte [0x667cc034], 8
mov dword [ebp - 8], esi
mov esi, dword [ecx]
mov dword [ebp - 4], edi
mov edi, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jne 0x667c7730
mov dword [esp + 4], edi
lea eax, [ebp - 0x1c]
mov ebx, 0x20019
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp], esi
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
mov ebx, eax
je 0x667c7770
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], esi
mov dword [esp], 3
mov dword [esp + 0x14], eax
mov eax, str.__p___s__n
mov dword [esp + 0xc], eax
mov eax, str.SHDeleteEmptyKeyW
mov dword [esp + 8], eax
mov eax, 0x667cc034
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x667c76e8
xor eax, eax
xor edx, edx
mov dword [esp + 0x20], eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x1c], eax
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x2c], edx
xor edx, edx
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryInfoKeyW]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 0x30
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test ebx, ebx
jne 0x667c7714
mov eax, dword [ebp - 0x20]
mov ebx, 0x3fc
test eax, eax
jne 0x667c7714
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.advapi32.dll_RegDeleteKeyW]
sub esp, 8
mov ebx, eax
jmp 0x667c7714

Function at 0x667c78e0
Capabilities:
Delete registry key

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x38
test byte [0x667cc034], 8
mov dword [ebp - 8], ebx
mov ebx, dword [ecx]
mov dword [ebp - 4], esi
mov esi, dword [ecx + 4]
mov dword [ebp - 0xc], ecx
jne 0x667c7930
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_RegDeleteTreeW]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
sub esp, 8
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov edx, str.SHDeleteKeyW
mov ecx, 0x667cc034
mov dword [esp + 0x10], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], 3
mov dword [esp + 0x14], eax
mov eax, str.__p___s__n
mov dword [esp + 0xc], eax
call sym._wine_dbg_log.constprop.0
jmp 0x667c7907
Function at 0x667c7970
Capabilities:
Delete registry key

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x38
test byte [0x667cc034], 8
mov dword [ebp - 8], ebx
mov ebx, dword [ecx]
mov dword [ebp - 4], esi
mov esi, dword [ecx + 4]
mov dword [ebp - 0xc], ecx
jne 0x667c79c0
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_RegDeleteTreeA]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
sub esp, 8
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, esi
call sym._wine_dbgstr_an.constprop.0
mov edx, str.SHDeleteKeyA
mov ecx, 0x667cc034
mov dword [esp + 0x10], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], 3
mov dword [esp + 0x14], eax
mov eax, str.__p___s__n
mov dword [esp + 0xc], eax
call sym._wine_dbg_log.constprop.0
jmp 0x667c7997

Function at 0x667c7a00
Capabilities:
Delete registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x58
test byte [0x667cc034], 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ecx]
mov dword [ebp - 8], esi
mov esi, dword [ecx + 8]
mov dword [ebp - 4], edi
mov edi, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
jne 0x667c7a70
mov dword [esp], ebx
lea eax, [ebp - 0x1c]
xor edx, edx
mov dword [esp + 0x10], eax
mov eax, 2
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], edi
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
mov ebx, eax
je 0x667c7ac0
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov dword [ebp - 0x2c], eax
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0x2c]
mov ecx, str.__p___s___s__n
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp], 3
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov eax, str.SHDeleteValueW
mov dword [esp + 8], eax
mov eax, 0x667cc034
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x667c7a2d
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x667c7a59
Function at 0x667c7c40
Capabilities:
Query or enumerate registry key

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x48
test byte [0x667cc034], 8
mov dword [ebp - 0xc], ebx
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], esi
mov ebx, dword [ecx]
mov dword [ebp - 4], edi
mov esi, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov edi, dword [ecx + 8]
jne 0x667c7cb8
mov dword [esp + 8], edi
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
sub esp, 0x20
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [ebp - 0x1c], edx
mov eax, edi
call sym._wine_dbgstr_an.constprop.0
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp], 3
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov eax, str._p___ld___s___p._n
mov dword [esp + 0xc], eax
mov eax, str.SHEnumKeyExA
mov dword [esp + 8], eax
mov eax, 0x667cc034
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x1c]
jmp 0x667c7c70

Function at 0x667c7d10
Capabilities:
Query or enumerate registry key

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x48
test byte [0x667cc034], 8
mov dword [ebp - 0xc], ebx
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], esi
mov ebx, dword [ecx]
mov dword [ebp - 4], edi
mov esi, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov edi, dword [ecx + 8]
jne 0x667c7d88
mov dword [esp + 8], edi
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
sub esp, 0x20
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [ebp - 0x1c], edx
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp], 3
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov eax, str._p___ld___s___p._n
mov dword [esp + 0xc], eax
mov eax, str.SHEnumKeyExW
mov dword [esp + 8], eax
mov eax, 0x667cc034
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x1c]
jmp 0x667c7d40
Function at 0x667c7de0
Capabilities:
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ecx]
test byte [0x667cc034], 8
mov dword [ebp - 0x10], ecx
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ecx + 0xc]
mov dword [ebp - 4], edi
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x20], eax
jne 0x667c7e68
mov dword [esp + 0x1c], ecx
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueA]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
sub esp, 0x20
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 0x1c
mov dword [ebp - 0x28], ecx
mov eax, ebx
mov dword [ebp - 0x24], edx
call sym._wine_dbgstr_an.constprop.0
mov ecx, dword [ebp - 0x28]
mov dword [esp + 0x20], edi
mov edx, dword [ebp - 0x24]
mov dword [esp + 0x1c], esi
mov dword [esp], 3
mov dword [esp + 0x28], ecx
mov ecx, str.SHEnumValueA
mov dword [esp + 0x24], edx
mov edx, str._p___ld___s___p___p___p___p._n
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov eax, 0x667cc034
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
jmp 0x667c7e1f
Function at 0x667c7ed0
Capabilities:
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ecx]
test byte [0x667cc034], 8
mov dword [ebp - 0x10], ecx
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ecx + 0xc]
mov dword [ebp - 4], edi
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x20], eax
jne 0x667c7f58
mov dword [esp + 0x1c], ecx
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
sub esp, 0x20
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 0x1c
mov dword [ebp - 0x28], ecx
mov eax, ebx
mov dword [ebp - 0x24], edx
call sym._wine_dbgstr_wn.constprop.0
mov ecx, dword [ebp - 0x28]
mov dword [esp + 0x20], edi
mov edx, dword [ebp - 0x24]
mov dword [esp + 0x1c], esi
mov dword [esp], 3
mov dword [esp + 0x28], ecx
mov ecx, str.SHEnumValueW
mov dword [esp + 0x24], edx
mov edx, str._p___ld___s___p___p___p___p._n
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov eax, 0x667cc034
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
jmp 0x667c7f0f
Function at 0x667c8f50
Capabilities:
Set registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ecx + 0xc]
test byte [0x667cc034], 8
mov dword [ebp - 0x10], ecx
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ecx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ecx]
mov dword [ebp - 4], edi
mov edi, dword [ecx + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ecx + 0x14]
jne 0x667c9050
test ebx, ebx
je 0x667c8f97
cmp word [ebx], 0
jne 0x667c8ff0
mov dword [ebp - 0x1c], esi
mov eax, esi
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 0x18
cmp eax, esi
je 0x667c8fd6
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 0x18
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x20]
xor ecx, ecx
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x1c], eax
mov eax, 2
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [ebp - 0x30], edx
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
mov ebx, eax
jne 0x667c8fd6
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
jmp 0x667c8f9c
mov dword [ebp - 0x38], ecx
mov eax, edi
mov dword [ebp - 0x34], edx
call sym._wine_dbgstr_wn.constprop.0
mov dword [ebp - 0x30], eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x10], esi
mov ecx, dword [ebp - 0x38]
mov dword [esp], 3
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x24], ecx
mov ecx, 0x667cc034
mov dword [esp + 0x14], eax
mov eax, str._p___s___s___ld___p___ld._n
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edx
mov edx, str.SHSetValueW
mov dword [esp + 8], edx
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
jmp 0x667c8f8d
Function at 0x667c9a10
Capabilities:
Set registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ecx + 0xc]
test byte [0x667cc034], 8
mov dword [ebp - 0x10], ecx
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ecx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ecx]
mov dword [ebp - 4], edi
mov edi, dword [ecx + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ecx + 0x14]
jne 0x667c9b10
test ebx, ebx
je 0x667c9a56
cmp byte [ebx], 0
jne 0x667c9ab0
mov dword [ebp - 0x1c], esi
mov eax, esi
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 0x18
cmp eax, esi
je 0x667c9a95
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 0x18
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x20]
xor ecx, ecx
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x1c], eax
mov eax, 2
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [ebp - 0x30], edx
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
sub esp, 0x24
test eax, eax
mov ebx, eax
jne 0x667c9a95
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
jmp 0x667c9a5b
mov dword [ebp - 0x38], ecx
mov eax, edi
mov dword [ebp - 0x34], edx
call sym._wine_dbgstr_an.constprop.0
mov dword [ebp - 0x30], eax
mov eax, ebx
call sym._wine_dbgstr_an.constprop.0
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x10], esi
mov ecx, dword [ebp - 0x38]
mov dword [esp], 3
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x24], ecx
mov ecx, 0x667cc034
mov dword [esp + 0x14], eax
mov eax, str._p___s___s___ld___p___ld._n
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edx
mov edx, str.SHSetValueA
mov dword [esp + 8], edx
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
jmp 0x667c9a4d
Function at 0x667c9d70
Capabilities:
Query or enumerate registry key

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x58
test byte [0x667cc034], 8
mov dword [ebp - 0x10], ecx
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ecx]
mov dword [ebp - 8], esi
mov esi, dword [ecx + 4]
mov dword [ebp - 4], edi
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
jne 0x667c9e00
mov dword [esp + 0x1c], edx
xor eax, eax
xor edx, edx
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call dword [sym.imp.advapi32.dll_RegQueryInfoKeyA]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
sub esp, 0x30
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [esp + 0x20], ecx
mov eax, str.SHQueryInfoKeyA
mov dword [ebp - 0x20], ecx
mov ecx, str.__p___p___p___p___p__n
mov dword [esp + 8], eax
mov eax, 0x667cc034
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 4], eax
mov dword [esp], 3
mov dword [ebp - 0x1c], edx
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x667c9da3
Function at 0x667ca930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
test eax, eax
je 0x667ca9a0
cmp byte [esi + eax - 1], 0xa
mov ebx, eax
je 0x667ca998
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x667d20a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
xor eax, eax
jmp 0x667ca95d
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x667cb070
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov ebx, dword [ebp + 0xc]
mov dword [esp], ebx
call sym.___wine_dbg_get_channel_flags
movzx ecx, byte [ebp + 8]
movzx eax, al
sar eax, cl
test al, 1
je 0x667cb248
mov edx, dword [0x667d20a4]
mov eax, dword fs:[0x18]
cmp dword [eax + 0x24], edx
je 0x667cb238
test byte [0x667cc094], 8
jne 0x667cb1e0
lea edi, [esp + 0x28]
mov esi, edi
test byte [0x667cc0a4], 8
jne 0x667cb1a0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov ecx, str._04x:
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x667cb0fb
cmp dword [ebp + 8], 3
jbe 0x667cb160
mov dword [esp], 2
mov ebx, edi
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov esi, dword [ebx]
add ebx, 4
lea ecx, [esi - 0x1010101]
not esi
and ecx, esi
and ecx, 0x80808080
je 0x667cb10a
mov dword [esp + 0xc], eax
mov esi, ecx
mov eax, 1
mov dword [esp + 4], eax
shr esi, 0x10
test ecx, 0x8080
mov dword [esp], edi
cmove ecx, esi
lea esi, [ebx + 2]
mov dl, cl
cmove ebx, esi
add dl, cl
sbb ebx, 3
sub ebx, edi
mov dword [esp + 8], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x10]
add eax, esi
inc ebx
mov dword [esp + 0x10], ebx
mov dword [esp], eax
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx*4 + 0x667cffa8]
mov edx, str._s:_s:_s
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov ecx, edi
sub ecx, eax
add ecx, 0xc8
mov dword [esp + 4], ecx
call sym._snprintf.constprop.0
jmp 0x667cb0fb
mov dword [esp], 0x667cc0a4
call sym.___wine_dbg_get_channel_flags
and al, 8
je 0x667cb0d0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov ecx, str._04x:
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym._sprintf
add esi, eax
jmp 0x667cb0d0
mov dword [esp], 0x667cc094
call sym.___wine_dbg_get_channel_flags
and al, 8
je 0x667cb0bd
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
mov esi, str._3u._03u:
mov dword [esp + 4], esi
lea edi, [esp + 0x28]
mov dword [esp], edi
mov ecx, eax
mul edx
shr edx, 6
mov dword [esp + 8], edx
imul eax, edx, 0x3e8
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea esi, [edi + eax]
jmp 0x667cb0c3
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xffffffff
jmp 0x667cb158

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx