Function at 0x4a1490
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x686d00
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x79cac4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [ebp + 8], 0
je 0x4a14d0
call fcn.004850c0
test al, al
jne 0x4a14d0
mov bh, 1
jmp 0x4a14d2
xor bh, bh
cmp byte [ebp + 0xc], 0
je 0x4a1579
mov edx, 1
push 0
lea ecx, [edx + 5]
call fcn.0046cce0
add esp, 4
test al, al
je 0x4a1579
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push reloc.WS2_32.dll_accept
sub esp, 0x18
mov dword [ebp - 4], eax
mov ecx, esp
push 0x20
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push str.SoftwareYandexTelemostBrowser
mov word [ecx], ax
call fcn.00459550
lea edx, [ebp - 0x28]
mov ecx, str.TargetPath
call fcn.0046d320
add esp, 0x1c
test al, al
je 0x4a1867
cmp dword [ebp - 0x18], 0
je 0x4a1867
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x28]
setne bl
call fcn.00453390
test bl, bl
je 0x4a186f
xor bl, bl
mov ecx, edi
call fcn.004a12b0
push 0
mov dword [ebp - 0x54], 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [ebp - 0x58], esi
push 0
push 0
push 0x31
mov dword [ebp - 4], 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x50], 0
push eax
push dword [edi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x19
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.004a1880
push 2
mov ecx, edi
call fcn.004a1200
mov ecx, 0x19
mov edx, 0x46a
sub ecx, eax
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x28]
call fcn.00478590
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x50]
push ecx
push esi
push eax
mov ecx, edi
call fcn.004a1980
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00453390
mov edx, 0x5ff
lea ecx, [ebp - 0x28]
call fcn.00478590
mov ecx, dword [edi + 0x320]
lea ecx, [ecx + ecx*2]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push esi
push 2
push eax
lea eax, [edi + 0x1bc]
mov ecx, edi
push eax
call fcn.004a1b00
lea ecx, [ebp - 0x28]
call fcn.00453390
mov edx, 0x60f
lea ecx, [ebp - 0x28]
call fcn.00478590
push 0
lea ecx, [ebp - 0x4c]
push ecx
push esi
push 1
push eax
lea eax, [edi + 0x1b8]
mov ecx, edi
push eax
call fcn.004a1b00
lea ecx, [ebp - 0x28]
call fcn.00453390
mov edx, 0x603
lea ecx, [ebp - 0x28]
call fcn.00478590
push 0x3eb
lea ecx, [ebp - 0x4c]
push ecx
push esi
push ecx
push 1
push eax
lea eax, [edi + 0x1ac]
mov ecx, edi
push eax
call fcn.004a19d0
lea ecx, [ebp - 0x28]
call fcn.00453390
mov edx, 0x604
lea ecx, [ebp - 0x28]
call fcn.00478590
push 0x3ec
lea ecx, [ebp - 0x4c]
push ecx
push esi
push ecx
push 1
push eax
lea eax, [edi + 0x1b0]
mov ecx, edi
push eax
call fcn.004a19d0
lea ecx, [ebp - 0x28]
call fcn.00453390
push 8
mov ecx, edi
call fcn.004a1200
mov esi, dword [ebp - 0x4c]
add esi, eax
mov dword [ebp - 0x4c], esi
test bl, bl
je 0x4a1731
mov edx, 0x4be
lea ecx, [ebp - 0x28]
call fcn.00478590
push 0x3e8
lea ecx, [ebp - 0x4c]
push ecx
push dword [ebp - 0x50]
push ecx
movzx ecx, byte [edi + 0x342]
push ecx
push eax
lea eax, [edi + 0x1cc]
mov ecx, edi
push eax
call fcn.004a19d0
lea ecx, [ebp - 0x28]
call fcn.00453390
mov esi, dword [ebp - 0x4c]
test bh, bh
je 0x4a1771
mov edx, 0x5fa
lea ecx, [ebp - 0x28]
call fcn.00478590
push 0x3e8
lea ecx, [ebp - 0x4c]
push ecx
push dword [ebp - 0x50]
push ecx
movzx ecx, byte [edi + 0x343]
push ecx
push eax
lea eax, [edi + 0x1c8]
mov ecx, edi
push eax
call fcn.004a19d0
lea ecx, [ebp - 0x28]
call fcn.00453390
mov esi, dword [ebp - 0x4c]
push 0xa
mov ecx, edi
call fcn.004a1200
add esi, eax
lea ecx, [ebp - 0x28]
mov edx, 0x438
mov dword [ebp - 0x4c], esi
call fcn.00478590
push esi
push ecx
push eax
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004a1cd0
lea ecx, [ebp - 0x28]
call fcn.00453390
mov edx, 0x5fc
lea ecx, [ebp - 0x28]
call fcn.00478590
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push dword [ebp - 0x50]
push ecx
push eax
mov ecx, edi
call fcn.004a1bd0
lea ecx, [ebp - 0x28]
call fcn.00453390
test bh, bh
jne 0x4a17e6
push 0
push dword [edi + 0x214]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x13
push 0
push 0
push 0
push 0
push dword [edi + 0x214]
push dword [edi + 0x1dc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 0x31c]
add eax, dword [ebp - 0x4c]
push ecx
push eax
push dword [edi + 0x328]
lea ecx, [edi + 4]
call fcn.0049d090
push ecx
lea ecx, [edi + 4]
call fcn.004a4150
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 0x1dc]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [ebp - 0x58]
push dword [ebp - 0x54]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006116c3
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x28]
call fcn.00453390
mov bl, 1
jmp 0x4a157b