Function at 0x46f592
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.00482c00
xor ecx, ecx
test al, al
je 0x46f613
mov eax, dword [ebp + 0x2ec]
jmp 0x46f5f5
cmp dword [eax + 0xd0], ecx
je 0x46f613
add eax, 0x180
cmp dword [ebp + 0x2f0], eax
jne 0x46f5e8
cmp dword [ebp + 0x1ac], ecx
jne 0x46f60d
cmp dword [ebp + 0x428], ecx
je 0x46f613
mov bl, cl
mov byte [esp + 0x17], bl
cmp dword [0x59835c], ecx
je 0x46f647
mov ecx, 0x568f30
test bl, bl
mov eax, 0x568f2c
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.00481b54
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.00484f4d
call fcn.00482c00
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test al, al
je 0x46f6fe
cmp byte [esp + 0x17], 0
jne 0x46f6fe
push ebx
lea esi, [ebp + 0x6d0]
call fcn.00450dae
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.00450d41
push 0x568f70
lea ecx, [esp + 0x40]
call fcn.00450dd2
push 0x568f78
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.00463845
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.0044ea87
lea ecx, [esp + 0x3c]
jmp 0x46f760
push edi
lea esi, [ebp + 0x6d0]
call fcn.00450dae
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00450d41
push 0x568f88
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.00463845
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.004713fa
mov byte [esp + 0x500], 6
cmp dword [esp + 0x7c], 0
je 0x46f7a0
lea eax, [esp + 0x6c]
cmp esi, eax
je 0x46f7a0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00451030
lea eax, [ebp + 0x2a4]
cmp dword [eax + 0x14], 8
jb 0x46f7ae
mov eax, dword [eax]
push eax
call fcn.00507aaf
mov esi, eax
mov dword [esp + 0x1c], esi
pop ecx
test esi, esi
jne 0x46f7e6
lea esi, [ebp + 0xf4]
push esi
lea ecx, [ebp + 0x2a4]
call fcn.004510b3
cmp dword [esi + 0x14], 8
jb 0x46f7d9
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.004638a6
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.0044ea87
lea ecx, [esp + 0x84]
call fcn.00468146
lea eax, [ebp + 0xf4]
mov byte [esp + 0x500], 8
cmp dword [eax + 0x14], 8
jb 0x46f836
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 0x46f975
lea eax, [ebp + 0x3b8]
cmp ecx, eax
je 0x46f86a
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x460]
lea ecx, [esp + 0xb8]
cmp ecx, eax
je 0x46f885
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x478]
lea ecx, [esp + 0xd0]
cmp ecx, eax
je 0x46f8a0
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x568fb0
call fcn.00450dae
pop ecx
push eax
push 0x568fb0
lea ecx, [esp + 0x238]
call fcn.00450d41
cmp dword [esp + 0x98], 0
je 0x46f8db
lea ecx, [ebp + 0x154]
mov edx, 0x568fb4
call fcn.0046602c
test al, al
je 0x46f94d
cmp dword [0x59835c], 0
je 0x46f900
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.00481b54
add esp, 0x10
lea eax, [ebp + 0x16c]
lea ecx, [esp + 0x88]
cmp ecx, eax
je 0x46f91b
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x568ff8
call fcn.00450dae
pop ecx
push eax
push 0x568ff8
lea ecx, [esp + 0xd8]
call fcn.00450d41
lea ecx, [esp + 0xb8]
cmp ecx, eax
je 0x46f94d
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x4c0]
cmp dword [eax + 0x14], 8
jb 0x46f95b
mov eax, dword [eax]
push eax
call fcn.00507ab8
pop ecx
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], edx
jmp 0x46fa73
lea eax, [ebp + 0x418]
cmp ecx, eax
je 0x46f990
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 0x46f9ab
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x4a8]
lea ecx, [esp + 0xd0]
cmp ecx, eax
je 0x46f9c6
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x568ffc
call fcn.00450dae
pop ecx
push eax
push 0x568ffc
lea ecx, [esp + 0x238]
call fcn.00450d41
cmp dword [esp + 0x98], 0
je 0x46fa01
lea ecx, [ebp + 0x184]
mov edx, 0x569000
call fcn.0046602c
test al, al
je 0x46fa73
cmp dword [0x59835c], 0
je 0x46fa26
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.00481b54
add esp, 0x10
lea eax, [ebp + 0x19c]
lea ecx, [esp + 0x88]
cmp ecx, eax
je 0x46fa41
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x569044
call fcn.00450dae
pop ecx
push eax
push 0x569044
lea ecx, [esp + 0xd8]
call fcn.00450d41
lea ecx, [esp + 0xb8]
cmp ecx, eax
je 0x46fa73
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x569048
lea ecx, [esp + 0x40]
call fcn.00450dd2
lea edx, [esp + 0x3c]
mov byte [esp + 0x500], 9
lea ecx, [esp + 0x88]
call fcn.0048aa68
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 0x46faf0
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.00481b54
mov eax, dword [0x59835c]
add esp, 0x18
xor ecx, ecx
mov byte [esp + 0x16], 1
cmp dword [ebp + 0x770], ecx
jne 0x46fb56
cmp dword [ebp + 0x774], ecx
jne 0x46fb56
test eax, eax
je 0x46fb27
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.00481b54
add esp, 0x10
push 1
lea eax, [ebp + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0047217c
push eax
lea ecx, [ebp + 0x658]
call fcn.00461625
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 0x46fe83
lea esi, [ebp + 0x640]
xorps xmm0, xmm0
cmp dword [esi + 0x14], 8
movlpd qword [esp + 0x24], xmm0
jb 0x46fb7d
mov eax, dword [esi]
jmp 0x46fb7f
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 0x46fc35
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x46fbc5
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
jmp 0x46fbd5
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 0x46fe7c
ja 0x46fc01
mov eax, dword [esp + 0x24]
cmp dword [ebp + 0x770], eax
jbe 0x46fe7c
cmp dword [0x59835c], 0
je 0x46fc26
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___delete_old_temp_package.
push 3
push dword [0x59835c]
call fcn.00481b54
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x46fc2e
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 0x46fc48
mov ecx, ebp
call fcn.00470373
push 0x5690e0
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x58]
call fcn.00454143
pop ecx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x500], 0xa
push ecx
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.00466004
pop ecx
push eax
lea ecx, [esp + 0xbc]
call fcn.00461625
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 0x46fcc4
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x5690e4
call fcn.00450dae
pop ecx
push eax
push 0x5690e4
lea ecx, [esp + 0xf0]
call fcn.00450d41
lea eax, [ebp + 0x370]
lea ecx, [esp + 0x100]
cmp ecx, eax
je 0x46fcfc
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x34]
lea ecx, [esp + 0x188]
cmp ecx, eax
je 0x46fd14
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x4c]
lea ecx, [esp + 0x1a0]
cmp ecx, eax
je 0x46fd2c
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x64]
lea ecx, [esp + 0x1b8]
cmp ecx, eax
je 0x46fd44
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x94]
lea ecx, [esp + 0x1d0]
cmp ecx, eax
je 0x46fd5f
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0xac]
lea ecx, [esp + 0x1e8]
cmp ecx, eax
je 0x46fd7a
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0xc4]
lea ecx, [esp + 0x200]
cmp ecx, eax
je 0x46fd95
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebp + 0x340]
lea ecx, [esp + 0x2a0]
cmp ecx, eax
je 0x46fdb0
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x5690e8
call fcn.00450dae
pop ecx
push eax
push 0x5690e8
lea ecx, [esp + 0x220]
call fcn.00450d41
push 0x5690ec
call fcn.00450dae
pop ecx
push eax
push 0x5690ec
lea ecx, [esp + 0x250]
call fcn.00450d41
push 0x5690f0
call fcn.00450dae
pop ecx
push eax
push 0x5690f0
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 0x46fe3d
lea eax, [esp + 0x84]
push eax
lea ecx, [ebp + 0x734]
call fcn.004731a7
mov esi, dword [ebp + 0x2ec]
cmp dword [ebp + 0x2f0], esi
je 0x47023c
lea ebx, [esi + 0xa8]
lea edi, [ebp + 0x658]
lea ecx, [esp + 0x2bc]
call fcn.00468146
mov byte [esp + 0x500], 0xb
cmp dword [ebx - 0x94], 8
jb 0x46fe8c
mov eax, dword [esi]
jmp 0x46fe8e
xor al, al
jmp 0x46fc39
mov al, byte [esp + 0x16]
jmp 0x46fc3d
mov eax, esi
push eax
call fcn.00507aaf
cmp byte [esp + 0x1b], 0
pop ecx
mov dword [esp + 0x2bc], eax
je 0x46fef4
lea eax, [esp + 0x2c0]
cmp eax, ebx
je 0x46feba
push 0xffffffffffffffff
push 0
push ebx
mov ecx, eax
call fcn.00451030
push 0x5690f4
call fcn.00450dae
pop ecx
push eax
push 0x5690f4
lea ecx, [esp + 0x470]
call fcn.00450d41
lea eax, [ebx + 0x48]
lea ecx, [esp + 0x2f0]
cmp ecx, eax
je 0x46feef
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebx + 0x60]
jmp 0x46ff47
lea eax, [ebx + 0x18]
lea ecx, [esp + 0x2c0]
cmp ecx, eax
je 0x46ff0c
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0x5690f8
call fcn.00450dae
pop ecx
push eax
push 0x5690f8
lea ecx, [esp + 0x470]
call fcn.00450d41
lea eax, [ebx + 0x78]
lea ecx, [esp + 0x2f0]
cmp ecx, eax
je 0x46ff41
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
lea eax, [ebx + 0x90]
lea ecx, [esp + 0x308]
cmp ecx, eax
je 0x46ff5c
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
mov edx, 0x5690fc
lea ecx, [esp + 0x2f0]
call fcn.0046602c
test al, al
jne 0x46ffe0
mov edx, 0x569100
lea ecx, [esp + 0x308]
call fcn.0046602c
test al, al
jne 0x46ffe0
push 0x569104
lea edx, [esp + 0x2f4]
lea ecx, [esp + 0x58]
call fcn.00454143
pop ecx
lea ecx, [esp + 0x308]
mov byte [esp + 0x500], 0xc
push ecx
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.00466004
pop ecx
push eax
lea ecx, [esp + 0x2f4]
call fcn.00461625
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00451108
mov byte [esp + 0x500], 0xb
lea ecx, [esp + 0x54]
jmp 0x47000a
lea eax, [esp + 0x308]
push eax
lea edx, [esp + 0x2f4]
lea ecx, [esp + 0x40]
call fcn.00473623
pop ecx
push eax
lea ecx, [esp + 0x2f4]
call fcn.00461625
lea ecx, [esp + 0x3c]
push 0
push 1
call fcn.00451108
lea ecx, [ebx + 0x30]
mov edx, 0x569108
call fcn.0046602c
test al, al
setne byte [esp + 0x4d4]
cmp dword [ebx + 0xbc], 8
jb 0x47003b
mov eax, dword [ebx + 0xa8]
jmp 0x470041
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 0x47006d
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00451030
push 0x569114
call fcn.00450dae
pop ecx
push eax
push 0x569114
lea ecx, [esp + 0x328]
call fcn.00450d41
lea eax, [ebx - 0x90]
lea ecx, [esp + 0x3c0]
cmp ecx, eax
je 0x4700ab
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 0x4700c6
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 0x4700e1
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 0x4700fc
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 0x470117
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x18]
push eax
call fcn.00451030
push 0x569118
call fcn.00450dae
pop ecx
push eax
push 0x569118
lea ecx, [esp + 0x458]
call fcn.00450d41
push 0x56911c
call fcn.00450dae
pop ecx
push eax
push 0x56911c
lea ecx, [esp + 0x488]
call fcn.00450d41
push 0x569120
call fcn.00450dae
pop ecx
push eax
push 0x569120
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 0x4701c9
call fcn.00483c41
test al, al
je 0x4701c9
cmp dword [0x59835c], 0
je 0x47020b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___already_install_wcc.
push 3
push dword [0x59835c]
call fcn.00481b54
add esp, 0x10
jmp 0x47020b
lea edx, [ebx + 0xc0]
mov ecx, 0x569148
call fcn.00467b84
test al, al
je 0x4701ef
cmp byte [ebp + 0x749], 0
mov byte [ebp + 0x748], 1
je 0x47020b
jmp 0x4701f8
cmp byte [ebp + 0x749], 0
jne 0x47020b
lea eax, [esp + 0x2bc]
push eax
lea ecx, [ebp + 0x734]
call fcn.004731a7
lea ecx, [esp + 0x2bc]
mov byte [esp + 0x500], 8
call fcn.0047028d
mov eax, 0x180
add esi, eax
add ebx, eax
cmp dword [ebp + 0x2f0], esi
jne 0x46fe5b
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x84]
call fcn.0047028d
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