Function at 0x41aad0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, ecx
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x90], eax
call fcn.0041db40
call fcn.00410430
test al, al
mov dword [esp + 4], esi
jne 0x41adcd
lea edi, [esp + 0x80]
push edi
call fcn.004d4ea0
add esp, 4
movzx ebx, byte [edi + 0xb]
test bl, bl
jns 0x41ab2b
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
cmp ebx, 0x7ffffff0
jae 0x41afad
cmp ebx, 5
jae 0x41ab49
lea eax, [esp + 0x10]
mov byte [eax + 0xb], bl
test ebx, ebx
jne 0x41ab6d
jmp 0x41ab7e
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.00489952
add esp, 4
mov dword [esp + 0x10], eax
or esi, 0x80000000
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
xor ecx, ecx
movsx edx, byte [edi + ecx]
mov word [eax], dx
add eax, 2
inc ecx
cmp ebx, ecx
jne 0x41ab6f
mov word [eax], 0
mov edi, dword [esp + 4]
lea esi, [edi + 0xb0]
cmp byte [edi + 0xbb], 0
jns 0x41aba0
push dword [esi]
call fcn.00489982
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x10]
movsd qword [esi], xmm0
mov byte [esp + 0x1b], 0
mov word [esp + 0x10], 0
cmp byte [esp + 0x8b], 0
jns 0x41abd6
push dword [esp + 0x80]
call fcn.00489982
add esp, 4
mov ecx, dword [edi + 0x68]
call fcn.00415b60
lea eax, [edi + 0x74]
mov ecx, edi
push eax
call fcn.00419f10
call fcn.00410430
test al, al
jne 0x41ac7a
lea eax, [edi + 0x80]
cmp byte [edi + 0x8b], 0
jns 0x41ac07
mov eax, dword [eax]
push eax
push str.InstallerData
call fcn.004d3a70
add esp, 8
lea eax, [edi + 0x8c]
cmp byte [edi + 0x97], 0
jns 0x41ac26
mov eax, dword [eax]
push eax
push str.ClidsFile
call fcn.004d3a70
add esp, 8
lea eax, [edi + 0x98]
cmp byte [edi + 0xa3], 0
jns 0x41ac45
mov eax, dword [eax]
push eax
push str.ClidsSearchbandFile
call fcn.004d3a70
add esp, 8
lea eax, [edi + 0xa4]
cmp byte [edi + 0xaf], 0
jns 0x41ac64
mov eax, dword [eax]
push eax
push str.YandexWebsiteIconFile
call fcn.004d3a70
add esp, 8
mov ecx, dword [edi + 0x68]
call fcn.00415c30
mov ecx, edi
call fcn.0041deb0
mov esi, eax
test eax, eax
je 0x41acb8
cmp dword [edi + 0x64], 0
je 0x41acab
push 0
push dword [edi + 0xc4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41acab
mov ecx, dword [edi + 0x64]
mov eax, dword [ecx]
push esi
call dword [eax + 0x14]
call fcn.00410430
test al, al
je 0x41ad52
push str.InstallerData
call fcn.004d3be0
add esp, 4
push str.ClidsFile
call fcn.004d3be0
add esp, 4
push str.ClidsSearchbandFile
call fcn.004d3be0
add esp, 4
push str.YandexWebsiteIconFile
call fcn.004d3be0
add esp, 4
call fcn.004184f0
push eax
call fcn.004d3be0
add esp, 4
mov ecx, dword [edi + 0x68]
call fcn.00415160
mov ecx, dword [edi + 0x68]
lea eax, [ecx + 0x8c]
cmp byte [ecx + 0x97], 0
js 0x41ad18
jne 0x41ad23
jmp 0x41ad2d
cmp dword [ecx + 0x90], 0
je 0x41ad2d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [edi + 0x68]
lea eax, [ecx + 0x98]
cmp byte [ecx + 0xa3], 0
js 0x41ad40
jne 0x41ad4b
jmp 0x41ad52
cmp dword [ecx + 0x9c], 0
je 0x41ad52
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 8], esi
cmp dword [edi + 0x64], 0
je 0x41ada3
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edi, edi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0x4e20
mov eax, dword [esp + 8]
push dword [eax + 0xc4]
call ebx
cmp eax, 0x102
jne 0x41ada3
push edi
push str.YandexBrowser_MessageWindow
push edi
push 0xfffffffffffffffd
call esi
test eax, eax
jne 0x41ad6a
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x41ada3
mov eax, dword [ecx]
push 1
call dword [eax + 0x10]
xor eax, eax
cmp dword [esp + 8], 0
sete al
mov ecx, dword [esp + 4]
push eax
call fcn.0041c520
mov ecx, dword [esp + 0x90]
xor ecx, ebp
call fcn.0048a678
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004d0a50
mov dword [esp + 0xc], eax
lea eax, [esp + 0x8c]
mov dword [eax], 0xffffffff
lea eax, [esi + 0x124]
mov dword [esp + 8], eax
mov esi, 0x126
push esi
call fcn.00489952
add esp, 4
lea edi, [esp + 0x10]
mov dword [edi], eax
lea ebx, [eax + esi]
mov dword [edi + 8], ebx
push esi
push 0x5046a0
push eax
call fcn.0048cc70
add esp, 0xc
mov dword [edi + 4], ebx
lea esi, [esp + 0x74]
mov ecx, esi
push str.partner_package_guid
call fcn.004b43f0
lea eax, [esp + 0x80]
mov ebx, dword [esp + 0xc]
mov ecx, ebx
push esi
push eax
call fcn.004d0dc0
lea edi, [esp + 0x5c]
mov ecx, edi
push str.msi_database
call fcn.004b43f0
lea esi, [esp + 0x68]
mov ecx, ebx
push edi
mov ebx, dword [esp + 0xc]
push esi
call fcn.004d0dc0
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x88]
push eax
push esi
lea eax, [esp + 0x9c]
push eax
call fcn.0042ace0
add esp, 0x14
cmp byte [esi + 0xb], 0
jns 0x41ae8f
push dword [esp + 0x68]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x67], 0
jns 0x41aea2
push dword [esp + 0x5c]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x8b], 0
mov esi, dword [esp + 4]
jns 0x41aebf
push dword [esp + 0x80]
call fcn.00489982
add esp, 4
cmp byte [esp + 0x7f], 0
jns 0x41aed2
push dword [esp + 0x74]
call fcn.00489982
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41aee7
mov dword [esp + 0x14], eax
push eax
call fcn.00489982
add esp, 4
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x41ab05
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x41af04
mov eax, dword [esi + 0x128]
test eax, eax
jne 0x41af28
mov dword [esp + 0x8c], 0
mov ecx, edi
call fcn.00440410
push edi
call fcn.00489982
add esp, 4
jmp 0x41ab05
xor eax, eax
lea edi, [esp + 0x10]
mov ecx, edi
push 0x3db
push str.Install
push eax
call fcn.004b83c0
lea esi, [esp + 0x18]
lea ecx, [esp + 0x4c]
push 0x504d82
push str.Partner_package_override_found:
call fcn.004b45d0
mov ecx, esi
push ebx
call fcn.004b4550
mov ecx, edi
call fcn.004374c0
mov edi, dword [esp + 0x8c]
xor eax, eax
mov dword [esp + 0x8c], eax
test edi, edi
je 0x41ab05
mov ecx, edi
call fcn.00440410
push edi
call fcn.00489982
add esp, 4
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x8c], 0
test edi, edi
jne 0x41af13
jmp 0x41ab05
lea ecx, [esp + 0x10]
call fcn.004c9f10
int3