Function at 0x46df83
Capabilities:
Delete file
Get file size

Disassembly:
push 0x4bc
mov eax, 0x52fd48
call fcn.00506ba4
mov esi, ecx
mov dword [ebp - 0x4ac], esi
mov bl, 1
mov byte [ebp - 0x499], bl
call fcn.004809d1
xor ecx, ecx
test al, al
je 0x46dfe2
mov eax, dword [esi + 0x2ec]
jmp 0x46dfc2
cmp dword [eax + 0xd0], ecx
je 0x46dfe2
add eax, 0x180
cmp dword [esi + 0x2f0], eax
jne 0x46dfb5
cmp dword [esi + 0x1ac], ecx
jne 0x46dfda
cmp dword [esi + 0x410], ecx
je 0x46dfe2
mov bl, cl
mov byte [ebp - 0x499], bl
cmp dword [0x59435c], ecx
je 0x46e016
mov ecx, 0x565f90
test bl, bl
mov eax, 0x565f8c
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 [0x59435c]
call fcn.0047f863
add esp, 0x14
call fcn.004506c4
push eax
lea ecx, [ebp - 0x4a8]
call fcn.004504da
and dword [ebp - 4], 0
call fcn.004506c4
push eax
lea ecx, [ebp - 0x4a4]
call fcn.004504da
lea edx, [ebp - 0x4a4]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a8]
call fcn.00482d94
call fcn.004809d1
mov edi, dword [ebp - 0x4a8]
mov ebx, dword [ebp - 0x4a4]
test al, al
je 0x46e0c3
cmp byte [ebp - 0x499], 0
jne 0x46e0c3
push ebx
call fcn.00450d3f
pop ecx
push eax
push ebx
lea ecx, [esi + 0x6b8]
call fcn.00450cc6
push 0x565fd0
lea ecx, [ebp - 0x28]
call fcn.00450d66
push 0x565fd8
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.00462cce
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0044ea00
lea ecx, [ebp - 0x28]
jmp 0x46e115
push edi
call fcn.00450d3f
pop ecx
push eax
push edi
lea ecx, [esi + 0x6b8]
call fcn.00450cc6
push 0x565fe8
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.00462cce
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.0046fbd5
mov byte [ebp - 4], 6
cmp dword [ebp - 0x48], 0
je 0x46e150
lea ecx, [ebp - 0x58]
lea eax, [esi + 0x6b8]
cmp eax, ecx
je 0x46e150
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00450ff3
lea eax, [esi + 0x2a4]
cmp dword [eax + 0x14], 8
jb 0x46e15e
mov eax, dword [eax]
push eax
call fcn.005053ef
mov dword [ebp - 0x4a0], eax
pop ecx
test eax, eax
jne 0x46e1a4
lea eax, [esi + 0xf4]
lea ecx, [esi + 0x2a4]
cmp ecx, eax
je 0x46e18f
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0xf4]
cmp dword [eax + 0x14], 8
jb 0x46e197
mov eax, dword [eax]
push eax
call fcn.005053ef
pop ecx
mov dword [ebp - 0x4a0], eax
push str.startupproduct
lea ecx, [ebp - 0x28]
call fcn.0044e9d1
push dword [ebp - 0x4a0]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.00462d2f
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0044ea00
lea ecx, [ebp - 0x278]
call fcn.004671e7
lea eax, [esi + 0xf4]
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x46e1ed
mov eax, dword [eax]
push eax
call fcn.005053ef
cmp byte [ebp - 0x499], 0
pop ecx
mov dword [ebp - 0x278], eax
lea ecx, [ebp - 0x274]
je 0x46e323
lea eax, [esi + 0x3a0]
cmp ecx, eax
je 0x46e221
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x448]
lea ecx, [ebp - 0x244]
cmp ecx, eax
je 0x46e23b
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x460]
lea ecx, [ebp - 0x22c]
cmp ecx, eax
je 0x46e255
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x566010
call fcn.00450d3f
pop ecx
push eax
push 0x566010
lea ecx, [ebp - 0xcc]
call fcn.00450cc6
cmp dword [ebp - 0x264], 0
je 0x46e28e
lea ecx, [esi + 0x154]
mov edx, 0x566014
call fcn.004650ee
test al, al
je 0x46e2fd
cmp dword [0x59435c], 0
je 0x46e2b3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___BuildProductAndDepentTask__use_local_x86_down_url.
push 3
push dword [0x59435c]
call fcn.0047f863
add esp, 0x10
lea eax, [esi + 0x16c]
lea ecx, [ebp - 0x274]
cmp ecx, eax
je 0x46e2cd
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x566058
call fcn.00450d3f
pop ecx
push eax
push 0x566058
lea ecx, [ebp - 0x22c]
call fcn.00450cc6
lea ecx, [ebp - 0x244]
cmp ecx, eax
je 0x46e2fd
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x4a8]
cmp dword [eax + 0x14], 8
jb 0x46e30b
mov eax, dword [eax]
push eax
call fcn.005053f8
pop ecx
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1dc], edx
jmp 0x46e419
lea eax, [esi + 0x400]
cmp ecx, eax
je 0x46e33d
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x274]
call fcn.00450ff3
lea eax, [esi + 0x478]
lea ecx, [ebp - 0x244]
cmp ecx, eax
je 0x46e357
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x490]
lea ecx, [ebp - 0x22c]
cmp ecx, eax
je 0x46e371
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x56605c
call fcn.00450d3f
pop ecx
push eax
push 0x56605c
lea ecx, [ebp - 0xcc]
call fcn.00450cc6
cmp dword [ebp - 0x264], 0
je 0x46e3aa
lea ecx, [esi + 0x184]
mov edx, 0x566060
call fcn.004650ee
test al, al
je 0x46e419
cmp dword [0x59435c], 0
je 0x46e3cf
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___BuildProductAndDepentTask__use_local_x64_down_url.
push 3
push dword [0x59435c]
call fcn.0047f863
add esp, 0x10
lea eax, [esi + 0x19c]
lea ecx, [ebp - 0x274]
cmp ecx, eax
je 0x46e3e9
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x5660a4
call fcn.00450d3f
pop ecx
push eax
push 0x5660a4
lea ecx, [ebp - 0x22c]
call fcn.00450cc6
lea ecx, [ebp - 0x244]
cmp ecx, eax
je 0x46e419
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x5660a8
lea ecx, [ebp - 0x28]
call fcn.00450d66
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x274]
call fcn.0048897d
push 0
push 1
lea ecx, [ebp - 0x28]
mov dword [esi + 0x758], eax
mov dword [esi + 0x75c], edx
mov byte [ebp - 4], 8
call fcn.004510a8
cmp dword [0x59435c], 0
je 0x46e485
push dword [esi + 0x75c]
push dword [esi + 0x758]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___query_package_size__I64u__by_domain_url.
push 3
push dword [0x59435c]
call fcn.0047f863
add esp, 0x18
mov al, byte [esi + 0x754]
test al, al
je 0x46e57c
lea eax, [esi + 0x628]
xorps xmm0, xmm0
cmp dword [eax + 0x14], 8
movlpd qword [ebp - 0x4b8], xmm0
jb 0x46e4ac
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4c0], eax
cmp eax, 0xffffffff
je 0x46e57c
lea ecx, [ebp - 0x4c8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x46e500
mov eax, dword [ebp - 0x4c8]
mov dword [ebp - 0x4b4], eax
mov eax, dword [ebp - 0x4c4]
mov dword [ebp - 0x4bc], eax
jmp 0x46e518
mov eax, dword [ebp - 0x4b4]
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 0x4b4], eax
push dword [ebp - 0x4c0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4bc]
cmp dword [esi + 0x75c], eax
jb 0x46e583
ja 0x46e542
mov eax, dword [ebp - 0x4b4]
cmp dword [esi + 0x758], eax
jbe 0x46e583
cmp dword [0x59435c], 0
je 0x46e567
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___delete_old_temp_package.
push 3
push dword [0x59435c]
call fcn.0047f863
add esp, 0x10
lea eax, [esi + 0x628]
cmp dword [eax + 0x14], 8
jb 0x46e575
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0046ec07
push 0x56610c
lea edx, [ebp - 0x244]
lea ecx, [ebp - 0x40]
call fcn.00453de4
pop ecx
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0xa
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.004650c6
pop ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.00460da2
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 + 0x640]
lea ecx, [ebp - 0x25c]
cmp ecx, eax
je 0x46e5ef
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x566110
call fcn.00450d3f
pop ecx
push eax
push 0x566110
lea ecx, [ebp - 0x214]
call fcn.00450cc6
lea eax, [esi + 0x358]
lea ecx, [ebp - 0x1fc]
cmp ecx, eax
je 0x46e625
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x34]
lea ecx, [ebp - 0x174]
cmp ecx, eax
je 0x46e63c
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x4c]
lea ecx, [ebp - 0x15c]
cmp ecx, eax
je 0x46e653
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x64]
lea ecx, [ebp - 0x144]
cmp ecx, eax
je 0x46e66a
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0x94]
lea ecx, [ebp - 0x12c]
cmp ecx, eax
je 0x46e684
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0xac]
lea ecx, [ebp - 0x114]
cmp ecx, eax
je 0x46e69e
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [esi + 0xc4]
lea ecx, [ebp - 0xfc]
cmp ecx, eax
je 0x46e6b8
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x566114
call fcn.00450d3f
pop ecx
push eax
push 0x566114
lea ecx, [ebp - 0xe4]
call fcn.00450cc6
push 0x566118
call fcn.00450d3f
pop ecx
push eax
push 0x566118
lea ecx, [ebp - 0xb4]
call fcn.00450cc6
push 0x56611c
call fcn.00450d3f
pop ecx
push eax
push 0x56611c
lea ecx, [ebp - 0x9c]
call fcn.00450cc6
mov eax, dword [ebp - 0x4a0]
cmp eax, dword [ebp - 0x278]
mov dword [ebp - 0x64], 2
sete byte [ebp - 0x68]
cmp byte [esi + 0x731], 0
jne 0x46e73e
lea eax, [ebp - 0x278]
push eax
lea ecx, [esi + 0x71c]
call fcn.004712d4
mov eax, dword [ebp - 0x4ac]
mov esi, dword [esi + 0x2ec]
cmp dword [eax + 0x2f0], esi
je 0x46eb01
lea edi, [esi + 0xa8]
mov ebx, eax
lea ecx, [ebp - 0x498]
call fcn.004671e7
mov byte [ebp - 4], 0xb
cmp dword [edi - 0x94], 8
jb 0x46e77a
mov eax, dword [esi]
jmp 0x46e77c
mov eax, esi
push eax
call fcn.005053ef
cmp byte [ebp - 0x499], 0
pop ecx
mov dword [ebp - 0x498], eax
je 0x46e7e0
lea eax, [ebp - 0x494]
cmp eax, edi
je 0x46e7a8
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00450ff3
push 0x566120
call fcn.00450d3f
pop ecx
push eax
push 0x566120
lea ecx, [ebp - 0x2ec]
call fcn.00450cc6
lea eax, [edi + 0x48]
lea ecx, [ebp - 0x464]
cmp ecx, eax
je 0x46e7db
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [edi + 0x60]
jmp 0x46e830
lea eax, [edi + 0x18]
lea ecx, [ebp - 0x494]
cmp ecx, eax
je 0x46e7f7
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x566124
call fcn.00450d3f
pop ecx
push eax
push 0x566124
lea ecx, [ebp - 0x2ec]
call fcn.00450cc6
lea eax, [edi + 0x78]
lea ecx, [ebp - 0x464]
cmp ecx, eax
je 0x46e82a
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
lea eax, [edi + 0x90]
lea ecx, [ebp - 0x44c]
cmp ecx, eax
je 0x46e844
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
mov edx, 0x566128
lea ecx, [ebp - 0x464]
call fcn.004650ee
test al, al
jne 0x46e8b7
mov edx, 0x56612c
lea ecx, [ebp - 0x44c]
call fcn.004650ee
test al, al
jne 0x46e8b7
push 0x566130
lea edx, [ebp - 0x464]
lea ecx, [ebp - 0x40]
call fcn.00453de4
pop ecx
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 0xc
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.004650c6
pop ecx
push eax
lea ecx, [ebp - 0x464]
call fcn.00460da2
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004510a8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
jmp 0x46e8dc
lea eax, [ebp - 0x44c]
push eax
lea edx, [ebp - 0x464]
lea ecx, [ebp - 0x28]
call fcn.00471758
pop ecx
push eax
lea ecx, [ebp - 0x464]
call fcn.00460da2
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004510a8
lea ecx, [edi + 0x30]
mov edx, 0x566134
call fcn.004650ee
test al, al
setne byte [ebp - 0x280]
cmp dword [edi + 0xbc], 8
jb 0x46e90c
mov eax, dword [edi + 0xa8]
jmp 0x46e912
lea eax, [edi + 0xa8]
push eax
call fcn.005053f8
pop ecx
mov dword [ebp - 0x400], eax
lea ecx, [ebp - 0x47c]
lea eax, [ebx + 0x640]
mov dword [ebp - 0x3fc], edx
cmp ecx, eax
je 0x46e93f
push 0xffffffffffffffff
push 0
push eax
call fcn.00450ff3
push 0x566140
call fcn.00450d3f
pop ecx
push eax
push 0x566140
lea ecx, [ebp - 0x434]
call fcn.00450cc6
lea eax, [edi - 0x90]
lea ecx, [ebp - 0x394]
cmp ecx, eax
je 0x46e97b
push 0xffffffffffffffff
push 0
lea eax, [edi - 0x90]
push eax
call fcn.00450ff3
lea eax, [edi - 0x78]
lea ecx, [ebp - 0x37c]
cmp ecx, eax
je 0x46e995
push 0xffffffffffffffff
push 0
lea eax, [edi - 0x78]
push eax
call fcn.00450ff3
lea eax, [edi - 0x60]
lea ecx, [ebp - 0x364]
cmp ecx, eax
je 0x46e9af
push 0xffffffffffffffff
push 0
lea eax, [edi - 0x60]
push eax
call fcn.00450ff3
lea eax, [edi - 0x30]
lea ecx, [ebp - 0x334]
cmp ecx, eax
je 0x46e9c9
push 0xffffffffffffffff
push 0
lea eax, [edi - 0x30]
push eax
call fcn.00450ff3
lea eax, [edi - 0x18]
lea ecx, [ebp - 0x31c]
cmp ecx, eax
je 0x46e9e3
push 0xffffffffffffffff
push 0
lea eax, [edi - 0x18]
push eax
call fcn.00450ff3
push 0x566144
call fcn.00450d3f
pop ecx
push eax
push 0x566144
lea ecx, [ebp - 0x304]
call fcn.00450cc6
push 0x566148
call fcn.00450d3f
pop ecx
push eax
push 0x566148
lea ecx, [ebp - 0x2d4]
call fcn.00450cc6
push 0x56614c
call fcn.00450d3f
pop ecx
push eax
push 0x56614c
lea ecx, [ebp - 0x2bc]
call fcn.00450cc6
mov eax, dword [ebp - 0x4a0]
cmp eax, dword [ebp - 0x498]
mov dword [ebp - 0x284], 1
sete byte [ebp - 0x288]
cmp dword [ebp - 0x498], 0x2a43
jne 0x46ea90
call fcn.00481a45
test al, al
je 0x46ea90
cmp dword [0x59435c], 0
je 0x46ead1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___already_install_wcc.
push 3
push dword [0x59435c]
call fcn.0047f863
add esp, 0x10
jmp 0x46ead1
lea edx, [edi + 0xc0]
mov ecx, 0x566174
call fcn.00466c1f
test al, al
je 0x46eab6
cmp byte [ebx + 0x731], 0
mov byte [ebx + 0x730], 1
je 0x46ead1
jmp 0x46eabf
cmp byte [ebx + 0x731], 0
jne 0x46ead1
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebx + 0x71c]
call fcn.004712d4
lea ecx, [ebp - 0x498]
mov byte [ebp - 4], 8
call fcn.0046eb2e
mov eax, 0x180
add esi, eax
add edi, eax
cmp dword [ebx + 0x2f0], esi
jne 0x46e75e
mov edi, dword [ebp - 0x4a8]
mov ebx, dword [ebp - 0x4a4]
lea ecx, [ebp - 0x278]
call fcn.0046eb2e
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.00506b53
ret