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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511cb7
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [section..data]
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.004065af
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 0x41f464
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0040392d
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 1
call fcn.00406d88
mov edi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x220], edi
jb 0x41f4b5
mov eax, dword [ebp - 0x234]
push eax
call fcn.00404f7d
add esp, 4
xor ecx, ecx
push 1
mov word [ebp - 0x2a4], cx
push 0x5297d4
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x294], ebx
call fcn.0040392d
push 9
xor edx, edx
push 0x5297c0
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.0040392d
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 3
call fcn.0041e18a
cmp dword [ebp - 0x220], edi
jb 0x41f53b
mov edx, dword [ebp - 0x234]
push edx
call fcn.00404f7d
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 0x41f56a
mov ecx, dword [ebp - 0x2a4]
push ecx
call fcn.00404f7d
add esp, 4
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x320]
call fcn.0041a4d0
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 4
call fcn.0041e380
lea esi, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.0041f23f
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x23c], edi
jae 0x41f5b5
mov ecx, esi
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], edi
jae 0x41f5c9
lea eax, [ebp - 0x288]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41f67c
cmp dword [ebp - 0x23c], edi
jb 0x41f5f1
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00404f7d
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 0x41f622
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00404f7d
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 0x41f64e
mov edx, dword [ebp - 0x288]
push edx
call fcn.00404f7d
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.0041aabd
xor eax, eax
jmp 0x41f7b8
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x218], cx
call fcn.00402e70
call fcn.004172c5
push eax
lea eax, [ebp - 0x218]
push 0xffffffffffffffff
push eax
call fcn.0040215c
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 0x41f6d0
mov edx, 0xa
mov ecx, dword [ebp - 0x26c]
cmp dword [ebp - 0x258], edi
jae 0x41f6e4
lea ecx, [ebp - 0x26c]
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x23c], edi
jae 0x41f6f8
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 0x41f72b
mov edx, dword [ebp - 0x250]
push edx
call fcn.00404f7d
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 0x41f75b
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.00404f7d
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 0x41f78b
mov eax, dword [ebp - 0x288]
push eax
call fcn.00404f7d
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.0041aabd
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.0040330b
mov esp, ebp
pop ebp
ret