Function at 0x6d8f4f60
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x1158
call fcn.6d8fd130
mov eax, dword [0x6d90dc8c]
xor eax, esp
mov dword [esp + 0x1154], eax
mov eax, dword [esp + 0x1160]
push ebx
push ebp
push esi
mov ebx, ecx
mov ecx, dword [esp + 0x1174]
push edi
mov edi, dword [esp + 0x116c]
xor ebp, ebp
mov dword [esp + 0x5c], ecx
push edi
mov ecx, ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.6d8f2e70
mov esi, eax
cmp esi, ebp
jl 0x6d8f5541
cmp byte [edi], 0x7d
je 0x6d8f553f
jmp 0x6d8f4fd4
mov ebx, dword [esp + 0x58]
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiA]
push str.Delete
push edi
mov dword [esp + 0x34], 1
call esi
neg eax
push str.ForceRemove
sbb ebp, ebp
push edi
inc ebp
call esi
test eax, eax
je 0x6d8f5003
test ebp, ebp
je 0x6d8f512b
push edi
mov ecx, ebx
call fcn.6d8f2e70
mov esi, eax
test esi, esi
js 0x6d8f5530
xor eax, eax
cmp dword [esp + 0x1174], eax
je 0x6d8f512b
mov cl, byte [edi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, edi
test cl, cl
je 0x6d8f5058
mov esi, dword [sym.imp.USER32.dll_CharNextA]
mov edi, edi
cmp cl, 0x5c
je 0x6d8f5050
push eax
call esi
mov cl, byte [eax]
test cl, cl
jne 0x6d8f5040
jmp 0x6d8f5058
test eax, eax
jne 0x6d8f550e
mov esi, 0x6d9063e4
lea ecx, [ecx]
mov edx, dword [esi]
push edx
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
je 0x6d8f50a3
add esi, 4
cmp esi, 0x6d906414
jl 0x6d8f5060
mov eax, dword [esp + 0x10]
xor esi, esi
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.6d8f3450
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
jmp 0x6d8f50a5
xor esi, esi
cmp ebp, esi
je 0x6d8f5127
push edi
mov ecx, ebx
call fcn.6d8f2e70
mov esi, eax
test esi, esi
js 0x6d8f5527
push edi
mov ecx, ebx
call fcn.6d8f3030
mov esi, eax
test esi, esi
js 0x6d8f5527
mov dword [esp + 0x24], 0
cmp byte [edi], 0x7b
jne 0x6d8f5119
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp eax, 1
jne 0x6d8f5119
mov ecx, dword [esp + 0x1174]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
push edi
mov ecx, ebx
call fcn.6d8f4f60
mov esi, eax
test esi, esi
js 0x6d8f5530
push edi
mov ecx, ebx
call fcn.6d8f2e70
mov esi, eax
test esi, esi
js 0x6d8f5530
cmp byte [edi], 0x7d
jne 0x6d8f4fd0
jmp 0x6d8f5530
mov dword [esp + 0x24], esi
push str.NoRemove
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x6d8f5151
push edi
mov ecx, ebx
mov dword [esp + 0x30], eax
call fcn.6d8f2e70
mov esi, eax
test esi, esi
js 0x6d8f5530
push 0x6d9063b0
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x6d8f5269
lea ecx, [esp + 0x164]
push ecx
mov ecx, ebx
call fcn.6d8f2e70
mov esi, eax
test esi, esi
js 0x6d8f5530
push edi
mov ecx, ebx
call fcn.6d8f2e70
mov esi, eax
test esi, esi
js 0x6d8f5530
cmp byte [edi], 0x3d
jne 0x6d8f5517
xor ebp, ebp
cmp dword [esp + 0x1174], ebp
je 0x6d8f51e8
mov edx, dword [esp + 0x10]
push edi
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
call fcn.6d8f4c10
mov esi, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
cmp esi, ebp
jl 0x6d8f555c
mov dword [esp + 0x38], ebp
jmp 0x6d8f50d5
cmp dword [esp + 0x1178], ebp
jne 0x6d8f5252
cmp dword [esp + 0x2c], ebp
je 0x6d8f5252
mov edx, dword [esp + 0x10]
push 0x20006
push ebp
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
call fcn.6d8f2ae0
cmp eax, ebp
jne 0x6d8f5570
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x164]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebp
je 0x6d8f523f
cmp eax, 2
jne 0x6d8f5570
cmp esi, ebp
je 0x6d8f524e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
push edi
mov ecx, ebx
call fcn.6d8f3030
mov esi, eax
cmp esi, ebp
jl 0x6d8f5530
jmp 0x6d8f5119
mov cl, byte [edi]
mov eax, edi
test cl, cl
je 0x6d8f528f
mov esi, dword [sym.imp.USER32.dll_CharNextA]
cmp cl, 0x5c
je 0x6d8f5287
push eax
call esi
mov cl, byte [eax]
test cl, cl
jne 0x6d8f5277
jmp 0x6d8f528f
test eax, eax
jne 0x6d8f5517
cmp dword [esp + 0x1174], 0
je 0x6d8f532c
mov ecx, dword [esp + 0x10]
push 0x2001f
push edi
push ecx
lea ecx, [esp + 0x20]
call fcn.6d8f2ae0
test eax, eax
je 0x6d8f52f3
mov edx, dword [esp + 0x10]
push 0x20019
push edi
push edx
lea ecx, [esp + 0x20]
call fcn.6d8f2ae0
test eax, eax
je 0x6d8f52f3
mov eax, dword [esp + 0x10]
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push eax
lea ecx, [esp + 0x30]
call fcn.6d8f2a30
mov esi, eax
test esi, esi
jne 0x6d8f5581
push edi
mov ecx, ebx
call fcn.6d8f2e70
mov esi, eax
test esi, esi
js 0x6d8f5530
cmp byte [edi], 0x3d
jne 0x6d8f50d5
push edi
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.6d8f4c10
mov esi, eax
test esi, esi
js 0x6d8f5530
jmp 0x6d8f50d5
cmp dword [esp + 0x1178], 0
jne 0x6d8f538b
mov edx, dword [esp + 0x10]
push 0x20019
push edi
push edx
lea ecx, [esp + 0x20]
call fcn.6d8f2ae0
mov ebp, eax
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x6d8f535f
mov dword [esp + 0x1178], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x68]
push 0x104
push eax
call fcn.6d900540
add esp, 0x10
cmp eax, 0x50
ja case.0x6d8f5384.103
movzx ecx, byte [eax + 0x6d8f55ec]
jmp dword [ecx*4 + 0x6d8f55dc]
mov dword [esp + 0x30], 2
mov ebp, dword [esp + 0x30]
jmp 0x6d8f5354
push edi
mov ecx, ebx
call fcn.6d8f2e70
mov esi, eax
test esi, esi
js 0x6d8f5530
push edi
mov ecx, ebx
call fcn.6d8f3030
mov esi, eax
test esi, esi
js 0x6d8f5530
cmp byte [edi], 0x7b
jne 0x6d8f5409
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp eax, 1
jne 0x6d8f5409
mov ebp, dword [esp + 0x1178]
mov edx, dword [esp + 0x14]
push ebp
push 0
push edx
push edi
mov ecx, ebx
call fcn.6d8f4f60
mov esi, eax
test esi, esi
jns 0x6d8f53f3
test ebp, ebp
je 0x6d8f5530
push edi
mov ecx, ebx
call fcn.6d8f2e70
mov esi, eax
test esi, esi
js 0x6d8f5530
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1178], eax
cmp ebp, 2
je 0x6d8f5119
test ebp, ebp
je 0x6d8f5439
test eax, eax
jne 0x6d8f5119
push ebp
call fcn.6d8f27a0
add esp, 4
mov esi, eax
jmp 0x6d8f5530
test eax, eax
je 0x6d8f547f
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebx
call fcn.6d8f2fe0
test eax, eax
je 0x6d8f547f
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
call fcn.6d8f2fa0
test eax, eax
je 0x6d8f5119
cmp dword [esp + 0x2c], 0
je 0x6d8f5119
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x18]
call fcn.6d8f3450
jmp 0x6d8f5119
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
push eax
call fcn.6d8f2fe0
xor ebp, ebp
mov ebx, eax
cmp dword [esp + 0x14], ebp
je 0x6d8f54ac
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
test ebp, ebp
jne 0x6d8f55a9
cmp dword [esp + 0x2c], ebp
je 0x6d8f5119
test ebx, ebx
jne 0x6d8f5119
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.6d8f2980
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
cmp eax, ebx
jne 0x6d8f55bd
lea ecx, [esp + 0x4c]
call fcn.6d8f3430
jmp 0x6d8f5119
lea ecx, [esp + 0x20]
call fcn.6d8f3430
lea ecx, [esp + 0x14]
call fcn.6d8f3430
mov eax, 0x80020009
jmp 0x6d8f5541
lea ecx, [esp + 0x20]
call fcn.6d8f3430
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6d8f553f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x1164]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d8fca24
add esp, 0x1158
ret 0x10
lea ecx, [esp + 0x34]
call fcn.6d8f3430
lea ecx, [esp + 0x14]
call fcn.6d8f3430
jmp 0x6d8f553f
push eax
call fcn.6d8f27a0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x40]
jmp 0x6d8f552b
lea ecx, [esp + 0x14]
call fcn.6d8f3430
push esi
call fcn.6d8f27a0
add esp, 4
jmp 0x6d8f5541
push 0x8007000e
call fcn.6d8f1000
push 0x80070057
call fcn.6d8f1000
lea ecx, [esp + 0x14]
call fcn.6d8f3430
push ebp
call fcn.6d8f27a0
add esp, 4
jmp 0x6d8f5541
push eax
call fcn.6d8f27a0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x4c]
jmp 0x6d8f552b
push 0x80004005
call fcn.6d8f1000
nop
cdq
push ebx
invalid