Function at 0x72a61570
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov edi, dword [ebp + 0x10]
test byte [0x72a76584], 1
jne 0x72a615d0
mov eax, dword [ebp + 8]
cmp dword [eax], 1
jne 0x72a615c0
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ecx, 0x7c
sub eax, 1
cmp eax, 1
jbe 0x72a61620
mov dword [esp], ecx
call sym._SetLastError_4
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
xor esi, esi
mov ecx, 6
jmp 0x72a615a3
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], str.AddForm__p___lu___p__n
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0x1a2
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str.LocalAddForm
mov dword [esp + 8], 0x72a7704d
mov dword [esp + 4], 0x72a76584
mov dword [esp], 0
call sym._ros_dbg_log
jmp 0x72a61585
mov ecx, dword [edi + 4]
xor edx, edx
call sym._FindForm_8
test eax, eax
je 0x72a61640
xor esi, esi
mov ecx, 0x50
jmp 0x72a615a3
lea eax, [ebp - 0x34]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [edi + 4]
mov dword [esp + 4], eax
mov eax, dword [section..bss]
mov dword [esp], eax
call sym._RegQueryValueExW_24
sub esp, 0x18
test eax, eax
je 0x72a6162e
mov eax, dword [edi + 4]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_wcslen]
mov ecx, 0x57
cmp eax, 0x1f
ja 0x72a615a3
mov dword [esp], 0x252
call sym._DllAllocSplMem_4
mov ecx, 8
sub esp, 4
mov edx, eax
test eax, eax
je 0x72a615a3
mov dword [eax + 8], 0x2e32
mov eax, dword [0x72a7c010]
mov dword [ebp - 0x3c], edx
mov dword [edx + 0xc], eax
lea ecx, [eax + 1]
mov eax, dword [edi + 4]
mov dword [0x72a7c010], ecx
mov dword [esp + 4], eax
lea eax, [edx + 0x48]
mov dword [esp], eax
call sym._wcscpy
mov edx, dword [ebp - 0x3c]
cmp dword [ebp + 0xc], 2
mov dword [edx + 0x14], eax
mov eax, dword [edi]
mov dword [edx + 0x10], eax
mov ebx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov dword [edx + 0x18], ebx
mov dword [edx + 0x1c], esi
mov eax, dword [edi + 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [edi + 0x14]
mov dword [edx + 0x24], eax
mov eax, dword [edi + 0x18]
mov dword [edx + 0x28], eax
mov eax, dword [edi + 0x1c]
mov dword [edx + 0x34], 1
mov dword [edx + 0x2c], eax
jne 0x72a61739
mov eax, dword [edi + 0x20]
mov dword [edx + 0x30], eax
mov eax, dword [edi + 0x28]
mov dword [edx + 0x38], eax
mov eax, dword [edi + 0x30]
mov dword [edx + 0x40], eax
mov eax, dword [edi + 0x24]
mov dword [edx + 0x34], eax
mov eax, dword [edi + 0x2c]
mov dword [edx + 0x3c], eax
mov eax, dword [edx + 0x20]
mov esi, dword [edx + 0x18]
mov dword [ebp - 0x40], edx
mov edi, dword [edx + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x14], 0x20
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov eax, dword [edx + 0x14]
mov dword [esp + 4], eax
mov eax, dword [section..bss]
mov dword [esp], eax
call sym._RegSetValueExW_24
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
sub esp, 0x18
mov dword [esp], eax
call sym._BroadcastChange
mov eax, dword [0x72a7c00c]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], eax
mov dword [edx], 0x72a7c008
mov dword [eax], edx
xor eax, eax
test ecx, ecx
sete al
mov dword [0x72a7c00c], edx
mov esi, eax
jmp 0x72a615a3