Function at 0x46e8b0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b02c6
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4e54fc]
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
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x234], ebx
call fcn.00406d20
mov ecx, eax
test ecx, ecx
je 0x46ebb5
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
mov dword [ebp - 4], 1
mov eax, 1
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x230], eax
jle 0x46eb48
nop dword [eax]
mov edi, dword [ebx + eax*4]
test edi, edi
jne 0x46e972
mov ecx, dword [esi - 0xc]
mov ebx, edi
sub ebx, esi
mov dword [ebp - 0x224], ecx
mov edx, ecx
sar ebx, 1
xor eax, eax
mov dword [ebp - 0x21c], edx
jmp 0x46e9b1
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46e977
mov ecx, dword [esi - 0xc]
mov ebx, edi
sub ebx, esi
mov dword [ebp - 0x224], ecx
sub eax, edx
sar ebx, 1
sar eax, 1
mov dword [ebp - 0x21c], ecx
js 0x46ebab
push eax
push edi
call fcn.0048ca27
mov edx, dword [ebp - 0x21c]
add esp, 8
mov ecx, SysReAllocString
mov dword [ebp - 0x228], eax
sub ecx, eax
cmp ecx, dword [ebp - 0x224]
jl 0x46ebab
add edx, eax
js 0x46ebab
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x46e9f5
push edx
lea ecx, [ebp - 0x220]
call fcn.00405640
mov esi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x21c]
cmp ebx, eax
ja 0x46ea02
lea edi, [esi + ebx*2]
mov ebx, dword [ebp - 0x228]
lea eax, [esi + eax*2]
lea ecx, [ebx + ebx]
test ecx, ecx
je 0x46ea42
test eax, eax
je 0x46ea32
push ecx
test edi, edi
je 0x46ea27
push edi
push eax
call fcn.0047eed0
add esp, 0xc
jmp 0x46ea42
push 0
push eax
call fcn.0047f8f0
add esp, 0xc
call fcn.004830ad
mov dword [eax], 0x16
call fcn.00482faf
mov eax, dword [ebp - 0x21c]
add eax, ebx
cmp eax, dword [esi - 8]
jg 0x46ebab
mov dword [esi - 0xc], eax
xor ecx, ecx
mov ebx, 0x4c6054
mov word [esi + eax*2], cx
mov edi, dword [esi - 0xc]
sub ebx, esi
push 1
push 0x4c6054
mov dword [ebp - 0x224], 0x4c6054
sar ebx, 1
mov dword [ebp - 0x228], edi
call fcn.0048ca27
mov ecx, SysReAllocString
mov dword [ebp - 0x21c], eax
sub ecx, eax
add esp, 8
cmp ecx, edi
jl 0x46ebab
add edi, eax
js 0x46ebab
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x46eac7
push edi
lea ecx, [ebp - 0x220]
call fcn.00405640
mov esi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x228]
lea edx, [esi + ebx*2]
cmp ebx, eax
jbe 0x46eada
mov edx, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x21c]
lea eax, [esi + eax*2]
add ecx, ecx
je 0x46eb17
test eax, eax
je 0x46eb07
push ecx
test edx, edx
je 0x46eafc
push edx
push eax
call fcn.0047eed0
add esp, 0xc
jmp 0x46eb17
push 0
push eax
call fcn.0047f8f0
add esp, 0xc
call fcn.004830ad
mov dword [eax], 0x16
call fcn.00482faf
cmp edi, dword [esi - 8]
jg 0x46ebab
mov ebx, dword [ebp - 0x234]
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov eax, dword [ebp - 0x22c]
inc eax
mov dword [ebp - 0x22c], eax
cmp eax, dword [ebp - 0x230]
jl 0x46e950
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0xa
push 0
push esi
lea eax, [ebp - 0x218]
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x1f
setg bl
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46eb8d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.0047df69
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00406ac0
push 0x80004005
call fcn.00406ac0
int3