Function at 0x4356d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c538
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x5b4450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea eax, [ebp - 0x38]
push str.CUNINSTALLERDlg::CleanUpRegistryEveryPrinterForFax
push eax
call fcn.0040ac70
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push ecx
push esi
push ebx
push str.lpszPrinter___s__lpszDriver___s__lpszVersion___s
lea edx, [ebp - 0x38]
push 1
push edx
call fcn.0040aed0
add esp, 0x18
call fcn.00442c4d
mov edi, dword [eax + 4]
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], edi
call fcn.00401210
mov byte [ebp - 4], 1
call fcn.0044033f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x435762
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp + 0xc], esp
mov esi, esp
push eax
call fcn.004017c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00417dc0
add esp, 8
call fcn.0044033f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4357b5
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 3
call fcn.0044033f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4357e2
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
call fcn.0044033f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43580f
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00401210
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x435b95
push 0x5c
push ecx
call fcn.00534181
add esp, 8
test eax, eax
je 0x435b95
sub eax, dword [ebp - 0x14]
sar eax, 1
cmp eax, 0xffffffff
je 0x435b95
call fcn.0044033f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x435878
push 0x80004005
call fcn.004010a0
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], 7
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ecx - 0xc]
push str.NONE
push edx
mov dword [ebp - 0x2c], esi
call fcn.00533c47
add esp, 8
test eax, eax
je 0x435a24
push str._FAX
add edi, 0xf8
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.004063e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00401520
mov byte [ebp - 4], 7
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 0x4358f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
dec esi
push esi
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00413980
push eax
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x24]
mov bl, 9
push eax
mov byte [ebp - 4], bl
call fcn.00413a80
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xa
call fcn.00401520
mov byte [ebp - 4], bl
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 0x435948
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
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 0x43596b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 0xc]
push 0x5c
push esi
call fcn.00534819
add esp, 8
test eax, eax
jne 0x435982
or eax, 0xffffffff
jmp 0x435986
sub eax, esi
sar eax, 1
push eax
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00413a00
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.00401520
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4359c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
push SysReAllocString
call fcn.00414fb0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 8
push esi
push SysReAllocString
call ebx
mov edi, dword [ebp + 8]
mov esi, SysReAllocString
call fcn.00415170
cmp eax, 1
jne 0x4359f5
push edi
push esi
call ebx
mov edi, dword [ebp - 0x10]
call fcn.00415170
cmp eax, 1
jne 0x435a21
push edi
push SysReAllocString
call ebx
mov edi, str.SOFTWARECANON_
call fcn.00415170
cmp eax, 1
jne 0x435a21
push edi
push SysReAllocString
call ebx
mov edi, dword [ebp - 0x18]
lea esi, [edi + 0xf8]
push esi
lea ecx, [ebp - 0x10]
call fcn.00401520
mov ecx, dword [ebp - 0x2c]
dec ecx
push ecx
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x14]
call fcn.00413980
push eax
lea eax, [ebp - 0x2c]
push esi
mov bl, 0xc
push eax
mov byte [ebp - 4], bl
call fcn.00413a80
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xd
call fcn.00401520
mov byte [ebp - 4], bl
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 0x435a86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
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 0x435aa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 0xc]
push 0x5c
push esi
call fcn.00534819
add esp, 8
test eax, eax
jne 0x435ac0
or eax, 0xffffffff
jmp 0x435ac4
sub eax, esi
sar eax, 1
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00413a00
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call fcn.00401520
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435b01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
push SysReAllocString
call fcn.00414fb0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 8
push esi
push SysReAllocString
call ebx
mov edi, dword [ebp + 8]
mov esi, SysReAllocString
call fcn.00415170
cmp eax, 1
jne 0x435b33
push edi
push esi
call ebx
mov ebx, dword [ebp - 0x10]
mov edi, ebx
call fcn.00415170
cmp eax, 1
jne 0x435b69
push ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, str.SOFTWARECANON_
call fcn.00415170
cmp eax, 1
jne 0x435b69
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 4], 6
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 0x435dbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x435dbf
mov ecx, dword [ebp - 0x1c]
push str.NONE
push ecx
call fcn.00533c47
add esp, 8
test eax, eax
je 0x435ee7
push str._FAX
add edi, 0xf8
lea edx, [ebp - 0x2c]
push edi
push edx
call fcn.004063e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.00401520
mov byte [ebp - 4], 6
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 0x435bf6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
lea ecx, [ebp - 0x24]
call fcn.00401210
mov esi, eax
push 0x58abe4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 0x10
call fcn.004063e0
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x2c]
mov bl, 0x11
push eax
mov byte [ebp - 4], bl
call fcn.00413a80
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x12
call fcn.00401520
mov byte [ebp - 4], bl
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 0x435c5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
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 0x435c7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
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 0x435ca2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 0xc]
push esi
push SysReAllocString
call fcn.00414fb0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 8
push esi
push SysReAllocString
call ebx
mov edi, dword [ebp - 0x10]
mov esi, SysReAllocString
call fcn.00415170
cmp eax, 1
jne 0x435cea
push edi
push esi
call ebx
mov edi, str.SOFTWARECANON_
call fcn.00415170
cmp eax, 1
jne 0x435cea
push edi
push esi
call ebx
mov edi, dword [ebp - 0x18]
lea ecx, [edi + 0xf8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401520
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401210
push eax
add edi, 0xf4
lea eax, [ebp + 8]
push edi
push eax
mov byte [ebp - 4], 0x13
call fcn.00413a80
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x14
call fcn.00401520
mov byte [ebp - 4], 0x13
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 0x435d50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
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 0x435d73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 0xc]
push esi
push SysReAllocString
call fcn.00414fb0
add esp, 8
push esi
push SysReAllocString
call ebx
mov ebx, dword [ebp - 0x10]
mov edi, ebx
mov esi, SysReAllocString
call fcn.00415170
cmp eax, 1
jne 0x435dbf
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, str.SOFTWARECANON_
call fcn.00415170
cmp eax, 1
jne 0x435dbf
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, dword [ebp - 0x1c]
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push edi
call fcn.004017c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004183b0
add esp, 4
push 1
push str.return___08x
lea ecx, [ebp - 0x38]
push 2
push ecx
call fcn.0040aed0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435e19
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 - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435e3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435e5c
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 + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435e7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435e9c
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435ebf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ae50
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 8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x435ced