Function at 0x2f3f4e
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49f596
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x226c
call fcn.00445d10
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x2268], eax
push ebx
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x2280]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov edx, dword [ebp + 0x14]
mov eax, esi
mov dword [esp + 0x2288], ebx
mov dword [esp + 0x68], edx
call fcn.002f3980
mov edi, eax
cmp edi, ebx
jl 0x2f40fc
cmp word [esi], 0x7d
je 0x2f40fa
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push esi
mov dword [esp + 0x40], 1
call edi
neg eax
push str.ForceRemove
sbb ebx, ebx
push esi
inc ebx
call edi
test eax, eax
je 0x2f3b9d
test ebx, ebx
je 0x2f3ccf
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.002f3980
mov edi, eax
test edi, edi
js 0x2f40eb
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x2f3ccf
movzx ecx, word [esi]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov eax, esi
cmp cx, dx
je 0x2f3bf2
cmp cx, 0x5c
je 0x2f3bea
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x2f3bd3
jmp 0x2f3bf2
test eax, eax
jne 0x2f40c9
mov edi, 0x4c8734
mov eax, dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x2f3c3a
add edi, 4
cmp edi, 0x4c8764
jl 0x2f3bf7
mov ecx, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x2c], ecx
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.002f3710
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
jmp 0x2f3c3c
xor edi, edi
cmp ebx, edi
je 0x2f3ccb
mov ebx, dword [esp + 0x14]
mov eax, esi
mov ecx, ebx
call fcn.002f3980
mov edi, eax
test edi, edi
js 0x2f40e2
mov edi, esi
mov ecx, ebx
call fcn.002f3580
mov edi, eax
test edi, edi
js 0x2f40e2
mov dword [esp + 0x30], 0
cmp word [esi], 0x7b
jne 0x2f3cbc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x2f3cbc
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push 0
push edx
push eax
push esi
mov ecx, ebx
call fcn.002f3ae0
mov edi, eax
test edi, edi
js 0x2f40eb
mov eax, esi
mov ecx, ebx
call fcn.002f3980
mov edi, eax
test edi, edi
js 0x2f40eb
cmp word [esi], 0x7d
jne 0x2f3b6e
jmp 0x2f40eb
mov dword [esp + 0x30], edi
push str.NoRemove
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x2f3cf8
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, esi
call fcn.002f3980
mov edi, eax
test edi, edi
js 0x2f40eb
push 0x4bf154
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x2f3e23
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x274]
call fcn.002f3980
mov edi, eax
test edi, edi
js 0x2f40eb
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.002f3980
mov edi, eax
test edi, edi
js 0x2f40eb
cmp word [esi], 0x3d
jne 0x2f40d2
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x2f3da2
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x274]
mov byte [esp + 0x2288], 1
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.002f31c0
mov edi, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
cmp edi, ebx
jl 0x2f4122
mov byte [esp + 0x2288], bl
mov dword [esp + 0x4c], ebx
jmp 0x2f3c76
cmp dword [ebp + 0x14], ebx
jne 0x2f3e09
cmp dword [esp + 0x38], ebx
je 0x2f3e09
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x54]
push edx
mov edx, 0x20006
xor eax, eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.002f36a0
cmp eax, ebx
jne 0x2f4136
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x274]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x2f3df6
cmp eax, 2
jne 0x2f4136
cmp edi, ebx
je 0x2f3e05
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x14]
mov edi, esi
call fcn.002f3580
mov edi, eax
cmp edi, ebx
jl 0x2f40eb
jmp 0x2f3cbc
movzx ecx, word [esi]
mov eax, esi
test cx, cx
je 0x2f3e4f
lea ecx, [ecx]
cmp cx, 0x5c
je 0x2f3e47
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x2f3e30
jmp 0x2f3e4f
test eax, eax
jne 0x2f40d2
cmp dword [ebp + 0x10], 0
je 0x2f3ee8
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x18]
push ecx
mov edx, 0x2001f
mov eax, esi
mov ecx, edi
call fcn.002f36a0
test eax, eax
je 0x2f3ea8
lea edx, [esp + 0x18]
push edx
mov edx, 0x20019
mov eax, esi
mov ecx, edi
call fcn.002f36a0
test eax, eax
je 0x2f3ea8
push 0x2001f
lea eax, [esp + 0x1c]
push eax
mov eax, esi
mov ecx, edi
call fcn.002f2f90
mov edi, eax
test edi, edi
jne 0x2f4143
mov ebx, dword [esp + 0x14]
mov eax, esi
mov ecx, ebx
call fcn.002f3980
mov edi, eax
test edi, edi
js 0x2f40eb
cmp word [esi], 0x3d
jne 0x2f3c76
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov edx, ebx
call fcn.002f31c0
mov edi, eax
test edi, edi
js 0x2f40eb
jmp 0x2f3c76
cmp dword [ebp + 0x14], 0
jne 0x2f3f40
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x18]
push edx
mov edx, 0x20019
mov eax, esi
call fcn.002f36a0
mov ebx, eax
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x2f3f14
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x74]
push 0x104
push eax
call fcn.004391cf
add esp, 0x10
cmp eax, 0x50
ja case.0x2f3f39.115
movzx ecx, byte [eax + 0x2f41a8]
jmp dword [ecx*4 + 0x2f4198]
mov dword [esp + 0x24], 2
mov ebx, dword [esp + 0x24]
jmp 0x2f3f0d
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.002f3980
mov edi, eax
test edi, edi
js 0x2f40eb
mov ecx, dword [esp + 0x14]
mov edi, esi
call fcn.002f3580
mov edi, eax
test edi, edi
js 0x2f40eb
cmp word [esi], 0x7b
jne 0x2f3fc6
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x2f3fc6
mov ebx, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebx
push 0
push edx
push esi
call fcn.002f3ae0
mov edi, eax
test edi, edi
jns 0x2f3fad
test ebx, ebx
je 0x2f40eb
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.002f3980
mov edi, eax
test edi, edi
js 0x2f40eb
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x68]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x2f3cbc
test ebx, ebx
je 0x2f3ff0
test eax, eax
jne 0x2f3cbc
mov eax, ebx
call fcn.002f3940
mov edi, eax
jmp 0x2f40eb
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x2f4030
mov ecx, ebx
call fcn.002f3830
test eax, eax
je 0x2f4030
lea ebx, [esp + 0x6c]
call fcn.002f35f0
test eax, eax
je 0x2f3cbc
cmp dword [esp + 0x38], 0
je 0x2f3cbc
mov eax, ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.002f3710
jmp 0x2f3cbc
mov ecx, ebx
call fcn.002f3830
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], 0
test ebx, ebx
je 0x2f405a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
test ebx, ebx
jne 0x2f4169
cmp dword [esp + 0x38], ebx
je 0x2f3cbc
cmp dword [esp + 0x64], ebx
jne 0x2f3cbc
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea ebx, [esp + 0x6c]
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], ecx
call fcn.002f3890
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
cmp eax, ecx
jne 0x2f417b
lea esi, [esp + 0x3c]
call fcn.002f3870
mov esi, dword [esp + 0x60]
jmp 0x2f3cbc
lea esi, [esp + 0x2c]
call fcn.002f3870
lea esi, [esp + 0x18]
call fcn.002f3870
mov eax, 0x80020009
jmp 0x2f40fc
lea esi, [esp + 0x2c]
call fcn.002f3870
mov eax, dword [esp + 0x18]
test eax, eax
je 0x2f40fa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x2280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2268]
xor ecx, esp
call fcn.00438a41
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x48]
call fcn.002f3870
lea esi, [esp + 0x18]
call fcn.002f3870
jmp 0x2f40fa
call fcn.002f3940
mov edi, eax
lea esi, [esp + 0x54]
jmp 0x2f40e6
lea esi, [esp + 0x18]
call fcn.002f3870
mov eax, edi
call fcn.002f3940
jmp 0x2f40fc
push 0x8007000e
call fcn.002f4db0
push 0x80070057
call fcn.002f4db0
lea esi, [esp + 0x18]
call fcn.002f3870
mov eax, ebx
call fcn.002f3940
jmp 0x2f40fc
call fcn.002f3940
mov edi, eax
lea esi, [esp + 0x3c]
jmp 0x2f40e6
push 0x80004005
call fcn.002f4db0
lea ecx, [ecx]
dec esi
aas
das
add byte [ebp + 0x41], dl
das
add byte [edi + 0x41], bl
das
add byte [ebx + 0x2f41], cl
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3