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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c0050
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call fcn.00404990
xor ebx, ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], ebx
call fcn.00404990
mov edi, dword [ebp + 8]
mov byte [esp + 0x58], 1
mov esi, dword [edi + 0x1c]
push esi
lea eax, [esp + 0x18]
push 0x558ae8
push eax
call fcn.004056a0
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 0xc
cmp esi, ecx
jae 0x47d080
push esi
add edi, 4
call fcn.004427b0
mov ebx, eax
mov edi, dword [ebx + 0x10]
add ebx, 4
cmp edi, dword [ebx + 0x10]
jbe 0x47cf5e
call fcn.00480e22
mov ebx, dword [ebx]
test ebx, ebx
jne 0x47d0db
call fcn.00480e22
cmp edi, dword [ebx + 0x10]
jb 0x47cf77
call fcn.00480e22
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0047d310
mov eax, dword [esp + 0x24]
mov ebx, eax
cmp eax, dword [esp + 0x28]
jbe 0x47cf92
call fcn.00480e22
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x47d0e2
call fcn.00480e22
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x47cfaf
call fcn.00480e22
lea edx, [esp + 0x30]
mov ecx, ebx
mov ebx, dword [edi + 0x20]
push edx
call fcn.0041bde0
test al, al
je 0x47d0f7
mov eax, dword [esp + 0x40]
mov ebx, eax
cmp eax, dword [esp + 0x44]
jbe 0x47cfd7
call fcn.00480e22
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x47d0e9
call fcn.00480e22
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x47cff4
call fcn.00480e22
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 4]
test eax, eax
je 0x47d006
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [esp + 0x24]
mov ebx, eax
cmp eax, dword [esp + 0x28]
jbe 0x47d017
call fcn.00480e22
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x47d0f0
call fcn.00480e22
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x47d034
call fcn.00480e22
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 4]
test eax, eax
je 0x47d046
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
inc esi
push esi
lea eax, [esp + 0x18]
push 0x558ae8
push eax
call fcn.004056a0
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
lea eax, [edi + 4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 0xc
cmp esi, ecx
jb 0x47cf43
xor ebx, ebx
mov eax, dword [esp + 0x40]
mov esi, vtable.StringStorage.0
mov dword [esp + 0x30], esi
cmp eax, ebx
je 0x47d09a
push eax
call fcn.00480e32
add esp, 4
mov edx, dword [esp + 0x34]
push edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.00480e32
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x14], esi
cmp eax, ebx
je 0x47d0c8
push eax
call fcn.00480e32
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push eax
jmp 0x47d159
mov ebx, dword [ebx]
jmp 0x47cf6d
mov eax, dword [eax]
jmp 0x47cfa5
mov eax, dword [eax]
jmp 0x47cfea
mov eax, dword [eax]
jmp 0x47d02a
mov ecx, edi
call fcn.0047cbe0
mov eax, dword [esp + 0x40]
xor edi, edi
mov esi, vtable.StringStorage.0
mov dword [esp + 0x30], esi
cmp eax, edi
je 0x47d11a
push eax
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x34]
push ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call fcn.00480e32
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x14], esi
cmp eax, edi
je 0x47d148
push eax
call fcn.00480e32
add esp, 4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
push edx
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4