Function at 0x47b070
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d1d77
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x115c
call fcn.0049df10
mov eax, dword [0x50d4cc]
xor eax, esp
mov dword [esp + 0x1158], eax
push ebx
push esi
push edi
mov eax, dword [0x50d4cc]
xor eax, esp
push eax
lea eax, [esp + 0x1170]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1178], 0
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, eax
push edi
call fcn.0047a440
mov esi, eax
test esi, esi
js 0x47b781
cmp byte [edi], 0x7d
je 0x47b781
jmp 0x47b120
push str.Delete
push edi
mov dword [esp + 0x20], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x47b151
test ebx, ebx
je 0x47b273
mov ecx, dword [esp + 0x10]
push edi
call fcn.0047a440
mov esi, eax
test esi, esi
js 0x47b781
cmp dword [ebp + 0x10], 0
je 0x47b273
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x1178], 1
mov ecx, edi
mov al, byte [edi]
test al, al
je 0x47b1c5
cmp al, 0x5c
je 0x47b1bd
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x47b1a8
jmp 0x47b1c5
test ecx, ecx
jne 0x47b702
mov esi, 0x4df940
lea ebx, [ebx]
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x47b222
add esi, 4
cmp esi, 0x4df970
jl 0x47b1d0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.004790f0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test ebx, ebx
je 0x47b263
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.0047a440
mov esi, eax
test esi, esi
js 0x47b71a
push edi
mov ecx, ebx
call fcn.0047abb0
mov esi, eax
test esi, esi
js 0x47b71a
mov byte [esp + 0x1178], 0
mov dword [esp + 0x30], 0
jmp 0x47b4e1
mov byte [esp + 0x1178], 0
mov dword [esp + 0x30], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x47b29d
push edi
mov ecx, ebx
mov dword [esp + 0x1c], eax
call fcn.0047a440
mov esi, eax
test esi, esi
js 0x47b781
push 0x4df33c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x47b440
lea eax, [esp + 0x164]
mov ecx, ebx
push eax
call fcn.0047a440
mov esi, eax
test esi, esi
js 0x47b781
push edi
mov ecx, ebx
call fcn.0047a440
mov esi, eax
test esi, esi
js 0x47b781
cmp byte [edi], 0x3d
jne 0x47b713
cmp dword [ebp + 0x10], 0
je 0x47b384
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
movq qword [esp + 0x38], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0x1178], 2
mov ecx, ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x164]
push edi
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x44], 0
push eax
mov dword [esp + 0x4c], 0
call fcn.0047a5a0
mov esi, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
test esi, esi
js 0x47b72d
mov byte [esp + 0x1178], 0
mov dword [esp + 0x3c], 0
jmp 0x47b4e1
cmp dword [ebp + 0x14], 0
jne 0x47b429
cmp dword [esp + 0x18], 0
je 0x47b429
xorps xmm0, xmm0
mov dword [esp + 0x58], 0
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x1178], 3
lea ecx, [esp + 0x50]
push 0x20006
push 0
push dword [esp + 0x1c]
call fcn.00431710
test eax, eax
jne 0x47b740
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x164]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x47b406
cmp eax, 2
jne 0x47b740
mov byte [esp + 0x1178], 0
test esi, esi
je 0x47b421
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
push edi
mov ecx, ebx
call fcn.0047abb0
mov esi, eax
test esi, esi
js 0x47b781
jmp 0x47b6f4
mov al, byte [edi]
mov ecx, edi
test al, al
je 0x47b465
cmp al, 0x5c
je 0x47b45d
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x47b448
jmp 0x47b465
test ecx, ecx
jne 0x47b713
cmp dword [ebp + 0x10], 0
je 0x47b534
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push 0x2001f
push edi
push esi
call fcn.00431710
test eax, eax
je 0x47b4b1
push 0x20019
push edi
push esi
lea ecx, [esp + 0x2c]
call fcn.00431710
test eax, eax
je 0x47b4b1
sub esp, 0x14
lea ecx, [esp + 0x34]
push edi
push esi
call fcn.00478fa0
test eax, eax
jne 0x47b778
push edi
mov ecx, ebx
call fcn.0047a440
mov esi, eax
test esi, esi
js 0x47b781
cmp byte [edi], 0x3d
jne 0x47b4e1
push edi
push 0
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
call fcn.0047a5a0
mov esi, eax
test esi, esi
js 0x47b781
cmp byte [edi], 0x7b
jne 0x47b6f4
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47b4f0
sub ecx, edx
cmp ecx, 1
jne 0x47b6f4
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [esp + 0x28]
push edi
call fcn.0047b070
mov esi, eax
test esi, esi
js 0x47b781
push edi
mov ecx, ebx
call fcn.0047a440
mov esi, eax
test esi, esi
js 0x47b781
jmp 0x47b6f4
cmp dword [ebp + 0x14], 0
jne 0x47b555
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.00431710
mov ebx, eax
test ebx, ebx
jne 0x47b55a
jmp 0x47b561
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.004c87d3
push eax
call fcn.00401350
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.0047a440
mov esi, eax
test esi, esi
js 0x47b781
mov ecx, dword [esp + 0x10]
push edi
call fcn.0047abb0
mov esi, eax
test esi, esi
js 0x47b781
cmp byte [edi], 0x7b
jne 0x47b5f5
mov ecx, edi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47b5b0
sub ecx, edx
cmp ecx, 1
jne 0x47b5f5
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x28]
push edi
call fcn.0047b070
mov esi, eax
test esi, esi
jns 0x47b5e1
cmp dword [ebp + 0x14], 0
je 0x47b781
mov ecx, dword [esp + 0x10]
push edi
call fcn.0047a440
mov esi, eax
test esi, esi
js 0x47b781
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x47b6f4
test ebx, ebx
je 0x47b618
test eax, eax
jne 0x47b6f4
mov ecx, ebx
jmp 0x47b77a
test eax, eax
je 0x47b659
push dword [esp + 0x20]
call fcn.0047ab40
test eax, eax
je 0x47b659
lea eax, [esp + 0x5c]
push eax
call fcn.0047ab00
test eax, eax
je 0x47b6f4
cmp dword [esp + 0x18], 0
je 0x47b6f4
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
call fcn.004790f0
jmp 0x47b6f4
push dword [esp + 0x20]
call fcn.0047ab40
mov ecx, dword [esp + 0x20]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x47b67b
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
test eax, eax
jne 0x47b778
cmp dword [esp + 0x18], eax
je 0x47b6f4
test ebx, ebx
jne 0x47b6f4
xorps xmm0, xmm0
mov dword [esp + 0x4c], ebx
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x1178], 4
lea ecx, [esp + 0x44]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.00478f10
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
test eax, eax
jne 0x47b75c
mov byte [esp + 0x1178], al
lea ecx, [esp + 0x44]
call fcn.004317d0
cmp byte [edi], 0x7d
jne 0x47b120
jmp 0x47b781
mov byte [esp + 0x1178], 0
lea ecx, [esp + 0x2c]
call fcn.004317d0
mov esi, 0x80020009
jmp 0x47b781
mov byte [esp + 0x1178], 0
lea ecx, [esp + 0x2c]
call fcn.004317d0
jmp 0x47b781
mov byte [esp + 0x1178], 0
lea ecx, [esp + 0x38]
call fcn.004317d0
jmp 0x47b781
mov ecx, eax
call fcn.0043aba0
mov esi, eax
mov byte [esp + 0x1178], 0
lea ecx, [esp + 0x50]
call fcn.004317d0
jmp 0x47b781
mov ecx, eax
call fcn.0043aba0
mov esi, eax
mov byte [esp + 0x1178], 0
lea ecx, [esp + 0x44]
call fcn.004317d0
jmp 0x47b781
mov ecx, eax
call fcn.0043aba0
mov esi, eax
mov dword [esp + 0x1178], 0xffffffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47b7a3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], 0
mov eax, esi
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x1170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1158]
xor ecx, esp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 0x10