joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435c30
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x5e8
push ebx
push esi
push edi
call fcn.00441cf0
test eax, eax
je 0x435cd3
push 0
lea eax, [esp + 0x10]
push str.CVistaWaveRT::IsINIWaveRTSectionExist_n
push eax
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x10c]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441cf0
mov esi, dword [esp + 0x5fc]
mov edi, dword [esp + 0x5f8]
test eax, eax
je 0x435d0f
push esi
push edi
lea ecx, [esp + 0x14]
push str.pszINIFile___s__pszection___s_n
push ecx
call fcn.00465850
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
push edi
lea eax, [esp + 0x210]
push 0x3e8
push eax
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
test eax, eax
jle 0x435d2f
mov ebx, 1
call fcn.00441cf0
test eax, eax
je 0x435dd8
push ebp
push ebx
lea ecx, [esp + 0x14]
push str.CVistaWaveRT::IsINIWaveRTSectionExist_:_bRetVal___d_n
push ecx
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x110]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x110]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
pop ebp
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x5e8
ret 8
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x5e8
ret 8
Function at 0x43fd20
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
push edi
call fcn.00460540
mov ebx, eax
push str.APPWIZ.CPL
neg ebx
sbb bl, bl
and bl, 0x67
add bl, 0x38
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
je 0x401182
movsx ecx, bl
lea eax, [esp + 0x10]
push 0x104
push eax
push ecx
push ebp
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x401179
call fcn.00460540
test eax, eax
lea edx, [esp + 0x10]
mov edi, str.Programs_and_Features
jne 0x40115c
mov edi, str.Add_Or_Remove_Programs
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4011a8
mov edi, str.Add_Or_Remove_Programs
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push section..text
call dword [sym.imp.USER32.dll_EnumWindows]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
add ecx, 0xd64
jmp 0x401100
Function at 0x441d40
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x485aa7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov eax, dword [0x4a6844]
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x238]
mov dword [esp + 0x230], 0
test edi, edi
je 0x441eeb
mov eax, dword [esp + 0x23c]
test eax, eax
je 0x441d9e
lea esi, [ebp + 0x1c]
push edi
mov ecx, esi
call fcn.00475fe5
jmp 0x441e53
lea ecx, [esp + 0x124]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x12c]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov edx, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0x14]
mov byte [edx], 0
call fcn.00475f16
mov esi, eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x234], 1
call fcn.00475f16
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x23c], 2
call fcn.0047608b
lea esi, [ebp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0x234], 3
call fcn.00475f95
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 2
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov byte [esp + 0x230], 1
call fcn.00475ea8
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 0
call fcn.00475ea8
mov ecx, ebp
call fcn.00441f20
test eax, eax
jne 0x441eeb
push esi
lea ecx, [esp + 0x10]
call fcn.00475f95
push 0x5c
lea ecx, [esp + 0x10]
call fcn.00474e5e
inc eax
lea ecx, [esp + 0xc]
push eax
push 0
call fcn.00474a8b
lea edx, [esp + 0x20]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.00476165
push eax
mov ecx, esi
mov byte [esp + 0x234], 4
call fcn.00475f95
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 0
call fcn.00475ea8
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x441ee4
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, ebp
call fcn.00441f20
lea ecx, [esp + 0xc]
mov dword [esp + 0x230], 0xffffffff
call fcn.00475ea8
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x228
ret 8
Function at 0x442bf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x485b38
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x48]
mov ebp, ecx
test edi, edi
jne 0x442c1a
xor eax, eax
jmp 0x442c82
mov eax, dword [esp + 0x4c]
push str.IMAGE
and eax, 0xffff
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x442c82
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x442c82
push 0
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.0047d64c
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0
push ecx
mov ecx, ebp
call fcn.00442ca0
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x40], 0xffffffff
call fcn.0047d688
mov eax, esi
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x44cfc0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push esi
push eax
mov eax, dword [ecx]
xor esi, esi
push edx
push eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x44d021
push esi
push esi
mov eax, dword [esp + 0x18]
push esi
lea ecx, [esp + 0x14]
push esi
push ecx
push esi
lea edx, [esp + 0x1c]
push esi
push edx
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 4], esi
jne 0x44d021
mov eax, dword [esp + 8]
cmp eax, esi
mov eax, 1
je 0x44d023
mov eax, esi
pop esi
add esp, 8
ret 4

