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

Disassembly:
push 0xffffffffffffffff
push 0x536523
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596700]
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.00486fbd
xor ecx, ecx
test al, al
je 0x46f641
mov eax, dword [ebp + 0x2ec]
jmp 0x46f623
cmp dword [eax + 0xd0], ecx
je 0x46f641
add eax, 0x180
cmp dword [ebp + 0x2f0], eax
jne 0x46f616
cmp dword [ebp + 0x1ac], ecx
jne 0x46f63b
cmp dword [ebp + 0x410], ecx
je 0x46f641
mov bl, cl
mov byte [esp + 0x1b], bl
cmp dword [0x59d50c], ecx
je 0x46f675
mov ecx, 0x56d4e0
test bl, bl
mov eax, 0x56d4dc
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 [0x59d50c]
call fcn.00485f11
add esp, 0x14
call fcn.00450762
push eax
lea ecx, [esp + 0x20]
call fcn.00450590
and dword [esp + 0x4d8], 0
call fcn.00450762
push eax
lea ecx, [esp + 0x24]
call fcn.00450590
lea edx, [esp + 0x20]
mov byte [esp + 0x4d8], 1
lea ecx, [esp + 0x1c]
call fcn.004892bb
call fcn.00486fbd
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test al, al
je 0x46f72c
cmp byte [esp + 0x1b], 0
jne 0x46f72c
push ebx
lea esi, [ebp + 0x6b8]
call fcn.00450dae
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.00450d41
push 0x56d520
lea ecx, [esp + 0x48]
call fcn.00450dd2
push 0x56d528
lea ecx, [esp + 0x60]
mov byte [esp + 0x4dc], 2
call fcn.0044ea5a
lea eax, [esp + 0x44]
mov byte [esp + 0x4d8], 3
push eax
lea eax, [esp + 0x60]
push eax
call fcn.004637e8
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.0044ea87
lea ecx, [esp + 0x44]
jmp 0x46f78e
push edi
lea esi, [ebp + 0x6b8]
call fcn.00450dae
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00450d41
push 0x56d538
lea ecx, [esp + 0x60]
call fcn.00450dd2
push str.downpackagebits
lea ecx, [esp + 0x48]
mov byte [esp + 0x4dc], 4
call fcn.0044ea5a
lea eax, [esp + 0x5c]
mov byte [esp + 0x4d8], 5
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004637e8
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.0044ea87
lea ecx, [esp + 0x5c]
push 0
push 1
mov byte [esp + 0x4e0], 1
call fcn.00451108
lea eax, [esp + 0x74]
mov ecx, ebp
push eax
call fcn.004713c0
mov byte [esp + 0x4d8], 6
cmp dword [esp + 0x84], 0
je 0x46f7d1
lea eax, [esp + 0x74]
cmp esi, eax
je 0x46f7d1
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00451030
lea eax, [ebp + 0x2a4]
cmp dword [eax + 0x14], 8
jb 0x46f7df
mov eax, dword [eax]
push eax
call fcn.0050bb9f
mov esi, eax
mov dword [esp + 0x28], esi
pop ecx
test esi, esi
jne 0x46f817
lea esi, [ebp + 0xf4]
push esi
lea ecx, [ebp + 0x2a4]
call fcn.004510b3
cmp dword [esi + 0x14], 8
jb 0x46f80a
mov esi, dword [esi]
push esi
call fcn.0050bb9f
pop ecx
mov esi, eax
mov dword [esp + 0x24], eax
push str.startupproduct
lea ecx, [esp + 0x48]
call fcn.0044ea5a
push esi
lea eax, [esp + 0x48]
mov byte [esp + 0x4dc], 7
push eax
call fcn.00463849
xor esi, esi
lea ecx, [esp + 0x44]
push esi
push 1
call fcn.0044ea87
lea ecx, [esp + 0x8c]
call fcn.004680e9
lea eax, [ebp + 0xf4]
mov byte [esp + 0x4d8], 8
cmp dword [eax + 0x14], 8
jb 0x46f868
mov eax, dword [eax]
push eax
call fcn.0050bb9f
cmp byte [esp + 0x1f], 0
pop ecx
mov dword [esp + 0x8c], eax
lea ecx, [esp + 0x90]
je 0x46f99e
lea eax, [ebp + 0x3a0]
cmp ecx, eax
je 0x46f89b
push 0xffffffffffffffff
push esi
push eax
call fcn.00451030
lea eax, [ebp + 0x448]
lea ecx, [esp + 0xc0]
cmp ecx, eax
je 0x46f8b5
push 0xffffffffffffffff
push esi
push eax
call fcn.00451030
lea eax, [ebp + 0x460]
lea ecx, [esp + 0xd8]
cmp ecx, eax
je 0x46f8cf
push 0xffffffffffffffff
push esi
push eax
call fcn.00451030
mov esi, 0x56d560
push esi
call fcn.00450dae
pop ecx
push eax
push esi
lea ecx, [esp + 0x240]
call fcn.00450d41
cmp dword [esp + 0xa0], 0
je 0x46f907
lea ecx, [ebp + 0x154]
mov edx, 0x56d564
call fcn.00465fcf
test al, al
je 0x46f976
cmp dword [0x59d50c], 0
je 0x46f92c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___BuildProductAndDepentTask__use_local_x86_down_url.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
lea eax, [ebp + 0x16c]
lea ecx, [esp + 0x90]
cmp ecx, eax
je 0x46f947
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
mov esi, 0x56d5a8
push esi
call fcn.00450dae
pop ecx
push eax
push esi
lea ecx, [esp + 0xe0]
call fcn.00450d41
lea ecx, [esp + 0xc0]
cmp ecx, eax
je 0x46f976
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x4a8]
cmp dword [eax + 0x14], 8
jb 0x46f984
mov eax, dword [eax]
push eax
call fcn.0050bba8
pop ecx
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], edx
jmp 0x46fa93
lea eax, [ebp + 0x400]
cmp ecx, eax
je 0x46f9b8
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x9c]
call fcn.00451030
lea eax, [ebp + 0x478]
lea ecx, [esp + 0xc0]
cmp ecx, eax
je 0x46f9d2
push 0xffffffffffffffff
push esi
push eax
call fcn.00451030
lea eax, [ebp + 0x490]
lea ecx, [esp + 0xd8]
cmp ecx, eax
je 0x46f9ec
push 0xffffffffffffffff
push esi
push eax
call fcn.00451030
mov esi, 0x56d5ac
push esi
call fcn.00450dae
pop ecx
push eax
push esi
lea ecx, [esp + 0x240]
call fcn.00450d41
cmp dword [esp + 0xa0], 0
je 0x46fa24
lea ecx, [ebp + 0x184]
mov edx, 0x56d5b0
call fcn.00465fcf
test al, al
je 0x46fa93
cmp dword [0x59d50c], 0
je 0x46fa49
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___BuildProductAndDepentTask__use_local_x64_down_url.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
lea eax, [ebp + 0x19c]
lea ecx, [esp + 0x90]
cmp ecx, eax
je 0x46fa64
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
mov esi, 0x56d5f4
push esi
call fcn.00450dae
pop ecx
push eax
push esi
lea ecx, [esp + 0xe0]
call fcn.00450d41
lea ecx, [esp + 0xc0]
cmp ecx, eax
je 0x46fa93
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x56d5f8
lea ecx, [esp + 0x48]
call fcn.00450dd2
lea edx, [esp + 0x44]
mov byte [esp + 0x4d8], 9
lea ecx, [esp + 0x90]
call fcn.0048edd6
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.00451108
cmp dword [0x59d50c], 0
je 0x46fb0b
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 [0x59d50c]
call fcn.00485f11
add esp, 0x18
mov al, byte [ebp + 0x754]
test al, al
je 0x46fbe4
lea esi, [ebp + 0x628]
xorps xmm0, xmm0
cmp dword [esi + 0x14], 8
movlpd qword [esp + 0x2c], xmm0
jb 0x46fb32
mov eax, dword [esi]
jmp 0x46fb34
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 0x46fbe4
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x46fb7c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
jmp 0x46fb8c
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 0x46fbeb
ja 0x46fbb0
mov eax, dword [esp + 0x2c]
cmp dword [ebp + 0x758], eax
jbe 0x46fbeb
cmp dword [0x59d50c], 0
je 0x46fbd5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___delete_old_temp_package.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x46fbdd
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, ebp
call fcn.004702d0
push 0x56d65c
lea edx, [esp + 0xc4]
lea ecx, [esp + 0x60]
call fcn.00454143
pop ecx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x4d8], 0xa
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00465fa7
pop ecx
push eax
lea ecx, [esp + 0xc4]
call fcn.004615ca
xor esi, esi
lea ecx, [esp + 0x44]
push esi
push 1
call fcn.00451108
push esi
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x4e0], 8
call fcn.00451108
lea eax, [ebp + 0x640]
lea ecx, [esp + 0xa8]
cmp ecx, eax
je 0x46fc66
push 0xffffffffffffffff
push esi
push eax
call fcn.00451030
mov esi, 0x56d660
push esi
call fcn.00450dae
pop ecx
push eax
push esi
lea ecx, [esp + 0xf8]
call fcn.00450d41
lea eax, [ebp + 0x358]
xor esi, esi
lea ecx, [esp + 0x108]
cmp ecx, eax
je 0x46fc9c
push 0xffffffffffffffff
push esi
push eax
call fcn.00451030
lea eax, [ebp + 0x34]
lea ecx, [esp + 0x190]
cmp ecx, eax
je 0x46fcb3
push 0xffffffffffffffff
push esi
push eax
call fcn.00451030
lea eax, [ebp + 0x4c]
lea ecx, [esp + 0x1a8]
cmp ecx, eax
je 0x46fcca
push 0xffffffffffffffff
push esi
push eax
call fcn.00451030
lea eax, [ebp + 0x64]
lea ecx, [esp + 0x1c0]
cmp ecx, eax
je 0x46fce1
push 0xffffffffffffffff
push esi
push eax
call fcn.00451030
lea eax, [ebp + 0x94]
lea ecx, [esp + 0x1d8]
cmp ecx, eax
je 0x46fcfb
push 0xffffffffffffffff
push esi
push eax
call fcn.00451030
lea eax, [ebp + 0xac]
lea ecx, [esp + 0x1f0]
cmp ecx, eax
je 0x46fd15
push 0xffffffffffffffff
push esi
push eax
call fcn.00451030
lea eax, [ebp + 0xc4]
lea ecx, [esp + 0x208]
cmp ecx, eax
je 0x46fd2f
push 0xffffffffffffffff
push esi
push eax
call fcn.00451030
mov esi, 0x56d664
push esi
call fcn.00450dae
pop ecx
push eax
push esi
lea ecx, [esp + 0x228]
call fcn.00450d41
mov esi, 0x56d668
push esi
call fcn.00450dae
pop ecx
push eax
push esi
lea ecx, [esp + 0x258]
call fcn.00450d41
mov esi, 0x56d66c
push esi
call fcn.00450dae
pop ecx
push eax
push esi
lea ecx, [esp + 0x270]
call fcn.00450d41
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 0x46fdb7
lea eax, [esp + 0x8c]
push eax
lea ecx, [ebp + 0x71c]
call fcn.00472d47
mov esi, dword [ebp + 0x2ec]
cmp dword [ebp + 0x2f0], esi
je 0x4701a6
lea ebx, [esi + 0xa8]
lea edi, [ebp + 0x640]
lea ecx, [esp + 0x2ac]
call fcn.004680e9
mov byte [esp + 0x4d8], 0xb
cmp dword [ebx - 0x94], 8
jb 0x46fdf6
mov eax, dword [esi]
jmp 0x46fdf8
mov eax, esi
push eax
call fcn.0050bb9f
cmp byte [esp + 0x1f], 0
pop ecx
mov dword [esp + 0x2ac], eax
je 0x46fe5e
lea eax, [esp + 0x2b0]
cmp eax, ebx
je 0x46fe24
push 0xffffffffffffffff
push 0
push ebx
mov ecx, eax
call fcn.00451030
push 0x56d670
call fcn.00450dae
pop ecx
push eax
push 0x56d670
lea ecx, [esp + 0x460]
call fcn.00450d41
lea eax, [ebx + 0x48]
lea ecx, [esp + 0x2e0]
cmp ecx, eax
je 0x46fe59
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebx + 0x60]
jmp 0x46feb1
lea eax, [ebx + 0x18]
lea ecx, [esp + 0x2b0]
cmp ecx, eax
je 0x46fe76
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x56d674
call fcn.00450dae
pop ecx
push eax
push 0x56d674
lea ecx, [esp + 0x460]
call fcn.00450d41
lea eax, [ebx + 0x78]
lea ecx, [esp + 0x2e0]
cmp ecx, eax
je 0x46feab
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebx + 0x90]
lea ecx, [esp + 0x2f8]
cmp ecx, eax
je 0x46fec6
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
mov edx, 0x56d678
lea ecx, [esp + 0x2e0]
call fcn.00465fcf
test al, al
jne 0x46ff4a
mov edx, 0x56d67c
lea ecx, [esp + 0x2f8]
call fcn.00465fcf
test al, al
jne 0x46ff4a
push 0x56d680
lea edx, [esp + 0x2e4]
lea ecx, [esp + 0x60]
call fcn.00454143
pop ecx
lea ecx, [esp + 0x2f8]
mov byte [esp + 0x4d8], 0xc
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00465fa7
pop ecx
push eax
lea ecx, [esp + 0x2e4]
call fcn.004615ca
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00451108
mov byte [esp + 0x4d8], 0xb
lea ecx, [esp + 0x5c]
jmp 0x46ff74
lea eax, [esp + 0x2f8]
push eax
lea edx, [esp + 0x2e4]
lea ecx, [esp + 0x48]
call fcn.004731c5
pop ecx
push eax
lea ecx, [esp + 0x2e4]
call fcn.004615ca
lea ecx, [esp + 0x44]
push 0
push 1
call fcn.00451108
lea ecx, [ebx + 0x30]
mov edx, 0x56d684
call fcn.00465fcf
test al, al
setne byte [esp + 0x4c4]
cmp dword [ebx + 0xbc], 8
jb 0x46ffa5
mov eax, dword [ebx + 0xa8]
jmp 0x46ffab
lea eax, [ebx + 0xa8]
push eax
call fcn.0050bba8
mov dword [esp + 0x348], eax
lea eax, [esp + 0x2cc]
mov dword [esp + 0x34c], edx
pop ecx
cmp eax, edi
je 0x46ffd7
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00451030
push 0x56d690
call fcn.00450dae
pop ecx
push eax
push 0x56d690
lea ecx, [esp + 0x318]
call fcn.00450d41
lea eax, [ebx - 0x90]
lea ecx, [esp + 0x3b0]
cmp ecx, eax
je 0x470015
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x90]
push eax
call fcn.00451030
lea eax, [ebx - 0x78]
lea ecx, [esp + 0x3c8]
cmp ecx, eax
je 0x470030
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x78]
push eax
call fcn.00451030
lea eax, [ebx - 0x60]
lea ecx, [esp + 0x3e0]
cmp ecx, eax
je 0x47004b
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x60]
push eax
call fcn.00451030
lea eax, [ebx - 0x30]
lea ecx, [esp + 0x410]
cmp ecx, eax
je 0x470066
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x30]
push eax
call fcn.00451030
lea eax, [ebx - 0x18]
lea ecx, [esp + 0x428]
cmp ecx, eax
je 0x470081
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x18]
push eax
call fcn.00451030
push 0x56d694
call fcn.00450dae
pop ecx
push eax
push 0x56d694
lea ecx, [esp + 0x448]
call fcn.00450d41
push 0x56d698
call fcn.00450dae
pop ecx
push eax
push 0x56d698
lea ecx, [esp + 0x478]
call fcn.00450d41
push 0x56d69c
call fcn.00450dae
pop ecx
push eax
push 0x56d69c
lea ecx, [esp + 0x490]
call fcn.00450d41
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 0x470133
call fcn.00487fff
test al, al
je 0x470133
cmp dword [0x59d50c], 0
je 0x470175
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___already_install_wcc.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
jmp 0x470175
lea edx, [ebx + 0xc0]
mov ecx, 0x56d6c4
call fcn.00467b27
test al, al
je 0x470159
cmp byte [ebp + 0x731], 0
mov byte [ebp + 0x730], 1
je 0x470175
jmp 0x470162
cmp byte [ebp + 0x731], 0
jne 0x470175
lea eax, [esp + 0x2ac]
push eax
lea ecx, [ebp + 0x71c]
call fcn.00472d47
lea ecx, [esp + 0x2ac]
mov byte [esp + 0x4d8], 8
call fcn.004701f7
mov eax, 0x180
add esi, eax
add ebx, eax
cmp dword [ebp + 0x2f0], esi
jne 0x46fdd5
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x8c]
call fcn.004701f7
push 0
push 1
lea ecx, [esp + 0x7c]
call fcn.00451108
lea ecx, [ebx - 0x10]
call fcn.00450ce2
lea ecx, [edi - 0x10]
call fcn.00450ce2
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.00508163
add esp, 0x4c8
ret