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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x478b91
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4921bc]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x4921bc]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xb0], eax
lea esi, [esp + 0x24]
mov eax, edi
call fcn.0040a3b0
cmp dword [eax + 0x18], 8
jb 0x41b75a
mov ebx, dword [eax + 4]
jmp 0x41b75d
lea ebx, [eax + 4]
mov eax, dword [esp + 0x14]
test eax, eax
mov esi, dword [edi + 0x20]
je 0x41b777
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 0x2001f
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41b7a5
cmp eax, 2
mov dword [esp + 0x18], eax
jne 0x41b7a9
push ebx
push esi
lea esi, [esp + 0x1c]
call fcn.00408140
jmp 0x41b7b3
mov al, 1
jmp 0x41b7b3
mov dword [esp + 0x14], 0
xor al, al
test al, al
sete bl
cmp dword [esp + 0x3c], 8
jb 0x41b7cc
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0046207a
add esp, 4
test bl, bl
je 0x41b89c
mov eax, dword [esp + 0x18]
cmp eax, 5
je 0x41ba41
xor ecx, ecx
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], ecx
mov word [esp + 0x88], cx
push eax
lea edx, [esp + 0x88]
push 0x48160c
push edx
mov byte [esp + 0xbc], 1
call fcn.00407100
add esp, 0xc
lea edi, [esp + 0x84]
lea eax, [esp + 0x68]
call fcn.0041fee0
mov byte [esp + 0xb0], 2
cmp dword [eax + 0x18], 0x10
jb 0x41b83e
mov edx, dword [eax + 4]
jmp 0x41b841
lea edx, [eax + 4]
mov eax, edx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
lea esi, [eax + 1]
jmp 0x41b860
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41b860
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00404110
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0xb8], 3
call fcn.0041b370
push 0x48beac
lea edx, [esp + 0x44]
push edx
call fcn.00463aeb
cmp byte [edi + 0x40], 0
je 0x41b8dd
lea esi, [esp + 0x24]
mov eax, edi
call fcn.0040a3b0
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x41b8bc
mov eax, dword [eax + 4]
jmp 0x41b8bf
add eax, 4
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [esp + 0x3c], esi
jb 0x41b8dd
mov eax, dword [esp + 0x28]
push eax
call fcn.0046207a
add esp, 4
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.00404000
test eax, eax
jbe 0x41b9d6
mov dword [esp + 0x20], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x41b921
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x1c], eax
jb 0x41b926
call fcn.004625df
mov ebx, dword [edi + 4]
add ebx, dword [esp + 0x20]
lea esi, [esp + 0x24]
cmp byte [ebx + 0x68], 0
mov eax, ebx
je 0x41b971
call fcn.004117f0
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x41b94d
mov eax, dword [eax + 4]
jmp 0x41b950
add eax, 4
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x41b964
mov dword [esp + 0x18], eax
cmp dword [esp + 0x3c], esi
jb 0x41b9b7
mov edx, dword [esp + 0x28]
push edx
jmp 0x41b9af
call fcn.004117f0
mov esi, 8
mov byte [esp + 0xb0], 4
cmp dword [eax + 0x18], esi
jb 0x41b98d
mov eax, dword [eax + 4]
jmp 0x41b990
add eax, 4
push ebx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00408190
mov byte [esp + 0xb0], 0
cmp dword [esp + 0x3c], esi
jb 0x41b9b7
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0046207a
add esp, 4
mov esi, dword [esp + 0x1c]
add dword [esp + 0x20], 0x70
add esi, 1
mov ecx, edi
mov dword [esp + 0x1c], esi
call fcn.00404000
cmp esi, eax
jb 0x41b8fc
cmp byte [ebp + 0xc], 0
je 0x41ba41
xor esi, esi
xor ebx, ebx
mov eax, dword [edi + 0x14]
test eax, eax
je 0x41ba41
mov ecx, dword [edi + 0x18]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x41ba41
mov eax, dword [edi + 0x14]
test eax, eax
je 0x41ba22
mov ecx, dword [edi + 0x18]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x41ba27
call fcn.004625df
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0x14]
push edx
add eax, ebx
push eax
call fcn.0041b6f0
add esp, 8
add esi, 1
add ebx, 0x44
jmp 0x41b9e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41ba50
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00461f6b
mov esp, ebp
pop ebp
ret