Function at 0x44d110
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x1f4
push ebx
push ebp
push edi
mov edi, dword [esp + 0x204]
mov ebx, ecx
push 0x49b19c
lea ecx, [edi + eax]
xor ebp, ebp
push ecx
call fcn.00466110
add esp, 8
test eax, eax
je 0x44d161
push esi
mov esi, eax
sub esi, edi
lea edx, [esp + 0x10]
push esi
push edi
push edx
call fcn.00466200
add esp, 0xc
mov byte [esp + esi + 0x10], 0
inc esi
mov ecx, ebx
push esi
push edi
call fcn.0044d110
pop esi
lea eax, [esp + 0xc]
mov ecx, ebx
push eax
call fcn.0044cfc0
test eax, eax
je 0x44d188
mov edx, dword [ebx]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
mov eax, 1
je 0x44d18a
mov eax, ebp
pop edi
pop ebp
pop ebx
add esp, 0x1f4
ret 8
Function at 0x44d1a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x3f0
push ebx
push ebp
mov ebp, dword [esp + 0x3fc]
push esi
mov ebx, ecx
push ebp
xor esi, esi
call fcn.0044cf80
test eax, eax
je 0x44d33f
mov eax, dword [esp + 0x408]
test eax, eax
je 0x44d1d5
push ebp
mov ecx, ebx
call fcn.0044cdf0
mov ecx, dword [ebx]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44d33f
lea edx, [esp + 0x208]
push 0x1f4
push edx
push eax
mov eax, dword [esp + 0x1c]
mov esi, 1
push eax
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x44d2f4
push edi
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x49b19c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x40c]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
lea ecx, [esp + 0x18]
push esi
push eax
push esi
push ecx
mov ecx, ebx
call fcn.0044d1a0
test eax, eax
je 0x44d2c7
mov eax, dword [esp + 0x10]
mov esi, 1
dec eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20c]
mov eax, ecx
push 0x1f4
push edx
push eax
mov eax, dword [esp + 0x20]
inc ecx
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x44d21e
pop edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x44d34d
mov edx, dword [ebx]
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x44d34d
mov eax, dword [esp + 0x404]
mov esi, 1
test eax, eax
je 0x44d33f
mov eax, dword [esp + 0x40c]
test eax, eax
je 0x44d33f
push ebp
call fcn.00466700
add esp, 4
mov ecx, ebx
push 0
push ebp
call fcn.0044d110
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x3f0
ret 0x10
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f0
ret 0x10
Function at 0x44d360
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push str.CNXT_XYZ_UIU
lea edi, [ebx + 4]
mov dword [esp + 0x14], 0
push edi
call fcn.00466fc0
mov ebp, dword [esp + 0x218]
add esp, 8
test eax, eax
je 0x44d417
push ebp
push edi
call fcn.00466fc0
add esp, 8
test eax, eax
je 0x44d417
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x49b19c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
jmp 0x44d435
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, dword [ebx]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44d4a5
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 1
push eax
mov eax, dword [esp + 0x224]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov esi, 1
je 0x44d48b
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
Function at 0x44d4c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push str.CNXT_XYZ_UIU
lea edi, [ebx + 4]
mov dword [esp + 0x14], 0
push edi
call fcn.00466fc0
mov ebp, dword [esp + 0x218]
add esp, 8
test eax, eax
je 0x44d577
push ebp
push edi
call fcn.00466fc0
add esp, 8
test eax, eax
je 0x44d577
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x49b19c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
jmp 0x44d595
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, dword [ebx]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44d605
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 3
push eax
mov eax, dword [esp + 0x224]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov esi, 1
je 0x44d5eb
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
Function at 0x44d620
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push str.CNXT_XYZ_UIU
lea edi, [ebx + 4]
mov dword [esp + 0x18], 0
push edi
call fcn.00466fc0
mov ebp, dword [esp + 0x218]
add esp, 8
test eax, eax
je 0x44d6d7
push ebp
push edi
call fcn.00466fc0
add esp, 8
test eax, eax
je 0x44d6d7
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x49b19c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
jmp 0x44d6f5
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, dword [ebx]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44d768
mov edi, dword [esp + 0x21c]
mov ecx, dword [esp + 0x218]
mov edx, dword [esp + 0x214]
push edi
push ecx
push eax
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov esi, 1
je 0x44d74a
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x44d768
mov eax, dword [edi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1fc
ret 0x10
Function at 0x44d780
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push str.CNXT_XYZ_UIU
lea edi, [ebx + 4]
mov dword [esp + 0x14], 0
push edi
call fcn.00466fc0
mov ebp, dword [esp + 0x218]
add esp, 8
test eax, eax
je 0x44d837
push ebp
push edi
call fcn.00466fc0
add esp, 8
test eax, eax
je 0x44d837
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x49b19c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
jmp 0x44d855
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, dword [ebx]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44d8b2
mov ecx, dword [esp + 0x214]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
mov esi, 1
je 0x44d898
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 8
Function at 0x44d8d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push eax
mov eax, dword [ecx]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44d9fb
push ebx
push ebp
lea ecx, [esp + 0x10]
push edi
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push 0
lea edx, [esp + 0x130]
push ecx
push edx
mov edi, 0x104
push 0
push eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov ebp, 1
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebx, dword [esp + 0x22c]
test eax, eax
jne 0x44d9e2
push esi
mov esi, dword [ebx]
cmp esi, 0x1f4
jae 0x44d9a4
lea ecx, [esi + 1]
cmp esi, 0xffffffff
mov dword [ebx], ecx
je 0x44d9a4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 4
push ecx
call fcn.00479e3c
mov edx, eax
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebx + esi*4 + 0x1f8], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x104
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
push edx
push ecx
lea edx, [esp + 0x20]
push 0
lea ecx, [esp + 0x134]
mov eax, ebp
push edx
mov edx, dword [esp + 0x24]
push ecx
push eax
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
inc ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x44d948
pop esi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebx]
pop edi
pop ebp
pop ebx
add esp, 0x218
ret 8
mov ecx, dword [esp + 0x220]
mov eax, dword [ecx]
add esp, 0x218
ret 8