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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a4f3
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x59a0a0]
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 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0049e130
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4f8aeb
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00404170
push str._update
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.00404170
mov byte [ebp - 4], 1
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x250]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x4f897e
mov esi, 1
cmp dword [ebp - 0x250], esi
jle 0x4f8977
push 0x56e50c
push dword [ebx + esi*4]
call fcn.004a689d
add esp, 8
test eax, eax
jne 0x4f8919
inc esi
jmp 0x4f896e
push 2
push 0x56e518
lea ecx, [ebp - 0x234]
call fcn.004043f0
mov edx, dword [ebx + esi*4]
cmp word [edx], 0
jne 0x4f8938
xor ecx, ecx
jmp 0x4f894f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f8940
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.004043f0
push 1
push 0x56e4cc
lea ecx, [ebp - 0x234]
call fcn.004043f0
inc esi
cmp esi, dword [ebp - 0x250]
jl 0x4f8902
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x38
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.0049e130
add esp, 0xc
mov dword [ebp - 0x28c], 0x3c
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x284], 0
cmovae eax, dword [ebp - 0x24c]
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x28c]
push eax
mov dword [ebp - 0x280], 0x555194
mov dword [ebp - 0x270], 1
mov dword [ebp - 0x288], 0x400
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4f8a0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x4f8a70
mov ecx, dword [ebp - 0x234]
inc eax
cmp eax, 0x7fffffff
jbe 0x4f8a2c
call fcn.004a4e3e
add eax, eax
cmp eax, 0x1000
jb 0x4f8a67
test byte [ebp - 0x234], 0x1f
je 0x4f8a43
call fcn.004a4e3e
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4f8a4f
call fcn.004a4e3e
sub ecx, eax
cmp ecx, 4
jae 0x4f8a5b
call fcn.004a4e3e
cmp ecx, 0x23
jbe 0x4f8a65
call fcn.004a4e3e
mov ecx, eax
push ecx
call fcn.0049aa1d
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x224], 0
cmp eax, 8
jb 0x4f8aeb
mov ecx, dword [ebp - 0x24c]
inc eax
cmp eax, 0x7fffffff
jbe 0x4f8aab
call fcn.004a4e3e
add eax, eax
cmp eax, 0x1000
jb 0x4f8ae2
test cl, 0x1f
je 0x4f8abe
call fcn.004a4e3e
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4f8aca
call fcn.004a4e3e
sub ecx, eax
cmp ecx, 4
jae 0x4f8ad6
call fcn.004a4e3e
cmp ecx, 0x23
jbe 0x4f8ae0
call fcn.004a4e3e
mov ecx, eax
push ecx
call fcn.0049aa1d
add esp, 4
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.0049aa22
mov esp, ebp
pop ebp
ret