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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcdfc
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.004afee0
mov eax, dword [0x502344]
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, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2224], ecx
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2220], ebx
mov dword [ebp - 0x221c], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2254], eax
mov eax, edi
call fcn.0043b36a
mov esi, eax
cmp esi, ebx
jge 0x43ba6b
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x221c], ebx
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.0049cdcb
leave
ret 0x10
push str.Delete
push edi
mov dword [ebp - 0x2240], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, eax
neg esi
sbb esi, esi
push str.ForceRemove
inc esi
push edi
mov dword [ebp - 0x2228], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43b550
cmp esi, ebx
je 0x43b611
mov ecx, dword [ebp - 0x2224]
mov eax, edi
call fcn.0043b36a
mov esi, eax
cmp esi, ebx
jl 0x43babc
cmp dword [ebp + 0x10], ebx
je 0x43b611
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov byte [ebp - 4], 1
push 0x5c
mov eax, edi
call fcn.0043ac2e
pop ecx
test eax, eax
jne 0x43ba77
push edi
call fcn.0043b191
test eax, eax
je 0x43b5c6
mov eax, dword [ebp - 0x222c]
push edi
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x223c], eax
mov dword [ebp - 0x2238], ebx
call fcn.0043b1bd
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
cmp dword [ebp - 0x2228], ebx
je 0x43b608
mov ecx, dword [ebp - 0x2224]
mov eax, edi
call fcn.0043b36a
mov esi, eax
cmp esi, ebx
jl 0x43baa8
mov ecx, dword [ebp - 0x2224]
call fcn.0043b12c
mov esi, eax
cmp esi, ebx
jl 0x43baa8
mov byte [ebp - 4], bl
mov dword [ebp - 0x2238], ebx
jmp 0x43ba25
mov byte [ebp - 4], bl
mov dword [ebp - 0x2238], ebx
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43b63e
mov ecx, dword [ebp - 0x2224]
mov eax, edi
mov dword [ebp - 0x2240], ebx
call fcn.0043b36a
mov esi, eax
cmp esi, ebx
jl 0x43babc
push 0x4d340c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43b781
mov ecx, dword [ebp - 0x2224]
lea eax, [ebp - 0x2218]
call fcn.0043b36a
mov esi, eax
cmp esi, ebx
jl 0x43babc
mov ecx, dword [ebp - 0x2224]
mov eax, edi
call fcn.0043b36a
mov esi, eax
cmp esi, ebx
jl 0x43babc
cmp word [edi], 0x3d
jne 0x43ba80
cmp dword [ebp + 0x10], ebx
je 0x43b6f2
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x2224]
mov dword [ebp - 0x2248], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea edx, [ebp - 0x2248]
mov dword [ebp - 0x2244], ebx
call fcn.0043adbf
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
jl 0x43bab3
mov byte [ebp - 4], bl
mov dword [ebp - 0x2244], ebx
jmp 0x43ba25
cmp dword [ebp + 0x14], ebx
jne 0x43b771
cmp dword [ebp - 0x2240], ebx
je 0x43b771
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2230], ebx
mov byte [ebp - 4], 3
push 0x20006
push ebx
push dword [ebp - 0x222c]
lea eax, [ebp - 0x2234]
call fcn.00421b3b
cmp eax, ebx
jne 0x43bae1
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2234]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x43b74e
cmp eax, 2
jne 0x43bae1
mov byte [ebp - 4], bl
cmp dword [ebp - 0x2234], ebx
je 0x43b76b
push dword [ebp - 0x2234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2230], ebx
mov ecx, dword [ebp - 0x2224]
call fcn.0043b12c
jmp 0x43ba65
push 0x5c
mov eax, edi
call fcn.0043ac2e
pop ecx
test eax, eax
jne 0x43ba80
cmp dword [ebp + 0x10], ebx
je 0x43b82f
push 0x2001f
push edi
push dword [ebp - 0x222c]
lea eax, [ebp - 0x2220]
call fcn.00421b3b
cmp eax, ebx
je 0x43b7ec
push 0x20019
push edi
push dword [ebp - 0x222c]
lea eax, [ebp - 0x2220]
call fcn.00421b3b
cmp eax, ebx
je 0x43b7ec
push edi
push dword [ebp - 0x222c]
lea eax, [ebp - 0x2220]
call fcn.0043ac55
cmp eax, ebx
jne 0x43b92f
mov ecx, dword [ebp - 0x2224]
mov eax, edi
call fcn.0043b36a
mov esi, eax
cmp esi, ebx
jl 0x43babc
cmp word [edi], 0x3d
jne 0x43ba25
mov ecx, dword [ebp - 0x2224]
push edi
push ebx
lea edx, [ebp - 0x2220]
call fcn.0043adbf
mov esi, eax
cmp esi, ebx
jl 0x43babc
jmp 0x43ba25
cmp dword [ebp + 0x14], ebx
jne 0x43b853
push 0x20019
push edi
push dword [ebp - 0x222c]
lea eax, [ebp - 0x2220]
call fcn.00421b3b
mov dword [ebp - 0x2228], eax
jmp 0x43b85d
mov dword [ebp - 0x2228], 2
cmp dword [ebp - 0x2228], ebx
je 0x43b86c
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0049f84f
push eax
call fcn.00405a18
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
mov eax, edi
call fcn.0043b36a
mov esi, eax
cmp esi, ebx
jl 0x43babc
mov ecx, dword [ebp - 0x2224]
call fcn.0043b12c
mov esi, eax
cmp esi, ebx
jl 0x43babc
cmp word [edi], 0x7b
jne 0x43b903
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x43b903
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2224]
push ebx
push dword [ebp - 0x2220]
push edi
call fcn.0043b480
mov esi, eax
cmp esi, ebx
jge 0x43b8ec
cmp dword [ebp + 0x14], ebx
je 0x43babc
mov ecx, dword [ebp - 0x2224]
mov eax, edi
call fcn.0043b36a
mov esi, eax
cmp esi, ebx
jl 0x43babc
cmp dword [ebp - 0x2228], 2
mov eax, dword [ebp - 0x2254]
mov dword [ebp + 0x14], eax
je 0x43ba6b
cmp dword [ebp - 0x2228], ebx
je 0x43b93b
cmp eax, ebx
jne 0x43ba6b
mov eax, dword [ebp - 0x2228]
call fcn.0043b33b
mov esi, eax
jmp 0x43babc
cmp eax, ebx
je 0x43b985
push dword [ebp - 0x2220]
call fcn.0043b306
test eax, eax
je 0x43b985
lea eax, [ebp - 0x218]
push eax
call fcn.0043b191
test eax, eax
je 0x43ba6b
cmp dword [ebp - 0x2240], ebx
je 0x43ba6b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2220]
call fcn.0043b1bd
jmp 0x43ba6b
push dword [ebp - 0x2220]
call fcn.0043b306
mov dword [ebp - 0x2228], eax
xor eax, eax
cmp dword [ebp - 0x2220], ebx
je 0x43b9b2
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2220], ebx
mov dword [ebp - 0x221c], ebx
cmp eax, ebx
jne 0x43b92f
cmp dword [ebp - 0x2240], ebx
je 0x43ba6b
cmp dword [ebp - 0x2228], ebx
jne 0x43ba6b
mov dword [ebp - 0x2250], ebx
mov dword [ebp - 0x224c], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x222c]
lea ecx, [ebp - 0x218]
push ecx
push eax
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x2250], ebx
mov dword [ebp - 0x224c], ebx
cmp eax, ebx
jne 0x43bb0d
mov byte [ebp - 4], bl
mov dword [ebp - 0x224c], ebx
cmp dword [ebp + 0x10], ebx
je 0x43ba6b
cmp word [edi], 0x7b
jne 0x43ba6b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x43ba6b
mov ecx, dword [ebp - 0x2224]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x2220]
push edi
call fcn.0043b480
mov esi, eax
cmp esi, ebx
jl 0x43babc
mov ecx, dword [ebp - 0x2224]
mov eax, edi
call fcn.0043b36a
mov esi, eax
cmp esi, ebx
jl 0x43babc
cmp word [edi], 0x7d
jne 0x43b515
jmp 0x43babc
mov byte [ebp - 4], bl
mov dword [ebp - 0x2238], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2220], ebx
je 0x43ba9e
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2220], ebx
mov eax, 0x80020009
jmp 0x43b4f3
mov byte [ebp - 4], bl
mov dword [ebp - 0x2238], ebx
jmp 0x43babc
mov byte [ebp - 4], bl
mov dword [ebp - 0x2244], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2220], ebx
je 0x43bada
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2220], ebx
mov eax, esi
jmp 0x43b4f3
call fcn.0043b33b
mov esi, eax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x2234], ebx
je 0x43bb05
push dword [ebp - 0x2234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2230], ebx
jmp 0x43babc
call fcn.0043b33b
mov esi, eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x224c], ebx
jmp 0x43babc