Function at 0x41ac00
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 [0x521014]
xor eax, ebp
mov dword [esp + 0x90], eax
call fcn.0041dca0
call fcn.00410430
test al, al
mov dword [esp + 4], esi
jne 0x41af0a
lea edi, [esp + 0x80]
push edi
call fcn.004d6ab0
add esp, 4
movzx ebx, byte [edi + 0xb]
test bl, bl
jns 0x41ac5b
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
cmp ebx, 0x7ffffff0
jae 0x41b0ea
cmp ebx, 5
jae 0x41ac79
lea eax, [esp + 0x10]
mov byte [eax + 0xb], bl
test ebx, ebx
jne 0x41ac9d
jmp 0x41acae
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0048b346
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 0x41ac9f
mov word [eax], 0
mov ebx, dword [esp + 4]
lea esi, [ebx + 0xb4]
cmp byte [ebx + 0xbf], 0
jns 0x41acd0
push dword [esi]
call fcn.0048b376
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x10]
movsd qword [esi], xmm0
cmp byte [esp + 0x8b], 0
jns 0x41acfa
push dword [esp + 0x80]
call fcn.0048b376
add esp, 4
mov ecx, dword [ebx + 0x6c]
call fcn.00415ae0
lea eax, [ebx + 0x78]
mov ecx, ebx
push eax
call fcn.0041a020
call fcn.00410430
test al, al
jne 0x41ad9e
lea eax, [ebx + 0x84]
cmp byte [ebx + 0x8f], 0
jns 0x41ad2b
mov eax, dword [eax]
push eax
push str.InstallerData
call fcn.004d5690
add esp, 8
lea eax, [ebx + 0x90]
cmp byte [ebx + 0x9b], 0
jns 0x41ad4a
mov eax, dword [eax]
push eax
push str.ClidsFile
call fcn.004d5690
add esp, 8
lea eax, [ebx + 0x9c]
cmp byte [ebx + 0xa7], 0
jns 0x41ad69
mov eax, dword [eax]
push eax
push str.ClidsSearchbandFile
call fcn.004d5690
add esp, 8
lea eax, [ebx + 0xa8]
cmp byte [ebx + 0xb3], 0
jns 0x41ad88
mov eax, dword [eax]
push eax
push str.YandexWebsiteIconFile
call fcn.004d5690
add esp, 8
mov ecx, dword [ebx + 0x6c]
call fcn.00415bb0
mov ecx, ebx
call fcn.0041e010
test eax, eax
je 0x41adf7
mov edi, eax
cmp eax, 1
jne 0x41adbd
mov eax, dword [0x5310d8]
xor edi, edi
inc edi
test eax, eax
cmovne edi, eax
cmp dword [ebx + 0x68], 0
je 0x41ade1
push 0
push dword [ebx + 0xc8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41ade1
mov ecx, dword [ebx + 0x68]
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
mov dword [esp + 8], 0
call fcn.00410430
test al, al
jne 0x41adfd
jmp 0x41ae97
mov al, 1
mov dword [esp + 8], eax
push str.InstallerData
call fcn.004d5800
add esp, 4
push str.ClidsFile
call fcn.004d5800
add esp, 4
push str.ClidsSearchbandFile
call fcn.004d5800
add esp, 4
push str.YandexWebsiteIconFile
call fcn.004d5800
add esp, 4
call fcn.00418540
push eax
call fcn.004d5800
add esp, 4
mov ecx, dword [ebx + 0x6c]
call fcn.004150d0
mov ecx, dword [ebx + 0x6c]
lea eax, [ecx + 0x8c]
cmp byte [ecx + 0x97], 0
js 0x41ae5d
jne 0x41ae68
jmp 0x41ae72
cmp dword [ecx + 0x90], 0
je 0x41ae72
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebx + 0x6c]
lea eax, [ecx + 0x98]
cmp byte [ecx + 0xa3], 0
js 0x41ae85
jne 0x41ae90
jmp 0x41ae97
cmp dword [ecx + 0x9c], 0
je 0x41ae97
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x68], 0
je 0x41aee5
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0x4e20
mov eax, dword [esp + 8]
push dword [eax + 0xc8]
call edi
cmp eax, 0x102
jne 0x41aee5
call fcn.004d8060
push ebx
push eax
push ebx
push 0xfffffffffffffffd
call esi
test eax, eax
jne 0x41aeab
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x41aee5
mov eax, dword [ecx]
push 1
call dword [eax + 0x10]
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 4]
push eax
call fcn.0041c680
mov ecx, dword [esp + 0x90]
xor ecx, ebp
call fcn.0048b980
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004d2550
mov dword [esp + 0xc], eax
lea eax, [esp + 0x8c]
mov dword [eax], 0xffffffff
lea eax, [esi + 0x12c]
mov dword [esp + 8], eax
mov esi, 0x126
push esi
call fcn.0048b346
add esp, 4
lea edi, [esp + 0x10]
mov dword [edi], eax
lea ebx, [eax + esi]
mov dword [edi + 8], ebx
push esi
push 0x5071d0
push eax
call fcn.0048e490
add esp, 0xc
mov dword [edi + 4], ebx
lea esi, [esp + 0x74]
mov ecx, esi
push str.partner_package_guid
call fcn.004b5b10
lea eax, [esp + 0x80]
mov ebx, dword [esp + 0xc]
mov ecx, ebx
push esi
push eax
call fcn.004d28c0
lea edi, [esp + 0x5c]
mov ecx, edi
push str.msi_database
call fcn.004b5b10
lea esi, [esp + 0x68]
mov ecx, ebx
push edi
mov ebx, dword [esp + 0xc]
push esi
call fcn.004d28c0
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x88]
push eax
push esi
lea eax, [esp + 0x9c]
push eax
call fcn.0042aff0
add esp, 0x14
cmp byte [esi + 0xb], 0
jns 0x41afcc
push dword [esp + 0x68]
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x67], 0
jns 0x41afdf
push dword [esp + 0x5c]
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x8b], 0
mov esi, dword [esp + 4]
jns 0x41affc
push dword [esp + 0x80]
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x7f], 0
jns 0x41b00f
push dword [esp + 0x74]
call fcn.0048b376
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41b024
mov dword [esp + 0x14], eax
push eax
call fcn.0048b376
add esp, 4
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x41ac35
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x41b041
mov eax, dword [esi + 0x130]
test eax, eax
jne 0x41b065
mov dword [esp + 0x8c], 0
mov ecx, edi
call fcn.00440e20
push edi
call fcn.0048b376
add esp, 4
jmp 0x41ac35
xor eax, eax
lea edi, [esp + 0x10]
mov ecx, edi
push 0x3d4
push str.Install
push eax
call fcn.004b9b40
lea esi, [esp + 0x18]
lea ecx, [esp + 0x4c]
push 0x5078b2
push str.Partner_package_override_found:
call fcn.004b5d50
mov ecx, esi
push ebx
call fcn.004b5c70
mov ecx, edi
call fcn.004379a0
mov edi, dword [esp + 0x8c]
xor eax, eax
mov dword [esp + 0x8c], eax
test edi, edi
je 0x41ac35
mov ecx, edi
call fcn.00440e20
push edi
call fcn.0048b376
add esp, 4
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x8c], 0
test edi, edi
jne 0x41b050
jmp 0x41ac35
lea ecx, [esp + 0x10]
call fcn.004cb7c0
int3