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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cd21d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
and dword [esp], 0
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
and dword [esp + 0x43c], 0
mov dword [esp + 0x1c], eax
mov eax, ebx
call fcn.0043f209
mov esi, eax
test esi, esi
jl 0x43f78a
cmp word [ebx], 0x7d
je 0x43f788
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebx
mov dword [esp + 0x1c], 1
call esi
mov edi, eax
neg edi
push str.ForceRemove
sbb edi, edi
push ebx
inc edi
call esi
test eax, eax
je 0x43f3a4
test edi, edi
je 0x43f472
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043f209
mov esi, eax
test esi, esi
jl 0x43f777
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x43f474
push 0x5c
mov eax, ebx
call fcn.0043f098
test eax, eax
pop ecx
jne 0x43f83b
push ebx
call fcn.0043fdb9
test eax, eax
je 0x43f3f1
mov eax, dword [ebp + 0xc]
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.0043fde5
cmp edi, esi
je 0x43f474
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043f209
mov esi, eax
test esi, esi
jl 0x43f777
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.0043fd70
mov esi, eax
test esi, esi
jl 0x43f777
cmp word [ebx], 0x7b
jne 0x43f463
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x43f463
mov ecx, dword [esp + 0x10]
push 0
push dword [ebp + 0x10]
push dword [esp + 0x14]
push ebx
call fcn.0043f31a
mov esi, eax
test esi, esi
jl 0x43f777
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043f209
mov esi, eax
test esi, esi
jl 0x43f777
cmp word [ebx], 0x7d
jne 0x43f373
jmp 0x43f777
xor esi, esi
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43f49f
and dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043f209
mov esi, eax
test esi, esi
jl 0x43f777
xor esi, esi
push 0x4e6308
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43f597
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x228]
call fcn.0043f209
mov esi, eax
test esi, esi
jl 0x43f777
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043f209
mov esi, eax
test esi, esi
jl 0x43f777
cmp word [ebx], 0x3d
jne 0x43f855
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x43f530
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x43c], 1
mov dword [esp + 0x14], eax
push ebx
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
call fcn.0043f8e6
mov esi, eax
cmp esi, edi
jl 0x43f85c
mov byte [esp + 0x43c], 0
jmp 0x43f41f
cmp dword [ebp + 0x14], edi
jne 0x43f587
cmp dword [esp + 0x14], edi
je 0x43f587
lea eax, [esp + 0x14]
push eax
push 0x20006
push edi
push edi
push dword [ebp + 0xc]
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x43f770
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x228]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43f57c
cmp eax, 2
jne 0x43f865
test edi, edi
je 0x43f587
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.0043fd70
jmp 0x43f459
push 0x5c
mov eax, ebx
call fcn.0043f098
test eax, eax
pop ecx
jne 0x43f83b
cmp dword [ebp + 0x10], esi
je 0x43f670
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x14]
push eax
push 0x2001f
push esi
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0x28], esi
call edi
cmp eax, esi
jne 0x43f5ef
xor eax, eax
cmp dword [esp + 0xc], esi
je 0x43f5e3
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
je 0x43f63b
lea eax, [esp + 0x14]
push eax
push 0x20019
push esi
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0x28], esi
call edi
cmp eax, esi
jne 0x43f626
xor eax, eax
cmp dword [esp + 0xc], esi
je 0x43f61a
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
je 0x43f63b
push ebx
push dword [ebp + 0xc]
lea eax, [esp + 0x14]
call fcn.0043f8a8
cmp eax, esi
jne 0x43f880
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043f209
mov esi, eax
test esi, esi
jl 0x43f777
cmp word [ebx], 0x3d
jne 0x43f41f
push ebx
push 0
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1c]
call fcn.0043f8e6
jmp 0x43f415
cmp dword [ebp + 0x14], esi
jne 0x43f6b2
lea eax, [esp + 0x18]
push eax
push 0x20019
push esi
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x43f6ac
xor eax, eax
cmp dword [esp + 0xc], esi
je 0x43f6a4
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
jmp 0x43f6ba
mov dword [esp + 0x18], 2
cmp dword [esp + 0x18], esi
je 0x43f6c7
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x28]
push 0x104
push eax
call fcn.00499a26
push eax
call fcn.0041c28a
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov eax, ebx
call fcn.0043f209
mov esi, eax
test esi, esi
jl 0x43f777
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.0043fd70
mov esi, eax
test esi, esi
jl 0x43f777
cmp word [ebx], 0x7b
jne 0x43f74a
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x43f74a
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x14]
push ebx
call fcn.0043f31a
mov esi, eax
test esi, esi
jge 0x43f739
cmp dword [ebp + 0x14], 0
je 0x43f777
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043f209
mov esi, eax
test esi, esi
jl 0x43f777
cmp dword [esp + 0x18], 2
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x14], eax
je 0x43f463
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
je 0x43f7a1
cmp dword [esp + 0x1c], edi
jne 0x43f463
call fcn.00448178
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x43f788
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x434]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esp + 0x1c], edi
je 0x43f7e3
push dword [esp + 0xc]
call fcn.0043fece
test eax, eax
je 0x43f7e3
lea eax, [esp + 0x20]
push eax
call fcn.0043fdb9
test eax, eax
je 0x43f463
cmp dword [esp + 0x14], edi
je 0x43f463
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
call fcn.0043fde5
jmp 0x43f463
push dword [esp + 0xc]
call fcn.0043fece
cmp dword [esp + 0xc], edi
mov dword [esp + 0x18], eax
je 0x43f80c
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
mov dword [esp + 0xc], edi
jne 0x43f89e
cmp dword [esp + 0x14], edi
je 0x43f463
cmp dword [esp + 0x18], edi
jne 0x43f463
lea eax, [esp + 0x20]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x43f770
jmp 0x43f463
cmp dword [esp + 0xc], esi
je 0x43f84b
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x43f78a
cmp dword [esp + 0xc], 0
jmp 0x43f83f
cmp dword [esp + 0xc], edi
jmp 0x43f77c
call fcn.00448178
test edi, edi
mov esi, eax
je 0x43f777
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43f777
call fcn.00448178
cmp dword [esp + 0xc], esi
mov edi, eax
je 0x43f897
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x43f78a
call fcn.00448178
jmp 0x43f78a