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

Disassembly:
push 0x42c
mov eax, 0x2f4b0dd5
call fcn.2f4aff5a
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
and dword [ebp - 0x42c], 0
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
mov dword [ebp - 0x438], eax
jmp 0x2f49e44b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x2f4914e4
push edi
mov dword [ebp - 0x430], 1
call esi
mov ebx, eax
neg ebx
push 0x2f491508
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x2f49dfc1
test ebx, ebx
je 0x2f49e072
mov ecx, dword [ebp - 0x424]
push edi
call fcn.2f49d2f6
mov esi, eax
test esi, esi
jl 0x2f49e4bf
cmp dword [ebp + 0x10], 0
je 0x2f49e072
and dword [ebp - 0x428], 0
push 0x5c
push edi
call fcn.2f49d27f
test eax, eax
jne 0x2f49e463
mov ecx, dword [ebp - 0x424]
push edi
call fcn.2f49d3f9
test eax, eax
je 0x2f49e027
mov eax, dword [ebp - 0x434]
push edi
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], eax
call fcn.2f49d5e4
and dword [ebp - 0x428], 0
test ebx, ebx
je 0x2f49e067
mov ecx, dword [ebp - 0x424]
push edi
call fcn.2f49d2f6
mov esi, eax
test esi, esi
jl 0x2f49e475
mov ecx, dword [ebp - 0x424]
push edi
call fcn.2f49d45d
lea ecx, [ebp - 0x428]
mov esi, eax
call fcn.2f49cf4a
test esi, esi
jl 0x2f49e4bf
jmp 0x2f49e410
lea ecx, [ebp - 0x428]
call fcn.2f49cf4a
push 0x2f4914f4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x2f49e09e
mov ecx, dword [ebp - 0x424]
and dword [ebp - 0x430], eax
push edi
call fcn.2f49d2f6
mov esi, eax
test esi, esi
jl 0x2f49e4bf
push 0x2f491520
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x2f49e1af
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x420]
push eax
call fcn.2f49d2f6
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x2f49e4bf
mov ecx, dword [ebp - 0x424]
push edi
call fcn.2f49d2f6
mov esi, eax
cmp esi, ebx
jl 0x2f49e4bf
cmp word [edi], 0x3d
jne 0x2f49e46e
cmp dword [ebp + 0x10], ebx
je 0x2f49e13d
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x430], eax
push edi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x430]
push eax
mov byte [ebp - 4], 1
call fcn.2f49dc13
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x430], ebx
lea ecx, [ebp - 0x430]
jl 0x2f49e4ba
mov byte [ebp - 4], bl
jmp 0x2f49e40b
cmp dword [ebp + 0x14], ebx
jne 0x2f49e19a
cmp dword [ebp - 0x430], ebx
je 0x2f49e19a
push 0x20006
push ebx
push dword [ebp - 0x434]
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], ebx
call fcn.2f49cfaf
cmp eax, ebx
jne 0x2f49e47d
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x2f49e18f
cmp eax, 2
jne 0x2f49e47d
lea ecx, [ebp - 0x428]
call fcn.2f49cf4a
mov ecx, dword [ebp - 0x424]
push edi
call fcn.2f49d45d
mov esi, eax
cmp esi, ebx
jmp 0x2f49e455
push 0x5c
push edi
call fcn.2f49d27f
test eax, eax
jne 0x2f49e46e
cmp dword [ebp + 0x10], eax
je 0x2f49e25e
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.2f49cfaf
test eax, eax
je 0x2f49e222
push 0x20019
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.2f49cfaf
test eax, eax
je 0x2f49e222
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.2f49cf61
mov esi, eax
cmp esi, ebx
jne 0x2f49e48b
mov ecx, dword [ebp - 0x424]
push edi
call fcn.2f49d2f6
mov esi, eax
test esi, esi
jl 0x2f49e4bf
cmp word [edi], 0x3d
jne 0x2f49e410
mov ecx, dword [ebp - 0x424]
push edi
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.2f49dc13
mov esi, eax
jmp 0x2f49e05a
cmp dword [ebp + 0x14], 0
jne 0x2f49e27f
push 0x20019
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.2f49cfaf
mov ebx, eax
jmp 0x2f49e282
push 2
pop ebx
test ebx, ebx
je 0x2f49e28d
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
add esp, 0x10
push eax
call fcn.2f49cde9
mov ecx, dword [ebp - 0x424]
push edi
call fcn.2f49d2f6
mov esi, eax
test esi, esi
jl 0x2f49e4bf
mov ecx, dword [ebp - 0x424]
push edi
call fcn.2f49d45d
mov esi, eax
test esi, esi
jl 0x2f49e4bf
cmp word [edi], 0x7b
jne 0x2f49e326
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x2f49e326
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp - 0x42c]
push edi
call fcn.2f49df54
mov esi, eax
test esi, esi
jge 0x2f49e310
cmp dword [ebp + 0x14], 0
je 0x2f49e4bf
mov ecx, dword [ebp - 0x424]
push edi
call fcn.2f49d2f6
mov esi, eax
test esi, esi
jl 0x2f49e4bf
cmp ebx, 2
mov eax, dword [ebp - 0x438]
mov dword [ebp + 0x14], eax
je 0x2f49e457
test ebx, ebx
je 0x2f49e351
test eax, eax
jne 0x2f49e457
push ebx
call fcn.2f49ce78
mov esi, eax
jmp 0x2f49e4bf
test eax, eax
je 0x2f49e3a8
push dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x424]
call fcn.2f49d428
test eax, eax
je 0x2f49e3a8
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push eax
call fcn.2f49d3f9
test eax, eax
je 0x2f49e457
cmp dword [ebp - 0x430], 0
je 0x2f49e457
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call fcn.2f49d5e4
jmp 0x2f49e457
push dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x424]
call fcn.2f49d428
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x428], eax
call fcn.2f49cf4a
mov ebx, eax
test ebx, ebx
jne 0x2f49e49e
cmp dword [ebp - 0x430], eax
je 0x2f49e457
cmp dword [ebp - 0x428], eax
jne 0x2f49e457
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x430], ebx
test eax, eax
jne 0x2f49e4ac
lea ecx, [ebp - 0x430]
call fcn.2f49cf4a
cmp dword [ebp + 0x10], 0
je 0x2f49e457
cmp word [edi], 0x7b
jne 0x2f49e457
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x2f49e457
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x42c]
push edi
call fcn.2f49df54
mov esi, eax
test esi, esi
jl 0x2f49e4bf
mov ecx, dword [ebp - 0x424]
push edi
call fcn.2f49d2f6
mov esi, eax
test esi, esi
jl 0x2f49e4bf
cmp word [edi], 0x7d
jne 0x2f49df8e
jmp 0x2f49e4bf
lea ecx, [ebp - 0x428]
call fcn.2f49cf4a
mov esi, 0x80020009
jmp 0x2f49e4bf
lea ecx, [ebp - 0x428]
jmp 0x2f49e4ba
push eax
call fcn.2f49ce78
lea ecx, [ebp - 0x428]
jmp 0x2f49e4b8
lea ecx, [ebp - 0x42c]
call fcn.2f49cf4a
push esi
call fcn.2f49ce78
jmp 0x2f49e4cc
lea ecx, [ebp - 0x42c]
call fcn.2f49cf4a
push ebx
jmp 0x2f49e497
push eax
call fcn.2f49ce78
lea ecx, [ebp - 0x430]
mov esi, eax
call fcn.2f49cf4a
lea ecx, [ebp - 0x42c]
call fcn.2f49cf4a
mov eax, esi
call fcn.2f4affdd
ret 0x10