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

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.004760e0
push 0xffffffffffffffff
push 0x4af56c
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x2218]
mov edi, dword [ebp + 0x2214]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0x2220]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], eax
call fcn.0043a7ef
mov esi, eax
cmp esi, ebx
jmp 0x43ba45
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x28], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x43b646
test ebx, ebx
je 0x43b6e0
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0043a7ef
mov esi, eax
test esi, esi
jl 0x43baa0
cmp dword [ebp + 0x221c], 0
je 0x43b6e0
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.0043a77f
pop ecx
pop ecx
test eax, eax
jne 0x43ba53
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0043a8fd
test eax, eax
je 0x43b6a1
mov eax, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call fcn.0043aaca
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp ebx, esi
je 0x43b6d8
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0043a7ef
mov esi, eax
test esi, esi
jl 0x43ba62
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0043a95e
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.004110a0
test esi, esi
jl 0x43baa0
jmp 0x43ba03
lea ecx, [ebp - 0x24]
call fcn.004110a0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43b706
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x28], eax
push edi
call fcn.0043a7ef
mov esi, eax
test esi, esi
jl 0x43baa0
push 0x4d2760
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43b7ec
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.0043a7ef
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x43baa0
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0043a7ef
mov esi, eax
cmp esi, ebx
jl 0x43baa0
cmp word [edi], 0x3d
jne 0x43ba5b
cmp dword [ebp + 0x221c], ebx
je 0x43b790
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], ebx
call fcn.0043b2c0
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
lea ecx, [ebp - 0x38]
jl 0x43ba9b
mov byte [ebp - 4], bl
jmp 0x43b9fe
cmp dword [ebp + 0x2220], ebx
jne 0x43b7de
cmp dword [ebp - 0x28], ebx
je 0x43b7de
push 0x20006
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0041105f
cmp eax, ebx
jne 0x43ba67
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x43b7d6
cmp eax, 2
jne 0x43ba67
lea ecx, [ebp - 0x30]
call fcn.004110a0
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0043a95e
jmp 0x43b60d
push 0x5c
push edi
call fcn.0043a77f
pop ecx
pop ecx
test eax, eax
jne 0x43ba5b
cmp dword [ebp + 0x221c], eax
je 0x43b881
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0041105f
test eax, eax
je 0x43b84e
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0041105f
test eax, eax
je 0x43b84e
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0043a4b0
mov esi, eax
cmp esi, ebx
jne 0x43ba73
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0043a7ef
mov esi, eax
test esi, esi
jl 0x43baa0
cmp word [edi], 0x3d
jne 0x43ba03
mov ecx, dword [ebp - 0x10]
push edi
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.0043b2c0
mov esi, eax
jmp 0x43b6cb
cmp dword [ebp + 0x2220], 0
jne 0x43b89f
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0041105f
mov ebx, eax
jmp 0x43b8a2
push 2
pop ebx
test ebx, ebx
je 0x43b8b0
mov dword [ebp + 0x2220], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x2000]
push 0x104
push eax
call fcn.00475cd6
push eax
call fcn.004026cc
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.0043a7ef
mov esi, eax
test esi, esi
jl 0x43baa0
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0043a95e
mov esi, eax
test esi, esi
jl 0x43baa0
cmp word [edi], 0x7b
jne 0x43b93f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x43b93f
push dword [ebp + 0x2220]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
push edi
call fcn.0043b5a4
mov esi, eax
test esi, esi
jge 0x43b92c
cmp dword [ebp + 0x2220], 0
je 0x43baa0
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0043a7ef
mov esi, eax
test esi, esi
jl 0x43baa0
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x2220], eax
cmp ebx, 2
je 0x43ba47
test ebx, ebx
je 0x43b96b
test eax, eax
jne 0x43ba47
push ebx
call fcn.0043a3ec
pop ecx
mov esi, eax
jmp 0x43baa0
test eax, eax
je 0x43b9b3
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.0043a929
test eax, eax
je 0x43b9b3
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2000]
push eax
call fcn.0043a8fd
test eax, eax
je 0x43ba47
cmp dword [ebp - 0x28], 0
je 0x43ba47
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043aaca
jmp 0x43ba47
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.0043a929
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], eax
call fcn.004110a0
mov ebx, eax
test ebx, ebx
jne 0x43ba84
cmp dword [ebp - 0x28], eax
je 0x43ba47
cmp dword [ebp - 0x48], eax
jne 0x43ba47
lea eax, [ebp + 0x2000]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x40], ebx
and dword [ebp - 0x3c], ebx
test eax, eax
jne 0x43ba8f
lea ecx, [ebp - 0x40]
call fcn.004110a0
cmp dword [ebp + 0x221c], 0
je 0x43ba47
cmp word [edi], 0x7b
jne 0x43ba47
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x43ba47
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp + 0x221c]
push dword [ebp - 0x1c]
push edi
call fcn.0043b5a4
mov esi, eax
test esi, esi
jl 0x43baa0
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0043a7ef
mov esi, eax
test esi, esi
jl 0x43baa0
cmp word [edi], 0x7d
jne 0x43b616
jmp 0x43baa0
lea ecx, [ebp - 0x24]
call fcn.004110a0
mov esi, 0x80020009
jmp 0x43baa0
lea ecx, [ebp - 0x24]
jmp 0x43ba9b
push eax
call fcn.0043a3ec
pop ecx
lea ecx, [ebp - 0x30]
jmp 0x43ba99
lea ecx, [ebp - 0x1c]
call fcn.004110a0
push esi
call fcn.0043a3ec
pop ecx
jmp 0x43baaa
lea ecx, [ebp - 0x1c]
call fcn.004110a0
push ebx
jmp 0x43ba7c
push eax
call fcn.0043a3ec
pop ecx
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.004110a0
lea ecx, [ebp - 0x1c]
call fcn.004110a0
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 + 0x2208]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x220c
leave
ret 0x10