Function at 0x6d59abf0
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x225c
call fcn.6d5ca7f0
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x2258], eax
mov eax, dword [esp + 0x2264]
push ebx
push ebp
push esi
mov ebp, ecx
mov ecx, dword [esp + 0x2278]
push edi
mov edi, dword [esp + 0x2270]
xor ebx, ebx
mov dword [esp + 0x5c], ecx
push edi
mov ecx, ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.6d599d10
mov esi, eax
cmp esi, ebx
jl 0x6d59b1e0
cmp word [edi], 0x7d
je 0x6d59b1de
jmp 0x6d59ac64
mov ebp, dword [esp + 0x58]
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [esp + 0x34], 1
call esi
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x6d59ac93
test ebx, ebx
je 0x6d59adc1
push edi
mov ecx, ebp
call fcn.6d599d10
mov esi, eax
test esi, esi
js 0x6d59b1cf
xor edx, edx
cmp dword [esp + 0x2278], edx
je 0x6d59adc1
movzx ecx, word [edi]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov eax, edi
cmp cx, dx
je 0x6d59aceb
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
je 0x6d59ace3
push eax
call esi
movzx ecx, word [eax]
test cx, cx
jne 0x6d59acd0
jmp 0x6d59aceb
test eax, eax
jne 0x6d59b1ad
mov esi, 0x6d5cd840
mov edx, dword [esi]
push edx
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
je 0x6d59ad33
add esi, 4
cmp esi, 0x6d5cd870
jl 0x6d59acf0
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.6d593d00
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
jmp 0x6d59ad35
xor esi, esi
cmp ebx, esi
je 0x6d59adbd
push edi
mov ecx, ebp
call fcn.6d599d10
mov esi, eax
test esi, esi
js 0x6d59b1c6
push edi
mov ecx, ebp
call fcn.6d599f10
mov esi, eax
test esi, esi
js 0x6d59b1c6
mov dword [esp + 0x24], 0
cmp word [edi], 0x7b
jne 0x6d59adae
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 1
jne 0x6d59adae
mov ecx, dword [esp + 0x2278]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
push edi
mov ecx, ebp
call fcn.6d59abf0
mov esi, eax
test esi, esi
js 0x6d59b1cf
push edi
mov ecx, ebp
call fcn.6d599d10
mov esi, eax
test esi, esi
js 0x6d59b1cf
cmp word [edi], 0x7d
jne 0x6d59ac60
jmp 0x6d59b1cf
mov dword [esp + 0x24], esi
push str.NoRemove
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x6d59ade7
push edi
mov ecx, ebp
mov dword [esp + 0x30], eax
call fcn.6d599d10
mov esi, eax
test esi, esi
js 0x6d59b1cf
push 0x6d5cd808
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x6d59af00
lea ecx, [esp + 0x268]
push ecx
mov ecx, ebp
call fcn.6d599d10
mov esi, eax
test esi, esi
js 0x6d59b1cf
push edi
mov ecx, ebp
call fcn.6d599d10
mov esi, eax
test esi, esi
js 0x6d59b1cf
cmp word [edi], 0x3d
jne 0x6d59b1b6
xor ebx, ebx
cmp dword [esp + 0x2278], ebx
je 0x6d59ae7f
mov edx, dword [esp + 0x10]
push edi
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.6d59a910
mov esi, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
cmp esi, ebx
jl 0x6d59b1fb
mov dword [esp + 0x38], ebx
jmp 0x6d59ad69
cmp dword [esp + 0x227c], ebx
jne 0x6d59aee9
cmp dword [esp + 0x2c], ebx
je 0x6d59aee9
mov edx, dword [esp + 0x10]
push 0x20006
push ebx
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.6d593190
cmp eax, ebx
jne 0x6d59b20f
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x268]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x6d59aed6
cmp eax, 2
jne 0x6d59b20f
cmp esi, ebx
je 0x6d59aee5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
push edi
mov ecx, ebp
call fcn.6d599f10
mov esi, eax
cmp esi, ebx
jl 0x6d59b1cf
jmp 0x6d59adae
movzx ecx, word [edi]
mov eax, edi
test cx, cx
je 0x6d59af2b
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
je 0x6d59af23
push eax
call esi
movzx ecx, word [eax]
test cx, cx
jne 0x6d59af10
jmp 0x6d59af2b
test eax, eax
jne 0x6d59b1b6
cmp dword [esp + 0x2278], 0
je 0x6d59afc9
mov ecx, dword [esp + 0x10]
push 0x2001f
push edi
push ecx
lea ecx, [esp + 0x20]
call fcn.6d593190
test eax, eax
je 0x6d59af8f
mov edx, dword [esp + 0x10]
push 0x20019
push edi
push edx
lea ecx, [esp + 0x20]
call fcn.6d593190
test eax, eax
je 0x6d59af8f
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.6d595db0
mov esi, eax
test esi, esi
jne 0x6d59b220
push edi
mov ecx, ebp
call fcn.6d599d10
mov esi, eax
test esi, esi
js 0x6d59b1cf
cmp word [edi], 0x3d
jne 0x6d59ad69
push edi
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.6d59a910
mov esi, eax
test esi, esi
js 0x6d59b1cf
jmp 0x6d59ad69
cmp dword [esp + 0x227c], 0
jne 0x6d59b029
mov edx, dword [esp + 0x10]
push 0x20019
push edi
push edx
lea ecx, [esp + 0x20]
call fcn.6d593190
mov ebx, eax
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x6d59affc
mov dword [esp + 0x227c], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x68]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
add esp, 0x10
cmp eax, 0x50
ja case.0x6d59b022.103
movzx ecx, byte [eax + 0x6d59b28c]
jmp dword [ecx*4 + 0x6d59b27c]
mov dword [esp + 0x30], 2
mov ebx, dword [esp + 0x30]
jmp 0x6d59aff1
push edi
mov ecx, ebp
call fcn.6d599d10
mov esi, eax
test esi, esi
js 0x6d59b1cf
push edi
mov ecx, ebp
call fcn.6d599f10
mov esi, eax
test esi, esi
js 0x6d59b1cf
cmp word [edi], 0x7b
jne 0x6d59b0a8
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 1
jne 0x6d59b0a8
mov ebx, dword [esp + 0x227c]
mov edx, dword [esp + 0x14]
push ebx
push 0
push edx
push edi
mov ecx, ebp
call fcn.6d59abf0
mov esi, eax
test esi, esi
jns 0x6d59b092
test ebx, ebx
je 0x6d59b1cf
push edi
mov ecx, ebp
call fcn.6d599d10
mov esi, eax
test esi, esi
js 0x6d59b1cf
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x227c], eax
cmp ebx, 2
je 0x6d59adae
test ebx, ebx
je 0x6d59b0d8
test eax, eax
jne 0x6d59adae
push ebx
call fcn.6d5998c0
add esp, 4
mov esi, eax
jmp 0x6d59b1cf
test eax, eax
je 0x6d59b11e
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebp
call fcn.6d599ec0
test eax, eax
je 0x6d59b11e
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebp
call fcn.6d599e80
test eax, eax
je 0x6d59adae
cmp dword [esp + 0x2c], 0
je 0x6d59adae
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x18]
call fcn.6d593d00
jmp 0x6d59adae
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
push eax
call fcn.6d599ec0
xor ebx, ebx
mov ebp, eax
cmp dword [esp + 0x14], ebx
je 0x6d59b14b
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
test ebx, ebx
jne 0x6d59b248
cmp dword [esp + 0x2c], ebx
je 0x6d59adae
test ebp, ebp
jne 0x6d59adae
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.6d5930e0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
cmp eax, ebx
jne 0x6d59b25c
lea ecx, [esp + 0x4c]
call fcn.6d593ce0
jmp 0x6d59adae
lea ecx, [esp + 0x20]
call fcn.6d593ce0
lea ecx, [esp + 0x14]
call fcn.6d593ce0
mov eax, 0x80020009
jmp 0x6d59b1e0
lea ecx, [esp + 0x20]
call fcn.6d593ce0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6d59b1de
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x2268]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x225c
ret 0x10
lea ecx, [esp + 0x34]
call fcn.6d593ce0
lea ecx, [esp + 0x14]
call fcn.6d593ce0
jmp 0x6d59b1de
push eax
call fcn.6d5998c0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x40]
jmp 0x6d59b1ca
lea ecx, [esp + 0x14]
call fcn.6d593ce0
push esi
call fcn.6d5998c0
add esp, 4
jmp 0x6d59b1e0
push 0x8007000e
call fcn.6d595d00
invalid
push 0x80070057
call fcn.6d595d00
lea ecx, [esp + 0x14]
call fcn.6d593ce0
push ebx
call fcn.6d5998c0
add esp, 4
jmp 0x6d59b1e0
push eax
call fcn.6d5998c0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x4c]
jmp 0x6d59b1ca
push 0x80004005
call fcn.6d595d00
mov edi, edi
aaa
mov al, 89
insd dword es:[edi], dx
xor al, 0xb2
pop ecx
insd dword es:[edi], dx
mov dl, 0x59
insd dword es:[edi], dx
jo 0x6d59b23c
pop ecx
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