Function at 0x428300
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fdb4
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x48f00c]
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 ebx, edx
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov edx, eax
mov dword [ebp - 0x48], eax
call fcn.00428aa0
mov edi, eax
mov edx, ebx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00428aa0
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x88], vtable.el::base::Writer.0
mov dword [ebp - 0x84], 0x80
mov dword [ebp - 0x80], str.ProcessHandler.cpp
mov dword [ebp - 0x7c], 0x2d
mov dword [ebp - 0x78], str.int___cdecl_CProcessHandler::CreateProcessByElevated_struct_HWND____const_wchar_t__const_wchar_t__const_wchar_t__unsigned_long_unsigned_long__int_
mov word [ebp - 0x74], ax
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], al
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0x4808d2
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
push str.default
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push 1
push eax
call fcn.0041eaa0
mov esi, eax
add esp, 0xc
cmp byte [esi + 0x1c], 0
je 0x428417
push str.CreateProcessByElevated_path
lea ecx, [esi + 0x20]
call fcn.00407ca0
cmp byte [esi + 0x1c], 0
je 0x428417
cmp dword [ebx + 0x14], 0x10
jb 0x4283e4
mov ebx, dword [ebx]
push ebx
lea ecx, [esi + 0x20]
call fcn.00407ca0
cmp byte [esi + 0x1c], 0
je 0x428417
push str._args
lea ecx, [esi + 0x20]
call fcn.00407ca0
cmp byte [esi + 0x1c], 0
je 0x428417
cmp dword [edi + 0x14], 0x10
jb 0x42840e
mov edi, dword [edi]
push edi
lea ecx, [esi + 0x20]
call fcn.00407ca0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], vtable.el::base::Writer.0
call fcn.0041ef00
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x42847b
push dword [ebp - 0x48]
mov edx, dword [ebp - 0x58]
push ecx
call fcn.0040beb0
mov ecx, dword [ebp - 0x54]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x5c]
add esp, 8
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a210
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x428490
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409f90
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp eax, 0x10
jb 0x4284be
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00409f90
call fcn.00405b30
mov ecx, eax
test ecx, ecx
jne 0x4284d3
push 0x80004005
call fcn.00401860
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x428503
push eax
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
push str.__s___s
push eax
call fcn.004052f0
add esp, 0x10
jmp 0x428517
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
push str.__s_
push eax
call fcn.004052f0
add esp, 0xc
push 0x40
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00434c70
mov esi, dword [ebp - 0x4c]
add esp, 0xc
mov eax, 5
mov dword [ebp - 0x11c], 0x44
mov word [ebp - 0xec], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x98]
mov dword [ebp - 0xf0], 1
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
movups xmmword [ebp - 0x98], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test ebx, ebx
jne 0x42868f
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x2e4
jne 0x4285ca
push ecx
xor edx, edx
lea ecx, [ebx + 6]
call fcn.00415010
add esp, 4
push 1
push ebx
push ebx
push esi
test al, al
je 0x4285b1
push str.runas
jmp 0x4285b3
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
test eax, eax
setne bl
test ebx, ebx
jne 0x42868f
call edi
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0xd0], vtable.el::base::Writer.0
mov dword [ebp - 0xcc], 0x80
mov dword [ebp - 0xc8], str.ProcessHandler.cpp
mov dword [ebp - 0xc4], 0x7b
mov dword [ebp - 0xc0], str.int___cdecl_CProcessHandler::CreateProcessByElevated_struct_HWND____const_wchar_t__const_wchar_t__const_wchar_t__unsigned_long_unsigned_long__int_
mov word [ebp - 0xbc], ax
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], al
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0x4808d2
mov dword [ebp - 0xa8], 2
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
push str.default
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 7
push 1
push eax
call fcn.0041eaa0
mov edi, eax
add esp, 0xc
cmp byte [edi + 0x1c], 0
je 0x428682
push str.CreateProcessByElevated_failed
lea ecx, [edi + 0x20]
call fcn.00407ca0
cmp byte [edi + 0x1c], 0
je 0x428682
push dword [ebp - 0x48]
lea ecx, [edi + 0x20]
call fcn.00407c50
lea ecx, [ebp - 0xd0]
call fcn.00407d40
jmp 0x4286b3
push 0
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x94]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x98]
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4286d2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.0042fe16
mov esp, ebp
pop ebp
ret