Function at 0x434e80
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586180
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, edx
push 0
push str.CUNINSTALLERDlg::CleanUpRegistryEveryPrinter
push 0
lea ecx, [ebp - 0x44]
call fcn.0044ca70
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push edi
push ebx
push str.lpszPrinter___s__lpszDriver___s__lpszVersion___s
lea ecx, [ebp - 0x44]
push 1
push ecx
call fcn.0044cd10
add esp, 0x18
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x434efa
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x434f27
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x434f54
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x434f81
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 4
call fcn.0046d2d8
mov esi, dword [eax + 4]
push edi
lea ecx, [ebp - 0x1c]
call fcn.00403340
push 5
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0040a1c0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00404890
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434fe7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [ebp - 0x24]
call fcn.00403340
mov byte [ebp - 4], 7
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43500e
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x24]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov edi, esp
push eax
call fcn.00404900
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0041cef0
add esp, 8
push ebx
lea ecx, [ebp - 0x30]
call fcn.00403340
push ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00403340
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jle 0x43519d
push 0x5c
push eax
call fcn.005571b9
add esp, 8
test eax, eax
je 0x43519d
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x43519d
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040a1c0
push eax
add esi, 0xf0
lea eax, [ebp - 0x28]
push esi
mov bl, 0xb
push eax
mov byte [ebp - 4], bl
call fcn.0040a2c0
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.00404890
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4350ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43510d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00404890
mov esi, dword [ebp + 8]
push esi
push SysReAllocStringLen
call fcn.0041a0a0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 8
push esi
push SysReAllocStringLen
call ebx
push 0x5c
push esi
call fcn.005589fd
add esp, 8
test eax, eax
jne 0x435149
or eax, 0xffffffff
jmp 0x43514d
sub eax, esi
sar eax, 1
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 8]
call fcn.0040a240
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x2c]
mov esi, SysReAllocStringLen
call fcn.0041a290
cmp eax, 1
jne 0x435174
push edi
push esi
call ebx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0xa
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435276
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x435276
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403340
push eax
lea ecx, [esi + 0xec]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0xe
call fcn.0040a2c0
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xf
call fcn.00404890
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4351ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435211
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0xf0]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00404890
mov edi, dword [ebp + 8]
push edi
push SysReAllocStringLen
call fcn.0041a0a0
add esp, 8
push edi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edx, [esi + 0x5d8]
push str.CAPT
push edx
call fcn.00404f40
add esp, 8
test al, al
je 0x435270
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x435270
cmp dword [esi + 0x668], 0
je 0x435270
mov esi, ebx
call fcn.00427880
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, dword [ebp - 0x14]
mov esi, SysReAllocStringLen
call fcn.0041a290
cmp eax, 1
jne 0x4352a1
mov eax, edi
push eax
push esi
call ebx
mov edi, str.SOFTWARECANON_
call fcn.0041a290
cmp eax, 1
jne 0x4352a1
push edi
push esi
call ebx
mov esi, dword [ebp - 0x20]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov edi, esp
push esi
call fcn.00404900
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0041d4e0
add esp, 4
push 1
push str.return___08x
lea ecx, [ebp - 0x44]
push 2
push ecx
call fcn.0044cd10
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4352fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43531e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43533b
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43535e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435381
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4353a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4353c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4353ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43540d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4