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

Disassembly:
mov eax, 0x432e29
call fcn.0041b53c
sub esp, 0x138
push ebx
xor ebx, ebx
push esi
cmp dword [ebp + 8], ebx
je 0x40de4f
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
je 0x40de4f
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 0x4365a0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.0041d31d
test eax, eax
je 0x40dca9
lea ecx, [ebp - 0x18]
call fcn.0040a137
lea ecx, [ebp - 0x28]
call fcn.0040a137
lea ecx, [ebp - 0x40]
call fcn.0040a137
lea ecx, [ebp - 0x34]
call fcn.0040a137
mov eax, 0x80004005
jmp 0x40de56
push ebx
push ebx
mov esi, 0x2001f
push esi
push ebx
push ebx
push 0x4365ac
push dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
call fcn.0041d31d
test eax, eax
jne 0x40dc7f
push ebx
push ebx
push esi
push ebx
push ebx
push 0x4365b8
push dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041d31d
lea ecx, [ebp - 0x18]
test eax, eax
jne 0x40dc82
push ebx
push ebx
push esi
push ebx
push ebx
push str.Policy
push dword [ebp - 0x28]
call fcn.0041d31d
lea ecx, [ebp - 0x18]
test eax, eax
jne 0x40dc82
push edi
push 0xffffffffffffffff
push ebx
push 0x4365cc
push dword [ebp + 8]
call fcn.0041d31d
mov esi, dword [sym.imp.kernel32.dll_lstrcpyA]
push 0x435d3a
lea eax, [ebp - 0xc4]
mov edi, 0x80
push eax
mov dword [ebp - 0x1c], edi
call esi
push 0x435d3b
lea eax, [ebp - 0x144]
push eax
call esi
lea eax, [ebp - 0x1c]
push eax
push 0x4365dc
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d31d
lea eax, [ebp - 0x1c]
push eax
push 0x4365f0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], edi
call fcn.0041d31d
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0xc]
mov byte [ebp - 0x44], bl
mov dword [ebp - 0x1c], 3
call fcn.0041055b
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 0x40ddac
lea eax, [ebp - 0x144]
push eax
push dword [ebp + 0x14]
call esi
test eax, eax
je 0x40de2c
mov edi, dword [ebp - 0x18]
push 4
lea eax, [ebp + 8]
push eax
push 4
push ebx
push 0x436600
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 0x40ddeb
push 0xffffffffffffffff
push ebx
push 0x436610
push dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
call fcn.0041d31d
jmp 0x40ddf3
push 0x436624
push edi
call esi
cmp dword [ebp + 0x14], ebx
je 0x40de0d
push 0xffffffffffffffff
push ebx
push 0x436638
push dword [ebp + 0x14]
lea ecx, [ebp - 0x18]
call fcn.0041d31d
jmp 0x40de15
push 0x436648
push edi
call esi
push 0x436658
push edi
call esi
push 0x43666c
push edi
call esi
push ebx
call fcn.0041d31d
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0040a137
lea ecx, [ebp - 0x28]
call fcn.0040a137
lea ecx, [ebp - 0x40]
call fcn.0040a137
lea ecx, [ebp - 0x34]
call fcn.0040a137
pop edi
jmp 0x40de54
call fcn.0041d31d
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret