Function at 0x562540
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov edi, edx
mov dword [esp + 0x14], ecx
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0xc8], eax
mov bl, byte [0x605f68]
xor esi, esi
dec esi
test bl, 0x19
jne 0x56279c
mov dword [esp + 4], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
lea esi, [esp + 0x80]
mov ecx, edi
push esi
call fcn.004598b0
cmp byte [esi + 0xb], 0
js 0x562780
mov eax, dword [esp + 0x88]
mov dword [esp + 0x78], eax
movq xmm0, qword [esp + 0x80]
movq qword [esp + 0x70], xmm0
lea ecx, [esp + 0x80]
call fcn.004dfb00
xor eax, eax
dec eax
lea esi, [esp + 0x64]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, edi
push esi
call fcn.0055c950
xor edi, edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
pxor xmm0, xmm0
movdqu xmmword [esp + 0x4c], xmm0
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], 0x40
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], str.runas
cmp byte [esp + 0x7b], 0
jns 0x56262e
mov ecx, dword [esp + 0x70]
jmp 0x562632
lea ecx, [esp + 0x70]
mov al, byte [ebp + 8]
mov dword [esp + 0x38], ecx
cmp byte [esp + 0x6f], 0
jns 0x562644
mov esi, dword [esp + 0x64]
lea ecx, [esp + 0x28]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x18], edi
xor al, 1
movzx eax, al
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], edi
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x5626ed
cmp byte [ebp + 0xc], 0
je 0x5626c5
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x80]
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x18]
push 0xa4
push str..._.._base_process_launch_win.cc
push str.LaunchElevatedProcess
push esi
call fcn.004e0f50
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.004e70c0
push 0xffffffffffffffff
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
call fcn.004e7120
push dword [esp + 0x60]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [0x618c50]
test ecx, ecx
je 0x5626e9
lea edx, [esp + 0x64]
lea esi, [esp + 0x70]
push edx
push esi
push eax
call fcn.00577a70
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x14]
push edi
call fcn.004e9760
cmp byte [esp + 0x6f], 0
jns 0x56270a
push dword [esp + 0x64]
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x7b], 0
jns 0x56271d
push dword [esp + 0x70]
call fcn.005039aa
add esp, 4
test bl, 0x19
mov eax, dword [esp + 4]
je 0x562766
cmp byte [eax], 0
je 0x562766
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
sub esp, 0x10
movq xmm0, qword [esp + 0x90]
movq qword [esp + 8], xmm0
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004ed690
add esp, 0x10
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.00504b53
mov eax, dword [esp + 0x14]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x70]
push dword [esp + 0x84]
push dword [esp + 0x84]
call fcn.004de080
jmp 0x5625c8
call fcn.004e9ab0
mov dword [esp + 4], eax
xor eax, eax
dec eax
lea ecx, [esp + 0x80]
mov dword [ecx + 4], eax
mov dword [ecx], eax
push ecx
call fcn.004ebfd0
sub esp, 0x2c
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.LaunchElevatedProcess
mov dword [esp + 4], 0x605f68
mov dword [esp], 0x58
call fcn.004ecc70
add esp, 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 0x10], str.LaunchElevatedProcess
mov dword [esp + 4], 0x605f68
jmp 0x562589