Function at 0x46a290
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4566
mov eax, dword fs:[0]
push eax
mov eax, 0x1158
call fcn.004ed940
mov eax, dword [0x643004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x115c], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
movq qword [ebp - 0x1158], xmm0
mov dword [ebp - 0x1150], 0
mov dword [ebp - 0x1160], ecx
mov dword [ebp - 0x1158], 0
mov dword [ebp - 0x1154], 0
mov dword [ebp - 0x1150], 0
push edi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004694f0
mov esi, eax
test esi, esi
js 0x46aa67
cmp byte [edi], 0x7d
je 0x46aa54
nop dword [eax + eax]
push str.Delete
push edi
mov dword [ebp - 0x114c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x46a363
test ebx, ebx
je 0x46a48b
mov ecx, dword [ebp - 0x115c]
push edi
call fcn.004694f0
mov esi, eax
test esi, esi
js 0x46aa54
cmp dword [ebp + 0x10], 0
je 0x46a48b
mov al, byte [edi]
xorps xmm0, xmm0
movq qword [ebp - 0x1120], xmm0
mov ecx, edi
mov dword [ebp - 0x1118], 0
mov dword [ebp - 0x1120], 0
mov dword [ebp - 0x111c], 0
mov dword [ebp - 0x1118], 0
test al, al
je 0x46a3dd
nop
cmp al, 0x5c
je 0x46a3d5
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x46a3c0
jmp 0x46a3dd
test ecx, ecx
jne 0x46aa44
mov esi, 0x62f830
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x46a444
add esi, 4
cmp esi, 0x62f860
jl 0x46a3e2
mov eax, dword [ebp - 0x1160]
lea ecx, [ebp - 0x1120]
push edi
mov dword [ebp - 0x1120], eax
mov dword [ebp - 0x111c], 0
mov dword [ebp - 0x1118], 0
call fcn.00467f60
mov dword [ebp - 0x1120], 0
mov dword [ebp - 0x111c], 0
mov dword [ebp - 0x1118], 0
test ebx, ebx
je 0x46a481
mov ebx, dword [ebp - 0x115c]
mov ecx, ebx
push edi
call fcn.004694f0
mov esi, eax
test esi, esi
js 0x46aa54
push edi
mov ecx, ebx
call fcn.00469d10
mov esi, eax
test esi, esi
js 0x46aa54
mov dword [ebp - 0x111c], 0
jmp 0x46a7d1
mov dword [ebp - 0x111c], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, dword [ebp - 0x115c]
test eax, eax
jne 0x46a4b9
push edi
mov ecx, ebx
mov dword [ebp - 0x114c], eax
call fcn.004694f0
mov esi, eax
test esi, esi
js 0x46aa54
push 0x62ecf0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x46a65b
lea eax, [ebp - 0x1114]
mov ecx, ebx
push eax
call fcn.004694f0
mov esi, eax
test esi, esi
js 0x46aa54
push edi
mov ecx, ebx
call fcn.004694f0
mov esi, eax
test esi, esi
js 0x46aa54
cmp byte [edi], 0x3d
jne 0x46aa44
cmp dword [ebp + 0x10], 0
je 0x46a594
xorps xmm0, xmm0
mov dword [ebp - 0x1124], 0
movq qword [ebp - 0x112c], xmm0
mov eax, dword [ebp - 0x1160]
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x112c], eax
lea eax, [ebp - 0x1114]
push edi
push eax
lea eax, [ebp - 0x112c]
mov dword [ebp - 0x1128], 0
push eax
mov dword [ebp - 0x1124], 0
call fcn.00469660
mov esi, eax
mov dword [ebp - 0x112c], 0
mov dword [ebp - 0x1128], 0
mov dword [ebp - 0x1124], 0
test esi, esi
js 0x46aa54
mov byte [ebp - 4], 0
mov dword [ebp - 0x1128], 0
jmp 0x46a7d1
cmp dword [ebp + 0x14], 0
jne 0x46a644
cmp dword [ebp - 0x114c], 0
je 0x46a644
push 0x20006
push 0
push dword [ebp - 0x1160]
xorps xmm0, xmm0
mov dword [ebp - 0x113c], 0
movq qword [ebp - 0x1144], xmm0
lea ecx, [ebp - 0x1144]
mov dword [ebp - 0x1144], 0
mov dword [ebp - 0x1140], 0
mov dword [ebp - 0x113c], 0
call fcn.00467da0
test eax, eax
jne 0x46aa28
mov ebx, dword [ebp - 0x1144]
lea eax, [ebp - 0x1114]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x46a61f
cmp eax, 2
jne 0x46aa12
test ebx, ebx
je 0x46a634
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1144], 0
mov ebx, dword [ebp - 0x115c]
mov dword [ebp - 0x1140], 0
push edi
mov ecx, ebx
call fcn.00469d10
mov esi, eax
test esi, esi
js 0x46aa54
jmp 0x46aa07
mov al, byte [edi]
mov ecx, edi
test al, al
je 0x46a680
cmp al, 0x5c
je 0x46a678
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x46a663
jmp 0x46a680
test ecx, ecx
jne 0x46aa44
cmp dword [ebp + 0x10], 0
je 0x46a826
mov esi, dword [ebp - 0x1160]
lea ecx, [ebp - 0x1158]
push 0x2001f
push edi
push esi
call fcn.00467da0
test eax, eax
je 0x46a79f
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x1158]
call fcn.00467da0
test eax, eax
je 0x46a79f
mov esi, dword [ebp - 0x1150]
mov dword [ebp - 0x114c], 0
test esi, esi
je 0x46a73a
cmp dword [esi], 0
je 0x46a72d
push 0x62fa78
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x46a6f3
mov eax, 1
jmp 0x46a762
push str.RegCreateKeyTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46a733
push 0
push dword [esi]
lea ecx, [ebp - 0x1148]
push ecx
lea ecx, [ebp - 0x114c]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push dword [ebp - 0x1160]
call eax
jmp 0x46a762
cmp dword [esi + 4], 0
jne 0x46a73a
mov eax, 1
jmp 0x46a762
lea eax, [ebp - 0x1148]
push eax
lea eax, [ebp - 0x114c]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push dword [ebp - 0x1160]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x46aa4b
mov ecx, dword [ebp - 0x1158]
test ecx, ecx
je 0x46a77b
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x114c]
mov dword [ebp - 0x1158], ebx
mov dword [ebp - 0x1154], 0
test eax, eax
jne 0x46aa4b
mov ebx, dword [ebp - 0x115c]
push edi
mov ecx, ebx
call fcn.004694f0
mov esi, eax
test esi, esi
js 0x46aa54
cmp byte [edi], 0x3d
jne 0x46a7d1
push edi
push 0
lea eax, [ebp - 0x1158]
mov ecx, ebx
push eax
call fcn.00469660
mov esi, eax
test esi, esi
js 0x46aa54
cmp byte [edi], 0x7b
jne 0x46aa07
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46a7e0
sub ecx, edx
cmp ecx, 1
jne 0x46aa07
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x1158]
push edi
call fcn.0046a290
mov esi, eax
test esi, esi
js 0x46aa54
push edi
mov ecx, ebx
call fcn.004694f0
mov esi, eax
test esi, esi
js 0x46aa54
jmp 0x46aa07
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x46a848
push 0x20019
push edi
push dword [ebp - 0x1160]
lea ecx, [ebp - 0x1158]
call fcn.00467da0
mov ebx, eax
jmp 0x46a84d
mov ebx, 2
test ebx, ebx
mov ecx, 1
push 0xffffffffffffffff
mov eax, esi
cmovne eax, ecx
push edi
mov dword [ebp - 0x1164], eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004b64ef
push eax
call fcn.00466c70
mov ecx, dword [ebp - 0x115c]
add esp, 0x14
push edi
call fcn.004694f0
mov esi, eax
test esi, esi
js 0x46aa54
mov ecx, dword [ebp - 0x115c]
push edi
call fcn.00469d10
mov esi, eax
test esi, esi
js 0x46aa54
cmp byte [edi], 0x7b
jne 0x46a903
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46a8b2
sub ecx, edx
cmp ecx, 1
jne 0x46a903
push dword [ebp - 0x1164]
mov ecx, dword [ebp - 0x115c]
push 0
push dword [ebp - 0x1158]
push edi
call fcn.0046a290
mov esi, eax
test esi, esi
jns 0x46a8ed
cmp dword [ebp - 0x1164], 0
je 0x46aa54
mov ecx, dword [ebp - 0x115c]
push edi
call fcn.004694f0
mov esi, eax
test esi, esi
js 0x46aa54
cmp ebx, 2
je 0x46aa07
test ebx, ebx
je 0x46a921
cmp dword [ebp + 0x14], 0
jne 0x46aa07
mov ecx, ebx
jmp 0x46aa4d
cmp dword [ebp + 0x14], 0
mov ebx, dword [ebp - 0x1158]
je 0x46a96f
push ebx
call fcn.00469ca0
test eax, eax
je 0x46a96f
lea eax, [ebp - 0x114]
push eax
call fcn.00469c60
test eax, eax
je 0x46aa07
cmp dword [ebp - 0x114c], 0
je 0x46aa07
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1158]
call fcn.00467f60
jmp 0x46aa07
push ebx
call fcn.00469ca0
mov ecx, dword [ebp - 0x1158]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x46a992
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x1158], ecx
mov dword [ebp - 0x1154], 0
test eax, eax
jne 0x46aa4b
test ebx, ebx
jne 0x46aa07
cmp dword [ebp - 0x114c], ebx
je 0x46aa07
mov eax, dword [ebp - 0x1160]
lea ecx, [ebp - 0x1138]
xorps xmm0, xmm0
mov dword [ebp - 0x1130], ebx
movq qword [ebp - 0x1138], xmm0
mov dword [ebp - 0x1138], eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x1134], ebx
mov dword [ebp - 0x1130], ebx
call fcn.00467b90
mov dword [ebp - 0x1138], ebx
mov dword [ebp - 0x1134], ebx
mov dword [ebp - 0x1130], ebx
test eax, eax
jne 0x46aa4b
mov dword [ebp - 0x1134], eax
cmp byte [edi], 0x7d
jne 0x46a330
jmp 0x46aa54
mov ecx, eax
call fcn.00466e20
mov esi, eax
test ebx, ebx
je 0x46aa54
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46aa54
mov ecx, eax
call fcn.00466e20
mov esi, eax
mov eax, dword [ebp - 0x1144]
test eax, eax
je 0x46aa54
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46aa54
mov esi, 0x80020009
jmp 0x46aa54
mov ecx, eax
call fcn.00466e20
mov esi, eax
mov eax, dword [ebp - 0x1158]
test eax, eax
je 0x46aa65
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 - 0x10]
xor ecx, ebp
call fcn.00482be9
mov esp, ebp
pop ebp
ret 0x10