Function at 0x43da60
Capabilities:
Disable system features via registry on windows
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x814
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b15f0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov ebp, dword [sym.imp.user32.dll_GetDlgItem]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x43db2a
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b1ce8
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43db06
cmp word [esp + 0x20], 1
jne 0x43db24
push eax
push 1
push 0xf1
push 0x28a1
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43db24
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 4
push 0
push 0x4b1ce8
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b1d18
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43dbc4
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b1d8c
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dba0
cmp word [esp + 0x20], 1
jne 0x43dbbe
push eax
push 1
push 0xf1
push 0x28a9
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43dbbe
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b1d8c
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b1d18
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43dc5e
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b1dac
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dc3a
cmp word [esp + 0x20], 1
jne 0x43dc58
push eax
push 1
push 0xf1
push 0x28a3
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43dc58
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b1dac
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b1dd8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43dcf8
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b1e50
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dcd4
cmp word [esp + 0x20], 1
jne 0x43dcf2
push eax
push 1
push 0xf1
push 0x28a4
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43dcf2
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b1e50
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b15f0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43dd92
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b1e74
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dd6e
cmp word [esp + 0x20], 1
jne 0x43dd8c
push eax
push 1
push 0xf1
push 0x28a5
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43dd8c
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b1e74
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b1ea0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43de2c
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b1efc
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43de08
cmp word [esp + 0x20], 2
jne 0x43de26
push eax
push 1
push 0xf1
push 0x28a6
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43de26
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b1efc
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b1598
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43dec6
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b1f14
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dea2
cmp word [esp + 0x20], 1
jne 0x43dec0
push eax
push 1
push 0xf1
push 0x28a7
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43dec0
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b1f14
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b1f30
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43df60
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b1f98
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43df3c
cmp word [esp + 0x20], 1
jne 0x43df5a
push eax
push 1
push 0xf1
push 0x28a8
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43df5a
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push 0x4b1f98
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4b1fb8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43dff2
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 1
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b2014
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dfd6
cmp word [esp + 0x20], 0x31
jne 0x43dfec
push eax
push 1
push 0xf1
push 0x28a2
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43dfec
push 4
push 0x4ad0e0
push 1
push 0
push 0x4b2014
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
mov ecx, dword [esp + 0x820]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x814
ret