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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101df3a7
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x460], ebx
mov edx, dword [ebp + 0x14]
mov eax, edi
mov dword [esp + 0x38], edx
call fcn.10053cc0
mov esi, eax
cmp esi, ebx
jl 0x10054ce8
cmp word [edi], 0x7d
je 0x100547a6
lea ecx, [ecx]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [esp + 0x2c], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
add ebx, 1
call esi
test eax, eax
je 0x10054693
test ebx, ebx
je 0x100547f8
mov ecx, dword [esp + 0x1c]
mov eax, edi
call fcn.10053cc0
mov esi, eax
test esi, esi
jl 0x100547a6
cmp dword [ebp + 0x10], 0
je 0x100547f8
mov dword [esp + 0x30], 0
mov byte [esp + 0x460], 1
movzx ecx, word [edi]
test cx, cx
mov eax, edi
je 0x100546ee
movzx ecx, cx
cmp cx, 0x5c
je 0x100546e6
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x100546cf
jmp 0x100546ee
test eax, eax
jne 0x10054c1f
mov esi, 0x1022f768
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10054726
add esi, 4
cmp esi, str.describe
jl 0x100546f3
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
push edi
lea ecx, [esp + 0x34]
call fcn.10052e90
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x100547f0
mov ebx, dword [esp + 0x1c]
mov eax, edi
mov ecx, ebx
call fcn.10053cc0
mov esi, eax
test esi, esi
jl 0x10054c4b
mov ecx, ebx
call fcn.10054250
mov esi, eax
test esi, esi
jl 0x10054c4b
mov byte [esp + 0x460], 0
cmp word [edi], 0x7b
jne 0x1005479c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1005479c
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
push 0
push edx
push eax
push edi
mov ecx, ebx
call fcn.100545e0
mov esi, eax
test esi, esi
jl 0x100547a6
mov eax, edi
mov ecx, ebx
call fcn.10053cc0
mov esi, eax
test esi, esi
jl 0x100547a6
cmp word [edi], 0x7d
jne 0x10054660
xor ebx, ebx
mov dword [esp + 0x460], 0xffffffff
cmp dword [esp + 0x14], ebx
je 0x100547c8
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov eax, esi
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.101d19cc
mov esp, ebp
pop ebp
ret 0x10
mov byte [esp + 0x460], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
test eax, eax
jne 0x1005481f
mov ecx, dword [esp + 0x1c]
mov eax, edi
mov dword [esp + 0x24], ebx
call fcn.10053cc0
mov esi, eax
cmp esi, ebx
jl 0x100547a6
push 0x1022f738
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10054943
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x244]
call fcn.10053cc0
mov esi, eax
cmp esi, ebx
jl 0x100547a6
mov ecx, dword [esp + 0x1c]
mov eax, edi
call fcn.10053cc0
mov esi, eax
cmp esi, ebx
jl 0x100547a6
cmp word [edi], 0x3d
jne 0x10054c58
cmp dword [ebp + 0x10], ebx
je 0x100548b0
mov dword [esp + 0x28], ebx
mov byte [esp + 0x460], 2
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x244]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, edi
call fcn.10053e10
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x28], ebx
jl 0x10054cc6
jmp 0x10054756
cmp dword [ebp + 0x14], ebx
jne 0x1005492b
cmp dword [esp + 0x24], ebx
je 0x1005492b
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x460], 3
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push 0x20006
push ebx
push ebx
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10054cab
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x244]
push ecx
push ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1005490e
cmp eax, 2
jne 0x10054c80
mov byte [esp + 0x460], 0
test ebx, ebx
je 0x10054929
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], 0
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
call fcn.10054250
mov esi, eax
cmp esi, ebx
jl 0x100547a8
jmp 0x1005479c
movzx ecx, word [edi]
cmp cx, bx
mov eax, edi
je 0x1005496f
movzx ecx, cx
cmp cx, 0x5c
je 0x10054967
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x10054950
jmp 0x1005496f
cmp eax, ebx
jne 0x10054c58
cmp dword [ebp + 0x10], ebx
je 0x10054a4d
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x18]
push edx
push 0x2001f
push ebx
push edi
push eax
mov dword [esp + 0x2c], ebx
call esi
cmp eax, ebx
jne 0x100549ba
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
je 0x100549ae
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
je 0x10054a0e
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push edi
push eax
mov dword [esp + 0x2c], ebx
call esi
cmp eax, ebx
jne 0x100549f6
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
je 0x100549ea
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
je 0x10054a0e
mov edx, dword [esp + 0x20]
push edx
mov edx, edi
lea esi, [esp + 0x18]
call fcn.10052da0
cmp eax, ebx
jne 0x10054cbf
mov ecx, dword [esp + 0x1c]
mov eax, edi
call fcn.10053cc0
mov esi, eax
cmp esi, ebx
jl 0x100547a8
cmp word [edi], 0x3d
jne 0x1005475e
mov edx, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.10053e10
mov esi, eax
cmp esi, ebx
jl 0x100547a8
jmp 0x1005475e
cmp dword [ebp + 0x14], ebx
jne 0x10054b5d
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebx
push edi
push edx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10054a92
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
je 0x10054a8a
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x10054aa1
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x44]
push 0x104
push edx
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
push eax
call fcn.10029980
mov ecx, dword [esp + 0x30]
add esp, 0x14
mov eax, edi
call fcn.10053cc0
mov esi, eax
cmp esi, ebx
jl 0x100547a8
mov ecx, dword [esp + 0x1c]
call fcn.10054250
mov esi, eax
cmp esi, ebx
jl 0x100547a8
cmp word [edi], 0x7b
jne 0x10054b2f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10054b2f
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x28]
push edi
call fcn.100545e0
mov esi, eax
cmp esi, ebx
jge 0x10054b1a
cmp dword [ebp + 0x14], ebx
je 0x100547a8
mov ecx, dword [esp + 0x1c]
mov eax, edi
call fcn.10053cc0
mov esi, eax
cmp esi, ebx
jl 0x100547a8
mov ecx, dword [esp + 0x18]
cmp ecx, 2
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x14], eax
je 0x1005479c
cmp ecx, ebx
je 0x10054b6a
cmp eax, ebx
jne 0x1005479c
mov eax, ecx
call fcn.10052a60
mov esi, eax
jmp 0x100547a8
mov dword [esp + 0x18], 2
jmp 0x10054a9a
cmp eax, ebx
je 0x10054ba8
mov ecx, dword [esp + 0x14]
call fcn.10054210
test eax, eax
je 0x10054ba8
lea ebx, [esp + 0x3c]
call fcn.100541d0
test eax, eax
je 0x1005479c
cmp dword [esp + 0x24], 0
je 0x1005479c
mov edx, ebx
push edx
lea ecx, [esp + 0x18]
call fcn.10052e90
jmp 0x1005479c
mov ecx, dword [esp + 0x14]
call fcn.10054210
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
je 0x10054bd2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov dword [esp + 0x14], ebx
jne 0x10054ce3
cmp dword [esp + 0x24], ebx
je 0x1005479c
cmp dword [esp + 0x18], ebx
jne 0x1005479c
mov dword [esp + 0x34], ebx
mov byte [esp + 0x460], 4
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push ecx
push eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
mov dword [esp + 0x34], ebx
jne 0x10054cab
mov byte [esp + 0x460], 0
jmp 0x1005479c
mov dword [esp + 0x460], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10054c41
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
mov eax, 0x80020009
jmp 0x100547ca
mov byte [esp + 0x460], 0
jmp 0x100547a6
mov dword [esp + 0x460], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10054c76
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov eax, 0x80020009
jmp 0x100547ca
call fcn.10052a60
mov esi, eax
mov byte [esp + 0x460], 0
test ebx, ebx
je 0x100547a6
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], 0
jmp 0x100547a6
call fcn.10052a60
mov esi, eax
mov byte [esp + 0x460], 0
jmp 0x100547a8
call fcn.10052a60
mov esi, eax
mov dword [esp + 0x460], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x100547c8
push eax
jmp 0x100547be
call fcn.10052a60
mov dword [esp + 0x460], 0xffffffff
jmp 0x100547ca