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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476ebd
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x4a3110]
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.004068c0
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov word [ebp - 0x234], cx
mov ecx, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x408202
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00401f10
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 1
call fcn.00406bf0
mov edi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x220], edi
jb 0x408253
mov eax, dword [ebp - 0x234]
push eax
call fcn.0042a9e1
add esp, 4
xor ecx, ecx
push 1
mov word [ebp - 0x2a4], cx
mov esi, 7
push 0x47e5a0
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x294], ebx
call fcn.00401f10
push 9
xor edx, edx
push 0x47e58c
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.00401f10
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 3
call fcn.004069a0
cmp dword [ebp - 0x220], edi
jb 0x4082de
mov edx, dword [ebp - 0x234]
push edx
call fcn.0042a9e1
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 0x40830d
mov ecx, dword [ebp - 0x2a4]
push ecx
call fcn.0042a9e1
add esp, 4
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x320]
call fcn.00404980
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 4
call fcn.00407040
lea esi, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.00407fe0
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x23c], edi
jae 0x408358
mov ecx, esi
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], edi
jae 0x40836c
lea eax, [ebp - 0x288]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x40841f
cmp dword [ebp - 0x23c], edi
jb 0x408394
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.0042a9e1
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 0x4083c5
mov eax, dword [ebp - 0x26c]
push eax
call fcn.0042a9e1
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 0x4083f1
mov edx, dword [ebp - 0x288]
push edx
call fcn.0042a9e1
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.00406240
xor eax, eax
jmp 0x408569
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x218], cx
call fcn.0042b970
add esp, 0xc
call fcn.004138e0
lea edx, [ebp - 0x218]
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x408450
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x338], 1
movzx edx, word [ebp - 0x334]
jne 0x408481
mov edx, 0xa
mov ecx, dword [ebp - 0x26c]
cmp dword [ebp - 0x258], edi
jae 0x408495
lea ecx, [ebp - 0x26c]
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x23c], edi
jae 0x4084a9
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 0x4084dc
mov edx, dword [ebp - 0x250]
push edx
call fcn.0042a9e1
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 0x40850c
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.0042a9e1
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 0x40853c
mov eax, dword [ebp - 0x288]
push eax
call fcn.0042a9e1
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.00406240
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.0042b571
mov esp, ebp
pop ebp
ret