Function at 0x45f800
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c0604
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x710
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x38], 0
mov dword [ebp - 0x10], edi
jne 0x45f844
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.0049ec40
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.004629c0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00521c10
push 0
push dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
cmp esi, 0xffffffff
je 0x45f8a0
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
push 0
lea eax, [ebp - 0x64]
push 0
push 4
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.00498ef0
mov dword [ebp - 4], 2
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x71c]
push 1
push edi
push 0x30a
push eax
call fcn.00461500
add esp, 0x10
lea ecx, [ebp - 0x50]
push 0
push 0
push 0
call fcn.004a84f0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x50]
push 0
push 1
push eax
push ecx
mov eax, esp
lea ecx, [ebp - 0x71c]
mov dword [eax], ecx
call fcn.0049bba0
add esp, 0x10
test al, al
je 0x45f93d
cmp dword [ebp - 0x3c], 0
jle 0x45f93d
push dword [ebp - 0x4c]
mov ecx, edi
call fcn.00464740
mov esi, eax
test esi, esi
je 0x45f93d
push 0
push 0
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
push esi
call fcn.00463210
mov ecx, esi
call fcn.004a7e20
mov byte [ebp - 4], 3
lea eax, [ebp - 0x50]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.00499020
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x45ff2e
mov eax, dword [ebx + 0x3c]
xor esi, esi
test eax, eax
jle 0x45fa3b
xor edi, edi
cmp esi, eax
jae 0x45fa26
mov eax, dword [ebx + 0x28]
cmp dword [eax + edi + 0x18], 0xffffffff
jl 0x45fa26
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x4c], 0
jne 0x45ff2e
mov ecx, dword [ebx + 0x28]
mov eax, dword [ecx + edi + 8]
and eax, dword [ecx + edi + 0xc]
cmp eax, 0xffffffff
jne 0x45fa26
mov eax, dword [ecx + edi]
mov ecx, 0x6cca60
test eax, eax
push 0x30a
cmovne ecx, eax
lea eax, [ebp - 0x410]
push ecx
push eax
call fcn.00532810
lea ecx, [ebp - 0x410]
add esp, 0xc
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45f9d0
sub ecx, edx
je 0x45ff2e
cmp byte [ebp + ecx - 0x411], 0x5c
jne 0x45ff2e
mov byte [ebp + ecx - 0x411], al
push ecx
mov eax, esp
lea ecx, [ebp - 0x410]
mov dword [eax], ecx
call fcn.0049afb0
mov eax, esp
lea ecx, [ebp - 0x410]
mov dword [eax], ecx
call fcn.0049a420
add esp, 4
test al, al
je 0x45ff2e
push esi
mov ecx, ebx
call fcn.004651d0
mov eax, dword [ebx + 0x3c]
inc esi
add edi, 0x20
cmp esi, eax
jl 0x45f96e
mov ecx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x10]
add ecx, 0xffffffff
mov dword [ebp - 0x28], ecx
js 0x45ff2e
jmp 0x45fa50
cmp byte [edi + 0x4c], 0
jne 0x45ff2e
mov eax, dword [ebp - 0x60]
mov esi, 0x6cca60
mov eax, dword [eax + ecx*4]
test eax, eax
lea ecx, [ebp - 0x24]
cmovne esi, eax
call fcn.004c2370
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
push 0
push 0
push 0
call fcn.004a84f0
mov byte [ebp - 4], 8
push str..zip.vz
push esi
call fcn.00530a80
add esp, 8
push 0
test eax, eax
je 0x45fd0d
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.004a84f0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x50]
push 0
push 0
push eax
push ecx
mov eax, esp
mov dword [eax], esi
call fcn.0049bba0
add esp, 0x10
test al, al
jne 0x45fb14
mov byte [ebp - 4], 8
lea eax, [ebp - 0x50]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.00499020
mov byte [ebp - 4], 7
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.00499020
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004c2390
jmp 0x45ff1f
push 0x20000000
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x4c]
call fcn.004c2f20
add esp, 0x10
cmp eax, 1
je 0x45fb5d
mov byte [ebp - 4], 8
lea eax, [ebp - 0x50]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.00499020
mov byte [ebp - 4], 7
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
jmp 0x45faf4
push 0
push dword [ebp - 0x78]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x88]
call fcn.004c2d00
test al, al
jne 0x45fba1
mov byte [ebp - 4], 8
lea eax, [ebp - 0x50]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.00499020
mov byte [ebp - 4], 7
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xa4], eax
jmp 0x45faf4
mov byte [ebp - 4], 8
lea eax, [ebp - 0x50]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.00499020
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0xffff8f80
call fcn.004c26c0
mov edi, eax
sub edi, 1
js 0x45fef5
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x4c], 0
jne 0x45ff58
lea eax, [ebp - 0x104]
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.004c26e0
test al, al
je 0x45feec
cmp byte [ebp - 0xe5], 0
jne 0x45feec
push 0x30a
lea eax, [ebp - 0x410]
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.004c29f0
test eax, eax
je 0x45feec
cmp eax, 0x30a
jae 0x45feec
lea eax, [ebp - 0x410]
push 0x5c
push eax
call fcn.005311b0
add esp, 8
mov dword [ebp + 8], 0
lea eax, [ebp - 0x410]
lea ecx, [ebp + 8]
push eax
call fcn.0049ec40
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.004629c0
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 8
call fcn.00521c10
push 0
push dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
cmp esi, 0xffffffff
je 0x45feec
lea eax, [ebp - 0x410]
push eax
call fcn.00463c60
add esp, 4
test al, al
je 0x45fd33
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0xc0]
push str.BRepairInstalledFiles:_ignoring_bootstrap_file__s_n
push eax
call fcn.0049e1d0
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x1b
cmp byte [ecx + 0xf], 0
jge 0x45fccb
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x6cca60
cmovne eax, ecx
lea ecx, [esi + 0xc8]
push eax
call fcn.00464840
mov byte [ebp - 4], 8
test byte [ebp - 0xb1], 0x80
je 0x45fedc
call fcn.00521c10
push 0
push dword [ebp - 0xc0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
jmp 0x45fedc
push esi
lea ecx, [ebp - 0x24]
call fcn.004c2b70
test al, al
jne 0x45fbb9
mov byte [ebp - 4], 7
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xac], eax
jmp 0x45faf4
mov eax, dword [ebx + 0x28]
mov ecx, esi
shl ecx, 5
add ecx, 8
add ecx, eax
mov esi, dword [ecx]
mov edx, dword [ecx + 4]
cmp esi, 0xfffffffe
jne 0x45fd53
cmp edx, 0xffffffff
jne 0x45fd53
mov al, 1
jmp 0x45fd55
xor al, al
cmp byte [ebp - 0xe4], al
jne 0x45ff58
test al, al
jne 0x45fd8c
cmp dword [ebp - 0x104], esi
jne 0x45ff58
cmp dword [ebp - 0x100], edx
jne 0x45ff58
mov eax, dword [ebp - 0xec]
cmp eax, dword [ecx + 0xc]
jne 0x45ff58
push ecx
mov eax, esp
lea ecx, [ebp - 0x410]
mov dword [eax], ecx
call fcn.0049a240
add esp, 4
test al, al
jne 0x45fec4
mov esi, 1
lea esp, [esp]
push str..delete
push esi
lea eax, [ebp - 0x410]
push eax
push str._s._i_s
lea eax, [ebp - 0x71c]
push 0x30a
push eax
call fcn.005323e0
add esp, 0x14
lea ecx, [ebp - 0x71c]
mov eax, esp
mov dword [eax], ecx
call fcn.0049a240
add esp, 4
test al, al
jne 0x45fdf2
inc esi
cmp esi, 0xa
jl 0x45fdb0
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x71c]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0xd0]
push str.BRepairInstalledFiles:_renaming_stale_file__s_____s_n
push eax
call fcn.0049e1d0
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 0x1d
cmp byte [ecx + 0xf], 0
jge 0x45fe25
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x6cca60
cmovne eax, ecx
lea ecx, [esi + 0xc8]
push eax
call fcn.00464840
mov byte [ebp - 4], 8
test byte [ebp - 0xc1], 0x80
je 0x45fe5e
call fcn.00521c10
push 0
push dword [ebp - 0xd0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
push ecx
mov eax, esp
lea ecx, [ebp - 0x71c]
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [ebp - 0x410]
mov dword [eax], ecx
call fcn.0049ad20
add esp, 8
test al, al
je 0x45fec4
push ecx
mov eax, esp
push ecx
lea ecx, [ebp - 0x71c]
mov dword [eax], 0
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0xdc]
call fcn.00499a00
mov byte [ebp - 4], 0x1f
mov ecx, eax
push 4
push 0
call fcn.0049b910
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xdc]
call fcn.00499eb0
lea eax, [ebp - 0x410]
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.004c2510
test al, al
je 0x45ff58
push dword [ebp - 0x18]
mov ecx, ebx
call fcn.004651d0
cmp dword [ebx + 0x38], 0
je 0x45ff54
sub edi, 1
jns 0x45fbd3
mov byte [ebp - 4], 7
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.00499020
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004c2390
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
sub ecx, 1
mov dword [ebp - 0x28], ecx
jns 0x45fa50
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004540b0
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 0x45ff5a
xor bl, bl
mov byte [ebp - 4], 7
lea eax, [ebp - 0x8c]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.00499020
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004c2390
jmp 0x45ff30