Function at 0x10028a13
Capabilities:
Check mutex on windows
Delete registry key

Disassembly:
sub esp, 0xd0
mov eax, dword [0x1024bd20]
xor eax, esp
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xe0]
xor ecx, ecx
push ebx
push ebp
push edi
mov edi, dword [esp + 0xe0]
mov ebp, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], ecx
mov word [esp + 0x54], 0x100
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push 9
pop ebx
test eax, eax
js 0x10028d89
cmp eax, 1
jle 0x10028a8a
cmp eax, 2
jne 0x10028d89
push 0x101d44f8
jmp 0x10028a93
mov byte [esp + 0x58], cl
push str.Global_
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x58]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [esp + 0xf4], ebp
je 0x10028ab9
push str.19659239224e364682fa4baf72c53ea4
jmp 0x10028abe
push str.14919ea49a8f3b4aa3cf1058d9a64cec
push eax
call esi
test edi, edi
je 0x10028acd
push edi
lea eax, [esp + 0x60]
push eax
call esi
xor esi, esi
lea eax, [esp + 0x14]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 1
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x10028b66
push 8
pop ecx
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xec]
push 0x101d4504
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 5
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x101d4520
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x18]
mov dword [0x10255780], eax
push ecx
push esi
lea ecx, [esp + 0x3c]
push ecx
push 1
call eax
test eax, eax
jne 0x10028d4a
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x10028b6d
push 0x11
jmp 0x10028d45
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x10028d4a
push esi
push dword [esp + 0x1c]
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x10028d4a
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x28], ebp
sub eax, esi
je 0x10028c95
dec eax
je 0x10028c81
dec eax
jne 0x10028caa
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
push 1
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 0x78]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
xor ecx, ecx
test eax, eax
je 0x10028bea
mov dword [esp + 0x10], ecx
jmp 0x10028d4a
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
push ecx
push ecx
push ecx
push 0x101d4534
push dword [esp + 0x30]
call esi
test eax, eax
jne 0x10028c7d
push dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x101d4544
push dword [esp + 0x14]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x5c]
xor esi, esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], esi
call edi
test eax, eax
jne 0x10028caa
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0xf8]
lea eax, [esp + 0x6c]
push 1
push esi
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10028caa
mov dword [esp + 0x10], esi
jmp 0x10028caa
xor esi, esi
jmp 0x10028caa
lea eax, [esp + 0x5c]
push eax
push esi
push esi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
jmp 0x10028ca6
lea eax, [esp + 0x5c]
push eax
push esi
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x10028d4a
cmp dword [esp + 0xe8], 0
jne 0x10028d48
push esi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x1c], eax
cmp eax, 0x80
je 0x10028d11
test eax, eax
je 0x10028d11
cmp eax, 0x102
je 0x10028d18
mov eax, dword [section..data]
cmp eax, section..data
je 0x10028d05
push 0x101d4a68
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1002114e
add esp, 0x10
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10028d4a
cmp eax, 0x102
jne 0x10028d48
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [section..data]
cmp eax, section..data
je 0x10028d43
push 0x101d4a68
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1002114e
add esp, 0x10
push 0x14
pop ebx
jmp 0x10028d4a
mov ebx, esi
cmp dword [esp + 0x14], 0
je 0x10028d5b
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [esp + 0x18], 0
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x10028d6e
push dword [esp + 0x18]
call esi
test ebp, ebp
je 0x10028d75
push ebp
call esi
mov eax, dword [esp + 0x30]
xor ecx, ecx
test ebx, ebx
pop esi
cmove ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov eax, ebx
jmp 0x10028d8c
push 0xe
pop eax
mov ecx, dword [esp + 0xd8]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.1017868e
add esp, 0xd0
ret