Function at 0x46f5a4
Capabilities:
Delete file
Get file size
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x531eb3
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
mov ebp, ecx
mov bl, 1
mov byte [esp + 0x1b], bl
call fcn.004826c6
xor ecx, ecx
test al, al
je 0x46f625
mov eax, dword [ebp + 0x2ec]
jmp 0x46f607
cmp dword [eax + 0xd0], ecx
je 0x46f625
add eax, 0x180
cmp dword [ebp + 0x2f0], eax
jne 0x46f5fa
cmp dword [ebp + 0x1ac], ecx
jne 0x46f61f
cmp dword [ebp + 0x410], ecx
je 0x46f625
mov bl, cl
mov byte [esp + 0x1b], bl
cmp dword [0x59735c], ecx
je 0x46f659
mov ecx, 0x567f80
test bl, bl
mov eax, 0x567f7c
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 [0x59735c]
call fcn.0048161a
add esp, 0x14
call fcn.00450742
push eax
lea ecx, [esp + 0x20]
call fcn.00450570
and dword [esp + 0x4d8], 0
call fcn.00450742
push eax
lea ecx, [esp + 0x24]
call fcn.00450570
lea edx, [esp + 0x20]
mov byte [esp + 0x4d8], 1
lea ecx, [esp + 0x1c]
call fcn.00484a13
call fcn.004826c6
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test al, al
je 0x46f710
cmp byte [esp + 0x1b], 0
jne 0x46f710
push ebx
lea esi, [ebp + 0x6b8]
call fcn.00450d8e
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.00450d21
push 0x567fc0
lea ecx, [esp + 0x48]
call fcn.00450db2
push 0x567fc8
lea ecx, [esp + 0x60]
mov byte [esp + 0x4dc], 2
call fcn.0044ea3a
lea eax, [esp + 0x44]
mov byte [esp + 0x4d8], 3
push eax
lea eax, [esp + 0x60]
push eax
call fcn.004637da
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.0044ea67
lea ecx, [esp + 0x44]
jmp 0x46f772
push edi
lea esi, [ebp + 0x6b8]
call fcn.00450d8e
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00450d21
push 0x567fd8
lea ecx, [esp + 0x60]
call fcn.00450db2
push str.downpackagebits
lea ecx, [esp + 0x48]
mov byte [esp + 0x4dc], 4
call fcn.0044ea3a
lea eax, [esp + 0x5c]
mov byte [esp + 0x4d8], 5
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004637da
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.0044ea67
lea ecx, [esp + 0x5c]
push 0
push 1
mov byte [esp + 0x4e0], 1
call fcn.004510e8
lea eax, [esp + 0x74]
mov ecx, ebp
push eax
call fcn.004713a4
mov byte [esp + 0x4d8], 6
cmp dword [esp + 0x84], 0
je 0x46f7b5
lea eax, [esp + 0x74]
cmp esi, eax
je 0x46f7b5
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00451010
lea eax, [ebp + 0x2a4]
cmp dword [eax + 0x14], 8
jb 0x46f7c3
mov eax, dword [eax]
push eax
call fcn.0050751f
mov esi, eax
mov dword [esp + 0x28], esi
pop ecx
test esi, esi
jne 0x46f7fb
lea esi, [ebp + 0xf4]
push esi
lea ecx, [ebp + 0x2a4]
call fcn.00451093
cmp dword [esi + 0x14], 8
jb 0x46f7ee
mov esi, dword [esi]
push esi
call fcn.0050751f
pop ecx
mov esi, eax
mov dword [esp + 0x24], eax
push str.startupproduct
lea ecx, [esp + 0x48]
call fcn.0044ea3a
push esi
lea eax, [esp + 0x48]
mov byte [esp + 0x4dc], 7
push eax
call fcn.0046383b
xor esi, esi
lea ecx, [esp + 0x44]
push esi
push 1
call fcn.0044ea67
lea ecx, [esp + 0x8c]
call fcn.004680d0
lea eax, [ebp + 0xf4]
mov byte [esp + 0x4d8], 8
cmp dword [eax + 0x14], 8
jb 0x46f84c
mov eax, dword [eax]
push eax
call fcn.0050751f
cmp byte [esp + 0x1f], 0
pop ecx
mov dword [esp + 0x8c], eax
lea ecx, [esp + 0x90]
je 0x46f982
lea eax, [ebp + 0x3a0]
cmp ecx, eax
je 0x46f87f
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x448]
lea ecx, [esp + 0xc0]
cmp ecx, eax
je 0x46f899
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x460]
lea ecx, [esp + 0xd8]
cmp ecx, eax
je 0x46f8b3
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
mov esi, 0x568000
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0x240]
call fcn.00450d21
cmp dword [esp + 0xa0], 0
je 0x46f8eb
lea ecx, [ebp + 0x154]
mov edx, 0x568004
call fcn.00465fc3
test al, al
je 0x46f95a
cmp dword [0x59735c], 0
je 0x46f910
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___BuildProductAndDepentTask__use_local_x86_down_url.
push 3
push dword [0x59735c]
call fcn.0048161a
add esp, 0x10
lea eax, [ebp + 0x16c]
lea ecx, [esp + 0x90]
cmp ecx, eax
je 0x46f92b
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
mov esi, 0x568048
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0xe0]
call fcn.00450d21
lea ecx, [esp + 0xc0]
cmp ecx, eax
je 0x46f95a
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
lea eax, [ebp + 0x4a8]
cmp dword [eax + 0x14], 8
jb 0x46f968
mov eax, dword [eax]
push eax
call fcn.00507528
pop ecx
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], edx
jmp 0x46fa77
lea eax, [ebp + 0x400]
cmp ecx, eax
je 0x46f99c
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x9c]
call fcn.00451010
lea eax, [ebp + 0x478]
lea ecx, [esp + 0xc0]
cmp ecx, eax
je 0x46f9b6
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x490]
lea ecx, [esp + 0xd8]
cmp ecx, eax
je 0x46f9d0
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
mov esi, 0x56804c
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0x240]
call fcn.00450d21
cmp dword [esp + 0xa0], 0
je 0x46fa08
lea ecx, [ebp + 0x184]
mov edx, 0x568050
call fcn.00465fc3
test al, al
je 0x46fa77
cmp dword [0x59735c], 0
je 0x46fa2d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___BuildProductAndDepentTask__use_local_x64_down_url.
push 3
push dword [0x59735c]
call fcn.0048161a
add esp, 0x10
lea eax, [ebp + 0x19c]
lea ecx, [esp + 0x90]
cmp ecx, eax
je 0x46fa48
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
mov esi, 0x568094
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0xe0]
call fcn.00450d21
lea ecx, [esp + 0xc0]
cmp ecx, eax
je 0x46fa77
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
push 0x568098
lea ecx, [esp + 0x48]
call fcn.00450db2
lea edx, [esp + 0x44]
mov byte [esp + 0x4d8], 9
lea ecx, [esp + 0x90]
call fcn.0048a530
push 0
push 1
lea ecx, [esp + 0x4c]
mov dword [ebp + 0x758], eax
mov dword [ebp + 0x75c], edx
mov byte [esp + 0x4e0], 8
call fcn.004510e8
cmp dword [0x59735c], 0
je 0x46faef
push dword [ebp + 0x75c]
push dword [ebp + 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 [0x59735c]
call fcn.0048161a
add esp, 0x18
mov al, byte [ebp + 0x754]
test al, al
je 0x46fbc8
lea esi, [ebp + 0x628]
xorps xmm0, xmm0
cmp dword [esi + 0x14], 8
movlpd qword [esp + 0x2c], xmm0
jb 0x46fb16
mov eax, dword [esi]
jmp 0x46fb18
mov eax, esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x38], eax
cmp eax, 0xffffffff
je 0x46fbc8
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x46fb60
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
jmp 0x46fb70
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x28]
cmp dword [ebp + 0x75c], eax
jb 0x46fbcf
ja 0x46fb94
mov eax, dword [esp + 0x2c]
cmp dword [ebp + 0x758], eax
jbe 0x46fbcf
cmp dword [0x59735c], 0
je 0x46fbb9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___delete_old_temp_package.
push 3
push dword [0x59735c]
call fcn.0048161a
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x46fbc1
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, ebp
call fcn.004702b4
push 0x5680fc
lea edx, [esp + 0xc4]
lea ecx, [esp + 0x60]
call fcn.0045412e
pop ecx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x4d8], 0xa
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00465f9b
pop ecx
push eax
lea ecx, [esp + 0xc4]
call fcn.004615bc
xor esi, esi
lea ecx, [esp + 0x44]
push esi
push 1
call fcn.004510e8
push esi
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x4e0], 8
call fcn.004510e8
lea eax, [ebp + 0x640]
lea ecx, [esp + 0xa8]
cmp ecx, eax
je 0x46fc4a
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
mov esi, 0x568100
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0xf8]
call fcn.00450d21
lea eax, [ebp + 0x358]
xor esi, esi
lea ecx, [esp + 0x108]
cmp ecx, eax
je 0x46fc80
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x34]
lea ecx, [esp + 0x190]
cmp ecx, eax
je 0x46fc97
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x4c]
lea ecx, [esp + 0x1a8]
cmp ecx, eax
je 0x46fcae
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x64]
lea ecx, [esp + 0x1c0]
cmp ecx, eax
je 0x46fcc5
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x94]
lea ecx, [esp + 0x1d8]
cmp ecx, eax
je 0x46fcdf
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0xac]
lea ecx, [esp + 0x1f0]
cmp ecx, eax
je 0x46fcf9
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0xc4]
lea ecx, [esp + 0x208]
cmp ecx, eax
je 0x46fd13
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
mov esi, 0x568104
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0x228]
call fcn.00450d21
mov esi, 0x568108
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0x258]
call fcn.00450d21
mov esi, 0x56810c
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0x270]
call fcn.00450d21
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x8c]
mov dword [esp + 0x2a0], 2
sete byte [esp + 0x29c]
cmp byte [ebp + 0x731], 0
jne 0x46fd9b
lea eax, [esp + 0x8c]
push eax
lea ecx, [ebp + 0x71c]
call fcn.00472d2b
mov esi, dword [ebp + 0x2ec]
cmp dword [ebp + 0x2f0], esi
je 0x47018a
lea ebx, [esi + 0xa8]
lea edi, [ebp + 0x640]
lea ecx, [esp + 0x2ac]
call fcn.004680d0
mov byte [esp + 0x4d8], 0xb
cmp dword [ebx - 0x94], 8
jb 0x46fdda
mov eax, dword [esi]
jmp 0x46fddc
mov eax, esi
push eax
call fcn.0050751f
cmp byte [esp + 0x1f], 0
pop ecx
mov dword [esp + 0x2ac], eax
je 0x46fe42
lea eax, [esp + 0x2b0]
cmp eax, ebx
je 0x46fe08
push 0xffffffffffffffff
push 0
push ebx
mov ecx, eax
call fcn.00451010
push 0x568110
call fcn.00450d8e
pop ecx
push eax
push 0x568110
lea ecx, [esp + 0x460]
call fcn.00450d21
lea eax, [ebx + 0x48]
lea ecx, [esp + 0x2e0]
cmp ecx, eax
je 0x46fe3d
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
lea eax, [ebx + 0x60]
jmp 0x46fe95
lea eax, [ebx + 0x18]
lea ecx, [esp + 0x2b0]
cmp ecx, eax
je 0x46fe5a
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
push 0x568114
call fcn.00450d8e
pop ecx
push eax
push 0x568114
lea ecx, [esp + 0x460]
call fcn.00450d21
lea eax, [ebx + 0x78]
lea ecx, [esp + 0x2e0]
cmp ecx, eax
je 0x46fe8f
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
lea eax, [ebx + 0x90]
lea ecx, [esp + 0x2f8]
cmp ecx, eax
je 0x46feaa
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
mov edx, 0x568118
lea ecx, [esp + 0x2e0]
call fcn.00465fc3
test al, al
jne 0x46ff2e
mov edx, 0x56811c
lea ecx, [esp + 0x2f8]
call fcn.00465fc3
test al, al
jne 0x46ff2e
push 0x568120
lea edx, [esp + 0x2e4]
lea ecx, [esp + 0x60]
call fcn.0045412e
pop ecx
lea ecx, [esp + 0x2f8]
mov byte [esp + 0x4d8], 0xc
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00465f9b
pop ecx
push eax
lea ecx, [esp + 0x2e4]
call fcn.004615bc
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.004510e8
mov byte [esp + 0x4d8], 0xb
lea ecx, [esp + 0x5c]
jmp 0x46ff58
lea eax, [esp + 0x2f8]
push eax
lea edx, [esp + 0x2e4]
lea ecx, [esp + 0x48]
call fcn.004731a7
pop ecx
push eax
lea ecx, [esp + 0x2e4]
call fcn.004615bc
lea ecx, [esp + 0x44]
push 0
push 1
call fcn.004510e8
lea ecx, [ebx + 0x30]
mov edx, 0x568124
call fcn.00465fc3
test al, al
setne byte [esp + 0x4c4]
cmp dword [ebx + 0xbc], 8
jb 0x46ff89
mov eax, dword [ebx + 0xa8]
jmp 0x46ff8f
lea eax, [ebx + 0xa8]
push eax
call fcn.00507528
mov dword [esp + 0x348], eax
lea eax, [esp + 0x2cc]
mov dword [esp + 0x34c], edx
pop ecx
cmp eax, edi
je 0x46ffbb
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00451010
push 0x568130
call fcn.00450d8e
pop ecx
push eax
push 0x568130
lea ecx, [esp + 0x318]
call fcn.00450d21
lea eax, [ebx - 0x90]
lea ecx, [esp + 0x3b0]
cmp ecx, eax
je 0x46fff9
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x90]
push eax
call fcn.00451010
lea eax, [ebx - 0x78]
lea ecx, [esp + 0x3c8]
cmp ecx, eax
je 0x470014
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x78]
push eax
call fcn.00451010
lea eax, [ebx - 0x60]
lea ecx, [esp + 0x3e0]
cmp ecx, eax
je 0x47002f
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x60]
push eax
call fcn.00451010
lea eax, [ebx - 0x30]
lea ecx, [esp + 0x410]
cmp ecx, eax
je 0x47004a
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x30]
push eax
call fcn.00451010
lea eax, [ebx - 0x18]
lea ecx, [esp + 0x428]
cmp ecx, eax
je 0x470065
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x18]
push eax
call fcn.00451010
push 0x568134
call fcn.00450d8e
pop ecx
push eax
push 0x568134
lea ecx, [esp + 0x448]
call fcn.00450d21
push 0x568138
call fcn.00450d8e
pop ecx
push eax
push 0x568138
lea ecx, [esp + 0x478]
call fcn.00450d21
push 0x56813c
call fcn.00450d8e
pop ecx
push eax
push 0x56813c
lea ecx, [esp + 0x490]
call fcn.00450d21
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x2ac]
mov dword [esp + 0x4c0], 1
sete byte [esp + 0x4bc]
cmp dword [esp + 0x2ac], 0x2a43
jne 0x470117
call fcn.00483707
test al, al
je 0x470117
cmp dword [0x59735c], 0
je 0x470159
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___already_install_wcc.
push 3
push dword [0x59735c]
call fcn.0048161a
add esp, 0x10
jmp 0x470159
lea edx, [ebx + 0xc0]
mov ecx, 0x568164
call fcn.00467b0e
test al, al
je 0x47013d
cmp byte [ebp + 0x731], 0
mov byte [ebp + 0x730], 1
je 0x470159
jmp 0x470146
cmp byte [ebp + 0x731], 0
jne 0x470159
lea eax, [esp + 0x2ac]
push eax
lea ecx, [ebp + 0x71c]
call fcn.00472d2b
lea ecx, [esp + 0x2ac]
mov byte [esp + 0x4d8], 8
call fcn.004701db
mov eax, 0x180
add esi, eax
add ebx, eax
cmp dword [ebp + 0x2f0], esi
jne 0x46fdb9
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x8c]
call fcn.004701db
push 0
push 1
lea ecx, [esp + 0x7c]
call fcn.004510e8
lea ecx, [ebx - 0x10]
call fcn.00450cc2
lea ecx, [edi - 0x10]
call fcn.00450cc2
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.00503aee
add esp, 0x4c8
ret