Function at 0x432270
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x766867
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x88bba0]
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
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x1ac], xmm0
push 0x44
push 0
lea eax, [ebp - 0x1f4]
push eax
call fcn.00723180
add esp, 0xc
mov dword [ebp - 0x1f4], 0x44
xor eax, eax
mov word [ebp - 0x1c4], ax
mov dword [ebp - 0x1c8], 1
call fcn.00484f10
push eax
lea ecx, [ebp - 0x120]
call fcn.0060f470
mov byte [ebp - 4], 1
push str.CtesCommand.exe
lea ecx, [ebp - 0x190]
call fcn.0060f5d0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x120]
call fcn.0060f860
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x190]
call fcn.0060f720
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00612230
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
call fcn.00613090
lea ecx, [ebp - 0x2c]
test al, al
jne 0x4323a5
push str.RestartComputerService::DisplayRestartDialog:_CtesCommand_does_not_exist
call fcn.00404f70
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push eax
call fcn.00481260
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00404fd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.006124a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.0060f720
xor al, al
jmp 0x4325e8
push str._s__d__d
call fcn.00404f70
mov byte [ebp - 4], 5
lea eax, [ebp - 0x44]
push eax
push edi
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x198], esp
push eax
lea ecx, [ebp - 0x120]
call fcn.00611b20
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x60]
call fcn.00483380
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.004084d0
mov ecx, eax
call fcn.00483750
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x60]
call fcn.00483470
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.00404fd0
push str.RestartComputerService::DisplayRestartDialog:_Launching_the_restart_dialog:__s
lea ecx, [ebp - 0x2c]
call fcn.00404f70
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x5c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x198], esp
lea eax, [ebp - 0x44]
push eax
call fcn.00408f30
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00483380
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xf
mov ecx, eax
call fcn.00408450
mov ecx, eax
call fcn.00483750
mov byte [ebp - 4], 0x10
push eax
call fcn.00481320
add esp, 4
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x5c]
call fcn.00404fd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x7c]
call fcn.00483470
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.00404fd0
mov ecx, esi
call fcn.004326b0
mov ecx, eax
mov dword [ebp - 0x198], ecx
test ecx, ecx
jne 0x4324d5
push str.RestartComputerService::DisplayRestartDialog:_Failed_to_get_user_token
lea ecx, [ebp - 0x2c]
call fcn.00404f70
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x2c]
push eax
call fcn.00481d00
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.00404fd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
jmp 0x43237b
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
cmovae eax, dword [ebp - 0x44]
lea edx, [ebp - 0x1ac]
push edx
lea edx, [ebp - 0x1f4]
push edx
push 0
push 0
push 0x28
push 0
push 0
push 0
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x432586
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push str.RestartComputerService::DisplayRestartDialog:_Unable_to_launch_CTESCommand._Error_returned:___d_.
lea ecx, [ebp - 0x2c]
call fcn.00404f70
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00483380
mov esi, eax
mov byte [ebp - 4], 0x13
push edi
mov ecx, esi
call fcn.004836e0
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.00483750
mov byte [ebp - 4], 0x14
push eax
call fcn.00481d00
add esp, 4
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5c]
call fcn.00404fd0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x7c]
call fcn.00483470
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.00404fd0
mov byte [ebp - 0x191], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4325a3
push dword [ebp - 0x1ac]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1a8]
call esi
mov byte [ebp - 0x191], 1
push dword [ebp - 0x198]
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00404fd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.006124a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.0060f720
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov al, byte [ebp - 0x191]
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.00722035
mov esp, ebp
pop ebp
ret 4