Function at 0x409cb0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ef1a
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x455440]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
cmp byte [ecx], 0
je 0x409ec8
mov byte [ebp - 0x99], 0
mov dword [ebp - 4], 0
push 0x20019
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallYandexBrowser
push 0x80000001
lea ecx, [ebp - 0xc4]
call fcn.00413510
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xc4]
cmp dword [eax], 0
je 0x40a048
lea eax, [ebp - 0xa0]
push eax
push str.UninstallString
lea ecx, [ebp - 0xc4]
call fcn.00413610
mov ecx, eax
call fcn.00413670
mov byte [ebp - 4], 2
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004050b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00404ef0
lea ecx, [ebp - 0xb8]
call fcn.00406a30
mov byte [ebp - 4], 5
lea eax, [ebp - 0xb8]
push eax
mov edx, 0x44bbe4
mov ecx, dword [ebp - 0xa4]
call fcn.0040a220
add esp, 4
cmp eax, 1
jbe 0x40a007
push 0
lea ecx, [ebp - 0xb8]
call fcn.00406a50
mov eax, dword [eax]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x98], ecx
push 3
push eax
lea ecx, [ebp - 0x98]
call fcn.00405ce0
mov byte [ebp - 4], 6
push dword [ebp - 0x98]
push 0x1c
push str.YandexDefaultFixer::TryFix
call fcn.004110a0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
mov eax, dword [ebp - 0x98]
cmp eax, ecx
je 0x409dfc
push eax
call fcn.00422f1c
add esp, 4
lea ecx, [ebp - 0xd4]
call fcn.00406a30
mov byte [ebp - 4], 7
push 0
lea ecx, [ebp - 0xb8]
call fcn.00406a50
lea ecx, [ebp - 0xd4]
push ecx
mov edx, 0x44baec
mov ecx, dword [eax]
call fcn.0040a220
add esp, 4
cmp eax, 2
jbe 0x409ecf
push str.Default
lea ecx, [ebp - 0xa0]
call fcn.004051f0
mov esi, eax
mov byte [ebp - 4], 8
push 2
lea ecx, [ebp - 0xd4]
call fcn.00406a50
mov edx, esi
mov ecx, eax
call fcn.0040a160
mov bl, al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa0]
call fcn.00404ef0
test bl, bl
je 0x409ecf
push str.isnt_Default_profile_browser
push 0x25
push str.YandexDefaultFixer::TryFix
call fcn.004110a0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd4]
call fcn.00406a80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.00406a80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.00404ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.0040a0a0
xor al, al
jmp 0x40a067
push 0
lea ecx, [ebp - 0xb8]
call fcn.00406a50
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
push eax
call fcn.004050b0
mov byte [ebp - 4], 9
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa0]
call fcn.00401ae0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x138]
call fcn.00401cd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa0]
call fcn.00401d60
mov byte [ebp - 4], 0xd
mov byte [ebp - 0x99], 1
sub esp, 0xc
lea ecx, [ebp - 0x138]
call fcn.0040ebe0
push ecx
lea ecx, [ebp - 0x138]
call fcn.0040ee40
push ecx
mov ecx, esp
mov dword [ebp - 0xe0], esp
push str.YandexYandexBrowserUser_DataLocal_State
call fcn.004051f0
mov byte [ebp - 4], 0xe
mov edx, 3
lea ecx, [ebp - 0xdc]
call fcn.00401c10
mov byte [ebp - 4], 0xf
push 0x1c
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [eax]
call fcn.0040f570
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xa0]
push ecx
mov byte [ebp - 4], 0x12
mov ecx, eax
call fcn.0040c6e0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xa8]
call fcn.00401d60
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xdc]
call fcn.004056f0
push dword [ebp - 0xa0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409fd3
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa0]
call fcn.00401d60
mov dword [ebp - 4], 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x138]
call fcn.00403240
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd4]
call fcn.00406a80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.00406a80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.00404ef0
jmp 0x40a04b
mov byte [esi], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.0040a0a0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x99]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00422df2
mov esp, ebp
pop ebp
ret 4