Function at 0x408720
Capabilities:
Accept command line arguments
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c1fd
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x58d038]
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
lea ecx, [ebp - 0x320]
call fcn.00406950
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov word [ebp - 0x234], cx
mov esi, 7
mov ecx, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x408783
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00401b70
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 1
call fcn.00406c80
mov edi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x220], edi
jb 0x4087d4
mov eax, dword [ebp - 0x234]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
push 1
mov word [ebp - 0x2a4], cx
push 0x54b874
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x294], ebx
call fcn.00401b70
push 9
xor edx, edx
push 0x54b860
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
call fcn.00401b70
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 3
call fcn.00406a30
cmp dword [ebp - 0x220], edi
jb 0x40885a
mov edx, dword [ebp - 0x234]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x290], edi
jb 0x408889
mov ecx, dword [ebp - 0x2a4]
push ecx
call fcn.00480102
add esp, 4
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x320]
call fcn.00404910
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 4
call fcn.004070d0
lea esi, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.00408550
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x23c], edi
jae 0x4088d4
mov ecx, esi
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], edi
jae 0x4088e8
lea eax, [ebp - 0x288]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x40899b
cmp dword [ebp - 0x23c], edi
jb 0x408910
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00480102
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], dx
cmp dword [ebp - 0x258], edi
jb 0x408941
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], cx
cmp dword [ebp - 0x274], edi
jb 0x40896d
mov edx, dword [ebp - 0x288]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], ax
mov dword [ebp - 4], 0xffffffff
call fcn.004062d0
xor eax, eax
jmp 0x408ad7
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x218], cx
call fcn.00480280
call fcn.00415a80
push eax
lea eax, [ebp - 0x218]
push 0xffffffffffffffff
push eax
call fcn.00481237
add esp, 0x18
lea ecx, [ebp - 0x364]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x338], 1
movzx edx, word [ebp - 0x334]
jne 0x4089ef
mov edx, 0xa
mov ecx, dword [ebp - 0x26c]
cmp dword [ebp - 0x258], edi
jae 0x408a03
lea ecx, [ebp - 0x26c]
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x23c], edi
jae 0x408a17
lea eax, [ebp - 0x250]
push edx
lea edx, [ebp - 0x218]
push edx
push ecx
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov esi, ecx
cmp dword [ebp - 0x23c], edi
jb 0x408a4a
mov edx, dword [ebp - 0x250]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], ax
cmp dword [ebp - 0x258], edi
jb 0x408a7a
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.00480102
add esp, 4
xor edx, edx
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], dx
cmp dword [ebp - 0x274], edi
jb 0x408aaa
mov eax, dword [ebp - 0x288]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
mov word [ebp - 0x288], cx
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x274], 7
mov dword [ebp - 0x278], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.004062d0
mov eax, esi
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.00480264
mov esp, ebp
pop ebp
ret