Function at 0x457fb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8e50
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x56b06c]
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 0x457ff0
call fcn.0043ee30
mov byte [ebp - 0x49], 1
test al, al
je 0x457ff4
mov byte [ebp - 0x49], 0
cmp byte [ebp + 0xc], 0
je 0x4580d4
mov edx, 1
push 0
lea ecx, [edx + 5]
call fcn.004232c0
add esp, 4
test al, al
je 0x4580d4
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push SysReAllocStringLen
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.00412c70
lea edx, [ebp - 0x28]
mov ecx, str.TargetPath
call fcn.004239f0
add esp, 0x1c
test al, al
je 0x4581a3
cmp dword [ebp - 0x18], 0
je 0x4581a3
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
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
setne bl
cmp edx, 8
jb 0x4580cc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4580c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4585ca
push edx
push ecx
call fcn.004835cc
add esp, 8
test bl, bl
je 0x4581e4
mov byte [ebp - 0x51], 0
mov ecx, edi
call fcn.00457dd0
push 0
mov dword [ebp - 0x5c], 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [ebp - 0x60], 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 - 0x58], 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 - 0x58]
mov ecx, edi
push eax
call fcn.00458610
push 2
mov ecx, edi
call fcn.00457d20
mov ecx, 0x19
mov edx, 0x46a
sub ecx, eax
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x28]
call fcn.00431560
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x58]
push ecx
push ebx
push eax
mov ecx, edi
call fcn.00458710
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4581f7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4581ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4585cf
jmp 0x4581ed
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4581e4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4581da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4585d4
push edx
push ecx
call fcn.004835cc
add esp, 8
mov byte [ebp - 0x51], 1
jmp 0x4580d8
push edx
push ecx
call fcn.004835cc
add esp, 8
mov edx, 0x5ff
lea ecx, [ebp - 0x28]
call fcn.00431560
mov ecx, dword [edi + 0x320]
lea ecx, [ecx + ecx*2]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push ebx
push 2
push eax
lea eax, [edi + 0x1bc]
mov ecx, edi
push eax
call fcn.00458890
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45825e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458254
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4585d9
push edx
push ecx
call fcn.004835cc
add esp, 8
mov edx, 0x60f
lea ecx, [ebp - 0x28]
call fcn.00431560
push 0
lea ecx, [ebp - 0x50]
push ecx
push ebx
push 1
push eax
lea eax, [edi + 0x1b8]
mov ecx, edi
push eax
call fcn.00458890
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4582bd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4582b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4585de
push edx
push ecx
call fcn.004835cc
add esp, 8
mov edx, 0x603
lea ecx, [ebp - 0x28]
call fcn.00431560
push 0x3eb
lea ecx, [ebp - 0x50]
push ecx
push ebx
push ecx
push 1
push eax
lea eax, [edi + 0x1ac]
mov ecx, edi
push eax
call fcn.00458760
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x458320
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458316
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4585e3
push edx
push ecx
call fcn.004835cc
add esp, 8
mov edx, 0x604
lea ecx, [ebp - 0x28]
call fcn.00431560
push 0x3ec
lea ecx, [ebp - 0x50]
push ecx
push ebx
push ecx
push 1
push eax
lea eax, [edi + 0x1b0]
mov ecx, edi
push eax
call fcn.00458760
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x458383
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458379
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4585e8
push edx
push ecx
call fcn.004835cc
add esp, 8
push 8
mov ecx, edi
call fcn.00457d20
add dword [ebp - 0x50], eax
cmp byte [ebp - 0x51], 0
je 0x4583fe
mov edx, 0x4be
lea ecx, [ebp - 0x28]
call fcn.00431560
push 0x3e8
lea ecx, [ebp - 0x50]
push ecx
push ebx
push ecx
movzx ecx, byte [edi + 0x342]
push ecx
push eax
lea eax, [edi + 0x1cc]
mov ecx, edi
push eax
call fcn.00458760
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4583fe
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4583f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4585ed
push edx
push ecx
call fcn.004835cc
add esp, 8
cmp byte [ebp - 0x49], 0
je 0x45846d
mov edx, 0x5fa
lea ecx, [ebp - 0x28]
call fcn.00431560
push 0x3e8
lea ecx, [ebp - 0x50]
push ecx
push ebx
push ecx
movzx ecx, byte [edi + 0x343]
push ecx
push eax
lea eax, [edi + 0x1c8]
mov ecx, edi
push eax
call fcn.00458760
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45846d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458463
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4585f2
push edx
push ecx
call fcn.004835cc
add esp, 8
push 0xa
mov ecx, edi
call fcn.00457d20
mov esi, dword [ebp - 0x50]
lea ecx, [ebp - 0x28]
add esi, eax
mov edx, 0x438
mov dword [ebp - 0x50], esi
call fcn.00431560
push esi
push ecx
push eax
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00458a60
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4584d7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4584cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4585f7
push edx
push ecx
call fcn.004835cc
add esp, 8
mov edx, 0x5fc
lea ecx, [ebp - 0x28]
call fcn.00431560
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x50]
push ecx
push ebx
push ecx
push eax
mov ecx, edi
call fcn.00458960
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x458535
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45852b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4585fc
push edx
push ecx
call fcn.004835cc
add esp, 8
cmp byte [ebp - 0x49], 0
jne 0x458549
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 - 0x50]
push ecx
push eax
push dword [edi + 0x328]
lea ecx, [edi + 4]
call fcn.00452ec0
push ecx
lea ecx, [edi + 4]
call fcn.0045b230
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 - 0x60]
push dword [ebp - 0x5c]
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.0048358b
mov esp, ebp
pop ebp
ret 8
call fcn.004b1db8
call fcn.004b1db8
call fcn.004b1db8
call fcn.004b1db8
call fcn.004b1db8
call fcn.004b1db8
call fcn.004b1db8
call fcn.004b1db8
call fcn.004b1db8
call fcn.004b1db8
call fcn.004b1db8
int3