Function at 0x458cb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x5256a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push str._verclsid.exe
lea eax, [ebp - 0x74]
push 0x25
push eax
mov byte [ebp - 0xd1], 0
call fcn.00420570
push ebx
push str._verclsid.exe
lea ecx, [ebp - 0x3c]
push 0x29
push ecx
call fcn.00420570
add esp, 0x20
push 0xc
xor edx, edx
push str.verclsid.exe
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], dx
call fcn.00406030
cmp dword [esi + 0x10], ebx
je 0x4591c2
mov ecx, esi
call fcn.00417930
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4591c2
mov ecx, esi
call fcn.00417930
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x4591c2
lea eax, [ebp - 0x74]
push eax
push esi
call fcn.0045b1d0
add esp, 8
test al, al
jne 0x458dc6
lea ecx, [ebp - 0x3c]
push ecx
push esi
call fcn.0045b1d0
add esp, 8
test al, al
jne 0x458dc6
mov edi, 8
cmp dword [ebp - 0xc], edi
jb 0x458d86
mov edx, dword [ebp - 0x20]
push edx
call fcn.00406cf9
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
cmp dword [ebp - 0x28], edi
jb 0x458da8
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00406cf9
add esp, 4
xor edx, edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], dx
cmp dword [ebp - 0x60], edi
jb 0x459217
mov eax, dword [ebp - 0x74]
push eax
jmp 0x45920f
cmp dword [edi + 0x10], ebx
je 0x4591c2
push ebx
lea ecx, [ebp - 0xb4]
call fcn.00405a70
push edi
lea ecx, [ebp - 0xb4]
call fcn.004062a0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00408180
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.0040fcb0
push 0xffffffffffffffff
push ebx
xor edx, edx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], dx
call fcn.00406690
lea ecx, [ebp - 0xd0]
call fcn.00406f40
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0045b1d0
add esp, 8
test al, al
jne 0x458e74
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.0045b1d0
add esp, 8
test al, al
jne 0x458e74
mov ecx, dword [ebp - 0xe8]
lea eax, [ebp - 0x58]
push eax
push ecx
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0xe8]
call fcn.00458c40
mov ecx, dword [ebp - 0xe4]
mov esi, dword [ebp - 0xe8]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xd8], eax
jne 0x458f69
mov edi, 8
cmp dword [ebp - 0x44], edi
jb 0x458ebd
mov eax, dword [ebp - 0x58]
push eax
call fcn.00406cf9
mov esi, dword [ebp - 0xe8]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], cx
cmp esi, ebx
je 0x458efb
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xe4]
push edx
lea eax, [ebp - 0xdc]
push eax
push ecx
push esi
call fcn.00406d10
mov edx, dword [ebp - 0xe8]
push edx
call fcn.00406cf9
add esp, 0x14
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
call fcn.0042f340
cmp dword [ebp - 0xc], edi
jb 0x458f29
mov eax, dword [ebp - 0x20]
push eax
call fcn.00406cf9
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], cx
cmp dword [ebp - 0x28], edi
jb 0x458f4b
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00406cf9
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
xor eax, eax
mov word [ebp - 0x3c], ax
cmp dword [ebp - 0x60], edi
jb 0x459217
mov ecx, dword [ebp - 0x74]
push ecx
jmp 0x45920f
cmp eax, ebx
jbe 0x459040
xor edi, edi
mov edx, dword [esi + edi + 0x10]
push 2
add esi, edi
push 0x4ed918
push edx
push 0
mov ecx, esi
call fcn.004071e0
test eax, eax
je 0x459028
mov eax, dword [esi + 0x10]
push 2
push 0x4ed910
push eax
push 0
mov ecx, esi
call fcn.004071e0
test eax, eax
je 0x458ffe
mov ecx, dword [esi + 0x10]
push 2
push 0x4ed908
push ecx
push 0
mov ecx, esi
call fcn.004071e0
test eax, eax
je 0x458ffe
mov edx, dword [esi + 0x10]
push 2
push 0x4ed900
push edx
push 0
mov ecx, esi
call fcn.004071e0
test eax, eax
jne 0x45910f
inc ebx
add edi, 0x1c
cmp ebx, dword [ebp - 0xd8]
je 0x45910f
mov eax, dword [ebp - 0xe8]
add eax, edi
push eax
call fcn.004576c0
jmp 0x45901d
inc ebx
add edi, 0x1c
cmp ebx, dword [ebp - 0xd8]
je 0x45910f
mov ecx, dword [ebp - 0xe8]
lea eax, [edi + ecx]
push eax
call fcn.00457620
add esp, 4
test al, al
je 0x45910f
mov esi, dword [ebp - 0xe8]
inc ebx
add edi, 0x1c
cmp ebx, dword [ebp - 0xd8]
jb 0x458f73
xor ebx, ebx
mov edi, 8
mov byte [ebp - 0xd1], 1
cmp dword [ebp - 0x44], edi
jb 0x459063
mov edx, dword [ebp - 0x58]
push edx
call fcn.00406cf9
mov esi, dword [ebp - 0xe8]
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], ax
cmp esi, ebx
je 0x4590a1
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xdc]
push edx
push eax
push esi
call fcn.00406d10
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.00406cf9
add esp, 0x14
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
call fcn.0042f340
cmp dword [ebp - 0xc], edi
jb 0x4590cf
mov edx, dword [ebp - 0x20]
push edx
call fcn.00406cf9
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
cmp dword [ebp - 0x28], edi
jb 0x4590f1
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00406cf9
add esp, 4
xor edx, edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], dx
cmp dword [ebp - 0x60], edi
jb 0x459217
mov eax, dword [ebp - 0x74]
push eax
jmp 0x45920f
mov edi, 8
cmp dword [ebp - 0x44], edi
jb 0x459125
mov edx, dword [ebp - 0x58]
push edx
call fcn.00406cf9
add esp, 4
xor eax, eax
xor esi, esi
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0xe8]
mov ebx, 7
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esi
cmp eax, esi
je 0x45916c
mov ecx, dword [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0xe4]
lea edx, [ebp - 0xdc]
push edx
push ecx
push eax
call fcn.00406d10
mov edx, dword [ebp - 0xe8]
push edx
call fcn.00406cf9
add esp, 0x14
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe0], esi
call fcn.0042f340
cmp dword [ebp - 0xc], edi
jb 0x45919a
mov eax, dword [ebp - 0x20]
push eax
call fcn.00406cf9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esi
mov word [ebp - 0x20], cx
cmp dword [ebp - 0x28], edi
jb 0x4591b7
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00406cf9
add esp, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esi
jmp 0x458f51
mov edi, 8
cmp dword [ebp - 0xc], edi
jb 0x4591d8
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406cf9
add esp, 4
xor edx, edx
mov esi, 7
mov word [ebp - 0x20], dx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], esi
cmp dword [ebp - 0x28], edi
jb 0x4591fa
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406cf9
add esp, 4
xor ecx, ecx
mov word [ebp - 0x3c], cx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x60], edi
jb 0x459217
mov edx, dword [ebp - 0x74]
push edx
call fcn.00406cf9
add esp, 4
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0xd1]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret