Function at 0x6d2c771a
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x1158
call fcn.6d2d9470
mov eax, dword [0x6d2e54cc]
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.6d2c6260
mov esi, eax
cmp esi, ebp
jl 0x6d2c78c2
cmp byte [edi], 0x7d
je 0x6d2c78c0
jmp 0x6d2c7354
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 0x6d2c7383
test ebp, ebp
je 0x6d2c74ab
push edi
mov ecx, ebx
call fcn.6d2c6260
mov esi, eax
test esi, esi
js 0x6d2c78b1
xor eax, eax
cmp dword [esp + 0x1174], eax
je 0x6d2c74ab
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 0x6d2c73d8
mov esi, dword [sym.imp.USER32.dll_CharNextA]
mov edi, edi
cmp cl, 0x5c
je 0x6d2c73d0
push eax
call esi
mov cl, byte [eax]
test cl, cl
jne 0x6d2c73c0
jmp 0x6d2c73d8
test eax, eax
jne 0x6d2c788f
mov esi, 0x6d2db614
lea ecx, [ecx]
mov edx, dword [esi]
push edx
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
je 0x6d2c7423
add esi, 4
cmp esi, 0x6d2db644
jl 0x6d2c73e0
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.6d2c4e00
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
jmp 0x6d2c7425
xor esi, esi
cmp ebp, esi
je 0x6d2c74a7
push edi
mov ecx, ebx
call fcn.6d2c6260
mov esi, eax
test esi, esi
js 0x6d2c78a8
push edi
mov ecx, ebx
call fcn.6d2c6420
mov esi, eax
test esi, esi
js 0x6d2c78a8
mov dword [esp + 0x24], 0
cmp byte [edi], 0x7b
jne 0x6d2c7499
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp eax, 1
jne 0x6d2c7499
mov ecx, dword [esp + 0x1174]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
push edi
mov ecx, ebx
call fcn.6d2c72e0
mov esi, eax
test esi, esi
js 0x6d2c78b1
push edi
mov ecx, ebx
call fcn.6d2c6260
mov esi, eax
test esi, esi
js 0x6d2c78b1
cmp byte [edi], 0x7d
jne 0x6d2c7350
jmp 0x6d2c78b1
mov dword [esp + 0x24], esi
push str.NoRemove
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x6d2c74d1
push edi
mov ecx, ebx
mov dword [esp + 0x30], eax
call fcn.6d2c6260
mov esi, eax
test esi, esi
js 0x6d2c78b1
push 0x6d2db5e0
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x6d2c75e9
lea ecx, [esp + 0x164]
push ecx
mov ecx, ebx
call fcn.6d2c6260
mov esi, eax
test esi, esi
js 0x6d2c78b1
push edi
mov ecx, ebx
call fcn.6d2c6260
mov esi, eax
test esi, esi
js 0x6d2c78b1
cmp byte [edi], 0x3d
jne 0x6d2c7898
xor ebp, ebp
cmp dword [esp + 0x1174], ebp
je 0x6d2c7568
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.6d2c6f90
mov esi, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
cmp esi, ebp
jl 0x6d2c78dd
mov dword [esp + 0x38], ebp
jmp 0x6d2c7455
cmp dword [esp + 0x1178], ebp
jne 0x6d2c75d2
cmp dword [esp + 0x2c], ebp
je 0x6d2c75d2
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.6d2c2d40
cmp eax, ebp
jne 0x6d2c78f1
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x164]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebp
je 0x6d2c75bf
cmp eax, 2
jne 0x6d2c78f1
cmp esi, ebp
je 0x6d2c75ce
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.6d2c6420
mov esi, eax
cmp esi, ebp
jl 0x6d2c78b1
jmp 0x6d2c7499
mov cl, byte [edi]
mov eax, edi
test cl, cl
je 0x6d2c760f
mov esi, dword [sym.imp.USER32.dll_CharNextA]
cmp cl, 0x5c
je 0x6d2c7607
push eax
call esi
mov cl, byte [eax]
test cl, cl
jne 0x6d2c75f7
jmp 0x6d2c760f
test eax, eax
jne 0x6d2c7898
cmp dword [esp + 0x1174], 0
je 0x6d2c76ac
mov ecx, dword [esp + 0x10]
push 0x2001f
push edi
push ecx
lea ecx, [esp + 0x20]
call fcn.6d2c2d40
test eax, eax
je 0x6d2c7673
mov edx, dword [esp + 0x10]
push 0x20019
push edi
push edx
lea ecx, [esp + 0x20]
call fcn.6d2c2d40
test eax, eax
je 0x6d2c7673
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.6d2c3d80
mov esi, eax
test esi, esi
jne 0x6d2c7902
push edi
mov ecx, ebx
call fcn.6d2c6260
mov esi, eax
test esi, esi
js 0x6d2c78b1
cmp byte [edi], 0x3d
jne 0x6d2c7455
push edi
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.6d2c6f90
mov esi, eax
test esi, esi
js 0x6d2c78b1
jmp 0x6d2c7455
cmp dword [esp + 0x1178], 0
jne 0x6d2c770c
mov edx, dword [esp + 0x10]
push 0x20019
push edi
push edx
lea ecx, [esp + 0x20]
call fcn.6d2c2d40
mov ebp, eax
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x6d2c76df
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.0x6d2c7705.103
movzx ecx, byte [eax + 0x6d2c796c]
jmp dword [ecx*4 + 0x6d2c795c]
mov dword [esp + 0x30], 2
mov ebp, dword [esp + 0x30]
jmp 0x6d2c76d4
push edi
mov ecx, ebx
call fcn.6d2c6260
mov esi, eax
test esi, esi
js 0x6d2c78b1
push edi
mov ecx, ebx
call fcn.6d2c6420
mov esi, eax
test esi, esi
js 0x6d2c78b1
cmp byte [edi], 0x7b
jne 0x6d2c778a
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp eax, 1
jne 0x6d2c778a
mov ebp, dword [esp + 0x1178]
mov edx, dword [esp + 0x14]
push ebp
push 0
push edx
push edi
mov ecx, ebx
call fcn.6d2c72e0
mov esi, eax
test esi, esi
jns 0x6d2c7774
test ebp, ebp
je 0x6d2c78b1
push edi
mov ecx, ebx
call fcn.6d2c6260
mov esi, eax
test esi, esi
js 0x6d2c78b1
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1178], eax
cmp ebp, 2
je 0x6d2c7499
test ebp, ebp
je 0x6d2c77ba
test eax, eax
jne 0x6d2c7499
push ebp
call fcn.6d2c5e60
add esp, 4
mov esi, eax
jmp 0x6d2c78b1
test eax, eax
je 0x6d2c7800
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebx
call fcn.6d2c63d0
test eax, eax
je 0x6d2c7800
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
call fcn.6d2c6390
test eax, eax
je 0x6d2c7499
cmp dword [esp + 0x2c], 0
je 0x6d2c7499
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x18]
call fcn.6d2c4e00
jmp 0x6d2c7499
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
push eax
call fcn.6d2c63d0
xor ebp, ebp
mov ebx, eax
cmp dword [esp + 0x14], ebp
je 0x6d2c782d
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 0x6d2c792a
cmp dword [esp + 0x2c], ebp
je 0x6d2c7499
test ebx, ebx
jne 0x6d2c7499
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.6d2c3d00
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
cmp eax, ebx
jne 0x6d2c793e
lea ecx, [esp + 0x4c]
call fcn.6d2c31a0
jmp 0x6d2c7499
lea ecx, [esp + 0x20]
call fcn.6d2c31a0
lea ecx, [esp + 0x14]
call fcn.6d2c31a0
mov eax, 0x80020009
jmp 0x6d2c78c2
lea ecx, [esp + 0x20]
call fcn.6d2c31a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6d2c78c0
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.6d2d932c
add esp, 0x1158
ret 0x10
lea ecx, [esp + 0x34]
call fcn.6d2c31a0
lea ecx, [esp + 0x14]
call fcn.6d2c31a0
jmp 0x6d2c78c0
push eax
call fcn.6d2c5e60
add esp, 4
mov esi, eax
lea ecx, [esp + 0x40]
jmp 0x6d2c78ac
lea ecx, [esp + 0x14]
call fcn.6d2c31a0
push esi
call fcn.6d2c5e60
add esp, 4
jmp 0x6d2c78c2
push 0x8007000e
call fcn.6d2c1d60
push 0x80070057
call fcn.6d2c1d60
lea ecx, [esp + 0x14]
call fcn.6d2c31a0
push ebp
call fcn.6d2c5e60
add esp, 4
jmp 0x6d2c78c2
push eax
call fcn.6d2c5e60
add esp, 4
mov esi, eax
lea ecx, [esp + 0x4c]
jmp 0x6d2c78ac
push 0x80004005
call fcn.6d2c1d60
sbb dh, byte [edi + 0x2c]
insd dword es:[edi], dx
push ss
jns 1831631247
insd dword es:[edi], dx
and byte [ecx + 0x2c], bh
insd dword es:[edi], dx
push edx
jns 1831631255
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
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