Function at 0x6d1b771a
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x1158
call fcn.6d1c9470
mov eax, dword [0x6d1d54cc]
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.6d1b6260
mov esi, eax
cmp esi, ebp
jl 0x6d1b78c2
cmp byte [edi], 0x7d
je 0x6d1b78c0
jmp 0x6d1b7354
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 0x6d1b7383
test ebp, ebp
je 0x6d1b74ab
push edi
mov ecx, ebx
call fcn.6d1b6260
mov esi, eax
test esi, esi
js 0x6d1b78b1
xor eax, eax
cmp dword [esp + 0x1174], eax
je 0x6d1b74ab
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 0x6d1b73d8
mov esi, dword [sym.imp.USER32.dll_CharNextA]
mov edi, edi
cmp cl, 0x5c
je 0x6d1b73d0
push eax
call esi
mov cl, byte [eax]
test cl, cl
jne 0x6d1b73c0
jmp 0x6d1b73d8
test eax, eax
jne 0x6d1b788f
mov esi, 0x6d1cb614
lea ecx, [ecx]
mov edx, dword [esi]
push edx
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
je 0x6d1b7423
add esi, 4
cmp esi, 0x6d1cb644
jl 0x6d1b73e0
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.6d1b4e00
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
jmp 0x6d1b7425
xor esi, esi
cmp ebp, esi
je 0x6d1b74a7
push edi
mov ecx, ebx
call fcn.6d1b6260
mov esi, eax
test esi, esi
js 0x6d1b78a8
push edi
mov ecx, ebx
call fcn.6d1b6420
mov esi, eax
test esi, esi
js 0x6d1b78a8
mov dword [esp + 0x24], 0
cmp byte [edi], 0x7b
jne 0x6d1b7499
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp eax, 1
jne 0x6d1b7499
mov ecx, dword [esp + 0x1174]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
push edi
mov ecx, ebx
call fcn.6d1b72e0
mov esi, eax
test esi, esi
js 0x6d1b78b1
push edi
mov ecx, ebx
call fcn.6d1b6260
mov esi, eax
test esi, esi
js 0x6d1b78b1
cmp byte [edi], 0x7d
jne 0x6d1b7350
jmp 0x6d1b78b1
mov dword [esp + 0x24], esi
push str.NoRemove
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x6d1b74d1
push edi
mov ecx, ebx
mov dword [esp + 0x30], eax
call fcn.6d1b6260
mov esi, eax
test esi, esi
js 0x6d1b78b1
push 0x6d1cb5e0
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x6d1b75e9
lea ecx, [esp + 0x164]
push ecx
mov ecx, ebx
call fcn.6d1b6260
mov esi, eax
test esi, esi
js 0x6d1b78b1
push edi
mov ecx, ebx
call fcn.6d1b6260
mov esi, eax
test esi, esi
js 0x6d1b78b1
cmp byte [edi], 0x3d
jne 0x6d1b7898
xor ebp, ebp
cmp dword [esp + 0x1174], ebp
je 0x6d1b7568
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.6d1b6f90
mov esi, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
cmp esi, ebp
jl 0x6d1b78dd
mov dword [esp + 0x38], ebp
jmp 0x6d1b7455
cmp dword [esp + 0x1178], ebp
jne 0x6d1b75d2
cmp dword [esp + 0x2c], ebp
je 0x6d1b75d2
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.6d1b2d40
cmp eax, ebp
jne 0x6d1b78f1
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x164]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebp
je 0x6d1b75bf
cmp eax, 2
jne 0x6d1b78f1
cmp esi, ebp
je 0x6d1b75ce
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.6d1b6420
mov esi, eax
cmp esi, ebp
jl 0x6d1b78b1
jmp 0x6d1b7499
mov cl, byte [edi]
mov eax, edi
test cl, cl
je 0x6d1b760f
mov esi, dword [sym.imp.USER32.dll_CharNextA]
cmp cl, 0x5c
je 0x6d1b7607
push eax
call esi
mov cl, byte [eax]
test cl, cl
jne 0x6d1b75f7
jmp 0x6d1b760f
test eax, eax
jne 0x6d1b7898
cmp dword [esp + 0x1174], 0
je 0x6d1b76ac
mov ecx, dword [esp + 0x10]
push 0x2001f
push edi
push ecx
lea ecx, [esp + 0x20]
call fcn.6d1b2d40
test eax, eax
je 0x6d1b7673
mov edx, dword [esp + 0x10]
push 0x20019
push edi
push edx
lea ecx, [esp + 0x20]
call fcn.6d1b2d40
test eax, eax
je 0x6d1b7673
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.6d1b3d80
mov esi, eax
test esi, esi
jne 0x6d1b7902
push edi
mov ecx, ebx
call fcn.6d1b6260
mov esi, eax
test esi, esi
js 0x6d1b78b1
cmp byte [edi], 0x3d
jne 0x6d1b7455
push edi
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.6d1b6f90
mov esi, eax
test esi, esi
js 0x6d1b78b1
jmp 0x6d1b7455
cmp dword [esp + 0x1178], 0
jne 0x6d1b770c
mov edx, dword [esp + 0x10]
push 0x20019
push edi
push edx
lea ecx, [esp + 0x20]
call fcn.6d1b2d40
mov ebp, eax
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x6d1b76df
mov dword [esp + 0x1178], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x68]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_strncpy_s]
add esp, 0x10
cmp eax, 0x50
ja case.0x6d1b7705.103
movzx ecx, byte [eax + 0x6d1b796c]
jmp dword [ecx*4 + 0x6d1b795c]
mov dword [esp + 0x30], 2
mov ebp, dword [esp + 0x30]
jmp 0x6d1b76d4
push edi
mov ecx, ebx
call fcn.6d1b6260
mov esi, eax
test esi, esi
js 0x6d1b78b1
push edi
mov ecx, ebx
call fcn.6d1b6420
mov esi, eax
test esi, esi
js 0x6d1b78b1
cmp byte [edi], 0x7b
jne 0x6d1b778a
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp eax, 1
jne 0x6d1b778a
mov ebp, dword [esp + 0x1178]
mov edx, dword [esp + 0x14]
push ebp
push 0
push edx
push edi
mov ecx, ebx
call fcn.6d1b72e0
mov esi, eax
test esi, esi
jns 0x6d1b7774
test ebp, ebp
je 0x6d1b78b1
push edi
mov ecx, ebx
call fcn.6d1b6260
mov esi, eax
test esi, esi
js 0x6d1b78b1
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1178], eax
cmp ebp, 2
je 0x6d1b7499
test ebp, ebp
je 0x6d1b77ba
test eax, eax
jne 0x6d1b7499
push ebp
call fcn.6d1b5e60
add esp, 4
mov esi, eax
jmp 0x6d1b78b1
test eax, eax
je 0x6d1b7800
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebx
call fcn.6d1b63d0
test eax, eax
je 0x6d1b7800
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
call fcn.6d1b6390
test eax, eax
je 0x6d1b7499
cmp dword [esp + 0x2c], 0
je 0x6d1b7499
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x18]
call fcn.6d1b4e00
jmp 0x6d1b7499
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
push eax
call fcn.6d1b63d0
xor ebp, ebp
mov ebx, eax
cmp dword [esp + 0x14], ebp
je 0x6d1b782d
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 0x6d1b792a
cmp dword [esp + 0x2c], ebp
je 0x6d1b7499
test ebx, ebx
jne 0x6d1b7499
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.6d1b3d00
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
cmp eax, ebx
jne 0x6d1b793e
lea ecx, [esp + 0x4c]
call fcn.6d1b31a0
jmp 0x6d1b7499
lea ecx, [esp + 0x20]
call fcn.6d1b31a0
lea ecx, [esp + 0x14]
call fcn.6d1b31a0
mov eax, 0x80020009
jmp 0x6d1b78c2
lea ecx, [esp + 0x20]
call fcn.6d1b31a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6d1b78c0
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.6d1c932c
add esp, 0x1158
ret 0x10
lea ecx, [esp + 0x34]
call fcn.6d1b31a0
lea ecx, [esp + 0x14]
call fcn.6d1b31a0
jmp 0x6d1b78c0
push eax
call fcn.6d1b5e60
add esp, 4
mov esi, eax
lea ecx, [esp + 0x40]
jmp 0x6d1b78ac
lea ecx, [esp + 0x14]
call fcn.6d1b31a0
push esi
call fcn.6d1b5e60
add esp, 4
jmp 0x6d1b78c2
push 0x8007000e
call fcn.6d1b1d60
push 0x80070057
call fcn.6d1b1d60
lea ecx, [esp + 0x14]
call fcn.6d1b31a0
push ebp
call fcn.6d1b5e60
add esp, 4
jmp 0x6d1b78c2
push eax
call fcn.6d1b5e60
add esp, 4
mov esi, eax
lea ecx, [esp + 0x4c]
jmp 0x6d1b78ac
push 0x80004005
call fcn.6d1b1d60
sbb dh, byte [edi + 0x1b]
insd dword es:[edi], dx
push ss
jns 1830517118
insd dword es:[edi], dx
and byte [ecx + 0x1b], bh
insd dword es:[edi], dx
push edx
jns 1830517126
insd dword es:[edi], dx
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [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 [ebx]
add ah, cl
int3