Function at 0x486360
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov edi, edx
mov dword [esp + 0x1c], ecx
mov eax, dword [0x547008]
xor eax, ebp
mov dword [esp + 0xb8], eax
mov al, byte [0x54a338]
xor ebx, ebx
dec ebx
mov byte [esp + 7], al
test al, 0x19
jne 0x486639
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
lea esi, [esp + 0x60]
mov ecx, edi
push esi
call fcn.0049ffe0
cmp byte [esi + 0xb], 0
js 0x48645d
mov eax, dword [esp + 0x68]
mov dword [esp + 0xb0], eax
movq xmm0, qword [esp + 0x60]
movq qword [esp + 0xa8], xmm0
lea ebx, [esp + 0x60]
mov ecx, ebx
call fcn.0049c100
xor eax, eax
dec eax
lea esi, [esp + 0x9c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, edi
push esi
call fcn.004a19a0
xor edi, edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x34], edi
pxor xmm0, xmm0
movdqu xmmword [ebx + 0x24], xmm0
mov dword [ebx], 0x3c
mov dword [ebx + 4], 0x40
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], str.runas
cmp byte [esp + 0xb3], 0
js 0x4864e2
lea ecx, [esp + 0xa8]
jmp 0x4864e9
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
cmp ebx, 4
ja 0x486499
lea eax, [esp + 0xa8]
mov byte [eax + 0xb], bl
cmp eax, edx
ja 0x486486
lea ecx, [eax + ebx*2]
add ecx, 2
cmp ecx, edx
ja 0x48661b
inc ebx
add ebx, ebx
push ebx
push edx
push eax
call fcn.004ebca0
add esp, 0xc
jmp 0x4863f0
cmp ebx, 0x7ffffff8
jae 0x4866af
mov dword [esp + 0x18], edx
mov esi, ebx
or esi, 3
inc esi
js 0x4866aa
lea eax, [esi + esi]
push eax
call fcn.004e82a5
add esp, 4
mov dword [esp + 0xa8], eax
or esi, 0x80000000
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov edx, dword [esp + 0x18]
jmp 0x486474
mov ecx, dword [esp + 0xa8]
mov al, byte [ebp + 8]
mov dword [esp + 0x70], ecx
cmp byte [esp + 0xa7], 0
jns 0x486501
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edi
xor al, 1
movzx eax, al
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
mov ebx, dword [esp + 0x1c]
je 0x486587
cmp byte [ebp + 0xc], 0
je 0x486580
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x30]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x20]
push 0x9f
push str.launch_win.cc
push str.LaunchElevatedProcess
push esi
call fcn.0049a500
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.00490060
push 0xffffffffffffffff
push dword [esp + 0x9c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
call fcn.004900e0
mov edi, dword [esp + 0x98]
mov ecx, ebx
push edi
call fcn.00485cc0
cmp byte [esp + 0xa7], 0
jns 0x4865a8
push dword [esp + 0x9c]
call fcn.004e82d5
add esp, 4
cmp byte [esp + 0xb3], 0
jns 0x4865c1
push dword [esp + 0xa8]
call fcn.004e82d5
add esp, 4
test byte [esp + 7], 0x19
mov eax, dword [esp + 0x14]
je 0x486603
cmp byte [eax], 0
je 0x486603
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
sub esp, 0x10
movq xmm0, qword [esp + 0x70]
movq qword [esp + 8], xmm0
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00482650
add esp, 0x10
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.004e8be6
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push str.char_traits::copy_overlapped_range
push str.__s2_____s1____s2_____s1____n
push 0x13b
push str....._third_partylibc_srcinclude__stringchar_traits.h
push str._s:_d:_assertion__s_failed:__s_n
call fcn.00457520
lea esi, [esp + 0x60]
push esi
call fcn.004e21e0
add esp, 4
call fcn.004e2440
sub esp, 0x30
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
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], 0x54a338
mov dword [esp], 0x58
call fcn.00482530
add esp, 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 0x10], str.LaunchElevatedProcess
mov dword [esp + 0x14], 0x54a338
jmp 0x4863ab
call fcn.00516400
lea ecx, [esp + 0xa8]
call fcn.004148d0
int3