Function at 0x411689
Capabilities:
Accept command line arguments
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4768b3
mov eax, dword fs:[0]
push eax
sub esp, 0xaa8
mov eax, dword [0x4a0d38]
xor eax, esp
mov dword [esp + 0xaa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4a0d38]
xor eax, esp
push eax
lea eax, [esp + 0xab8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x411978
cmp dword [esp + 0x10], 5
jl 0x411978
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0xac0], ebx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x14], eax
call fcn.0040fd51
mov dword [esp + 0x18], eax
push dword [esi + 4]
call fcn.0044fe83
test eax, eax
setne al
pop ecx
mov byte [esp + 0x1c], al
push dword [esi + 8]
call fcn.0044fe83
pop ecx
mov dword [esp + 0x20], eax
push dword [esi + 0xc]
call fcn.0044fe83
pop ecx
mov dword [esp + 0x24], eax
push dword [esi + 0x10]
call fcn.0044fe83
pop ecx
push 6
pop edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x10], edi
jle 0x4117aa
push dword [esi + edi*4]
lea ecx, [esp + 0x6c]
call fcn.00403309
lea eax, [esp + 0x68]
lea ecx, [esp + 0x54]
mov byte [esp + 0xac0], 1
call fcn.00405187
push ebx
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0xac8], bl
call fcn.0040363d
inc edi
cmp edi, dword [esp + 0x10]
jl 0x41176f
lea esi, [esp + 0x14]
call fcn.0042c453
lea eax, [esp + 0x8a4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, 0x200
lea eax, [esp + 0x90]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x8a4]
push eax
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0xac8], 2
call fcn.004031a5
push 0x5c
push eax
call fcn.0040630a
add esp, 0x10
mov esi, 0x492b48
push esi
push dword [esp + 0x18]
push eax
call fcn.004031a5
pop ecx
pop ecx
push eax
call fcn.004031a5
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x8c]
xor eax, eax
mov word [ecx + edx*2], ax
push ebx
push dword [esp + 0x98]
call fcn.00401dc5
add esp, 0x10
test al, al
je 0x411946
lea eax, [esp + 0x4a0]
mov dword [esp + 0x494], ebx
mov dword [esp + 0x498], edi
mov dword [esp + 0x49c], eax
lea eax, [esp + 0x68]
push 8
push eax
mov byte [esp + 0xac8], 3
call fcn.0040f9b9
push eax
lea eax, [esp + 0x4a0]
push eax
call fcn.0040502b
add esp, 0x10
push ebx
push 1
lea ecx, [esp + 0x70]
call fcn.0040363d
lea eax, [esp + 0x494]
push 0x5c
push eax
call fcn.0040630a
pop ecx
pop ecx
push esi
push dword [esp + 0x18]
push eax
call fcn.004031a5
pop ecx
pop ecx
push eax
call fcn.004031a5
mov edx, dword [esp + 0x49c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x49c]
xor eax, eax
mov word [ecx + edx*2], ax
mov eax, dword [esp + 0x49c]
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x84]
push ebx
xor ecx, ecx
push eax
mov word [edx + esi*2], cx
push dword [esp + 0x94]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x411929
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
xor eax, eax
mov word [ecx + edx*2], ax
push dword [esp + 0x8c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x4a0]
cmp dword [esp + 0x49c], eax
je 0x411946
push dword [esp + 0x49c]
call fcn.0044c187
pop ecx
lea eax, [esp + 0x90]
cmp dword [esp + 0x8c], eax
je 0x411963
push dword [esp + 0x8c]
call fcn.0044c187
pop ecx
lea ecx, [esp + 0x54]
call fcn.0040539f
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.0040363d
mov ecx, dword [esp + 0xab8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xaa0]
xor ecx, esp
call fcn.0044a7da
mov esp, ebp
pop ebp
ret