Function at 0x460690
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f42bb
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x54b1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
add esi, 0x78
cmp dword [esi + 0x14], 8
jb 0x4606ce
mov eax, dword [esi]
jmp 0x4606d0
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4608cf
xor ebx, ebx
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 4], ebx
call fcn.00415460
mov byte [ebp - 4], 1
xor ecx, ecx
mov eax, 0x2710
push 0x35
mov word [ebp - 0x48], cx
mov edi, 7
push str.https:__download.17van.com_plugin_vlcplugins_v1001.7z
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.00408440
push str._tmp
lea edx, [ebp - 0x2c]
push esi
push edx
mov byte [ebp - 4], 2
call fcn.004076e0
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
mov edx, dword [ebp - 0x2c]
jae 0x46075e
lea edx, [ebp - 0x2c]
xor eax, eax
mov word [ebp - 0x64], ax
mov eax, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x460770
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x64]
call fcn.00408440
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x48]
mov edi, 8
cmp dword [ebp - 0x34], edi
jae 0x46079d
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xac]
push ecx
lea ebx, [ebp - 0x64]
call fcn.00415d40
test al, al
sete bl
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], edi
jb 0x4607c7
mov edx, dword [ebp - 0x64]
push edx
call fcn.004ba3a4
add esp, 4
test bl, bl
je 0x460867
mov eax, dword [ebp - 0x8c]
mov ecx, 1
sub ecx, dword [eax - 4]
or ecx, dword [eax - 8]
jge 0x4607f5
xor eax, eax
lea ecx, [ebp - 0x8c]
call fcn.004079e0
mov eax, dword [ebp - 0x8c]
push eax
push 0x51afe4
push 0x51ab6c
mov edx, 0x178
mov esi, 2
mov eax, 0x54eee0
call fcn.0042bb60
add esp, 0xc
cmp dword [ebp - 0x18], edi
jb 0x460828
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004ba3a4
add esp, 4
xor ebx, ebx
xor eax, eax
mov esi, 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x46084c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004ba3a4
add esp, 4
xor edx, edx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.00415560
xor al, al
jmp 0x4608d1
cmp dword [esi + 0x14], edi
jb 0x46086e
mov esi, dword [esi]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x460879
lea eax, [ebp - 0x2c]
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x18], edi
jb 0x460894
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004ba3a4
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x4608b8
mov edx, dword [ebp - 0x48]
push edx
call fcn.004ba3a4
add esp, 4
xor eax, eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.00415560
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ba3af
mov esp, ebp
pop ebp
ret 4