Function at 0x46f59e
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 0x46f61f
mov eax, dword [ebp + 0x2ec]
jmp 0x46f601
cmp dword [eax + 0xd0], ecx
je 0x46f61f
add eax, 0x180
cmp dword [ebp + 0x2f0], eax
jne 0x46f5f4
cmp dword [ebp + 0x1ac], ecx
jne 0x46f619
cmp dword [ebp + 0x410], ecx
je 0x46f61f
mov bl, cl
mov byte [esp + 0x1b], bl
cmp dword [0x59735c], ecx
je 0x46f653
mov ecx, 0x567f90
test bl, bl
mov eax, 0x567f8c
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 0x46f70a
cmp byte [esp + 0x1b], 0
jne 0x46f70a
push ebx
lea esi, [ebp + 0x6b8]
call fcn.00450d8e
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.00450d21
push 0x567fd0
lea ecx, [esp + 0x48]
call fcn.00450db2
push 0x567fd8
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.004637c9
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.0044ea67
lea ecx, [esp + 0x44]
jmp 0x46f76c
push edi
lea esi, [ebp + 0x6b8]
call fcn.00450d8e
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00450d21
push 0x567fe8
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.004637c9
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.0047139e
mov byte [esp + 0x4d8], 6
cmp dword [esp + 0x84], 0
je 0x46f7af
lea eax, [esp + 0x74]
cmp esi, eax
je 0x46f7af
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00451010
lea eax, [ebp + 0x2a4]
cmp dword [eax + 0x14], 8
jb 0x46f7bd
mov eax, dword [eax]
push eax
call fcn.0050751f
mov esi, eax
mov dword [esp + 0x28], esi
pop ecx
test esi, esi
jne 0x46f7f5
lea esi, [ebp + 0xf4]
push esi
lea ecx, [ebp + 0x2a4]
call fcn.00451093
cmp dword [esi + 0x14], 8
jb 0x46f7e8
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.0046382a
xor esi, esi
lea ecx, [esp + 0x44]
push esi
push 1
call fcn.0044ea67
lea ecx, [esp + 0x8c]
call fcn.004680ca
lea eax, [ebp + 0xf4]
mov byte [esp + 0x4d8], 8
cmp dword [eax + 0x14], 8
jb 0x46f846
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 0x46f97c
lea eax, [ebp + 0x3a0]
cmp ecx, eax
je 0x46f879
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x448]
lea ecx, [esp + 0xc0]
cmp ecx, eax
je 0x46f893
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x460]
lea ecx, [esp + 0xd8]
cmp ecx, eax
je 0x46f8ad
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
mov esi, 0x568010
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0x240]
call fcn.00450d21
cmp dword [esp + 0xa0], 0
je 0x46f8e5
lea ecx, [ebp + 0x154]
mov edx, 0x568014
call fcn.00465fb0
test al, al
je 0x46f954
cmp dword [0x59735c], 0
je 0x46f90a
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 0x46f925
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
mov esi, 0x568058
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 0x46f954
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
lea eax, [ebp + 0x4a8]
cmp dword [eax + 0x14], 8
jb 0x46f962
mov eax, dword [eax]
push eax
call fcn.00507528
pop ecx
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], edx
jmp 0x46fa71
lea eax, [ebp + 0x400]
cmp ecx, eax
je 0x46f996
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 0x46f9b0
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x490]
lea ecx, [esp + 0xd8]
cmp ecx, eax
je 0x46f9ca
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
mov esi, 0x56805c
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0x240]
call fcn.00450d21
cmp dword [esp + 0xa0], 0
je 0x46fa02
lea ecx, [ebp + 0x184]
mov edx, 0x568060
call fcn.00465fb0
test al, al
je 0x46fa71
cmp dword [0x59735c], 0
je 0x46fa27
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 0x46fa42
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
mov esi, 0x5680a4
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 0x46fa71
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
push 0x5680a8
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 0x46fae9
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 0x46fbc2
lea esi, [ebp + 0x628]
xorps xmm0, xmm0
cmp dword [esi + 0x14], 8
movlpd qword [esp + 0x2c], xmm0
jb 0x46fb10
mov eax, dword [esi]
jmp 0x46fb12
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 0x46fbc2
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x46fb5a
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
jmp 0x46fb6a
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 0x46fbc9
ja 0x46fb8e
mov eax, dword [esp + 0x2c]
cmp dword [ebp + 0x758], eax
jbe 0x46fbc9
cmp dword [0x59735c], 0
je 0x46fbb3
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 0x46fbbb
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, ebp
call fcn.004702ae
push 0x56810c
lea edx, [esp + 0xc4]
lea ecx, [esp + 0x60]
call fcn.00454123
pop ecx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x4d8], 0xa
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00465f88
pop ecx
push eax
lea ecx, [esp + 0xc4]
call fcn.004615ab
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 0x46fc44
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
mov esi, 0x568110
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 0x46fc7a
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x34]
lea ecx, [esp + 0x190]
cmp ecx, eax
je 0x46fc91
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x4c]
lea ecx, [esp + 0x1a8]
cmp ecx, eax
je 0x46fca8
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x64]
lea ecx, [esp + 0x1c0]
cmp ecx, eax
je 0x46fcbf
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0x94]
lea ecx, [esp + 0x1d8]
cmp ecx, eax
je 0x46fcd9
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0xac]
lea ecx, [esp + 0x1f0]
cmp ecx, eax
je 0x46fcf3
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
lea eax, [ebp + 0xc4]
lea ecx, [esp + 0x208]
cmp ecx, eax
je 0x46fd0d
push 0xffffffffffffffff
push esi
push eax
call fcn.00451010
mov esi, 0x568114
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0x228]
call fcn.00450d21
mov esi, 0x568118
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0x258]
call fcn.00450d21
mov esi, 0x56811c
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 0x46fd95
lea eax, [esp + 0x8c]
push eax
lea ecx, [ebp + 0x71c]
call fcn.00472d25
mov esi, dword [ebp + 0x2ec]
cmp dword [ebp + 0x2f0], esi
je 0x470184
lea ebx, [esi + 0xa8]
lea edi, [ebp + 0x640]
lea ecx, [esp + 0x2ac]
call fcn.004680ca
mov byte [esp + 0x4d8], 0xb
cmp dword [ebx - 0x94], 8
jb 0x46fdd4
mov eax, dword [esi]
jmp 0x46fdd6
mov eax, esi
push eax
call fcn.0050751f
cmp byte [esp + 0x1f], 0
pop ecx
mov dword [esp + 0x2ac], eax
je 0x46fe3c
lea eax, [esp + 0x2b0]
cmp eax, ebx
je 0x46fe02
push 0xffffffffffffffff
push 0
push ebx
mov ecx, eax
call fcn.00451010
push 0x568120
call fcn.00450d8e
pop ecx
push eax
push 0x568120
lea ecx, [esp + 0x460]
call fcn.00450d21
lea eax, [ebx + 0x48]
lea ecx, [esp + 0x2e0]
cmp ecx, eax
je 0x46fe37
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
lea eax, [ebx + 0x60]
jmp 0x46fe8f
lea eax, [ebx + 0x18]
lea ecx, [esp + 0x2b0]
cmp ecx, eax
je 0x46fe54
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
push 0x568124
call fcn.00450d8e
pop ecx
push eax
push 0x568124
lea ecx, [esp + 0x460]
call fcn.00450d21
lea eax, [ebx + 0x78]
lea ecx, [esp + 0x2e0]
cmp ecx, eax
je 0x46fe89
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
lea eax, [ebx + 0x90]
lea ecx, [esp + 0x2f8]
cmp ecx, eax
je 0x46fea4
push 0xffffffffffffffff
push 0
push eax
call fcn.00451010
mov edx, 0x568128
lea ecx, [esp + 0x2e0]
call fcn.00465fb0
test al, al
jne 0x46ff28
mov edx, 0x56812c
lea ecx, [esp + 0x2f8]
call fcn.00465fb0
test al, al
jne 0x46ff28
push 0x568130
lea edx, [esp + 0x2e4]
lea ecx, [esp + 0x60]
call fcn.00454123
pop ecx
lea ecx, [esp + 0x2f8]
mov byte [esp + 0x4d8], 0xc
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00465f88
pop ecx
push eax
lea ecx, [esp + 0x2e4]
call fcn.004615ab
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.004510e8
mov byte [esp + 0x4d8], 0xb
lea ecx, [esp + 0x5c]
jmp 0x46ff52
lea eax, [esp + 0x2f8]
push eax
lea edx, [esp + 0x2e4]
lea ecx, [esp + 0x48]
call fcn.004731a1
pop ecx
push eax
lea ecx, [esp + 0x2e4]
call fcn.004615ab
lea ecx, [esp + 0x44]
push 0
push 1
call fcn.004510e8
lea ecx, [ebx + 0x30]
mov edx, 0x568134
call fcn.00465fb0
test al, al
setne byte [esp + 0x4c4]
cmp dword [ebx + 0xbc], 8
jb 0x46ff83
mov eax, dword [ebx + 0xa8]
jmp 0x46ff89
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 0x46ffb5
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00451010
push 0x568140
call fcn.00450d8e
pop ecx
push eax
push 0x568140
lea ecx, [esp + 0x318]
call fcn.00450d21
lea eax, [ebx - 0x90]
lea ecx, [esp + 0x3b0]
cmp ecx, eax
je 0x46fff3
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 0x47000e
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 0x470029
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 0x470044
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 0x47005f
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x18]
push eax
call fcn.00451010
push 0x568144
call fcn.00450d8e
pop ecx
push eax
push 0x568144
lea ecx, [esp + 0x448]
call fcn.00450d21
push 0x568148
call fcn.00450d8e
pop ecx
push eax
push 0x568148
lea ecx, [esp + 0x478]
call fcn.00450d21
push 0x56814c
call fcn.00450d8e
pop ecx
push eax
push 0x56814c
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 0x470111
call fcn.00483707
test al, al
je 0x470111
cmp dword [0x59735c], 0
je 0x470153
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 0x470153
lea edx, [ebx + 0xc0]
mov ecx, 0x568174
call fcn.00467b08
test al, al
je 0x470137
cmp byte [ebp + 0x731], 0
mov byte [ebp + 0x730], 1
je 0x470153
jmp 0x470140
cmp byte [ebp + 0x731], 0
jne 0x470153
lea eax, [esp + 0x2ac]
push eax
lea ecx, [ebp + 0x71c]
call fcn.00472d25
lea ecx, [esp + 0x2ac]
mov byte [esp + 0x4d8], 8
call fcn.004701d5
mov eax, 0x180
add esi, eax
add ebx, eax
cmp dword [ebp + 0x2f0], esi
jne 0x46fdb3
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x8c]
call fcn.004701d5
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