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

Disassembly:
mov eax, 0x4fdda593
call fcn.4fdcefac
sub esp, 0x21c
mov eax, dword [0x4fddc808]
xor eax, dword [ebp + 4]
and dword [ebp - 0x18], 0
push ebx
push esi
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
jmp 0x4fdc9c72
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x4fdc18dc
push edi
mov dword [ebp - 0x1c], 1
call esi
mov ebx, eax
neg ebx
push 0x4fdc18f0
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x4fdc98d8
test ebx, ebx
je 0x4fdc995e
mov ecx, dword [ebp - 0x14]
push edi
call fcn.4fdc8529
mov esi, eax
test esi, esi
jl 0x4fdc9cc3
cmp dword [ebp + 0x10], 0
je 0x4fdc995e
and dword [ebp + 8], 0
push 0x5c
push edi
mov byte [ebp - 4], 1
call fcn.4fdc84c3
test eax, eax
jne 0x4fdc9c89
mov ecx, dword [ebp - 0x14]
push edi
call fcn.4fdc860a
test eax, eax
je 0x4fdc9929
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.4fdc8a94
and dword [ebp + 8], 0
test ebx, ebx
je 0x4fdc9952
mov ecx, dword [ebp - 0x14]
push edi
call fcn.4fdc8529
mov esi, eax
test esi, esi
jl 0x4fdc9cbb
mov ecx, dword [ebp - 0x14]
push edi
call fcn.4fdc866b
mov esi, eax
test esi, esi
jmp 0x4fdc99f9
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.4fdc816d
push 0x4fdc18e4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4fdc9984
mov ecx, dword [ebp - 0x14]
and dword [ebp - 0x1c], eax
push edi
call fcn.4fdc8529
mov esi, eax
test esi, esi
jl 0x4fdc9cc3
push 0x4fdc18fc
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4fdc9a68
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x228]
push eax
call fcn.4fdc8529
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x4fdc9cc3
mov ecx, dword [ebp - 0x14]
push edi
call fcn.4fdc8529
mov esi, eax
cmp esi, ebx
jl 0x4fdc9cc3
cmp byte [edi], 0x3d
jne 0x4fdc9c91
cmp dword [ebp + 0x10], ebx
je 0x4fdc9a0b
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 8], eax
push edi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 2
call fcn.4fdc9551
mov esi, eax
mov dword [ebp + 8], ebx
cmp esi, ebx
lea ecx, [ebp + 8]
jl 0x4fdc9cbe
and byte [ebp - 4], 0
jmp 0x4fdc9c3c
cmp dword [ebp + 0x14], ebx
jne 0x4fdc9a56
cmp dword [ebp - 0x1c], ebx
je 0x4fdc9a56
push 0x20006
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp + 8]
mov dword [ebp + 8], ebx
call fcn.4fdc81d2
cmp eax, ebx
jne 0x4fdc9cb3
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x4fdc9a4e
cmp eax, 2
jne 0x4fdc9cb3
lea ecx, [ebp + 8]
call fcn.4fdc816d
mov ecx, dword [ebp - 0x14]
push edi
call fcn.4fdc866b
mov esi, eax
cmp esi, ebx
jmp 0x4fdc9c7c
push 0x5c
push edi
call fcn.4fdc84c3
test eax, eax
jne 0x4fdc9c91
cmp dword [ebp + 0x10], eax
je 0x4fdc9b03
mov esi, 0x2001f
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.4fdc81d2
test eax, eax
je 0x4fdc9ac9
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.4fdc81d2
test eax, eax
je 0x4fdc9ac9
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.4fdc8184
mov esi, eax
cmp esi, ebx
jne 0x4fdc9c98
mov ecx, dword [ebp - 0x14]
push edi
call fcn.4fdc8529
mov esi, eax
test esi, esi
jl 0x4fdc9cc3
cmp byte [edi], 0x3d
jne 0x4fdc9c41
mov ecx, dword [ebp - 0x14]
push edi
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.4fdc9551
mov esi, eax
test esi, esi
jl 0x4fdc9cc3
jmp 0x4fdc9c41
cmp dword [ebp + 0x14], 0
jne 0x4fdc9b1e
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.4fdc81d2
mov ebx, eax
jmp 0x4fdc9b21
push 2
pop ebx
test ebx, ebx
je 0x4fdc9b2c
mov dword [ebp + 0x14], 1
push 0x104
push edi
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [ebp - 0x14]
push edi
call fcn.4fdc8529
mov esi, eax
test esi, esi
jl 0x4fdc9cc3
mov ecx, dword [ebp - 0x14]
push edi
call fcn.4fdc866b
mov esi, eax
test esi, esi
jl 0x4fdc9cc3
cmp byte [edi], 0x7b
jne 0x4fdc9b9e
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
push 0
push dword [ebp - 0x18]
push edi
call fcn.4fdc9871
mov esi, eax
test esi, esi
jge 0x4fdc9b8b
cmp dword [ebp + 0x14], 0
je 0x4fdc9cc3
mov ecx, dword [ebp - 0x14]
push edi
call fcn.4fdc8529
mov esi, eax
test esi, esi
jl 0x4fdc9cc3
cmp ebx, 2
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0x14], eax
je 0x4fdc9c7e
test ebx, ebx
je 0x4fdc9bc6
test eax, eax
jne 0x4fdc9c7e
push ebx
call fcn.4fdc8127
mov esi, eax
jmp 0x4fdc9cc3
test eax, eax
je 0x4fdc9c0b
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
call fcn.4fdc8636
test eax, eax
je 0x4fdc9c0b
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x124]
push eax
call fcn.4fdc860a
test eax, eax
je 0x4fdc9c7e
cmp dword [ebp - 0x1c], 0
je 0x4fdc9c7e
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x18]
call fcn.4fdc8a94
jmp 0x4fdc9c7e
lea ecx, [ebp - 0x18]
call fcn.4fdc816d
mov ebx, eax
test ebx, ebx
jne 0x4fdc9ca3
cmp dword [ebp - 0x1c], eax
je 0x4fdc9c7e
lea eax, [ebp - 0x124]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
and dword [ebp + 8], ebx
test eax, eax
jne 0x4fdc9cb3
lea ecx, [ebp + 8]
call fcn.4fdc816d
cmp dword [ebp + 0x10], 0
je 0x4fdc9c7e
cmp byte [edi], 0x7b
jne 0x4fdc9c7e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x4fdc9c7e
mov ecx, dword [ebp - 0x14]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x18]
push edi
call fcn.4fdc9871
mov esi, eax
test esi, esi
jl 0x4fdc9cc3
mov ecx, dword [ebp - 0x14]
push edi
call fcn.4fdc8529
mov esi, eax
test esi, esi
jl 0x4fdc9cc3
cmp byte [edi], 0x7d
jne 0x4fdc98a8
jmp 0x4fdc9cc3
lea ecx, [ebp + 8]
call fcn.4fdc816d
mov esi, 0x80020009
jmp 0x4fdc9cc3
lea ecx, [ebp - 0x18]
call fcn.4fdc816d
push esi
jmp 0x4fdc9cac
lea ecx, [ebp - 0x18]
call fcn.4fdc816d
push ebx
call fcn.4fdc8127
jmp 0x4fdc9ccd
push eax
call fcn.4fdc8127
mov esi, eax
lea ecx, [ebp + 8]
call fcn.4fdc816d
lea ecx, [ebp - 0x18]
call fcn.4fdc816d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.4fdce82b
leave
ret 0x10