Function at 0x401617
Capabilities:
Move file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [eax + 0x60]
fldz
xor ebx, ebx
lea edx, [ebp - 0x64]
fstp qword [ebp - 0x54]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x64], edi
mov byte [ebp - 0x60], 1
mov dword [ebp - 0x5c], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
jle 0x401670
cmp eax, 3
jle 0x401666
cmp eax, 6
jne 0x401670
mov eax, dword [ebp + 0x14]
mov dword [eax], 4
jmp 0x401944
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x401944
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 4]
push eax
push 0x441340
push 0x17
push ebx
push 0x441350
call esi
mov eax, dword [ebp - 4]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push edx
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x28]
test eax, eax
je 0x4016d7
mov eax, dword [ebp + 0x14]
mov dword [eax], 5
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], edi
mov byte [ebp - 0x3c], bl
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x38], ebx
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
jmp 0x4018e8
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
dec eax
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x401708
push dword [ebp - 0x10]
call fcn.0042f135
dec eax
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call fcn.0042f0f8
add esp, 0x10
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
mov dword [ebp - 8], ebx
push edx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x8c]
test eax, eax
je 0x401750
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov byte [ebp - 0x3c], bl
mov dword [eax], 5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], ebx
push edx
mov eax, dword [eax + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x401944
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
dec eax
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x20], eax
je 0x40178e
push dword [ebp - 8]
call fcn.0042f135
dec eax
push eax
push dword [ebp - 8]
push dword [ebp - 0x20]
call fcn.0042f0f8
add esp, 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push 0x441320
push 0x17
push ebx
push 0x441330
call esi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xc]
push edx
push dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jne 0x4017e5
mov dword [ebp - 0x18], ebx
jmp 0x401815
push eax
call esi
lea eax, [eax + eax + 2]
mov dword [ebp - 0x28], eax
add eax, 3
and al, 0xfc
call fcn.0042f1b0
mov eax, esp
push ebx
push ebx
mov dword [ebp - 0x30], eax
push dword [ebp - 0x28]
mov byte [eax], bl
push eax
push 0xffffffffffffffff
push dword [ebp - 0x2c]
push ebx
push ebx
call edi
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jne 0x401824
mov dword [ebp - 0x2c], ebx
jmp 0x40184e
push eax
call esi
lea eax, [eax + eax + 2]
mov dword [ebp - 0x28], eax
add eax, 3
and al, 0xfc
call fcn.0042f1b0
mov esi, esp
push ebx
push ebx
push dword [ebp - 0x28]
mov byte [esi], bl
push esi
push 0xffffffffffffffff
push dword [ebp - 0x2c]
push ebx
push ebx
call edi
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
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 - 0x2c]
push dword [ebp - 0x18]
call edi
push 0x64
mov dword [ebp - 0x30], eax
pop eax
push eax
mov dword [ebp - 0x28], eax
call esi
cmp dword [ebp - 0x30], ebx
jne 0x4018ef
push 1
push dword [ebp - 0x2c]
push dword [ebp - 0x18]
call edi
add dword [ebp - 0x28], 0x64
push 0x64
mov dword [ebp - 0x30], eax
call esi
cmp dword [ebp - 0x28], 0x2710
jl 0x40187d
cmp dword [ebp - 0x30], ebx
jne 0x4018ef
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 0x14]
mov byte [ebp - 0x3c], bl
mov dword [ebp - 0x38], ebx
lea edx, [ebp - 0x40]
mov dword [eax], 5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
jmp 0x401944
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x34]
push edx
or dword [ebp - 0x34], 0xffffffff
push dword [ebp - 0xc]
mov eax, dword [edi + 0x60]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x34]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x60]
mov byte [ebp - 0x48], bl
mov dword [ebp - 0x44], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
lea esp, [ebp - 0x70]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10