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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58502c
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.0055da30
mov eax, dword [0x640040]
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 - 0x2264], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ebx, dword [ebp + 8]
movq qword [ebp - 0x2260], xmm0
mov dword [ebp - 0x2260], 0
mov dword [ebp - 0x2258], 0
mov dword [ebp - 0x2268], ecx
mov dword [ebp - 0x225c], 0
mov dword [ebp - 0x2258], 0
mov dword [ebp - 4], 0
mov ecx, eax
push ebx
call fcn.0055aa60
mov esi, eax
test esi, esi
js 0x55b5f2
cmp word [ebx], 0x7d
je 0x55b5f2
nop dword [eax]
push 0x603f0c
push ebx
mov dword [ebp - 0x2254], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.ForceRemove
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x55acf0
test edi, edi
jne 0x55ae31
mov ecx, dword [ebp - 0x2264]
push ebx
call fcn.0055aa60
mov esi, eax
test esi, esi
js 0x55b5f2
cmp dword [ebp + 0x10], 0
je 0x55ae31
xorps xmm0, xmm0
mov dword [ebp - 0x2220], 0
movq qword [ebp - 0x2228], xmm0
mov dword [ebp - 0x2228], 0
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
mov byte [ebp - 4], 1
mov edx, ebx
movzx eax, word [ebx]
test ax, ax
je 0x55ad76
mov ecx, eax
cmp cx, 0x5c
je 0x55ad6e
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
movzx eax, word [edx]
mov ecx, eax
test ax, ax
jne 0x55ad53
jmp 0x55ad76
test edx, edx
jne 0x55b530
mov esi, 0x606360
nop dword [eax + eax]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x55ade2
add esi, 4
cmp esi, str.RegOpenKeyTransactedW
jl 0x55ad80
mov eax, dword [ebp - 0x2268]
lea ecx, [ebp - 0x2228]
push ebx
mov dword [ebp - 0x2228], eax
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
call fcn.0055a7b0
mov dword [ebp - 0x2228], 0
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
test edi, edi
jne 0x55ae23
mov edi, dword [ebp - 0x2264]
mov ecx, edi
push ebx
call fcn.0055aa60
mov esi, eax
test esi, esi
js 0x55b548
push ebx
mov ecx, edi
call fcn.0055a660
mov esi, eax
test esi, esi
js 0x55b548
mov byte [ebp - 4], 0
mov dword [ebp - 0x2224], 0
jmp 0x55b1c2
mov byte [ebp - 4], 0
mov dword [ebp - 0x2224], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x55ae61
mov ecx, dword [ebp - 0x2264]
xor edi, edi
push ebx
mov dword [ebp - 0x2254], edi
call fcn.0055aa60
mov esi, eax
test esi, esi
js 0x55b5f2
jmp 0x55ae67
mov edi, dword [ebp - 0x2254]
push 0x606294
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x55b037
mov ecx, dword [ebp - 0x2264]
lea eax, [ebp - 0x2218]
push eax
call fcn.0055aa60
mov esi, eax
test esi, esi
js 0x55b5f2
mov ecx, dword [ebp - 0x2264]
push ebx
call fcn.0055aa60
mov esi, eax
test esi, esi
js 0x55b5f2
cmp word [ebx], 0x3d
jne 0x55b53e
cmp dword [ebp + 0x10], 0
je 0x55af6f
xorps xmm0, xmm0
mov dword [ebp - 0x222c], 0
movq qword [ebp - 0x2234], xmm0
mov dword [ebp - 0x2234], 0
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2268]
mov edi, dword [ebp - 0x2264]
mov ecx, edi
mov dword [ebp - 0x2234], eax
lea eax, [ebp - 0x2218]
push ebx
push eax
lea eax, [ebp - 0x2234]
mov dword [ebp - 0x2230], 0
push eax
mov dword [ebp - 0x222c], 0
call fcn.00559ff0
mov esi, eax
mov dword [ebp - 0x2234], 0
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
test esi, esi
js 0x55b55b
mov byte [ebp - 4], 0
mov dword [ebp - 0x2230], 0
jmp 0x55b1c2
cmp dword [ebp + 0x14], 0
jne 0x55b01c
test edi, edi
je 0x55b01c
xorps xmm0, xmm0
mov dword [ebp - 0x2238], 0
movq qword [ebp - 0x2240], xmm0
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2240]
push 0x20006
push 0
push dword [ebp - 0x2268]
call fcn.0055a6e0
test eax, eax
jne 0x55b59c
mov edi, dword [ebp - 0x2240]
lea eax, [ebp - 0x2218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x55aff9
cmp eax, 2
jne 0x55b56e
mov byte [ebp - 4], 0
test edi, edi
je 0x55b012
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov ecx, dword [ebp - 0x2264]
push ebx
call fcn.0055a660
mov esi, eax
test esi, esi
js 0x55b5f2
jmp 0x55b521
movzx eax, word [ebx]
mov ecx, ebx
test ax, ax
je 0x55b066
mov edx, eax
cmp dx, 0x5c
je 0x55b05e
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x55b043
jmp 0x55b066
test ecx, ecx
jne 0x55b53e
cmp dword [ebp + 0x10], 0
je 0x55b21d
mov edi, dword [ebp - 0x2268]
lea ecx, [ebp - 0x2260]
push 0x2001f
push ebx
push edi
call fcn.0055a6e0
test eax, eax
je 0x55b189
push 0x20019
push ebx
push edi
lea ecx, [ebp - 0x2260]
call fcn.0055a6e0
test eax, eax
je 0x55b189
mov esi, dword [ebp - 0x2258]
mov dword [ebp - 0x2254], 0
test esi, esi
je 0x55b11b
cmp dword [esi], 0
je 0x55b10e
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x55b0d9
mov eax, 1
jmp 0x55b13e
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x55b114
push 0
push dword [esi]
lea ecx, [ebp - 0x2250]
push ecx
lea ecx, [ebp - 0x2254]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push edi
call eax
jmp 0x55b13e
cmp dword [esi + 4], 0
jne 0x55b11b
mov eax, 1
jmp 0x55b13e
lea eax, [ebp - 0x2250]
push eax
lea eax, [ebp - 0x2254]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x55b5e9
mov ecx, dword [ebp - 0x2260]
test ecx, ecx
je 0x55b161
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2260], 0
mov ecx, dword [ebp - 0x2254]
mov dword [ebp - 0x225c], 0
mov dword [ebp - 0x2260], ecx
mov dword [ebp - 0x225c], 0
test eax, eax
jne 0x55b5e9
mov edi, dword [ebp - 0x2264]
mov ecx, edi
push ebx
call fcn.0055aa60
mov esi, eax
test esi, esi
js 0x55b5f2
cmp word [ebx], 0x3d
jne 0x55b1c2
push ebx
push 0
lea eax, [ebp - 0x2260]
mov ecx, edi
push eax
call fcn.00559ff0
mov esi, eax
test esi, esi
js 0x55b5f2
cmp word [ebx], 0x7b
jne 0x55b521
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x55b1d1
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x55b521
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x2260]
push ebx
call fcn.0055ac20
mov esi, eax
test esi, esi
js 0x55b5f2
push ebx
mov ecx, edi
call fcn.0055aa60
mov esi, eax
test esi, esi
js 0x55b5f2
jmp 0x55b521
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x55b23f
push 0x20019
push ebx
push dword [ebp - 0x2268]
lea ecx, [ebp - 0x2260]
call fcn.0055a6e0
mov edi, eax
jmp 0x55b244
mov edi, 2
test edi, edi
mov eax, 1
push 0xffffffffffffffff
cmove eax, esi
push ebx
mov dword [ebp - 0x221c], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
add esp, 0x10
mov ecx, eax
call fcn.0055a5d0
mov ecx, dword [ebp - 0x2264]
push ebx
call fcn.0055aa60
mov esi, eax
test esi, esi
js 0x55b5f2
mov ecx, dword [ebp - 0x2264]
push ebx
call fcn.0055a660
mov esi, eax
test esi, esi
js 0x55b5f2
cmp word [ebx], 0x7b
jne 0x55b307
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x55b2b0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x55b307
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2264]
push 0
push dword [ebp - 0x2260]
push ebx
call fcn.0055ac20
mov esi, eax
test esi, esi
jns 0x55b2f1
cmp dword [ebp - 0x221c], 0
je 0x55b5f2
mov ecx, dword [ebp - 0x2264]
push ebx
call fcn.0055aa60
mov esi, eax
test esi, esi
js 0x55b5f2
cmp edi, 2
je 0x55b521
test edi, edi
je 0x55b325
cmp dword [ebp + 0x14], 0
jne 0x55b521
mov ecx, edi
jmp 0x55b5eb
cmp dword [ebp + 0x14], 0
je 0x55b3bb
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x2260]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x55b3bb
cmp eax, dword [ebp - 0x221c]
sbb eax, eax
neg eax
je 0x55b3bb
mov edi, 0x606360
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x55b521
add edi, 4
cmp edi, str.RegOpenKeyTransactedW
jl 0x55b375
cmp dword [ebp - 0x2254], 0
je 0x55b521
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2260]
call fcn.0055a7b0
jmp 0x55b521
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x2260]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x55b3f4
xor edi, edi
jmp 0x55b400
xor eax, eax
cmp eax, dword [ebp - 0x221c]
sbb edi, edi
neg edi
mov ecx, dword [ebp - 0x2260]
xor eax, eax
test ecx, ecx
je 0x55b41b
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x2260], ecx
mov dword [ebp - 0x225c], 0
test eax, eax
jne 0x55b5e9
cmp dword [ebp - 0x2254], eax
je 0x55b521
test edi, edi
jne 0x55b521
xorps xmm0, xmm0
mov dword [ebp - 0x2244], edi
movq qword [ebp - 0x224c], xmm0
mov dword [ebp - 0x224c], edi
mov dword [ebp - 0x2248], edi
mov dword [ebp - 0x2244], edi
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2268]
mov dword [ebp - 0x224c], ecx
mov dword [ebp - 0x2248], edi
mov dword [ebp - 0x2244], edi
cmp byte [0x6421b0], al
jne 0x55b4cb
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x55b4b7
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x2268]
mov dword [0x6421ac], eax
mov byte [0x6421b0], 1
jmp 0x55b4d0
mov eax, dword [0x6421ac]
mov ecx, dword [ebp - 0x2268]
mov byte [0x6421b0], 1
jmp 0x55b4d0
mov eax, dword [0x6421ac]
test eax, eax
je 0x55b4e4
push 0
push 0
lea edx, [ebp - 0x218]
push edx
push ecx
call eax
jmp 0x55b4f2
lea eax, [ebp - 0x218]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
mov dword [ebp - 0x2244], 0
test eax, eax
jne 0x55b5d0
mov byte [ebp - 4], al
mov dword [ebp - 0x2248], eax
cmp word [ebx], 0x7d
jne 0x55acc0
jmp 0x55b5f2
mov byte [ebp - 4], 0
mov dword [ebp - 0x2224], 0
mov esi, 0x80020009
jmp 0x55b5f2
mov byte [ebp - 4], 0
mov dword [ebp - 0x2224], 0
jmp 0x55b5f2
mov byte [ebp - 4], 0
mov dword [ebp - 0x2230], 0
jmp 0x55b5f2
mov ecx, eax
call fcn.0055aa50
mov esi, eax
mov byte [ebp - 4], 0
test edi, edi
je 0x55b5c4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
jmp 0x55b5f2
mov ecx, eax
call fcn.0055aa50
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2240]
test eax, eax
je 0x55b5c4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
jmp 0x55b5f2
mov ecx, eax
call fcn.0055aa50
mov esi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x2248], 0
jmp 0x55b5f2
mov ecx, eax
call fcn.0055aa50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2260]
test eax, eax
je 0x55b614
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2260], 0
mov eax, esi
mov dword [ebp - 0x225c], 0
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.0055c86d
mov esp, ebp
pop ebp
ret 0x10