Function at 0x4d5c60
Capabilities:
Create process on windows
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5479db
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x364], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x374], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x370], edx
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x360], ecx
mov ecx, dword [ebp + 0x2c]
xor ebx, ebx
push 0xf
mov dword [ebp - 0x37c], edx
mov dword [ebp - 0x380], eax
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x350], ebx
mov dword [ebp - 0x35c], ebx
mov dword [ebp - 0x354], ebx
call dword [sym.imp.ADVAPI32.dll_GetSidLengthRequired]
add eax, 0x1c
push eax
mov dword [ebp - 0x358], eax
call fcn.00480850
add esp, 4
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push 0x2000000
push ebx
push ebx
push str.Default
mov dword [ebp - 0x144], 1
call dword [sym.imp.USER32.dll_OpenDesktopA]
push str.WinSta0
push eax
lea ecx, [ebp - 0x34c]
call fcn.004d51d0
mov dword [ebp - 4], ebx
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
push ebx
push str.Progman
call edi
cmp eax, ebx
jne 0x4d5d6a
push ebx
push str.Shell_TrayWnd
call edi
cmp eax, ebx
jne 0x4d5d6a
push ebx
push str.NDDEAgnt
call edi
cmp eax, ebx
je 0x4d5e7b
lea edx, [ebp - 0x35c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x35c]
push eax
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x4d5e7b
lea ecx, [ebp - 0x354]
push ecx
push 0x200ef
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4d5e74
mov eax, dword [ebp - 0x358]
mov ecx, dword [ebp - 0x354]
lea edx, [ebp - 0x358]
push edx
push eax
push esi
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4d5e67
lea edx, [ebp - 0x384]
push edx
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [esi]
lea edx, [ebp - 0x368]
push edx
lea eax, [ebp - 0x124]
push eax
push ecx
push ebx
mov dword [ebp - 0x368], 0x104
mov dword [ebp - 0x350], 0x10
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidA]
mov edx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x380]
mov ecx, dword [ebp - 0x37c]
push edx
mov edx, dword [ebp - 0x360]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp - 0x36c]
push eax
mov eax, dword [ebp - 0x370]
push ecx
mov ecx, dword [ebp - 0x374]
push edx
mov edx, dword [ebp - 0x364]
push eax
mov eax, dword [ebp - 0x354]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov dword [ebp - 0x350], eax
mov ecx, dword [ebp - 0x354]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.004808a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34c]
call fcn.004d5160
mov eax, dword [ebp - 0x350]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret