Function at 0x41b160
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x449140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0044608e
mov esi, dword [eax + 4]
call fcn.00404100
mov edi, eax
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x2c], 1
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov ebx, 2
cmp edi, ebx
mov byte [esp + 0x2c], bl
je 0x41b31f
cmp edi, 3
je 0x41b31f
add esi, 0xdc
push esi
lea ecx, [esp + 0x14]
call fcn.00401e30
mov esi, dword [esp + 0x10]
push esi
push SysReAllocString
mov ecx, ebp
call fcn.0041ad40
push esi
push SysReAllocString
call fcn.0040a110
add esp, 8
cmp eax, 1
jne 0x41b22d
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [ebp + 0xcc]
xor edi, edi
test eax, eax
jle 0x41b5cc
lea ecx, [ecx]
test edi, edi
jl 0x41b531
cmp edi, dword [ebp + 0xcc]
jge 0x41b531
mov eax, dword [ebp + 0xc8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004014e0
lea esi, [eax + 0x10]
mov eax, dword [esi - 0xc]
add esp, 4
test eax, eax
jl 0x41b28f
push str.PCL6
push esi
call fcn.0042f637
add esp, 8
test eax, eax
je 0x41b28f
sub eax, esi
mov dword [esp + 0x1c], eax
jns 0x41b2b9
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b2a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0xcc]
inc edi
cmp edi, eax
jl 0x41b240
jmp 0x41b5cc
add esi, 0xfffffff0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b2d3
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
push str.PCL6
push str.PCL5e
lea ecx, [esp + 0x18]
call fcn.00405d00
mov esi, dword [esp + 0x10]
push esi
push SysReAllocString
mov ecx, ebp
call fcn.0041ad40
push esi
push SysReAllocString
call fcn.0040a110
add esp, 8
cmp eax, 1
jne 0x41b5cc
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x41b5cc
lea edi, [esi + 0xdc]
push edi
lea ecx, [esp + 0x14]
call fcn.00401e30
add esi, 0xe4
push esi
lea ecx, [esp + 0x18]
call fcn.00401e30
push str.Driver
lea eax, [esp + 0x20]
push edi
push eax
call fcn.00401d70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.00401e30
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b383
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x10]
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, ebp
call fcn.0041ad40
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040a110
add esp, 8
cmp eax, 1
jne 0x41b3b5
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x41b3be
call fcn.0040ef70
test eax, eax
jne 0x41b3dc
mov esi, dword [esp + 0x14]
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040a010
add esp, 8
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [ebp + 0xcc]
xor ebx, ebx
test eax, eax
jle 0x41b561
lea esp, [esp]
test ebx, ebx
jl 0x41b531
cmp ebx, dword [ebp + 0xcc]
jge 0x41b531
mov eax, dword [ebp + 0xc8]
mov esi, dword [eax + ebx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
lea eax, [eax + ebx*4]
sub esi, 0x10
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x41b436
cmp eax, dword [esi]
jne 0x41b436
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41b468
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x41b4ba
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
lea esi, [eax + 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x41b48c
push str.PCL6
push esi
call fcn.0042f637
add esp, 8
test eax, eax
je 0x41b48c
sub eax, esi
mov dword [esp + 0x20], eax
jns 0x41b4bf
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b4a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0xcc]
inc ebx
cmp ebx, eax
jl 0x41b3f0
jmp 0x41b561
jmp fcn.00401260
add esi, 0xfffffff0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b4d9
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
push str.PCL6
push str.PCL5e
lea ecx, [esp + 0x18]
call fcn.00405d00
push str.PCL6
push str.PCL5e
lea ecx, [esp + 0x1c]
call fcn.00405d00
mov esi, dword [esp + 0x10]
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, ebp
call fcn.0041ad40
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040a110
add esp, 8
cmp eax, 1
jne 0x41b536
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x41b53f
jmp fcn.0043b946
call fcn.0040ef70
test eax, eax
jne 0x41b55d
mov esi, dword [esp + 0x14]
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040a010
add esp, 8
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, dword [esp + 0x10]
push str.SOFTWARECANON_
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040a110
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 8
cmp eax, 1
jne 0x41b58a
push str.SOFTWARECANON_
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
push edi
push SysReAllocString
mov ecx, ebp
call fcn.0041ad40
push edi
push SysReAllocString
call fcn.0040a110
add esp, 8
cmp eax, 1
jne 0x41b5b2
push edi
push SysReAllocString
call ebx
mov esi, dword [esp + 0x18]
push esi
push SysReAllocString
call fcn.0040a010
add esp, 8
push esi
push SysReAllocString
call ebx
push str.SOFTWARECANON_
push SysReAllocString
call fcn.0040a110
add esp, 8
cmp eax, 1
jne 0x41b5f3
push str.SOFTWARECANON_
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b616
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b639
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b65f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret