Function at 0x4102b0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e01c
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x48f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebx + 0x48]
lea ecx, [ebp - 0x2c]
call fcn.00428ea0
mov dword [ebp - 4], 0
push dword [ebp - 0x2c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.00428aa0
mov esi, eax
xor eax, eax
mov dword [ebp - 0x68], vtable.el::base::Writer.0
mov dword [ebp - 0x64], 0x80
mov dword [ebp - 0x60], str.UnInstallMgr.cpp
mov dword [ebp - 0x5c], 0x6e
mov dword [ebp - 0x58], str.void___thiscall_CUnInstallMgr::RemoveReg_void_
mov word [ebp - 0x54], ax
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], al
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x4808d2
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
push str.default
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 2
push 1
push eax
call fcn.0041eaa0
mov edi, eax
add esp, 0xc
cmp byte [edi + 0x1c], 0
je 0x410396
push str.RemoveReg:
lea ecx, [edi + 0x20]
call fcn.00407ca0
cmp byte [edi + 0x1c], 0
je 0x410396
cmp dword [esi + 0x14], 0x10
jb 0x41038d
mov esi, dword [esi]
push esi
lea ecx, [edi + 0x20]
call fcn.00407ca0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.el::base::Writer.0
call fcn.0041ef00
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4103f4
push dword [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
push ecx
call fcn.0040beb0
mov ecx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x3c]
add esp, 8
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a210
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41040d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409f90
mov edx, dword [ebx + 0x48]
lea ecx, [ebp - 0x30]
call fcn.00429010
mov byte [ebp - 4], 4
push dword [ebp - 0x30]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
call fcn.00428aa0
mov esi, eax
xor eax, eax
mov dword [ebp - 0x68], vtable.el::base::Writer.0
mov dword [ebp - 0x64], 0x80
mov dword [ebp - 0x60], str.UnInstallMgr.cpp
mov dword [ebp - 0x5c], 0x72
mov dword [ebp - 0x58], str.void___thiscall_CUnInstallMgr::RemoveReg_void_
mov word [ebp - 0x54], ax
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], al
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x4808d2
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
push str.default
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 6
push 1
push eax
call fcn.0041eaa0
mov edi, eax
add esp, 0xc
cmp byte [edi + 0x1c], 0
je 0x4104c3
push str.RemoveReg:
lea ecx, [edi + 0x20]
call fcn.00407ca0
cmp byte [edi + 0x1c], 0
je 0x4104c3
cmp dword [esi + 0x14], 0x10
jb 0x4104ba
mov esi, dword [esi]
push esi
lea ecx, [edi + 0x20]
call fcn.00407ca0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.el::base::Writer.0
call fcn.0041ef00
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x410521
push dword [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
push ecx
call fcn.0040beb0
mov ecx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x3c]
add esp, 8
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a210
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x410536
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409f90
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x30]
mov eax, esi
mov dword [ebp - 0x14], 0xf
add edx, 0xfffffff0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410569
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x410588
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042fe16
mov esp, ebp
pop ebp
ret