Function at 0x412ea0
Capabilities:
Check mutex on windows
Delete registry value
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x412ec0
mov eax, 0x80070005
jmp 0x4134a5
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x84], 0
je 0x412ee1
mov eax, 0x8007000a
jmp 0x4134a5
mov esi, dword [ebp + 8]
test esi, esi
je 0x4134a0
xor edi, edi
cmp word [esi], di
je 0x4134a0
call fcn.0043d5bb
push eax
lea ecx, [ebp - 8]
call fcn.0043bbe8
lea edx, [ebp - 8]
mov ecx, esi
call fcn.0044cb64
mov ebx, eax
test ebx, ebx
je 0x412f29
jle 0x413491
movzx ebx, bx
or ebx, 0x80070000
jmp 0x413491
mov esi, dword [ebp - 8]
lea ecx, [ebp - 8]
mov eax, dword [esi - 0xc]
dec eax
push eax
call fcn.0043b8a7
push 0x5c
pop ecx
cmp ax, cx
jne 0x412f4e
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 8]
dec eax
push eax
call fcn.0043d882
push str.WindowsSystem32_ntdll.dll
lea edx, [ebp - 8]
lea ecx, [ebp - 0x20]
call fcn.0043baed
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x2c]
push edi
call fcn.0044d9a9
pop ecx
pop ecx
test eax, eax
jne 0x413481
cmp dword [ebp - 0x28], 0x60000
jb 0x413481
mov ecx, esi
call fcn.00412976
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
test eax, eax
je 0x412fea
push str.GlobalDism_411ae0c2_9433_4e12_8865_d273e84d2206
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x412fb8
call fcn.0044cc8a
mov ebx, eax
jmp 0x412fca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x412fd7
mov ebx, 0xf0801
lea ecx, [ebp + 8]
call fcn.00439864
jmp 0x413477
lea ecx, [ebp + 8]
mov dword [ebp + 8], edi
mov dword [ebp - 0x14], ebx
call fcn.00439864
jmp 0x4132ec
push str.WindowsSystem32DismDismProv.dll
lea edx, [ebp - 8]
lea ecx, [ebp + 8]
call fcn.0043baed
pop ecx
push edi
push 0x2200000
push 3
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 7
inc ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x41315a
push str.DismProv
push 0x49379c
push ebx
call dword [sym.imp.CBSHost.dll_DismWriteLog]
xor eax, eax
push eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x413077
call fcn.0044cc8a
mov ebx, eax
push ebx
push 0x4937a4
lea eax, [ebp + 8]
push eax
call fcn.0044af44
add esp, 0xc
push dword [eax]
push 0x49379c
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
jmp 0x413451
call fcn.0043d5bb
push eax
lea ecx, [ebp + 8]
call fcn.0043bbe8
push 0
push dword [ebp - 0xc]
lea ecx, [ebp + 8]
call fcn.0043d810
push eax
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x4130b0
call fcn.0044cc8a
mov ebx, eax
push ebx
push 0x4937d0
jmp 0x413108
push eax
lea ecx, [ebp + 8]
call fcn.0043d882
push 0x5f
push 0x5c
lea ecx, [ebp + 8]
call fcn.0043ca57
lea eax, [ebp + 8]
mov edx, str.Global_
push eax
lea ecx, [ebp - 4]
call fcn.00431d43
pop ecx
push dword [eax]
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
lea ecx, [ecx - 0x10]
call fcn.0043d912
test ebx, ebx
jne 0x413133
call fcn.0044cc8a
mov ebx, eax
push ebx
push 0x49380c
lea eax, [ebp + 0xc]
push eax
call fcn.0044af44
add esp, 0xc
push dword [eax]
push 0x49379c
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.0043d912
jmp 0x41306c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41314a
mov ebx, 0xf0801
jmp 0x41306c
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0043d912
jmp 0x4132dc
lea ecx, [ebp - 0x60]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x41317b
call fcn.0044cc8a
mov ebx, eax
push ebx
push 0x493838
jmp 0x413051
push dword [ebp - 0x30]
lea eax, [ebp - 4]
push dword [ebp - 0x34]
push dword [ebp - 0x44]
push str._lu__lu__lu
push eax
call fcn.0044af44
lea eax, [ebp - 4]
mov edx, str.Global_
push eax
lea ecx, [ebp + 8]
call fcn.00431d43
add esp, 0x18
push dword [eax]
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
lea ecx, [ecx - 0x10]
call fcn.0043d912
test esi, esi
mov esi, dword [ebp - 4]
jne 0x4131fb
call fcn.0044cc8a
mov ebx, eax
lea eax, [ebp + 8]
push ebx
push esi
push 0x493864
push eax
call fcn.0044af44
add esp, 0x10
push dword [eax]
push 0x49379c
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
jmp 0x413443
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x413212
mov ebx, 0xf0801
jmp 0x41344e
call fcn.0043d5bb
push eax
lea ecx, [ebp + 8]
call fcn.0043bbe8
push 0x104
lea ecx, [ebp + 8]
call fcn.0043d810
push 0x104
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x41327b
call fcn.0044cc8a
mov ebx, eax
lea eax, [ebp + 0xc]
push ebx
push 0x493898
push eax
call fcn.0044af44
add esp, 0xc
push dword [eax]
push 0x49379c
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov esi, dword [ebp - 4]
jmp 0x413443
push 0x104
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
mov esi, dword [ebp - 4]
test eax, eax
jne 0x413396
call fcn.0044cc8a
push eax
lea eax, [ebp - 4]
push 0x4938c8
push eax
call fcn.0044af44
add esp, 0xc
push dword [eax]
push 0x49379c
push 2
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0043d912
lea ecx, [esi - 0x10]
call fcn.0043d912
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0x18]
call fcn.0043bb32
lea ecx, [edi - 0x10]
call fcn.0043d912
push ecx
lea ecx, [esi - 0x10]
mov edi, esp
lea ebx, [ebp + 8]
call fcn.0043cad2
add eax, 0x10
lea ecx, [ebp - 0x2c]
mov edx, ebx
mov dword [edi], eax
call fcn.004129dc
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x413477
mov esi, dword [ebp + 8]
mov dl, 1
mov eax, dword [ebp - 0x24]
lea ecx, [esi + 4]
mov dword [esi + 0x14], eax
call dword [sym.imp.CBSHost.dll_CreateCbsHostHelper]
mov edi, eax
test edi, edi
je 0x413468
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x41333f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x48], edi
mov eax, dword [edi]
push ecx
push 0x20006
push str.SOFTWAREMicrosoftWindowsCurrentVersionComponent_Based_Servicing
push 0x80000002
push edi
call dword [eax + 0xc]
test eax, eax
jne 0x413376
push str.Unserviceable
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
and dword [ebp - 0x14], 0
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x10]
and dword [ebp - 0x10], 0
xor ebx, ebx
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
jmp 0x413477
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0043d8ad
push 0x5f
push 0x5c
lea ecx, [ebp + 8]
call fcn.0043ca57
push 0x5f
lea ecx, [ebp + 8]
call fcn.0043c971
push dword [esi - 0xc]
lea ecx, [ebp + 8]
push esi
call fcn.0043c99e
lea eax, [ebp + 8]
mov edx, str.Global_
push eax
lea ecx, [ebp - 4]
call fcn.00431d43
pop ecx
push dword [eax]
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov ebx, eax
add ecx, 0xfffffff0
mov dword [ebp - 0x10], ebx
call fcn.0043d912
test ebx, ebx
jne 0x41342d
call fcn.0044cc8a
mov ebx, eax
lea eax, [ebp + 0xc]
push ebx
push dword [ebp + 8]
push 0x493864
push eax
call fcn.0044af44
add esp, 0x10
push dword [eax]
push 0x49379c
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.0043d912
jmp 0x413443
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4132c6
mov ebx, 0xf0801
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0043d912
lea ecx, [esi - 0x10]
call fcn.0043d912
lea ecx, [ebp - 0x18]
call fcn.0043bb32
lea ecx, [edi - 0x10]
call fcn.0043d912
jmp 0x413477
call fcn.0044cc8a
mov ebx, eax
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax]
lea ecx, [ebp - 0x14]
call fcn.00439843
jmp 0x413486
mov ebx, 0x80004002
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.0043d912
mov eax, ebx
jmp 0x4134a5
mov eax, 0x80070003
pop edi
pop esi
pop ebx
leave
ret 8