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

Disassembly:
push 0xffffffffffffffff
push 0x5324e3
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x4e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x4f8]
mov dword fs:[0], eax
mov ebp, ecx
mov bl, 1
mov byte [esp + 0x17], bl
call fcn.00482c03
xor ecx, ecx
test al, al
je 0x46f617
mov eax, dword [ebp + 0x2ec]
jmp 0x46f5f9
cmp dword [eax + 0xd0], ecx
je 0x46f617
add eax, 0x180
cmp dword [ebp + 0x2f0], eax
jne 0x46f5ec
cmp dword [ebp + 0x1ac], ecx
jne 0x46f611
cmp dword [ebp + 0x428], ecx
je 0x46f617
mov bl, cl
mov byte [esp + 0x17], bl
cmp dword [0x59835c], ecx
je 0x46f64b
mov ecx, 0x568f20
test bl, bl
mov eax, 0x568f1c
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 [0x59835c]
call fcn.00481b57
add esp, 0x14
call fcn.00450762
push eax
lea ecx, [esp + 0x20]
call fcn.00450590
and dword [esp + 0x500], 0
call fcn.00450762
push eax
lea ecx, [esp + 0x24]
call fcn.00450590
lea edx, [esp + 0x20]
mov byte [esp + 0x500], 1
lea ecx, [esp + 0x1c]
call fcn.00484f50
call fcn.00482c03
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test al, al
je 0x46f702
cmp byte [esp + 0x17], 0
jne 0x46f702
push ebx
lea esi, [ebp + 0x6d0]
call fcn.00450dae
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.00450d41
push 0x568f60
lea ecx, [esp + 0x40]
call fcn.00450dd2
push 0x568f68
lea ecx, [esp + 0x58]
mov byte [esp + 0x504], 2
call fcn.0044ea5a
lea eax, [esp + 0x3c]
mov byte [esp + 0x500], 3
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00463853
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.0044ea87
lea ecx, [esp + 0x3c]
jmp 0x46f764
push edi
lea esi, [ebp + 0x6d0]
call fcn.00450dae
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00450d41
push 0x568f78
lea ecx, [esp + 0x58]
call fcn.00450dd2
push str.downpackagebits
lea ecx, [esp + 0x40]
mov byte [esp + 0x504], 4
call fcn.0044ea5a
lea eax, [esp + 0x54]
mov byte [esp + 0x500], 5
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00463853
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.0044ea87
lea ecx, [esp + 0x54]
push 0
push 1
mov byte [esp + 0x508], 1
call fcn.00451108
lea eax, [esp + 0x6c]
mov ecx, ebp
push eax
call fcn.004713fe
mov byte [esp + 0x500], 6
cmp dword [esp + 0x7c], 0
je 0x46f7a4
lea eax, [esp + 0x6c]
cmp esi, eax
je 0x46f7a4
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00451030
lea eax, [ebp + 0x2a4]
cmp dword [eax + 0x14], 8
jb 0x46f7b2
mov eax, dword [eax]
push eax
call fcn.00507aaf
mov esi, eax
mov dword [esp + 0x1c], esi
pop ecx
test esi, esi
jne 0x46f7ea
lea esi, [ebp + 0xf4]
push esi
lea ecx, [ebp + 0x2a4]
call fcn.004510b3
cmp dword [esi + 0x14], 8
jb 0x46f7dd
mov esi, dword [esi]
push esi
call fcn.00507aaf
pop ecx
mov esi, eax
mov dword [esp + 0x18], eax
push str.startupproduct
lea ecx, [esp + 0x40]
call fcn.0044ea5a
push esi
lea eax, [esp + 0x40]
mov byte [esp + 0x504], 7
push eax
call fcn.004638b4
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.0044ea87
lea ecx, [esp + 0x84]
call fcn.00468147
lea eax, [ebp + 0xf4]
mov byte [esp + 0x500], 8
cmp dword [eax + 0x14], 8
jb 0x46f83a
mov eax, dword [eax]
push eax
call fcn.00507aaf
cmp byte [esp + 0x1b], 0
pop ecx
mov dword [esp + 0x84], eax
lea ecx, [esp + 0x88]
je 0x46f979
lea eax, [ebp + 0x3b8]
cmp ecx, eax
je 0x46f86e
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x460]
lea ecx, [esp + 0xb8]
cmp ecx, eax
je 0x46f889
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x478]
lea ecx, [esp + 0xd0]
cmp ecx, eax
je 0x46f8a4
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x568fa0
call fcn.00450dae
pop ecx
push eax
push 0x568fa0
lea ecx, [esp + 0x238]
call fcn.00450d41
cmp dword [esp + 0x98], 0
je 0x46f8df
lea ecx, [ebp + 0x154]
mov edx, 0x568fa4
call fcn.0046603a
test al, al
je 0x46f951
cmp dword [0x59835c], 0
je 0x46f904
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___BuildProductAndDepentTask__use_local_x86_down_url.
push 3
push dword [0x59835c]
call fcn.00481b57
add esp, 0x10
lea eax, [ebp + 0x16c]
lea ecx, [esp + 0x88]
cmp ecx, eax
je 0x46f91f
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x568fe8
call fcn.00450dae
pop ecx
push eax
push 0x568fe8
lea ecx, [esp + 0xd8]
call fcn.00450d41
lea ecx, [esp + 0xb8]
cmp ecx, eax
je 0x46f951
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x4c0]
cmp dword [eax + 0x14], 8
jb 0x46f95f
mov eax, dword [eax]
push eax
call fcn.00507ab8
pop ecx
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], edx
jmp 0x46fa77
lea eax, [ebp + 0x418]
cmp ecx, eax
je 0x46f994
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x94]
call fcn.00451030
lea eax, [ebp + 0x490]
lea ecx, [esp + 0xb8]
cmp ecx, eax
je 0x46f9af
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x4a8]
lea ecx, [esp + 0xd0]
cmp ecx, eax
je 0x46f9ca
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x568fec
call fcn.00450dae
pop ecx
push eax
push 0x568fec
lea ecx, [esp + 0x238]
call fcn.00450d41
cmp dword [esp + 0x98], 0
je 0x46fa05
lea ecx, [ebp + 0x184]
mov edx, 0x568ff0
call fcn.0046603a
test al, al
je 0x46fa77
cmp dword [0x59835c], 0
je 0x46fa2a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___BuildProductAndDepentTask__use_local_x64_down_url.
push 3
push dword [0x59835c]
call fcn.00481b57
add esp, 0x10
lea eax, [ebp + 0x19c]
lea ecx, [esp + 0x88]
cmp ecx, eax
je 0x46fa45
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x569034
call fcn.00450dae
pop ecx
push eax
push 0x569034
lea ecx, [esp + 0xd8]
call fcn.00450d41
lea ecx, [esp + 0xb8]
cmp ecx, eax
je 0x46fa77
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x569038
lea ecx, [esp + 0x40]
call fcn.00450dd2
lea edx, [esp + 0x3c]
mov byte [esp + 0x500], 9
lea ecx, [esp + 0x88]
call fcn.0048aa6b
push 0
push 1
lea ecx, [esp + 0x44]
mov dword [ebp + 0x770], eax
mov dword [ebp + 0x774], edx
mov byte [esp + 0x508], 8
call fcn.00451108
mov eax, dword [0x59835c]
test eax, eax
je 0x46faf4
push dword [ebp + 0x774]
push dword [ebp + 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 [0x59835c]
call fcn.00481b57
mov eax, dword [0x59835c]
add esp, 0x18
xor ecx, ecx
mov byte [esp + 0x16], 1
cmp dword [ebp + 0x770], ecx
jne 0x46fb5a
cmp dword [ebp + 0x774], ecx
jne 0x46fb5a
test eax, eax
je 0x46fb2b
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 [0x59835c]
call fcn.00481b57
add esp, 0x10
push 1
lea eax, [ebp + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00472180
push eax
lea ecx, [ebp + 0x658]
call fcn.00461635
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00451108
xor ecx, ecx
mov byte [esp + 0x16], cl
mov al, byte [ebp + 0x76c]
test al, al
je 0x46fe87
lea esi, [ebp + 0x640]
xorps xmm0, xmm0
cmp dword [esi + 0x14], 8
movlpd qword [esp + 0x24], xmm0
jb 0x46fb81
mov eax, dword [esi]
jmp 0x46fb83
mov eax, esi
push ecx
push 0x80
push 3
push ecx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x30], eax
cmp eax, 0xffffffff
je 0x46fc39
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x46fbc9
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
jmp 0x46fbd9
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x2c]
cmp dword [ebp + 0x774], eax
jb 0x46fe80
ja 0x46fc05
mov eax, dword [esp + 0x24]
cmp dword [ebp + 0x770], eax
jbe 0x46fe80
cmp dword [0x59835c], 0
je 0x46fc2a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___delete_old_temp_package.
push 3
push dword [0x59835c]
call fcn.00481b57
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x46fc32
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, byte [esp + 0x16]
mov esi, dword [esp + 0x18]
test al, al
je 0x46fc4c
mov ecx, ebp
call fcn.00470377
push 0x5690d0
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x58]
call fcn.00454151
pop ecx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x500], 0xa
push ecx
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.00466012
pop ecx
push eax
lea ecx, [esp + 0xbc]
call fcn.00461635
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00451108
push 0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x508], 8
call fcn.00451108
lea eax, [ebp + 0x658]
lea ecx, [esp + 0xa0]
cmp ecx, eax
je 0x46fcc8
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x5690d4
call fcn.00450dae
pop ecx
push eax
push 0x5690d4
lea ecx, [esp + 0xf0]
call fcn.00450d41
lea eax, [ebp + 0x370]
lea ecx, [esp + 0x100]
cmp ecx, eax
je 0x46fd00
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x34]
lea ecx, [esp + 0x188]
cmp ecx, eax
je 0x46fd18
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x4c]
lea ecx, [esp + 0x1a0]
cmp ecx, eax
je 0x46fd30
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x64]
lea ecx, [esp + 0x1b8]
cmp ecx, eax
je 0x46fd48
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x94]
lea ecx, [esp + 0x1d0]
cmp ecx, eax
je 0x46fd63
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0xac]
lea ecx, [esp + 0x1e8]
cmp ecx, eax
je 0x46fd7e
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0xc4]
lea ecx, [esp + 0x200]
cmp ecx, eax
je 0x46fd99
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x340]
lea ecx, [esp + 0x2a0]
cmp ecx, eax
je 0x46fdb4
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x5690d8
call fcn.00450dae
pop ecx
push eax
push 0x5690d8
lea ecx, [esp + 0x220]
call fcn.00450d41
push 0x5690dc
call fcn.00450dae
pop ecx
push eax
push 0x5690dc
lea ecx, [esp + 0x250]
call fcn.00450d41
push 0x5690e0
call fcn.00450dae
pop ecx
push eax
push 0x5690e0
lea ecx, [esp + 0x268]
call fcn.00450d41
cmp esi, dword [esp + 0x84]
mov dword [esp + 0x298], 2
sete byte [esp + 0x294]
cmp byte [ebp + 0x749], 0
jne 0x46fe41
lea eax, [esp + 0x84]
push eax
lea ecx, [ebp + 0x734]
call fcn.004731ab
mov esi, dword [ebp + 0x2ec]
cmp dword [ebp + 0x2f0], esi
je 0x470240
lea ebx, [esi + 0xa8]
lea edi, [ebp + 0x658]
lea ecx, [esp + 0x2bc]
call fcn.00468147
mov byte [esp + 0x500], 0xb
cmp dword [ebx - 0x94], 8
jb 0x46fe90
mov eax, dword [esi]
jmp 0x46fe92
xor al, al
jmp 0x46fc3d
mov al, byte [esp + 0x16]
jmp 0x46fc41
mov eax, esi
push eax
call fcn.00507aaf
cmp byte [esp + 0x1b], 0
pop ecx
mov dword [esp + 0x2bc], eax
je 0x46fef8
lea eax, [esp + 0x2c0]
cmp eax, ebx
je 0x46febe
push 0xffffffffffffffff
push 0
push ebx
mov ecx, eax
call fcn.00451030
push 0x5690e4
call fcn.00450dae
pop ecx
push eax
push 0x5690e4
lea ecx, [esp + 0x470]
call fcn.00450d41
lea eax, [ebx + 0x48]
lea ecx, [esp + 0x2f0]
cmp ecx, eax
je 0x46fef3
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebx + 0x60]
jmp 0x46ff4b
lea eax, [ebx + 0x18]
lea ecx, [esp + 0x2c0]
cmp ecx, eax
je 0x46ff10
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x5690e8
call fcn.00450dae
pop ecx
push eax
push 0x5690e8
lea ecx, [esp + 0x470]
call fcn.00450d41
lea eax, [ebx + 0x78]
lea ecx, [esp + 0x2f0]
cmp ecx, eax
je 0x46ff45
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebx + 0x90]
lea ecx, [esp + 0x308]
cmp ecx, eax
je 0x46ff60
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
mov edx, 0x5690ec
lea ecx, [esp + 0x2f0]
call fcn.0046603a
test al, al
jne 0x46ffe4
mov edx, 0x5690f0
lea ecx, [esp + 0x308]
call fcn.0046603a
test al, al
jne 0x46ffe4
push 0x5690f4
lea edx, [esp + 0x2f4]
lea ecx, [esp + 0x58]
call fcn.00454151
pop ecx
lea ecx, [esp + 0x308]
mov byte [esp + 0x500], 0xc
push ecx
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.00466012
pop ecx
push eax
lea ecx, [esp + 0x2f4]
call fcn.00461635
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00451108
mov byte [esp + 0x500], 0xb
lea ecx, [esp + 0x54]
jmp 0x47000e
lea eax, [esp + 0x308]
push eax
lea edx, [esp + 0x2f4]
lea ecx, [esp + 0x40]
call fcn.00473627
pop ecx
push eax
lea ecx, [esp + 0x2f4]
call fcn.00461635
lea ecx, [esp + 0x3c]
push 0
push 1
call fcn.00451108
lea ecx, [ebx + 0x30]
mov edx, 0x5690f8
call fcn.0046603a
test al, al
setne byte [esp + 0x4d4]
cmp dword [ebx + 0xbc], 8
jb 0x47003f
mov eax, dword [ebx + 0xa8]
jmp 0x470045
lea eax, [ebx + 0xa8]
push eax
call fcn.00507ab8
mov dword [esp + 0x358], eax
lea eax, [esp + 0x2dc]
mov dword [esp + 0x35c], edx
pop ecx
cmp eax, edi
je 0x470071
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00451030
push 0x569104
call fcn.00450dae
pop ecx
push eax
push 0x569104
lea ecx, [esp + 0x328]
call fcn.00450d41
lea eax, [ebx - 0x90]
lea ecx, [esp + 0x3c0]
cmp ecx, eax
je 0x4700af
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x90]
push eax
call fcn.00451030
lea eax, [ebx - 0x78]
lea ecx, [esp + 0x3d8]
cmp ecx, eax
je 0x4700ca
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x78]
push eax
call fcn.00451030
lea eax, [ebx - 0x60]
lea ecx, [esp + 0x3f0]
cmp ecx, eax
je 0x4700e5
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x60]
push eax
call fcn.00451030
lea eax, [ebx - 0x30]
lea ecx, [esp + 0x420]
cmp ecx, eax
je 0x470100
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x30]
push eax
call fcn.00451030
lea eax, [ebx - 0x18]
lea ecx, [esp + 0x438]
cmp ecx, eax
je 0x47011b
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x18]
push eax
call fcn.00451030
push 0x569108
call fcn.00450dae
pop ecx
push eax
push 0x569108
lea ecx, [esp + 0x458]
call fcn.00450d41
push 0x56910c
call fcn.00450dae
pop ecx
push eax
push 0x56910c
lea ecx, [esp + 0x488]
call fcn.00450d41
push 0x569110
call fcn.00450dae
pop ecx
push eax
push 0x569110
lea ecx, [esp + 0x4a0]
call fcn.00450d41
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x2bc]
mov dword [esp + 0x4d0], 1
sete byte [esp + 0x4cc]
cmp dword [esp + 0x2bc], 0x2a43
jne 0x4701cd
call fcn.00483c44
test al, al
je 0x4701cd
cmp dword [0x59835c], 0
je 0x47020f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___already_install_wcc.
push 3
push dword [0x59835c]
call fcn.00481b57
add esp, 0x10
jmp 0x47020f
lea edx, [ebx + 0xc0]
mov ecx, 0x569138
call fcn.00467b85
test al, al
je 0x4701f3
cmp byte [ebp + 0x749], 0
mov byte [ebp + 0x748], 1
je 0x47020f
jmp 0x4701fc
cmp byte [ebp + 0x749], 0
jne 0x47020f
lea eax, [esp + 0x2bc]
push eax
lea ecx, [ebp + 0x734]
call fcn.004731ab
lea ecx, [esp + 0x2bc]
mov byte [esp + 0x500], 8
call fcn.00470291
mov eax, 0x180
add esi, eax
add ebx, eax
cmp dword [ebp + 0x2f0], esi
jne 0x46fe5f
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x84]
call fcn.00470291
push 0
push 1
lea ecx, [esp + 0x74]
call fcn.00451108
lea ecx, [ebx - 0x10]
call fcn.00450ce2
lea ecx, [edi - 0x10]
call fcn.00450ce2
mov ecx, dword [esp + 0x4f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4e0]
xor ecx, esp
call fcn.00504075
add esp, 0x4f0
ret