Function at 0x412d75
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 0x4780ac
mov eax, dword fs:[0]
push eax
sub esp, 0xaa8
mov eax, dword [0x4a2d54]
xor eax, esp
mov dword [esp + 0xaa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4a2d54]
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 0x413064
cmp dword [esp + 0x10], 5
jl 0x413064
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.00410daf
mov dword [esp + 0x18], eax
push dword [esi + 4]
call fcn.0045199a
test eax, eax
setne al
pop ecx
mov byte [esp + 0x1c], al
push dword [esi + 8]
call fcn.0045199a
pop ecx
mov dword [esp + 0x20], eax
push dword [esi + 0xc]
call fcn.0045199a
pop ecx
mov dword [esp + 0x24], eax
push dword [esi + 0x10]
call fcn.0045199a
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 0x412e96
push dword [esi + edi*4]
lea ecx, [esp + 0x6c]
call fcn.00403322
lea eax, [esp + 0x68]
lea ecx, [esp + 0x54]
mov byte [esp + 0xac0], 1
call fcn.004051a1
push ebx
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0xac8], bl
call fcn.00403656
inc edi
cmp edi, dword [esp + 0x10]
jl 0x412e5b
lea esi, [esp + 0x14]
call fcn.0042ccc0
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.004031be
push 0x5c
push eax
call fcn.00406324
add esp, 0x10
mov esi, str..zip
push esi
push dword [esp + 0x18]
push eax
call fcn.004031be
pop ecx
pop ecx
push eax
call fcn.004031be
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.00401dd7
add esp, 0x10
test al, al
je 0x413032
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.00410a17
push eax
lea eax, [esp + 0x4a0]
push eax
call fcn.00405045
add esp, 0x10
push ebx
push 1
lea ecx, [esp + 0x70]
call fcn.00403656
lea eax, [esp + 0x494]
push 0x5c
push eax
call fcn.00406324
pop ecx
pop ecx
push esi
push dword [esp + 0x18]
push eax
call fcn.004031be
pop ecx
pop ecx
push eax
call fcn.004031be
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 0x413015
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 0x413032
push dword [esp + 0x49c]
call fcn.0044d937
pop ecx
lea eax, [esp + 0x90]
cmp dword [esp + 0x8c], eax
je 0x41304f
push dword [esp + 0x8c]
call fcn.0044d937
pop ecx
lea ecx, [esp + 0x54]
call fcn.004053b9
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.00403656
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.0044bf82
mov esp, ebp
pop ebp
ret