Function at 0x40c1f0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432680
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x43e0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x43e060]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x43e060
mov dword [ebp - 0x10], esi
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], esi
mov eax, dword [0x43e060]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e060
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
mov eax, dword [0x43e060]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e060
call edx
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov eax, dword [0x43e060]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e060
call edx
add eax, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0040b630
mov ecx, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add esp, 8
cmp dword [ecx - 0xc], esi
je 0x40c33e
push esi
lea edx, [ebp - 0x10]
push edx
push esi
push 0xf003f
push esi
push esi
push esi
push ecx
mov edi, 1
push 0x80000001
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call ebx
test eax, eax
jne 0x40c325
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], esi
je 0x40c2e0
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], esi
je 0x40c2f3
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x10]
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x1c]
push edx
push esi
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x40c318
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x18], esi
jne 0x40c33e
cmp dword [ebp - 0x1c], esi
jne 0x40c33e
mov eax, dword [ebp - 0x14]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, str.SpesmarlIlnclzsQQ
call fcn.0040dcd0
mov eax, dword [eax]
add esp, 4
push esi
lea edx, [ebp - 0x10]
push edx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push 0x80000001
call ebx
test eax, eax
mov eax, dword [ebp - 0x1c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c38b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40c3d9
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, str.RltRlfizl
call fcn.0040dcd0
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
add esp, 4
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c3cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c3fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c41f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c442
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c468
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret