Function at 0x476f10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b175d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4e54fc]
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 edi, ecx
cmp byte [edi + 0x98], 0
mov esi, dword [ebp + 0xc]
je 0x476f89
mov ecx, dword [edi + 4]
push 0x40
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x30
mov eax, esp
push ecx
mov dword [eax], str.Items_cannot_be_enabled_or_disabled_from_file_scans
call fcn.004432e0
add esp, 0x10
xor eax, eax
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.0047df69
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x20]
lea ebx, [edi + 0x60]
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0x1039
push dword [ebx]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x40], eax
test eax, eax
js 0x476f69
cmp dword [ebp - 0x18], 5
jne 0x476ff7
mov ecx, dword [edi + 0x78]
mov ecx, dword [ecx + eax*4]
mov eax, dword [edi + 0x6c]
mov eax, dword [eax + ecx*8]
cmp dword [eax + 0x80], 1
jne 0x476f69
add eax, 0x84
cmp dword [eax + 0x14], 8
jb 0x476fdd
mov eax, dword [eax]
push 0xa
push 0
push 0
push eax
push str.Open
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x476f69
cmp dword [ebp - 0x20], 8
jne 0x476f69
push 0xf000
push dword [esi + 0xc]
push 0x102c
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x78]
and eax, 0xfffff000
mov edx, dword [esi + 0xc]
mov edx, dword [ecx + edx*4]
mov ecx, dword [edi + 0x6c]
mov ebx, dword [ecx + edx*8]
mov dword [ebp - 0x44], ebx
cmp eax, 0x1000
je 0x47704c
test byte [ebx + 0xd0], 2
je 0x47704c
lea eax, [ebx + 0x14]
mov byte [ebp - 0x30], 1
mov dword [ebp - 0x38], eax
jmp 0x47718f
cmp dword [ebx + 0x14], 8
lea eax, [ebx + 0x14]
mov byte [ebp - 0x30], 0
mov esi, ebx
mov dword [ebp - 0x38], eax
jb 0x477060
mov esi, dword [ebx]
call fcn.00406d20
mov ecx, eax
test ecx, ecx
je 0x4772c8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push esi
call fcn.004051b0
test al, al
jne 0x4770b9
test esi, esi
jne 0x477096
xor ecx, ecx
jmp 0x4770af
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4770a0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.004056b0
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x2c]
mov ebx, dword [esi - 0xc]
test ebx, ebx
js 0x4772be
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x4770eb
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00405640
mov esi, dword [ebp - 0x2c]
lea eax, [ebx + 1]
push eax
push esi
call fcn.0048d10c
add esp, 8
cmp ebx, dword [esi - 8]
jg 0x4772be
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
cmp dword [esi - 0xc], eax
jge 0x477114
or ebx, 0xffffffff
jmp 0x477131
push str.USERINIT
push esi
call fcn.0047fb1d
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x47712d
or ebx, 0xffffffff
jmp 0x477131
sub ebx, esi
sar ebx, 1
shr ebx, 0x1f
xor bl, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x477156
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x47718c
mov ecx, dword [edi + 4]
push 0x134
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x81
mov eax, esp
push ecx
mov dword [eax], str.Disabling_userinit_value_may_result_in_users_not_being_able_to_login._Continue_
call fcn.004432e0
mov ecx, dword [ebp - 0x38]
add esp, 0x10
mov dword [ebp - 0x38], ecx
cmp eax, 7
je 0x476f69
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x4c]
push esi
push eax
mov ecx, edi
call fcn.00475a60
mov dword [ebp - 4], 3
mov ecx, edi
push esi
call fcn.004758e0
push dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x4c]
mov ecx, dword [eax]
push ebx
mov edx, dword [ecx + 0xc]
mov ecx, eax
call edx
test al, al
jne 0x4772aa
mov ecx, dword [ebp - 0x40]
push dword [ebp - 0x30]
push dword [ebp - 0x4c]
mov eax, dword [ecx]
push ebx
mov eax, dword [eax + 0x10]
call eax
test al, al
jne 0x477284
call fcn.0046e740
test al, al
jne 0x47720a
push str.Enabling_disabling_may_require_admin_access.
mov ecx, edi
call fcn.00479350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00404e60
jmp 0x476f69
lea ecx, [ebp - 0x2c]
call fcn.0040eb70
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
cmp dword [eax], 8
jb 0x477220
mov ebx, dword [ebx]
mov cl, byte [ebp - 0x30]
mov edx, str.disable
test cl, cl
mov eax, str.enable
push ebx
cmove eax, edx
push eax
lea eax, [ebp - 0x2c]
push str.Failed_to__s__s
push eax
call fcn.0041eca0
mov edx, dword [edi + 4]
add esp, 0x10
push 0x10
push ecx
mov eax, esp
push ecx
mov ecx, esp
push edx
mov dword [eax], 0x81
mov eax, dword [ebp - 0x2c]
mov dword [ecx], eax
call fcn.004432e0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00405000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00404e60
jmp 0x476f69
movzx eax, byte [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov ecx, edi
push eax
push esi
call fcn.00478f50
xor dword [ebx + 0xd0], 2
push esi
push esi
push 0x1015
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00404e60
jmp 0x476f69
push 0x80070057
call fcn.00406ac0
push 0x80004005
call fcn.00406ac0
int3