Function at 0x44b4dc
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
xor esi, esi
push eax
push 0xd
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionGroup_Policy_Objects
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
xor ebx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov edi, str.SoftwareSASGeneration
jne 0x44b625
lea eax, [ebp - 0x3c]
mov dword [ebp - 0xc], esi
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x23c]
push eax
push esi
jmp 0x44b56a
lea eax, [ebp - 0x23c]
push str.Machine
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
pop ecx
test eax, eax
pop ecx
jne 0x44b586
lea eax, [ebp - 0x3c]
inc dword [ebp - 0xc]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x44b53a
jmp 0x44b625
lea eax, [ebp - 0x23c]
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push eax
lea eax, [ebp - 0x63c]
push str._s_s
push eax
mov dword [ebp - 0x20], 1
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 3
push esi
push esi
lea eax, [ebp - 0x63c]
push esi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44b625
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 3
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
push edi
mov dword [ebp - 0x1c], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push esi
neg ebx
push edi
push dword [ebp - 4]
sbb ebx, ebx
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.del.SoftwareSASGeneration
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 3
push esi
push esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44b687
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 3
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
push edi
mov dword [ebp - 0x1c], 4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
push 4
inc eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xc]
push eax
push 4
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.wmsgapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x44b6c4
push str.WmsgSendMessage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x44b6bb
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push ecx
push esi
push 0x208
push dword [ebp + 8]
call eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
push 0x64
call dword [sym.imp.KERNEL32.dll_SleepEx]
cmp dword [ebp - 8], esi
je 0x44b6ff
cmp dword [ebp - 0x24], esi
je 0x44b6ec
lea eax, [ebp - 0x28]
push 4
push eax
push 4
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x44b6f6
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x20], esi
je 0x44b744
cmp ebx, esi
je 0x44b71d
lea eax, [ebp - 0x2c]
push 4
push eax
push 4
push esi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x44b727
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 0x18], esi
je 0x44b744
push 4
push 0x4a0f50
push 1
push esi
push str.del.SoftwareSASGeneration
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 4], esi
je 0x44b752
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], esi
pop edi
pop esi
pop ebx
je 0x44b763
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret