Function at 0x438730
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566788
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x5c0490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
lea eax, [ebp - 0x3c]
push str.CUNINSTALLERDlg::CleanUpRegistryEveryNetWorkPrinter
push eax
call fcn.00401190
add esp, 0xc
push edi
push str.lpszPrinter___s
lea ecx, [ebp - 0x3c]
push 1
push ecx
mov dword [ebp - 4], 0
call fcn.00401410
add esp, 0x10
call fcn.00448c3f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4387a2
push 0x80004005
call fcn.00404160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.00448c3f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4387cf
push 0x80004005
call fcn.00404160
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.00448c3f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4387fc
push 0x80004005
call fcn.00404160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00404f00
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
push 0x5c
push ecx
call fcn.0053dda2
add esp, 8
test eax, eax
jne 0x438833
or eax, 0xffffffff
jmp 0x438838
sub eax, dword [ebp - 0x10]
sar eax, 1
inc eax
push eax
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.004103b0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004063a0
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 0x438876
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00406410
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00420c40
add esp, 8
push edi
lea ecx, [ebp - 0x20]
call fcn.00404f00
mov byte [ebp - 4], 6
call fcn.0044b52d
mov esi, dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx - 0xc]
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004103e0
push eax
add esi, 0xf8
lea ecx, [ebp - 0x28]
push esi
mov bl, 7
push ecx
mov byte [ebp - 4], bl
call fcn.004104e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.004063a0
mov byte [ebp - 4], bl
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 0x43890d
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 0x438930
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.004063a0
mov esi, dword [ebp - 0x18]
push esi
push SysReAllocString
call fcn.0041dd40
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 8
push esi
push SysReAllocString
call ebx
push edi
lea ecx, [ebp - 0x30]
call fcn.00404f00
push 0x5c
push esi
mov byte [ebp - 4], 9
call fcn.0053dda2
add esp, 8
test eax, eax
jne 0x438979
or eax, 0xffffffff
jmp 0x43897d
sub eax, esi
sar eax, 1
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00410460
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x1c]
mov esi, SysReAllocString
call fcn.0041df30
cmp eax, 1
jne 0x4389a6
mov edx, edi
push edx
push esi
call ebx
mov edi, dword [ebp - 0x14]
call fcn.0041df30
cmp eax, 1
jne 0x4389d4
mov eax, edi
push eax
push SysReAllocString
call ebx
mov edi, str.SOFTWARECANON_
call fcn.0041df30
cmp eax, 1
jne 0x4389d4
push edi
push SysReAllocString
call ebx
mov edi, dword [ebp - 0x24]
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x34], esp
mov esi, esp
push edi
call fcn.00406410
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00421230
add esp, 4
push 1
push str.return___08x
lea ecx, [ebp - 0x3c]
push 2
push ecx
call fcn.00401410
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438a2e
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 - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438a51
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 - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438a74
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 - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438a97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438ab4
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
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 0x438ad7
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 - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438afa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00401370
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