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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fb8350
mov eax, dword fs:[0]
push eax
mov eax, 0x3038
call fcn.45fb1440
mov eax, dword [0x46039020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3018], ecx
mov dword [ebp - 0x301c], eax
mov dword [ebp - 0x3024], ebx
mov dword [ebp - 0x3020], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3038], 1
mov dword [ebp - 0x3044], eax
jmp 0x45f8e520
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3024]
call fcn.45e25bf4
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 - 0x14]
xor ecx, ebp
call fcn.45fa9e5d
leave
ret 0xc
push 0x45dcee18
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov edi, eax
neg edi
push 0x45dcee2c
lea eax, [ebp - 0x1014]
sbb edi, edi
push eax
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x45f8e01b
cmp edi, ebx
je 0x45f8e0f4
mov ecx, dword [ebp - 0x3018]
lea eax, [ebp - 0x1014]
call fcn.45f89c5a
mov esi, eax
cmp esi, ebx
jl 0x45f8dfb7
cmp dword [ebp + 0xc], ebx
je 0x45f8e0f4
mov dword [ebp - 0x302c], ebx
mov dword [ebp - 0x3028], ebx
push 0x5c
lea eax, [ebp - 0x1014]
mov byte [ebp - 4], 1
call fcn.45f89bd0
pop ecx
test eax, eax
jne 0x45f8e554
lea eax, [ebp - 0x1014]
push eax
call fcn.45f8a222
test eax, eax
je 0x45f8e0a1
mov eax, dword [ebp - 0x301c]
mov dword [ebp - 0x302c], eax
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x302c]
mov dword [ebp - 0x3028], ebx
call fcn.45f88dd3
mov dword [ebp - 0x302c], ebx
mov dword [ebp - 0x3028], ebx
cmp edi, ebx
je 0x45f8e0e6
mov ecx, dword [ebp - 0x3018]
lea eax, [ebp - 0x1014]
call fcn.45f89c5a
mov esi, eax
cmp esi, ebx
jl 0x45f8e56c
mov ecx, dword [ebp - 0x3018]
lea esi, [ebp - 0x1014]
call fcn.45f8a330
lea ecx, [ebp - 0x302c]
mov byte [ebp - 4], bl
mov esi, eax
call fcn.45e25bf4
jmp 0x45f8e4dd
lea ecx, [ebp - 0x302c]
mov byte [ebp - 4], bl
call fcn.45e25bf4
push 0x45dcee20
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x45f8e12b
mov ecx, dword [ebp - 0x3018]
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x3038], ebx
call fcn.45f89c5a
mov esi, eax
cmp esi, ebx
jl 0x45f8dfb7
push 0x45dcee38
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x45f8e216
mov edi, dword [ebp - 0x3018]
lea eax, [ebp - 0x2014]
mov ecx, edi
call fcn.45f89c5a
mov esi, eax
cmp esi, ebx
jl 0x45f8dfb7
lea eax, [ebp - 0x1014]
mov ecx, edi
call fcn.45f89c5a
mov esi, eax
cmp esi, ebx
jl 0x45f8dfb7
push 0x45dd3fe4
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x45f8e562
cmp dword [ebp + 0xc], ebx
je 0x45f8e1ec
mov dword [ebp - 0x3034], ebx
mov dword [ebp - 0x3030], ebx
mov eax, dword [ebp - 0x301c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x3034], eax
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x2014]
push eax
lea edx, [ebp - 0x3034]
mov ecx, edi
mov dword [ebp - 0x3030], ebx
call fcn.45f89d57
mov dword [ebp - 0x3034], ebx
mov dword [ebp - 0x3030], ebx
lea ecx, [ebp - 0x3034]
jmp 0x45f8e0d7
cmp dword [ebp + 0x10], ebx
jne 0x45f8e204
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x301c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea esi, [ebp - 0x1014]
mov ecx, edi
call fcn.45f8a330
jmp 0x45f8e52b
push 0x5c
lea eax, [ebp - 0x1014]
call fcn.45f89bd0
pop ecx
test eax, eax
jne 0x45f8e562
cmp dword [ebp + 0xc], ebx
je 0x45f8e2ea
push 0x2001f
lea eax, [ebp - 0x1014]
push eax
push dword [ebp - 0x301c]
lea ecx, [ebp - 0x3024]
call fcn.45e751de
cmp eax, ebx
je 0x45f8e297
push 0x20019
lea eax, [ebp - 0x1014]
push eax
push dword [ebp - 0x301c]
lea ecx, [ebp - 0x3024]
call fcn.45e751de
cmp eax, ebx
je 0x45f8e297
lea eax, [ebp - 0x1014]
push eax
push dword [ebp - 0x301c]
lea edi, [ebp - 0x3024]
call fcn.45f88d44
cmp eax, ebx
jne 0x45f8e562
mov ecx, dword [ebp - 0x3018]
lea eax, [ebp - 0x1014]
call fcn.45f89c5a
mov esi, eax
cmp esi, ebx
jl 0x45f8dfb7
push 0x45dd3fe4
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x45f8e4e5
mov ecx, dword [ebp - 0x3018]
lea eax, [ebp - 0x1014]
push eax
push ebx
lea edx, [ebp - 0x3024]
call fcn.45f89d57
jmp 0x45f8e4db
cmp dword [ebp - 0x301c], ebx
je 0x45f8e318
cmp dword [ebp + 0x10], ebx
jne 0x45f8e31f
push 0x2001f
lea eax, [ebp - 0x1014]
push eax
push dword [ebp - 0x301c]
lea ecx, [ebp - 0x3024]
call fcn.45e751de
test eax, eax
je 0x45f8e31f
mov dword [ebp + 0x10], 1
push 0x104
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x3014]
push 0x1000
push eax
call dword [0x45db1344]
add esp, 0x10
cmp dword [ebp + 0x10], ebx
jne 0x45f8e362
mov esi, dword [ebp - 0x3024]
push esi
call fcn.45f8a258
test eax, eax
jne 0x45f8e362
call fcn.45f8a294
test eax, eax
je 0x45f8e481
mov edi, dword [ebp - 0x3018]
lea eax, [ebp - 0x1014]
mov ecx, edi
call fcn.45f89c5a
mov esi, eax
cmp esi, ebx
jl 0x45f8dfb7
lea esi, [ebp - 0x1014]
mov ecx, edi
call fcn.45f8a330
mov esi, eax
cmp esi, ebx
jl 0x45f8dfb7
push 0x45dd3fe8
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x45f8e3f1
push dword [ebp + 0x10]
mov ecx, edi
push ebx
push dword [ebp - 0x3024]
call fcn.45f8df4b
mov esi, eax
cmp esi, ebx
jl 0x45f8dfb7
cmp dword [ebp + 0x10], ebx
je 0x45f8e3fa
mov eax, dword [ebp - 0x3044]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x1014]
mov ecx, edi
call fcn.45f89c5a
mov esi, eax
cmp esi, ebx
jl 0x45f8dfb7
jmp 0x45f8e204
cmp dword [ebp + 0x10], ebx
jne 0x45f8e535
push dword [ebp - 0x3024]
call fcn.45f8a258
test eax, eax
je 0x45f8e478
cmp dword [ebp - 0x3038], ebx
je 0x45f8e478
lea eax, [ebp - 0x3014]
push eax
call fcn.45f8a222
test eax, eax
je 0x45f8e51a
mov dword [ebp - 0x3040], ebx
mov dword [ebp - 0x303c], ebx
mov eax, dword [ebp - 0x301c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x3040], eax
lea eax, [ebp - 0x3014]
push eax
lea ecx, [ebp - 0x3040]
mov dword [ebp - 0x303c], ebx
call fcn.45f88dd3
mov dword [ebp - 0x3040], ebx
mov dword [ebp - 0x303c], ebx
lea ecx, [ebp - 0x3040]
mov byte [ebp - 4], bl
call fcn.45e25bf4
jmp 0x45f8e51a
cmp dword [ebp + 0x10], ebx
jne 0x45f8e535
lea ecx, [ebp - 0x3024]
call fcn.45e25bf4
test eax, eax
jne 0x45f8e562
cmp dword [ebp - 0x3038], ebx
je 0x45f8e4af
lea eax, [ebp - 0x3014]
push eax
push dword [ebp - 0x301c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0x3018]
lea eax, [ebp - 0x1014]
call fcn.45f89c5a
mov esi, eax
cmp esi, ebx
jl 0x45f8dfb7
mov ecx, dword [ebp - 0x3018]
lea esi, [ebp - 0x1014]
call fcn.45f8a330
mov esi, eax
cmp esi, ebx
jl 0x45f8dfb7
push 0x45dd3fe8
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x45f8e535
mov ecx, dword [ebp - 0x3018]
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x3024]
call fcn.45f8df4b
mov esi, eax
cmp esi, ebx
jl 0x45f8dfb7
mov ecx, dword [ebp - 0x3018]
lea eax, [ebp - 0x1014]
call fcn.45f89c5a
mov esi, eax
cmp esi, ebx
jl 0x45f8dfb7
push 0x45dd3fec
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x45f8dfe4
jmp 0x45f8dfb7
lea ecx, [ebp - 0x302c]
mov byte [ebp - 4], bl
call fcn.45e25bf4
mov esi, 0x80020009
jmp 0x45f8dfb7
lea ecx, [ebp - 0x302c]
mov byte [ebp - 4], bl
call fcn.45e25bf4
jmp 0x45f8dfb7