Function at 0x4a11c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x686970
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 0x4a1200
call fcn.004850c0
test al, al
jne 0x4a1200
mov bh, 1
jmp 0x4a1202
xor bh, bh
cmp byte [ebp + 0xc], 0
je 0x4a12a9
mov edx, 1
push 0
lea ecx, [edx + 5]
call fcn.0046cce0
add esp, 4
test al, al
je 0x4a12a9
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 0x4a1597
cmp dword [ebp - 0x18], 0
je 0x4a1597
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 0x4a159f
xor bl, bl
mov ecx, edi
call fcn.004a0fe0
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.004a15b0
push 2
mov ecx, edi
call fcn.004a0f30
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.004a16b0
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.004a1830
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.004a1830
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.004a1700
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.004a1700
lea ecx, [ebp - 0x28]
call fcn.00453390
push 8
mov ecx, edi
call fcn.004a0f30
mov esi, dword [ebp - 0x4c]
add esi, eax
mov dword [ebp - 0x4c], esi
test bl, bl
je 0x4a1461
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.004a1700
lea ecx, [ebp - 0x28]
call fcn.00453390
mov esi, dword [ebp - 0x4c]
test bh, bh
je 0x4a14a1
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.004a1700
lea ecx, [ebp - 0x28]
call fcn.00453390
mov esi, dword [ebp - 0x4c]
push 0xa
mov ecx, edi
call fcn.004a0f30
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.004a1a00
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.004a1900
lea ecx, [ebp - 0x28]
call fcn.00453390
test bh, bh
jne 0x4a1516
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.0049cdc0
push ecx
lea ecx, [edi + 4]
call fcn.004a3e80
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.00611399
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x28]
call fcn.00453390
mov bl, 1
jmp 0x4a12ab