Function at 0x410335d0
Capabilities:
Connect to wmi namespace via wbemlocator
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4114a096
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x411bade8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.Entering_WMIDllUnregisterServer
push 0x41157f9c
push 0x1000001
push 0x15c
push str.WMIProv.cpp
call fcn.41002c10
xor esi, esi
add esp, 0x14
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x120], esi
call fcn.4103f0ed
mov dword [ebp - 4], esi
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.rootThinPrint
call ebx
mov edi, eax
mov dword [ebp - 0x12c], edi
test edi, edi
jne 0x4103368f
push str.AllocSysString___failed_for_pNamespace
push 0x1000001
push 0x16c
push str.WMIProv.cpp
call fcn.41002c10
add esp, 0x10
call fcn.41042bf8
lea eax, [ebp - 0x128]
push eax
push 0x4116d304
push 1
push 0
push 0x4116d3d4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x120], eax
test eax, eax
jne 0x410337e0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
lea edx, [ebp - 0x11c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push eax
mov eax, dword [ecx + 0xc]
call eax
mov dword [ebp - 0x120], eax
test eax, eax
jne 0x41033705
mov ecx, dword [ebp - 0x11c]
push eax
push eax
push 3
push 3
push eax
push eax
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x120], eax
test eax, eax
jns 0x4103370a
call fcn.41042bf8
push str.TPAutoConnect
call ebx
mov esi, eax
mov dword [ebp - 0x118], esi
test esi, esi
je 0x4103373d
mov eax, dword [ebp - 0x11c]
mov edx, dword [eax]
push 0
push 0
push 0
push esi
push eax
mov eax, dword [edx + 0x28]
call eax
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call edi
jmp 0x41033743
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push str.TPACTranslationList
call ebx
mov esi, eax
mov dword [ebp - 0x118], esi
test esi, esi
je 0x4103376e
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push 0
push 0
push 0
push esi
push eax
call edx
push esi
call edi
push str.TPACPrinters
call ebx
mov esi, eax
mov dword [ebp - 0x118], esi
test esi, esi
je 0x41033799
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push 0
push 0
push 0
push esi
push eax
call edx
push esi
call edi
push str.TPACPrinterCreateList
call ebx
mov esi, eax
mov dword [ebp - 0x118], esi
test esi, esi
je 0x410337e6
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push 0
push 0
push 0
push esi
push eax
call edx
push esi
call edi
xor esi, esi
jmp 0x410337e6
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
call fcn.4103f105
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x410337fe
push eax
call edi
test esi, esi
je 0x41033805
push esi
call edi
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x41033817
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x11c], 0
test eax, eax
je 0x41033833
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x128], 0
call fcn.41040000
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41033857
push 0x80004005
call fcn.410011f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x118], eax
mov ecx, dword [str.2c6594db_04ad_490f_a447_dc8e2772e9cb]
push 0x411bc3e0
push ecx
mov dword [ebp - 4], 3
call dword [sym.imp.ole32.dll_CLSIDFromString]
push 0x80
lea edx, [ebp - 0x114]
push edx
push 0x411bc3e0
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
push str.SOFTWARECLASSESCLSID_s
push ecx
call fcn.41001b10
mov edi, dword [ebp - 0x118]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
add esp, 0xc
lea edx, [ebp - 0x124]
push edx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x41033902
mov eax, dword [ebp - 0x124]
push str.InProcServer32
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x410338f3
mov dword [ebp - 0x120], 0x80040201
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4103390c
mov dword [ebp - 0x120], 0x80040201
lea edx, [ebp - 0x124]
push edx
push str.SOFTWARECLASSESCLSID_
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x41033954
mov ecx, dword [ebp - 0x124]
lea eax, [ebp - 0x114]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x41033945
mov dword [ebp - 0x120], 0x80040201
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4103395e
mov dword [ebp - 0x120], 0x80040201
lea eax, [edi - 0x10]
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4103397a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.4112e1a6
mov esp, ebp
pop ebp
ret