Function at 0x437e60
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564260
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5c0490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x28]
push str.CUNINSTALLERDlg::CleanUpRegistryPDL
push eax
call fcn.00401190
add esp, 0xc
mov dword [ebp - 4], ebx
call fcn.0044b52d
mov esi, dword [eax + 4]
call fcn.00448c3f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x437ec1
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], 1
call fcn.00448c3f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x437eee
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 - 0x1c], eax
mov byte [ebp - 4], 2
call fcn.00448c3f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x437f1b
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
add esi, 0xf8
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004063a0
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.00439bb0
mov esi, SysReAllocString
call fcn.0041df30
cmp eax, 1
jne 0x437f5e
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x114]
test ecx, ecx
jg 0x438033
mov ebx, dword [ebp - 0x14]
mov edi, str.SOFTWARECANON_
mov esi, SysReAllocString
call fcn.0041df30
cmp eax, 1
jne 0x437f8e
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 1
push str.return___08x
lea ecx, [ebp - 0x28]
push 2
push ecx
call fcn.00401410
mov byte [ebp - 4], 2
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 0x437fc6
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437fe9
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], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438009
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
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 4
mov eax, ecx
test ebx, ebx
js 0x43815e
cmp ebx, dword [eax + 0x114]
jge 0x43815e
mov ecx, dword [eax + 0x110]
mov esi, dword [ecx + ebx*4]
lea eax, [ecx + ebx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x438079
cmp eax, dword [esi - 0x10]
jne 0x438079
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4380ad
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4380ff
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0053d708
add esp, 0x10
cmp dword [edi + 4], 0
lea esi, [edi + 0x10]
jl 0x4380ce
push str.PCL6
push esi
call fcn.0053d6a8
add esp, 8
test eax, eax
je 0x4380ce
sub eax, esi
sar eax, 1
jns 0x438104
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4380ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
inc ebx
cmp ebx, dword [ecx + 0x114]
jl 0x438031
jmp 0x437f6f
call fcn.00405640
add esi, 0xfffffff0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x438120
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
push str.PCL6
push str.PCL5e
lea ecx, [ebp - 0x14]
call fcn.00413060
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.00439bb0
mov edi, ebx
mov esi, SysReAllocString
call fcn.0041df30
cmp eax, 1
jne 0x437f72
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x437f72
call fcn.004490bd
int3