Function at 0x40de2a
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov eax, 0x433515
call fcn.0041bbcc
sub esp, 0x138
push ebx
xor ebx, ebx
push esi
cmp dword [ebp + 8], ebx
je 0x40e06e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40e06e
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push 0xf003f
push 0x4366f8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.0040a38f
test eax, eax
je 0x40dec8
lea ecx, [ebp - 0x18]
call fcn.0040a30c
lea ecx, [ebp - 0x28]
call fcn.0040a30c
lea ecx, [ebp - 0x40]
call fcn.0040a30c
lea ecx, [ebp - 0x34]
call fcn.0040a30c
mov eax, 0x80004005
jmp 0x40e075
push ebx
push ebx
mov esi, 0x2001f
push esi
push ebx
push ebx
push 0x436704
push dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
call fcn.0040a327
test eax, eax
jne 0x40de9e
push ebx
push ebx
push esi
push ebx
push ebx
push 0x436710
push dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0040a327
lea ecx, [ebp - 0x18]
test eax, eax
jne 0x40dea1
push ebx
push ebx
push esi
push ebx
push ebx
push str.Policy
push dword [ebp - 0x28]
call fcn.0040a327
lea ecx, [ebp - 0x18]
test eax, eax
jne 0x40dea1
push edi
push 0xffffffffffffffff
push ebx
push 0x436724
push dword [ebp + 8]
call fcn.0040c91b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x435e7a
lea eax, [ebp - 0xc4]
mov edi, 0x80
push eax
mov dword [ebp - 0x1c], edi
call esi
push 0x435e7b
lea eax, [ebp - 0x144]
push eax
call esi
lea eax, [ebp - 0x1c]
push eax
push 0x436734
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c8a6
lea eax, [ebp - 0x1c]
push eax
push 0x436748
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], edi
call fcn.0040c8a6
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0xc]
mov byte [ebp - 0x44], bl
mov dword [ebp - 0x1c], 3
call fcn.004107ad
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
pop ecx
pop ecx
lea eax, [ebp - 0xc4]
push eax
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x40dfcb
lea eax, [ebp - 0x144]
push eax
push dword [ebp + 0x14]
call esi
test eax, eax
je 0x40e04b
mov edi, dword [ebp - 0x18]
push 4
lea eax, [ebp + 8]
push eax
push 4
push ebx
push 0x436758
push edi
mov dword [ebp + 8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp + 0x10], ebx
je 0x40e00a
push 0xffffffffffffffff
push ebx
push 0x436768
push dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
call fcn.0040c91b
jmp 0x40e012
push 0x43677c
push edi
call esi
cmp dword [ebp + 0x14], ebx
je 0x40e02c
push 0xffffffffffffffff
push ebx
push 0x436790
push dword [ebp + 0x14]
lea ecx, [ebp - 0x18]
call fcn.0040c91b
jmp 0x40e034
push 0x4367a0
push edi
call esi
push 0x4367b0
push edi
call esi
push 0x4367c4
push edi
call esi
push ebx
call fcn.0040d838
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0040a30c
lea ecx, [ebp - 0x28]
call fcn.0040a30c
lea ecx, [ebp - 0x40]
call fcn.0040a30c
lea ecx, [ebp - 0x34]
call fcn.0040a30c
pop edi
jmp 0x40e073
call fcn.00417938
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret