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

Disassembly:
push ebp
lea ebp, [esp - 0x1108]
mov eax, 0x1108
call fcn.6d7b89f0
push 0xffffffffffffffff
push 0x6d7e092f
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x1104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1114]
mov edi, dword [ebp + 0x1110]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 0x111c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x50], eax
jmp 0x6d7a5d8e
push 0x6d7e3490
push edi
mov dword [ebp - 0x34], 1
call dword [sym.imp.kernel32.dll_lstrcmpiA]
neg eax
sbb esi, esi
push 0x6d7e3470
inc esi
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
je 0x6d7a5986
cmp esi, ebx
je 0x6d7a5a2b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.6d7bc5e3
mov esi, eax
cmp esi, ebx
jl 0x6d7a5df4
cmp dword [ebp + 0x1118], ebx
je 0x6d7a5a2b
push 0x5c
push edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.6d7a4671
pop ecx
pop ecx
test eax, eax
jne 0x6d7a5da5
mov ecx, dword [ebp - 0x10]
push edi
call fcn.6d7a47d6
test eax, eax
je 0x6d7a59eb
mov eax, dword [ebp - 0x18]
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.6d7a4b91
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
je 0x6d7a5a23
mov ecx, dword [ebp - 0x10]
push edi
call fcn.6d7bc5e3
mov esi, eax
cmp esi, ebx
jl 0x6d7a5db4
mov ecx, dword [ebp - 0x10]
push edi
call fcn.6d7bc5e3
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.6d7a4310
cmp esi, ebx
jl 0x6d7a5df4
jmp 0x6d7a5d59
lea ecx, [ebp - 0x30]
call fcn.6d7a4310
push 0x6d7e3480
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x6d7a5a51
mov ecx, dword [ebp - 0x10]
push edi
mov dword [ebp - 0x34], ebx
call fcn.6d7bc5e3
mov esi, eax
cmp esi, ebx
jl 0x6d7a5df4
push 0x6d7e3468
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x6d7a5b3d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.6d7bc5e3
mov esi, eax
cmp esi, ebx
jl 0x6d7a5df4
mov ecx, dword [ebp - 0x10]
push edi
call fcn.6d7bc5e3
mov esi, eax
cmp esi, ebx
jl 0x6d7a5df4
cmp byte [edi], 0x3d
jne 0x6d7a5dad
cmp dword [ebp + 0x1118], ebx
je 0x6d7a5ade
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.6d7a5539
mov esi, eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
lea ecx, [ebp - 0x40]
cmp esi, ebx
jl 0x6d7a5def
mov byte [ebp - 4], bl
jmp 0x6d7a5d54
cmp dword [ebp + 0x111c], ebx
jne 0x6d7a5b2f
cmp dword [ebp - 0x34], ebx
je 0x6d7a5b2f
push 0x20006
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.6d7bc5e3
cmp eax, ebx
jne 0x6d7a5db9
lea eax, [ebp]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x6d7a5b27
cmp eax, 2
jne 0x6d7a5db9
lea ecx, [ebp - 0x4c]
call fcn.6d7a4310
mov ecx, dword [ebp - 0x10]
push edi
call fcn.6d7bc5e3
jmp 0x6d7a5d94
push 0x5c
push edi
call fcn.6d7a4671
pop ecx
pop ecx
test eax, eax
jne 0x6d7a5dad
cmp dword [ebp + 0x1118], ebx
je 0x6d7a5bce
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.6d7bc5e3
test eax, eax
je 0x6d7a5b9d
push 0x20019
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.6d7bc5e3
test eax, eax
je 0x6d7a5b9d
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.6d7bc5e3
mov esi, eax
cmp esi, ebx
jne 0x6d7a5dc5
mov ecx, dword [ebp - 0x10]
push edi
call fcn.6d7bc5e3
mov esi, eax
cmp esi, ebx
jl 0x6d7a5df4
cmp byte [edi], 0x3d
jne 0x6d7a5d59
mov ecx, dword [ebp - 0x10]
push edi
push ebx
lea eax, [ebp - 0x24]
push eax
call fcn.6d7a5539
mov esi, eax
jmp 0x6d7a5a16
cmp dword [ebp + 0x111c], ebx
jne 0x6d7a5bec
push 0x20019
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.6d7bc5e3
mov dword [ebp - 0x14], eax
jmp 0x6d7a5bf3
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x14], ebx
je 0x6d7a5c02
mov dword [ebp + 0x111c], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x1000]
push 0x104
push eax
call fcn.6d7bc5e3
push eax
call fcn.6d7a4031
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.6d7bc5e3
mov esi, eax
cmp esi, ebx
jl 0x6d7a5df4
mov ecx, dword [ebp - 0x10]
push edi
call fcn.6d7bc5e3
mov esi, eax
cmp esi, ebx
jl 0x6d7a5df4
cmp byte [edi], 0x7b
jne 0x6d7a5c8e
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp eax, 1
jne 0x6d7a5c8e
push dword [ebp + 0x111c]
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp - 0x24]
push edi
call fcn.6d7a58e8
mov esi, eax
cmp esi, ebx
jge 0x6d7a5c7b
cmp dword [ebp + 0x111c], ebx
je 0x6d7a5df4
mov ecx, dword [ebp - 0x10]
push edi
call fcn.6d7bc5e3
mov esi, eax
cmp esi, ebx
jl 0x6d7a5df4
cmp dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x50]
mov dword [ebp + 0x111c], eax
je 0x6d7a5d9a
cmp dword [ebp - 0x14], ebx
je 0x6d7a5cbe
cmp eax, ebx
jne 0x6d7a5d9a
push dword [ebp - 0x14]
call fcn.6d7a40c6
pop ecx
mov esi, eax
jmp 0x6d7a5df4
cmp eax, ebx
je 0x6d7a5d05
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.6d7bc5e3
test eax, eax
je 0x6d7a5d05
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x1000]
push eax
call fcn.6d7a47d6
test eax, eax
je 0x6d7a5d9a
cmp dword [ebp - 0x34], ebx
je 0x6d7a5d9a
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp - 0x24]
call fcn.6d7a4b91
jmp 0x6d7a5d9a
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.6d7bc5e3
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x54], eax
call fcn.6d7a4310
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x6d7a5dd6
cmp dword [ebp - 0x34], ebx
je 0x6d7a5d9a
cmp dword [ebp - 0x54], ebx
jne 0x6d7a5d9a
lea eax, [ebp + 0x1000]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
cmp eax, ebx
jne 0x6d7a5de3
lea ecx, [ebp - 0x60]
call fcn.6d7a4310
cmp dword [ebp + 0x1118], ebx
je 0x6d7a5d9a
cmp byte [edi], 0x7b
jne 0x6d7a5d9a
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp eax, 1
jne 0x6d7a5d9a
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp + 0x1118]
push dword [ebp - 0x24]
push edi
call fcn.6d7a58e8
mov esi, eax
cmp esi, ebx
jl 0x6d7a5df4
mov ecx, dword [ebp - 0x10]
push edi
call fcn.6d7bc5e3
mov esi, eax
cmp esi, ebx
jl 0x6d7a5df4
cmp byte [edi], 0x7d
jne 0x6d7a5953
jmp 0x6d7a5df4
lea ecx, [ebp - 0x30]
call fcn.6d7a4310
mov esi, 0x80020009
jmp 0x6d7a5df4
lea ecx, [ebp - 0x30]
jmp 0x6d7a5def
push eax
call fcn.6d7a40c6
pop ecx
lea ecx, [ebp - 0x4c]
jmp 0x6d7a5ded
lea ecx, [ebp - 0x24]
call fcn.6d7a4310
push esi
call fcn.6d7a40c6
pop ecx
jmp 0x6d7a5dfe
lea ecx, [ebp - 0x24]
call fcn.6d7a4310
push dword [ebp - 0x14]
jmp 0x6d7a5dce
push eax
call fcn.6d7a40c6
pop ecx
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.6d7a4310
lea ecx, [ebp - 0x24]
call fcn.6d7a4310
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1104]
xor ecx, ebp
call fcn.6d7b886c
add ebp, 0x1108
leave
ret 0x10