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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43396e
mov eax, dword fs:[0]
push eax
mov eax, 0x2050
call fcn.00433247
mov eax, dword [0x462074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2030], edx
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2014]
mov dword [ebp - 0x2054], esi
push eax
lea eax, [ebp - 0x2028]
xor edi, edi
push eax
push edi
lea eax, [ebp - 0x202c]
push eax
lea eax, [ebp - 0x1014]
push eax
push edi
jmp 0x409531
lea eax, [ebp - 0x1014]
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
mov dword [ebp - 0x2038], eax
mov edx, 0x851
xor eax, eax
mov dword [ebp - 0x203c], str.Param
mov word [ebp - 0x2034], ax
mov ecx, 0x170b019
lea eax, [ebp - 0x2040]
push eax
push str.Enum_value:
push 0x64
call fcn.00401c18
xor eax, eax
mov dword [ebp - method.Mso::Logging::StructuredObject_unsigned_int__1_.virtual_0], vtable.Mso::Logging::StructuredObject_unsigned_int__1_.0
mov word [ebp - 0x2044], ax
mov edx, 0x851
lea eax, [ebp - 0x2050]
mov dword [ebp - 0x204c], str.Param
push eax
push 0x437b60
push 0x64
mov ecx, 0x170b01a
mov dword [ebp - 0x2048], edi
call fcn.00401c18
push dword [ebp - 0x2024]
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2028]
lea eax, [ebp - 0x1014]
push 0
push eax
push dword [ebp - 0x2030]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40974f
test esi, esi
je 0x40950a
push dword [ebp - 0x2024]
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2028]
lea eax, [ebp - 0x1014]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40974f
lea eax, [ebp - 0x2024]
inc edi
push eax
lea eax, [ebp - 0x2014]
push eax
lea eax, [ebp - 0x2028]
push eax
push 0
lea eax, [ebp - 0x202c]
push eax
lea eax, [ebp - 0x1014]
push eax
push edi
push ebx
mov dword [ebp - 0x202c], 0x400
mov dword [ebp - 0x2024], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x409425
push 0x400
lea eax, [ebp - 0x814]
xor edx, edx
push eax
mov ecx, ebx
xor edi, edi
call fcn.0040c44f
test eax, eax
jne 0x40974f
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x2020], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x201c], eax
mov dword [ebp - 0x2018], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x814]
mov dword [ebp - 0x2048], eax
mov edx, 0x851
xor eax, eax
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
mov word [ebp - 0x2044], ax
mov ecx, 0x170b01b
lea eax, [ebp - 0x2050]
mov dword [ebp - 0x204c], str.Param
push eax
push str.Enum_key:
push 0x64
call fcn.00401c18
xor eax, eax
mov dword [ebp - method.Mso::Logging::StructuredObject_unsigned_int__1_.virtual_0], vtable.Mso::Logging::StructuredObject_unsigned_int__1_.0
mov word [ebp - 0x2034], ax
mov edx, 0x851
lea eax, [ebp - 0x2040]
mov dword [ebp - 0x203c], str.Param
push eax
push str.Enum_num:
push 0x64
mov ecx, 0x170b01c
mov dword [ebp - 0x2038], edi
call fcn.00401c18
mov ecx, dword [ebp - 0x2030]
lea eax, [ebp - 0x2058]
push eax
lea eax, [ebp - 0x2020]
push eax
sub esp, 0x14
lea edx, [ebp - 0x814]
call fcn.0040c622
test eax, eax
jne 0x40970e
mov eax, dword [ebp - 0x2054]
test eax, eax
je 0x409674
lea ecx, [ebp - 0x2058]
push ecx
lea ecx, [ebp - 0x201c]
push ecx
sub esp, 0x14
lea edx, [ebp - 0x814]
mov ecx, eax
call fcn.0040c622
test eax, eax
jne 0x40970e
lea eax, [ebp - 0x2018]
push eax
push 0x20019
push ecx
lea edx, [ebp - 0x814]
mov ecx, ebx
call fcn.0040c5c8
test eax, eax
jne 0x40970e
push dword [ebp - 0x201c]
mov edx, dword [ebp - 0x2020]
mov ecx, dword [ebp - 0x2018]
call fcn.004093b6
cmp dword [ebp - 0x2018], 0
je 0x4096ba
push dword [ebp - 0x2018]
call esi
and dword [ebp - 0x2018], 0
cmp dword [ebp - 0x201c], 0
je 0x4096d2
push dword [ebp - 0x201c]
call esi
and dword [ebp - 0x201c], 0
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2020], 0
je 0x4096ee
push dword [ebp - 0x2020]
call esi
push 0x400
lea eax, [ebp - 0x814]
inc edi
push eax
mov edx, edi
mov ecx, ebx
call fcn.0040c44f
test eax, eax
je 0x409579
jmp 0x40974f
cmp dword [ebp - 0x2018], 0
je 0x40971f
push dword [ebp - 0x2018]
call esi
and dword [ebp - 0x2018], 0
cmp dword [ebp - 0x201c], 0
je 0x409737
push dword [ebp - 0x201c]
call esi
and dword [ebp - 0x201c], 0
cmp dword [ebp - 0x2020], 0
je 0x40974f
push dword [ebp - 0x2020]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043182e
leave
ret 4