Function at 0x4012a2
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [esi + 0x60]
lea edx, [ebp - 0x4c]
fldz
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], ebx
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x4c], edi
mov byte [ebp - 0x48], 3
mov dword [ebp - 0x44], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jle 0x4012fe
cmp eax, 3
jle 0x4012f4
cmp eax, 6
jne 0x4012fe
mov eax, dword [ebp + 0x10]
mov dword [eax], 4
jmp 0x40160b
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x40160b
mov ecx, dword [esi + 0x84]
push edi
call fcn.0040c713
lea eax, [ebp - 0xc]
push eax
push 0x441340
push 0x17
push ebx
push 0x441350
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push edx
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x28]
test eax, eax
je 0x401366
mov eax, dword [ebp + 0x10]
mov dword [eax], 5
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [esi + 0x60]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x34], edi
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x2c], ebx
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x14]
jmp 0x40160b
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x18]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
dec eax
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x40140b
push dword [ebp - 0x18]
call fcn.0042f135
dec eax
push eax
push dword [ebp - 0x18]
push esi
call fcn.0042f0f8
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.0042f1b0
mov edi, esp
push ebx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp - 4]
mov byte [edi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x10], edi
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
add eax, 5
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x401500
push dword [ebp - 4]
push esi
call fcn.0042f070
mov edi, str..Del
pop ecx
mov eax, edi
pop ecx
test eax, eax
jne 0x401410
jmp 0x401442
mov dword [ebp - 0x10], ebx
jmp 0x4013d2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0042f1b0
mov eax, esp
push esi
push eax
push 0xffffffffffffffff
push edi
push ebx
push ebx
mov dword [ebp - 0x20], eax
mov word [eax], bx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0042f135
pop ecx
lea eax, [esi + eax*2]
push eax
call fcn.0042f070
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.0042f1b0
mov edi, esp
push ebx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp - 8]
mov byte [edi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x14], edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call esi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x20], 0x64
cmp eax, ebx
jne 0x401505
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call edi
add dword [ebp - 0x20], 0x64
cmp dword [ebp - 0x20], 0x2710
jl 0x4014a7
cmp eax, ebx
jne 0x401505
mov eax, dword [ebp + 0x10]
push dword [ebp - 4]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [eax], 5
call esi
push dword [ebp - 8]
call esi
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x2c], ebx
mov eax, dword [eax + 0x60]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
jmp 0x40160b
mov dword [ebp - 0x14], ebx
jmp 0x401486
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], ebx
push edx
mov eax, dword [eax + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebp - 0x24], 3
jne 0x401588
mov eax, dword [ebp + 0x10]
push 0x64
mov dword [eax], 4
call esi
push 1
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call edi
push 0x64
pop esi
cmp eax, ebx
jne 0x401557
push 1
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call edi
add esi, 0x64
cmp esi, 0x2710
jl 0x40153e
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x2c], ebx
mov eax, dword [eax + 0x60]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push dword [ebp - 4]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 8]
call esi
jmp 0x40160b
lea eax, [ebp - 0x1c]
push eax
push 0x441320
push 0x17
push ebx
push 0x441330
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x64
pop edi
push edi
call esi
mov eax, dword [ebp - 0x1c]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push edi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edi
call esi
cmp dword [ebp + 8], ebx
je 0x4015ed
mov eax, dword [ebp - 0x1c]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
add dword [ebp + 0xc], edi
push edi
mov dword [ebp + 8], eax
call esi
cmp dword [ebp + 0xc], 0x2710
jl 0x4015ba
cmp dword [ebp + 8], ebx
je 0x4015ed
mov eax, dword [ebp + 0x10]
mov dword [eax], 5
jmp 0x40160b
push dword [ebp - 4]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
lea esp, [ebp - 0x58]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc