Function at 0x55ed50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov edi, dword [ebp + 8]
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
dec ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea esi, [ebp - 0x64]
mov ecx, edi
push esi
call fcn.00451b60
cmp byte [esi + 0xb], 0
js 0x55efbf
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
movsd xmm0, qword [ebp - 0x64]
movsd qword [ebp - 0x1c], xmm0
lea ecx, [ebp - 0x64]
call fcn.004dd1f0
lea esi, [ebp - 0x28]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov ecx, edi
push esi
call fcn.00452970
cmp byte [esi + 0xb], 0
jns 0x55edbb
mov esi, dword [ebp - 0x28]
cmp word [esi], 0x22
jne 0x55ef09
movzx eax, byte [ebp - 0x11]
test al, al
jns 0x55edd0
mov eax, dword [ebp - 0x18]
add eax, 2
lea edx, [ebp - 0x1c]
lea esi, [ebp - 0x28]
lea ecx, [ebp - 0x64]
push edx
push 0xffffffffffffffff
push eax
push esi
call fcn.00443030
cmp byte [esi + 0xb], 0
jns 0x55edf7
push dword [ebp - 0x28]
call fcn.00503da5
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
movsd xmm0, qword [ebp - 0x64]
movsd qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
movzx ecx, byte [eax + 0xb]
mov edx, eax
test cl, cl
jns 0x55ee1a
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
push eax
push 3
push ecx
push edx
call fcn.00556e60
add esp, 0x10
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub esp, 0x30
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x18], xmm0
movaps xmm0, xmmword [0x5e8660]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], str.STATIC
mov dword [esp], 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test eax, eax
je 0x55eed4
push 2
push edi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
je 0x55eecd
xor ecx, ecx
mov dword [ebp - 0x40], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x64], 0x28
lea ecx, [ebp - 0x64]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ebx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
sub esi, ebx
mov ecx, esi
shr ecx, 0x1f
add ecx, esi
sar ecx, 1
sub eax, edx
mov esi, eax
shr esi, 0x1f
add esi, eax
sar esi, 1
add esi, edx
add ecx, ebx
xor eax, eax
push eax
push eax
push eax
push esi
push ecx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x60], 0x40
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], str.runas
cmp byte [ebp - 0x11], 0
jns 0x55ef1d
mov eax, dword [ebp - 0x1c]
jmp 0x55ef20
movzx eax, byte [ebp - 0x11]
test al, al
jns 0x55edd3
mov eax, dword [ebp - 0x18]
jmp 0x55edd3
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x54], eax
cmp byte [ebp - 0x1d], 0
jns 0x55ef2e
mov eax, dword [ebp - 0x28]
jmp 0x55ef31
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], 5
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x55ef7c
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x68]
mov dword [eax], 0
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x55ef7c
mov eax, dword [ebp + 0xc]
mov bl, 1
test eax, eax
je 0x55ef7e
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
jmp 0x55ef7e
xor ebx, ebx
test edi, edi
je 0x55ef89
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [ebp - 0x1d], 0
jns 0x55ef9a
push dword [ebp - 0x28]
call fcn.00503da5
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x55efab
push dword [ebp - 0x1c]
call fcn.00503da5
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
mov eax, ebx
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.004db200
jmp 0x55ed97