Function at 0x5613c0
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 [0x5f3024]
xor eax, ebp
mov dword [esp + 0xc8], eax
mov bl, byte [0x5f4c18]
xor esi, esi
dec esi
test bl, 0x19
jne 0x56161c
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 4], 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.004537b0
cmp byte [esi + 0xb], 0
js 0x561600
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.004ceef0
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.00556700
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 0x5614ae
mov ecx, dword [esp + 0x70]
jmp 0x5614b2
lea ecx, [esp + 0x70]
mov al, byte [ebp + 8]
mov dword [esp + 0x38], ecx
cmp byte [esp + 0x6f], 0
jns 0x5614c4
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 0x56156d
cmp byte [ebp + 0xc], 0
je 0x561545
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 0xab
push str....._baseprocesslaunch_win.cc
push str.LaunchElevatedProcess
push esi
call fcn.004cfde0
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.004da670
push 0xffffffffffffffff
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
call fcn.004da6f0
push dword [esp + 0x60]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [0x5f92e0]
test ecx, ecx
je 0x561569
lea edx, [esp + 0x64]
lea esi, [esp + 0x70]
push edx
push esi
push eax
call fcn.00558b80
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x14]
push edi
call fcn.004df870
cmp byte [esp + 0x6f], 0
jns 0x56158a
push dword [esp + 0x64]
call fcn.0050d52e
add esp, 4
cmp byte [esp + 0x7b], 0
jns 0x56159d
push dword [esp + 0x70]
call fcn.0050d52e
add esp, 4
test bl, 0x19
mov eax, dword [esp + 0x10]
je 0x5615e6
cmp byte [eax], 0
je 0x5615e6
mov ecx, dword [esp + 8]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x84], ecx
sub esp, 0x10
movq xmm0, qword [esp + 0x90]
movq qword [esp + 8], xmm0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004e1da0
add esp, 0x10
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.0050db32
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.00451350
jmp 0x561448
lea eax, [esp + 0x80]
push eax
call fcn.004e02a0
add esp, 4
call fcn.004dfa60
sub esp, 0x30
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
lea edx, [esp + 0xb0]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.LaunchElevatedProcess
mov dword [esp + 4], 0x5f4c18
mov dword [esp], 0x58
call fcn.004e1250
add esp, 0x30
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0xc], str.LaunchElevatedProcess
mov dword [esp + 0x10], 0x5f4c18
jmp 0x561409