Function at 0x460740
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6daa74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9ec
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x30], 0
mov dword [ebp - 0x10], edi
jne 0x460784
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str._install_
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
call fcn.004a0550
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00463ca0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0053aa60
push 0
push dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
cmp esi, 0xffffffff
je 0x4607e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x6ec]
push 1
push edi
push 0x30a
push eax
call fcn.00462620
add esp, 0x10
lea ecx, [ebp - 0x68]
push 0
push 0
push 0
call fcn.004aa520
mov byte [ebp - 4], 3
lea eax, [ebp - 0x68]
push 0
push 1
push eax
push ecx
mov eax, esp
lea ecx, [ebp - 0x6ec]
mov dword [eax], ecx
call fcn.0049d620
add esp, 0x10
test al, al
je 0x46087f
cmp dword [ebp - 0x58], 0
jle 0x46087f
push dword [ebp - 0x68]
mov ecx, edi
call fcn.00465d30
mov esi, eax
test esi, esi
je 0x46087f
push 0
push 0
lea eax, [ebp - 0x80]
mov ecx, edi
push eax
push esi
call fcn.004644c0
mov ecx, esi
call fcn.004a9d80
mov byte [ebp - 4], 2
cmp dword [ebp - 0x60], 0
jl 0x4608b0
cmp dword [ebp - 0x68], 0
je 0x4608a9
call fcn.0053aa60
push 0
push dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x460ee8
mov eax, dword [ebx + 0x34]
xor esi, esi
test eax, eax
jle 0x46099b
xor edi, edi
cmp esi, eax
jae 0x460986
mov eax, dword [ebx + 0x20]
cmp dword [edi + eax + 0x18], 0xffffffff
jl 0x460986
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x4c], 0
jne 0x460ee8
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx + edi + 8]
and eax, dword [ecx + edi + 0xc]
cmp eax, 0xffffffff
jne 0x460986
mov eax, dword [ecx + edi]
mov ecx, 0x6e7a86
test eax, eax
push 0x30a
cmovne ecx, eax
lea eax, [ebp - 0x9f8]
push ecx
push eax
call fcn.0054ba20
lea ecx, [ebp - 0x9f8]
add esp, 0xc
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460930
sub ecx, edx
je 0x460ee8
cmp byte [ebp + ecx - 0x9f9], 0x5c
jne 0x460ee8
mov byte [ebp + ecx - 0x9f9], al
push ecx
mov eax, esp
lea ecx, [ebp - 0x9f8]
mov dword [eax], ecx
call fcn.0049c860
mov eax, esp
lea ecx, [ebp - 0x9f8]
mov dword [eax], ecx
call fcn.0049bc30
add esp, 4
test al, al
je 0x460ee8
push esi
mov ecx, ebx
call fcn.00466b00
mov eax, dword [ebx + 0x34]
inc esi
add edi, 0x20
cmp esi, eax
jl 0x4608cc
mov ecx, dword [ebp - 0x74]
mov edi, dword [ebp - 0x10]
add ecx, 0xffffffff
mov dword [ebp - 0x6c], ecx
js 0x460ee8
jmp 0x4609b0
cmp byte [edi + 0x4c], 0
jne 0x460ee8
mov eax, dword [ebp - 0x80]
mov esi, 0x6e7a86
mov eax, dword [eax + ecx*4]
test eax, eax
lea ecx, [ebp - 0x20]
cmovne esi, eax
call fcn.004c5f80
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
push 0
push 0
push 0
call fcn.004aa520
mov byte [ebp - 4], 0xb
push str..zip.vz
push esi
call fcn.00549a10
add esp, 8
push 0
test eax, eax
je 0x460cbd
push 0
push 0
lea ecx, [ebp - 0x68]
call fcn.004aa520
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x68]
push 0
push 0
push eax
push ecx
mov eax, esp
mov dword [eax], esi
call fcn.0049d620
add esp, 0x10
test al, al
jne 0x460a9c
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x60], 0
jl 0x460a5a
cmp dword [ebp - 0x68], 0
je 0x460a53
call fcn.0053aa60
push 0
push dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x3c], 0
jl 0x460a8b
cmp dword [ebp - 0x44], 0
je 0x460a84
call fcn.0053aa60
push 0
push dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004c5fa0
jmp 0x460ed9
push 0x20000000
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x58]
push dword [ebp - 0x68]
call fcn.004c6b80
add esp, 0x10
cmp eax, 1
je 0x460aee
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x60], 0
jl 0x460ae9
cmp dword [ebp - 0x68], 0
je 0x460ae2
call fcn.0053aa60
push 0
push dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
jmp 0x460a5a
push 0
push dword [ebp - 0x34]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x44]
call fcn.004c6950
test al, al
jne 0x460b38
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x60], 0
jl 0x460b33
cmp dword [ebp - 0x68], 0
je 0x460b2c
call fcn.0053aa60
push 0
push dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
jmp 0x460a5a
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x60], 0
jl 0x460b69
cmp dword [ebp - 0x68], 0
je 0x460b62
call fcn.0053aa60
push 0
push dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0xffff8f80
call fcn.004c62e0
mov edi, eax
sub edi, 1
js 0x460e99
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x4c], 0
jne 0x460f12
lea eax, [ebp - 0xd4]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.004c6300
test al, al
je 0x460e90
cmp byte [ebp - 0xb5], 0
jne 0x460e90
push 0x30a
lea eax, [ebp - 0x3e0]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.004c6620
test eax, eax
je 0x460e90
cmp eax, 0x30a
jae 0x460e90
lea eax, [ebp - 0x3e0]
push 0x5c
push eax
call fcn.0054a1d0
add esp, 8
mov dword [ebp + 8], 0
lea eax, [ebp - 0x3e0]
lea ecx, [ebp + 8]
push eax
call fcn.004a0550
mov byte [ebp - 4], 0x17
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00463ca0
mov esi, eax
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 0xb
call fcn.0053aa60
push 0
push dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
cmp esi, 0xffffffff
je 0x460e90
lea eax, [ebp - 0x3e0]
push eax
call fcn.004652e0
add esp, 4
test al, al
je 0x460cd3
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x3e0]
push eax
lea eax, [ebp - 0x90]
push str.BRepairInstalledFiles:_ignoring_bootstrap_file__s_n
push eax
call fcn.0049f960
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x18
cmp byte [ecx + 0xf], 0
jge 0x460c7b
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x6e7a86
cmovne eax, ecx
lea ecx, [esi + 0xd8]
push eax
call fcn.00465e30
mov byte [ebp - 4], 0xb
test byte [ebp - 0x81], 0x80
je 0x460e7c
call fcn.0053aa60
push 0
push dword [ebp - 0x90]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
jmp 0x460e7c
push esi
lea ecx, [ebp - 0x20]
call fcn.004c67c0
test al, al
jne 0x460b69
jmp 0x460a5a
mov eax, dword [ebx + 0x20]
mov edx, esi
shl edx, 5
add edx, eax
mov esi, dword [edx + 8]
mov ecx, dword [edx + 0xc]
cmp esi, 0xfffffffe
jne 0x460cf1
cmp ecx, 0xffffffff
jne 0x460cf1
mov al, 1
jmp 0x460cf3
xor al, al
cmp byte [ebp - 0xb4], al
jne 0x460f12
test al, al
jne 0x460d2a
cmp dword [ebp - 0xd4], esi
jne 0x460f12
cmp dword [ebp - 0xd0], ecx
jne 0x460f12
mov eax, dword [ebp - 0xbc]
cmp eax, dword [edx + 0x14]
jne 0x460f12
push ecx
mov eax, esp
lea ecx, [ebp - 0x3e0]
mov dword [eax], ecx
call fcn.0049baa0
add esp, 4
test al, al
jne 0x460e64
mov esi, 1
lea ebx, [ebx]
push str..delete
push esi
lea eax, [ebp - 0x3e0]
push eax
push str._s._i_s
lea eax, [ebp - 0x6ec]
push 0x30a
push eax
call fcn.0054b560
add esp, 0x14
lea ecx, [ebp - 0x6ec]
mov eax, esp
mov dword [eax], ecx
call fcn.0049baa0
add esp, 4
test al, al
jne 0x460d92
inc esi
cmp esi, 0xa
jl 0x460d50
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x6ec]
push eax
lea eax, [ebp - 0x3e0]
push eax
lea eax, [ebp - 0xa0]
push str.BRepairInstalledFiles:_renaming_stale_file__s_____s_n
push eax
call fcn.0049f960
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 0x1e
cmp byte [ecx + 0xf], 0
jge 0x460dc5
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x6e7a86
cmovne eax, ecx
lea ecx, [esi + 0xd8]
push eax
call fcn.00465e30
mov byte [ebp - 4], 0xb
test byte [ebp - 0x91], 0x80
je 0x460dfe
call fcn.0053aa60
push 0
push dword [ebp - 0xa0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
push ecx
mov eax, esp
lea ecx, [ebp - 0x6ec]
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [ebp - 0x3e0]
mov dword [eax], ecx
call fcn.0049c5c0
add esp, 8
test al, al
je 0x460e64
push ecx
mov eax, esp
push ecx
lea ecx, [ebp - 0x6ec]
mov dword [eax], 0
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0xac]
call fcn.0049b370
mov byte [ebp - 4], 0x20
mov ecx, eax
push 4
push 0
call fcn.0049d1a0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xac]
call fcn.0049b670
lea eax, [ebp - 0x3e0]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.004c6120
test al, al
je 0x460f12
push dword [ebp - 0x70]
mov ecx, ebx
call fcn.00466b00
cmp dword [ebx + 0x30], 0
je 0x460f0e
sub edi, 1
jns 0x460b83
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x3c], 0
jl 0x460eca
cmp dword [ebp - 0x44], 0
je 0x460ec3
call fcn.0053aa60
push 0
push dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004c5fa0
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x6c]
sub ecx, 1
mov dword [ebp - 0x6c], ecx
jns 0x4609b0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00454b00
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov bl, 1
jmp 0x460f14
xor bl, bl
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x3c], 0
jl 0x460f45
cmp dword [ebp - 0x44], 0
je 0x460f3e
call fcn.0053aa60
push 0
push dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004c5fa0
jmp 0x460eea