Function at 0x4071f0
Capabilities:
Accept command line arguments
Copy file
Create directory
Create process on windows
Delete file
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c757
mov eax, dword fs:[0]
push eax
sub esp, 0xcf4
mov eax, dword [0x440068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0xc]
mov byte [ebp - 0xc99], cl
mov ecx, dword [ebp + 0x10]
cmp dword [eax + 0x10], 0
mov dword [ebp - 0xca4], eax
mov dword [ebp - 0xca8], ecx
jne 0x407247
xor al, al
jmp 0x4078c1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.Ntdll.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xca0], eax
test eax, eax
je 0x4072c4
push str.NtQueryInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0xcac]
push ecx
push 0x18
lea ecx, [ebp - 0xc98]
push ecx
push 0
push esi
call eax
push dword [ebp - 0xca0]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and esi, 0xc0000000
cmp esi, 0xc0000000
je 0x4072c4
mov eax, dword [ebp - 0xc94]
mov eax, dword [eax + 0x10]
add eax, 0x38
je 0x4072c4
movzx ecx, word [eax]
mov eax, dword [eax + 4]
shr ecx, 1
xor edx, edx
push ecx
mov word [ebp - 0xc50], dx
push eax
jmp 0x4072d3
xor eax, eax
push eax
mov word [ebp - 0xc50], ax
push 0x439b64
lea ecx, [ebp - 0xc50]
mov dword [ebp - 0xc40], 0
mov dword [ebp - 0xc3c], 7
call fcn.00404280
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0xc40]
test esi, esi
jne 0x40730f
mov byte [ebp - 0xc99], 0
jmp 0x40787f
push dword [ebp - 0xcac]
cmp dword [ebp - 0xc3c], 8
lea ecx, [ebp - 0xc50]
push 2
cmovae ecx, dword [ebp - 0xc50]
mov edx, esi
sub esp, 8
call fcn.00407930
add esp, 0x10
mov dword [ebp - 0xc58], 0
mov dword [ebp - 0xc54], 7
cmp eax, 0xffffffff
jne 0x407362
xor eax, eax
push eax
mov word [ebp - 0xc68], ax
push 0x439b64
jmp 0x40739a
lea edx, [eax + 1]
xor eax, eax
mov word [ebp - 0xc68], ax
cmp esi, edx
jb 0x4078de
sub esi, edx
lea eax, [ebp - 0xc50]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp dword [ebp - 0xc3c], 8
push ecx
cmovae eax, dword [ebp - 0xc50]
lea eax, [eax + edx*2]
push eax
lea ecx, [ebp - 0xc68]
call fcn.00404280
mov byte [ebp - 4], 1
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x4073b3
mov edx, dword [edi]
cmp dword [ebp - 0xc54], 8
lea ecx, [ebp - 0xc68]
mov esi, dword [ebp - 0xc68]
mov eax, dword [ebp - 0xc58]
cmovae ecx, esi
cmp eax, dword [edi + 0x10]
jne 0x4073ec
push eax
call fcn.00404630
add esp, 4
test eax, eax
jne 0x4073ec
mov byte [ebp - 0xc99], al
jmp 0x407845
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00417b20
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 3
xor eax, eax
mov dword [ebp - 0xc70], 0
push 0x43a760
lea ecx, [ebp - 0xc80]
mov dword [ebp - 0xc6c], 7
mov word [ebp - 0xc80], ax
call fcn.00404280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x420]
xor eax, eax
mov dword [ebp - 0xc88], 0
mov dword [ebp - 0xc84], 7
lea edx, [ecx + 2]
mov word [ebp - 0xc98], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407470
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc98]
call fcn.00404280
lea eax, [ebp - 0xc80]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0xc98]
lea ecx, [ebp - 0xc38]
call fcn.00405fa0
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xc84]
cmp edx, 8
jb 0x4074f5
mov ecx, dword [ebp - 0xc98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4074eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078e3
push edx
push ecx
call fcn.004152ff
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xc6c]
cmp edx, 8
jb 0x407539
mov ecx, dword [ebp - 0xc80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40752f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078e8
push edx
push ecx
call fcn.004152ff
add esp, 8
cmp dword [ebp - 0xc24], 8
lea eax, [ebp - 0xc38]
push 0
cmovae eax, dword [ebp - 0xc38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
lea edx, [ebp - 0xc38]
lea ecx, [ebp - 0xc80]
call fcn.00405fa0
mov esi, eax
add esp, 4
lea eax, [ebp - 0xc38]
cmp eax, esi
je 0x4075a8
mov ecx, eax
call fcn.004040b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0xc38], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xc28], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0xc6c]
cmp edx, 8
jb 0x4075e8
mov ecx, dword [ebp - 0xc80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4075de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078ed
push edx
push ecx
call fcn.004152ff
add esp, 8
cmp dword [ebp - 0xc24], 8
lea ecx, [ebp - 0xc38]
push 0
cmovae ecx, dword [ebp - 0xc38]
lea eax, [ebp - 0xc50]
cmp dword [ebp - 0xc3c], 8
push ecx
cmovae eax, dword [ebp - 0xc50]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x407629
mov byte [ebp - 0xc99], al
jmp 0x4077e2
xorps xmm0, xmm0
mov dword [ebp - 0xd00], 0x44
xor eax, eax
movlpd qword [ebp - 0xcfc], xmm0
push 0x800
push eax
mov word [ebp - 0xcbe], ax
mov word [ebp - 0xcd0], ax
lea eax, [ebp - 0xc20]
push eax
movups xmmword [ebp - 0xcbc], xmm0
mov dword [ebp - 0xcd4], 1
movlpd qword [ebp - 0xcf4], xmm0
movlpd qword [ebp - 0xcec], xmm0
movlpd qword [ebp - 0xce4], xmm0
movlpd qword [ebp - 0xcdc], xmm0
movlpd qword [ebp - 0xcce], xmm0
movlpd qword [ebp - 0xcc6], xmm0
call fcn.00417b20
mov esi, dword [ebp - 0xca4]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4076b2
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp byte [ebp - 0xc99], 0
mov edx, 0x439b64
mov ecx, 0x43a1b0
cmove ecx, edx
push ecx
push esi
push 0x43a1cc
push eax
lea eax, [ebp - 0xc20]
push str._s__s__s___s
push eax
call fcn.00407910
add esp, 0x18
lea ecx, [ebp - 0xcbc]
cmp dword [ebp - 0xc24], 8
lea eax, [ebp - 0xc38]
cmovae eax, dword [ebp - 0xc38]
push ecx
lea ecx, [ebp - 0xd00]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xc20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov dword [ebp - 0xca0], edi
test edi, edi
je 0x40778d
mov esi, dword [ebp - 0xca8]
test esi, esi
je 0x40778d
push 0x3a98
push dword [ebp - 0xcbc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40776a
push 0xffffffffffffffff
push dword [ebp - 0xcbc]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xca0], 0
push esi
push dword [ebp - 0xcbc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0xcb8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xcbc]
call esi
cmp dword [ebp - 0xc24], 8
lea edi, [ebp - 0xc38]
cmovae edi, dword [ebp - 0xc38]
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4077d4
nop
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4077d4
cmp esi, 0x64
jge 0x4077d4
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
inc esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4077b0
cmp dword [ebp - 0xca0], 0
setne byte [ebp - 0xc99]
mov edx, dword [ebp - 0xc24]
cmp edx, 8
jb 0x407822
mov ecx, dword [ebp - 0xc38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407818
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078f2
push edx
push ecx
call fcn.004152ff
add esp, 8
mov esi, dword [ebp - 0xc68]
xor eax, eax
mov dword [ebp - 0xc28], 0
mov dword [ebp - 0xc24], 7
mov word [ebp - 0xc38], ax
mov eax, dword [ebp - 0xc54]
cmp eax, 8
jb 0x40787f
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x407875
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078f7
push ecx
push esi
call fcn.004152ff
add esp, 8
mov edx, dword [ebp - 0xc3c]
cmp edx, 8
jb 0x4078bb
mov ecx, dword [ebp - 0xc50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4078b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078fc
push edx
push ecx
call fcn.004152ff
add esp, 8
mov al, byte [ebp - 0xc99]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00415024
mov esp, ebp
pop ebp
ret 0x10
call fcn.00405d00
call fcn.0041b091
call fcn.0041b091
call fcn.0041b091
call fcn.0041b091
call fcn.0041b091
call fcn.0041b091
int3