Function at 0x46deab
Capabilities:
Delete file
Get file size

Disassembly:
push 0x4ec
mov eax, 0x53029e
call fcn.00507124
mov esi, ecx
mov dword [ebp - 0x4dc], esi
mov bl, 1
mov byte [ebp - 0x4c9], bl
call fcn.00480e12
xor ecx, ecx
test al, al
je 0x46df0a
mov eax, dword [esi + 0x2ec]
jmp 0x46deea
cmp dword [eax + 0xd0], ecx
je 0x46df0a
add eax, 0x180
cmp dword [esi + 0x2f0], eax
jne 0x46dedd
cmp dword [esi + 0x1ac], ecx
jne 0x46df02
cmp dword [esi + 0x428], ecx
je 0x46df0a
mov bl, cl
mov byte [ebp - 0x4c9], bl
cmp dword [0x59535c], ecx
je 0x46df3e
mov ecx, 0x565f30
test bl, bl
mov eax, 0x565f2c
cmove eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___BuildProductAndDepentTask__bit__s__package.
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x14
call fcn.004506c4
push eax
lea ecx, [ebp - 0x4d8]
call fcn.004504da
and dword [ebp - 4], 0
call fcn.004506c4
push eax
lea ecx, [ebp - 0x4d4]
call fcn.004504da
lea edx, [ebp - 0x4d4]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4d8]
call fcn.004831d2
call fcn.00480e12
mov edi, dword [ebp - 0x4d8]
mov ebx, dword [ebp - 0x4d4]
test al, al
je 0x46dfeb
cmp byte [ebp - 0x4c9], 0
jne 0x46dfeb
push ebx
call fcn.00450d3f
pop ecx
push eax
push ebx
lea ecx, [esi + 0x6d0]
call fcn.00450cc6
push 0x565f70
lea ecx, [ebp - 0x28]
call fcn.00450d66
push 0x565f78
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0044e9d1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00462d29
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0044ea00
lea ecx, [ebp - 0x28]
jmp 0x46e03d
push edi
call fcn.00450d3f
pop ecx
push eax
push edi
lea ecx, [esi + 0x6d0]
call fcn.00450cc6
push 0x565f88
lea ecx, [ebp - 0x40]
call fcn.00450d66
push str.downpackagebits
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0044e9d1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00462d29
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0044ea00
lea ecx, [ebp - 0x40]
push 0
push 1
mov byte [ebp - 4], 1
call fcn.004510a8
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.0046fb68
mov byte [ebp - 4], 6
cmp dword [ebp - 0x48], 0
je 0x46e078
lea ecx, [ebp - 0x58]
lea eax, [esi + 0x6d0]
cmp eax, ecx
je 0x46e078
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00450ff3
lea eax, [esi + 0x2a4]
cmp dword [eax + 0x14], 8
jb 0x46e086
mov eax, dword [eax]
push eax
call fcn.0050596f
mov dword [ebp - 0x4d0], eax
pop ecx
test eax, eax
jne 0x46e0cc
lea eax, [esi + 0xf4]
lea ecx, [esi + 0x2a4]
cmp ecx, eax
je 0x46e0b7
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0xf4]
cmp dword [eax + 0x14], 8
jb 0x46e0bf
mov eax, dword [eax]
push eax
call fcn.0050596f
pop ecx
mov dword [ebp - 0x4d0], eax
push str.startupproduct
lea ecx, [ebp - 0x28]
call fcn.0044e9d1
push dword [ebp - 0x4d0]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.00462d8a
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0044ea00
lea ecx, [ebp - 0x290]
call fcn.00467242
lea eax, [esi + 0xf4]
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x46e115
mov eax, dword [eax]
push eax
call fcn.0050596f
cmp byte [ebp - 0x4c9], 0
pop ecx
mov dword [ebp - 0x290], eax
lea ecx, [ebp - 0x28c]
je 0x46e24b
lea eax, [esi + 0x3b8]
cmp ecx, eax
je 0x46e149
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x460]
lea ecx, [ebp - 0x25c]
cmp ecx, eax
je 0x46e163
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x478]
lea ecx, [ebp - 0x244]
cmp ecx, eax
je 0x46e17d
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x565fb0
call fcn.00450d3f
pop ecx
push eax
push 0x565fb0
lea ecx, [ebp - 0xe4]
call fcn.00450cc6
cmp dword [ebp - 0x27c], 0
je 0x46e1b6
lea ecx, [esi + 0x154]
mov edx, 0x565fb4
call fcn.00465149
test al, al
je 0x46e225
cmp dword [0x59535c], 0
je 0x46e1db
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___BuildProductAndDepentTask__use_local_x86_down_url.
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
lea eax, [esi + 0x16c]
lea ecx, [ebp - 0x28c]
cmp ecx, eax
je 0x46e1f5
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x565ff8
call fcn.00450d3f
pop ecx
push eax
push 0x565ff8
lea ecx, [ebp - 0x244]
call fcn.00450cc6
lea ecx, [ebp - 0x25c]
cmp ecx, eax
je 0x46e225
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x4c0]
cmp dword [eax + 0x14], 8
jb 0x46e233
mov eax, dword [eax]
push eax
call fcn.00505978
pop ecx
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f4], edx
jmp 0x46e341
lea eax, [esi + 0x418]
cmp ecx, eax
je 0x46e265
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28c]
call fcn.00450ff3
lea eax, [esi + 0x490]
lea ecx, [ebp - 0x25c]
cmp ecx, eax
je 0x46e27f
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x4a8]
lea ecx, [ebp - 0x244]
cmp ecx, eax
je 0x46e299
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x565ffc
call fcn.00450d3f
pop ecx
push eax
push 0x565ffc
lea ecx, [ebp - 0xe4]
call fcn.00450cc6
cmp dword [ebp - 0x27c], 0
je 0x46e2d2
lea ecx, [esi + 0x184]
mov edx, 0x566000
call fcn.00465149
test al, al
je 0x46e341
cmp dword [0x59535c], 0
je 0x46e2f7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___BuildProductAndDepentTask__use_local_x64_down_url.
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
lea eax, [esi + 0x19c]
lea ecx, [ebp - 0x28c]
cmp ecx, eax
je 0x46e311
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x566044
call fcn.00450d3f
pop ecx
push eax
push 0x566044
lea ecx, [ebp - 0x244]
call fcn.00450cc6
lea ecx, [ebp - 0x25c]
cmp ecx, eax
je 0x46e341
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x566048
lea ecx, [ebp - 0x28]
call fcn.00450d66
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28c]
call fcn.00488dbc
push 0
push 1
lea ecx, [ebp - 0x28]
mov dword [esi + 0x770], eax
mov dword [esi + 0x774], edx
mov byte [ebp - 4], 8
call fcn.004510a8
mov eax, dword [0x59535c]
test eax, eax
je 0x46e3b2
push dword [esi + 0x774]
push dword [esi + 0x770]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___query_package_size__I64u__by_domain_url.
push 3
push dword [0x59535c]
call fcn.0047fca4
mov eax, dword [0x59535c]
add esp, 0x18
xor ecx, ecx
mov byte [ebp - 0x4ca], 1
cmp dword [esi + 0x770], ecx
jne 0x46e41a
cmp dword [esi + 0x774], ecx
jne 0x46e41a
test eax, eax
je 0x46e3eb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___save_the_package_on_the_max_free_disk.
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
push 1
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004707cf
push eax
lea ecx, [esi + 0x658]
call fcn.00460dfd
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004510a8
xor ecx, ecx
mov byte [ebp - 0x4ca], cl
mov al, byte [esi + 0x76c]
test al, al
je 0x46e517
lea eax, [esi + 0x640]
xorps xmm0, xmm0
cmp dword [eax + 0x14], 8
movlpd qword [ebp - 0x4e8], xmm0
jb 0x46e441
mov eax, dword [eax]
push ecx
push 0x80
push 3
push ecx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4f0], eax
cmp eax, 0xffffffff
je 0x46e517
lea ecx, [ebp - 0x4f8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x46e493
mov eax, dword [ebp - 0x4f8]
mov dword [ebp - 0x4e4], eax
mov eax, dword [ebp - 0x4f4]
mov dword [ebp - 0x4ec], eax
jmp 0x46e4ab
mov eax, dword [ebp - 0x4e4]
mov dword [ebp - 0x4ec], eax
mov eax, dword [ebp - 0x4e8]
mov dword [ebp - 0x4e4], eax
push dword [ebp - 0x4f0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4ec]
cmp dword [esi + 0x774], eax
jb 0x46e736
ja 0x46e4dd
mov eax, dword [ebp - 0x4e4]
cmp dword [esi + 0x770], eax
jbe 0x46e736
cmp dword [0x59535c], 0
je 0x46e502
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___delete_old_temp_package.
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
lea eax, [esi + 0x640]
cmp dword [eax + 0x14], 8
jb 0x46e510
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, byte [ebp - 0x4ca]
test al, al
je 0x46e528
mov ecx, esi
call fcn.0046ebd7
push 0x5660e0
lea edx, [ebp - 0x25c]
lea ecx, [ebp - 0x40]
call fcn.00453de4
pop ecx
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0xa
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00465121
pop ecx
push eax
lea ecx, [ebp - 0x25c]
call fcn.00460dfd
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004510a8
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.004510a8
lea eax, [esi + 0x658]
lea ecx, [ebp - 0x274]
cmp ecx, eax
je 0x46e594
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x5660e4
call fcn.00450d3f
pop ecx
push eax
push 0x5660e4
lea ecx, [ebp - 0x22c]
call fcn.00450cc6
lea eax, [esi + 0x370]
lea ecx, [ebp - 0x214]
cmp ecx, eax
je 0x46e5ca
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x34]
lea ecx, [ebp - 0x18c]
cmp ecx, eax
je 0x46e5e1
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x4c]
lea ecx, [ebp - 0x174]
cmp ecx, eax
je 0x46e5f8
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x64]
lea ecx, [ebp - 0x15c]
cmp ecx, eax
je 0x46e60f
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x94]
lea ecx, [ebp - 0x144]
cmp ecx, eax
je 0x46e629
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0xac]
lea ecx, [ebp - 0x12c]
cmp ecx, eax
je 0x46e643
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0xc4]
lea ecx, [ebp - 0x114]
cmp ecx, eax
je 0x46e65d
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x340]
lea ecx, [ebp - 0x74]
cmp ecx, eax
je 0x46e674
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x5660e8
call fcn.00450d3f
pop ecx
push eax
push 0x5660e8
lea ecx, [ebp - 0xfc]
call fcn.00450cc6
push 0x5660ec
call fcn.00450d3f
pop ecx
push eax
push 0x5660ec
lea ecx, [ebp - 0xcc]
call fcn.00450cc6
push 0x5660f0
call fcn.00450d3f
pop ecx
push eax
push 0x5660f0
lea ecx, [ebp - 0xb4]
call fcn.00450cc6
mov eax, dword [ebp - 0x4d0]
cmp eax, dword [ebp - 0x290]
mov dword [ebp - 0x7c], 2
sete byte [ebp - 0x80]
cmp byte [esi + 0x749], 0
jne 0x46e6fa
lea eax, [ebp - 0x290]
push eax
lea ecx, [esi + 0x734]
call fcn.00471657
mov eax, dword [ebp - 0x4dc]
mov esi, dword [esi + 0x2ec]
cmp dword [eax + 0x2f0], esi
je 0x46eac4
lea edi, [esi + 0xa8]
mov ebx, eax
lea ecx, [ebp - 0x4c8]
call fcn.00467242
mov byte [ebp - 4], 0xb
cmp dword [edi - 0x94], 8
jb 0x46e73d
mov eax, dword [esi]
jmp 0x46e73f
xor al, al
jmp 0x46e51d
mov eax, esi
push eax
call fcn.0050596f
cmp byte [ebp - 0x4c9], 0
pop ecx
mov dword [ebp - 0x4c8], eax
je 0x46e7a3
lea eax, [ebp - 0x4c4]
cmp eax, edi
je 0x46e76b
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00450ff3
push 0x5660f4
call fcn.00450d3f
pop ecx
push eax
push 0x5660f4
lea ecx, [ebp - 0x31c]
call fcn.00450cc6
lea eax, [edi + 0x48]
lea ecx, [ebp - 0x494]
cmp ecx, eax
je 0x46e79e
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [edi + 0x60]
jmp 0x46e7f3
lea eax, [edi + 0x18]
lea ecx, [ebp - 0x4c4]
cmp ecx, eax
je 0x46e7ba
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x5660f8
call fcn.00450d3f
pop ecx
push eax
push 0x5660f8
lea ecx, [ebp - 0x31c]
call fcn.00450cc6
lea eax, [edi + 0x78]
lea ecx, [ebp - 0x494]
cmp ecx, eax
je 0x46e7ed
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [edi + 0x90]
lea ecx, [ebp - 0x47c]
cmp ecx, eax
je 0x46e807
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
mov edx, 0x5660fc
lea ecx, [ebp - 0x494]
call fcn.00465149
test al, al
jne 0x46e87a
mov edx, 0x566100
lea ecx, [ebp - 0x47c]
call fcn.00465149
test al, al
jne 0x46e87a
push 0x566104
lea edx, [ebp - 0x494]
lea ecx, [ebp - 0x40]
call fcn.00453de4
pop ecx
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0xc
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00465121
pop ecx
push eax
lea ecx, [ebp - 0x494]
call fcn.00460dfd
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004510a8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
jmp 0x46e89f
lea eax, [ebp - 0x47c]
push eax
lea edx, [ebp - 0x494]
lea ecx, [ebp - 0x28]
call fcn.00471adb
pop ecx
push eax
lea ecx, [ebp - 0x494]
call fcn.00460dfd
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004510a8
lea ecx, [edi + 0x30]
mov edx, 0x566108
call fcn.00465149
test al, al
setne byte [ebp - 0x2b0]
cmp dword [edi + 0xbc], 8
jb 0x46e8cf
mov eax, dword [edi + 0xa8]
jmp 0x46e8d5
lea eax, [edi + 0xa8]
push eax
call fcn.00505978
pop ecx
mov dword [ebp - 0x430], eax
lea ecx, [ebp - 0x4ac]
lea eax, [ebx + 0x658]
mov dword [ebp - 0x42c], edx
cmp ecx, eax
je 0x46e902
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x566114
call fcn.00450d3f
pop ecx
push eax
push 0x566114
lea ecx, [ebp - 0x464]
call fcn.00450cc6
lea eax, [edi - 0x90]
lea ecx, [ebp - 0x3c4]
cmp ecx, eax
je 0x46e93e
push 0xffffffffffffffff
push 0
lea eax, [edi - 0x90]
push eax
call fcn.00450ff3
lea eax, [edi - 0x78]
lea ecx, [ebp - 0x3ac]
cmp ecx, eax
je 0x46e958
push 0xffffffffffffffff
push 0
lea eax, [edi - 0x78]
push eax
call fcn.00450ff3
lea eax, [edi - 0x60]
lea ecx, [ebp - 0x394]
cmp ecx, eax
je 0x46e972
push 0xffffffffffffffff
push 0
lea eax, [edi - 0x60]
push eax
call fcn.00450ff3
lea eax, [edi - 0x30]
lea ecx, [ebp - 0x364]
cmp ecx, eax
je 0x46e98c
push 0xffffffffffffffff
push 0
lea eax, [edi - 0x30]
push eax
call fcn.00450ff3
lea eax, [edi - 0x18]
lea ecx, [ebp - 0x34c]
cmp ecx, eax
je 0x46e9a6
push 0xffffffffffffffff
push 0
lea eax, [edi - 0x18]
push eax
call fcn.00450ff3
push 0x566118
call fcn.00450d3f
pop ecx
push eax
push 0x566118
lea ecx, [ebp - 0x334]
call fcn.00450cc6
push 0x56611c
call fcn.00450d3f
pop ecx
push eax
push 0x56611c
lea ecx, [ebp - 0x304]
call fcn.00450cc6
push 0x566120
call fcn.00450d3f
pop ecx
push eax
push 0x566120
lea ecx, [ebp - 0x2ec]
call fcn.00450cc6
mov eax, dword [ebp - 0x4d0]
cmp eax, dword [ebp - 0x4c8]
mov dword [ebp - 0x2b4], 1
sete byte [ebp - 0x2b8]
cmp dword [ebp - 0x4c8], 0x2a43
jne 0x46ea53
call fcn.00481e83
test al, al
je 0x46ea53
cmp dword [0x59535c], 0
je 0x46ea94
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___already_install_wcc.
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
jmp 0x46ea94
lea edx, [edi + 0xc0]
mov ecx, 0x566148
call fcn.00466c7a
test al, al
je 0x46ea79
cmp byte [ebx + 0x749], 0
mov byte [ebx + 0x748], 1
je 0x46ea94
jmp 0x46ea82
cmp byte [ebx + 0x749], 0
jne 0x46ea94
lea eax, [ebp - 0x4c8]
push eax
lea ecx, [ebx + 0x734]
call fcn.00471657
lea ecx, [ebp - 0x4c8]
mov byte [ebp - 4], 8
call fcn.0046eaf1
mov eax, 0x180
add esi, eax
add edi, eax
cmp dword [ebx + 0x2f0], esi
jne 0x46e71a
mov edi, dword [ebp - 0x4d8]
mov ebx, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x290]
call fcn.0046eaf1
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.004510a8
lea ecx, [ebx - 0x10]
call fcn.00450c64
lea ecx, [edi - 0x10]
call fcn.00450c64
call fcn.005070d3
ret