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

Disassembly:
mov eax, 0x1150745c
call fcn.11364418
sub esp, 0x2c
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x1133b75e
push dword [ebp + 8]
call fcn.11363fc6
test eax, eax
pop ecx
je 0x1133b75e
cmp dword [ebp + 0xc], ebx
je 0x1133b75e
push dword [ebp + 0xc]
call fcn.11363fc6
test eax, eax
pop ecx
je 0x1133b75e
cmp dword [ebp + 0x10], ebx
je 0x1133b75e
cmp dword [ebp + 0x14], ebx
je 0x1133b75e
mov eax, dword [0x11526534]
push esi
push edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push str.SYSTEMCurrentControlSetControlClass_s
push eax
call fcn.11381390
mov eax, dword [0x11526534]
add esp, 0xc
mov dword [ebp - 0x30], ebx
mov dword [ebp + 0xc], eax
push dword [ebp - 0x10]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push str._sProperties
push eax
call fcn.11381390
add esp, 0xc
lea eax, [ebp - 0x1c]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], ebx
push ebx
push eax
push ebx
push 0x20019
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x1133b577
lea eax, [ebp - 0x18]
mov edi, str.Security
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
push ebx
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x1133b562
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x14]
jne 0x1133b562
cmp dword [ebp - 0x28], 3
jne 0x1133b562
push eax
call fcn.114ef26e
cmp eax, ebx
pop ecx
mov dword [ebp - 0x2c], eax
je 0x1133b562
push dword [ebp - 0x18]
push ebx
push eax
call fcn.11364b20
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
push ebx
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x1133b559
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x14]
jne 0x1133b556
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x2c]
call fcn.11364ef0
add esp, 0xc
mov dword [ebp - 0x30], 1
test eax, eax
je 0x1133b559
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x2c]
call fcn.114ef297
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
jne 0x1133b718
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x1133b6b8
push dword [ebp + 8]
call fcn.11363fc6
pop ecx
lea eax, [eax + eax + 2]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 8]
push 1
push ebx
push str.Class
push dword [ebp - 0x14]
call esi
cmp eax, ebx
mov edi, 0x115a394c
je 0x1133b5e5
cmp dword [0x115a41e0], ebx
je 0x1133b5e5
push eax
push str.CSetDeviceSDDL::SetDevSDDL_RegSetValueExW_Class_Fail__err__lu_
push str.SDDL
push 1
push edi
call fcn.113a7c00
add esp, 0x14
mov eax, dword [0x11570538]
push 4
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 1
push ebx
push str.NoDisplayClass
push dword [ebp - 0x14]
call esi
cmp eax, ebx
je 0x1133b622
cmp dword [0x115a41e0], ebx
je 0x1133b622
push eax
push str.CSetDeviceSDDL::SetDevSDDL_RegSetValueExW_NoDisplayClass_Fail__err__lu_
push str.SDDL
push 1
push edi
call fcn.113a7c00
add esp, 0x14
lea eax, [ebp - 0x34]
push 4
push eax
push 1
push ebx
push str.NoUseClass
push dword [ebp - 0x14]
call esi
cmp eax, ebx
je 0x1133b657
cmp dword [0x115a41e0], ebx
je 0x1133b657
push eax
push str.CSetDeviceSDDL::SetDevSDDL_RegSetValueExW_NoUseClass_Fail__err__lu_
push str.SDDL
push 1
push edi
call fcn.113a7c00
add esp, 0x14
lea eax, [ebp - 0x24]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.Properties
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x1133b6d7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 3
push ebx
push str.Security
push dword [ebp - 0x24]
call esi
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x1133b6f7
cmp dword [0x115a41e0], ebx
push 1
pop eax
mov dword [ebp - 0x38], eax
je 0x1133b718
push str.CSetDeviceSDDL::SetDevSDDL_succeed_
push str.SDDL
push eax
push edi
call fcn.113a7c00
add esp, 0x10
jmp 0x1133b718
cmp dword [0x115a41e0], ebx
je 0x1133b718
push eax
push dword [ebp - 0x10]
push str.CSetDeviceSDDL::SetDevSDDL_RegCreateKeyEx_Fail__subkey__s__err__lu_
push str.SDDL
push 1
push 0x115a394c
jmp 0x1133b710
cmp dword [0x115a41e0], ebx
je 0x1133b718
push eax
push str.CSetDeviceSDDL::SetDevSDDL_RegCreateKeyEx_Fail__subkey_Properties__err__lu_
push str.SDDL
push 1
push edi
call fcn.113a7c00
add esp, 0x14
jmp 0x1133b718
cmp dword [0x115a41e0], ebx
je 0x1133b718
push eax
push dword [ebp + 0x14]
push str.CSetDeviceSDDL::SetDevSDDL_RegSetValueExW_Security_Fail__ulSize__lu__err__lu_
push str.SDDL
push 1
push edi
call fcn.113a7c00
add esp, 0x18
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.1137e380
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1137e380
cmp dword [ebp - 0x14], ebx
pop edi
pop esi
je 0x1133b73f
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x24], ebx
je 0x1133b74d
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x1133b759
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
jmp 0x1133b760
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret