Function at 0x460b30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x522638]
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.00426fc0
push ebx
push str._verclsid.exe
lea ecx, [ebp - 0x3c]
push 0x29
push ecx
call fcn.00426fc0
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.00405fe0
cmp dword [esi + 0x10], ebx
je 0x461042
mov ecx, esi
call fcn.0041fc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461042
mov ecx, esi
call fcn.0041fc50
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x461042
lea eax, [ebp - 0x74]
push eax
push esi
call fcn.00459fb0
add esp, 8
test al, al
jne 0x460c46
lea ecx, [ebp - 0x3c]
push ecx
push esi
call fcn.00459fb0
add esp, 8
test al, al
jne 0x460c46
mov edi, 8
cmp dword [ebp - 0xc], edi
jb 0x460c06
mov edx, dword [ebp - 0x20]
push edx
call fcn.00406ca9
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 0x460c28
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00406ca9
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 0x461097
mov eax, dword [ebp - 0x74]
push eax
jmp 0x46108f
cmp dword [edi + 0x10], ebx
je 0x461042
push ebx
lea ecx, [ebp - 0xb4]
call fcn.00405a20
push edi
lea ecx, [ebp - 0xb4]
call fcn.00406250
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00408130
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.00419dd0
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.00406640
lea ecx, [ebp - 0xd0]
call fcn.00406ef0
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00459fb0
add esp, 8
test al, al
jne 0x460cf4
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00459fb0
add esp, 8
test al, al
jne 0x460cf4
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.00460ac0
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 0x460de9
mov edi, 8
cmp dword [ebp - 0x44], edi
jb 0x460d3d
mov eax, dword [ebp - 0x58]
push eax
call fcn.00406ca9
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 0x460d7b
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xe4]
push edx
lea eax, [ebp - 0xdc]
push eax
push ecx
push esi
call fcn.00406cc0
mov edx, dword [ebp - 0xe8]
push edx
call fcn.00406ca9
add esp, 0x14
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
call fcn.00435650
cmp dword [ebp - 0xc], edi
jb 0x460da9
mov eax, dword [ebp - 0x20]
push eax
call fcn.00406ca9
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 0x460dcb
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00406ca9
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 0x461097
mov ecx, dword [ebp - 0x74]
push ecx
jmp 0x46108f
cmp eax, ebx
jbe 0x460ec0
xor edi, edi
mov edx, dword [esi + edi + 0x10]
push 2
add esi, edi
push 0x4ebbc0
push edx
push 0
mov ecx, esi
call fcn.00407190
test eax, eax
je 0x460ea8
mov eax, dword [esi + 0x10]
push 2
push 0x4ebbb8
push eax
push 0
mov ecx, esi
call fcn.00407190
test eax, eax
je 0x460e7e
mov ecx, dword [esi + 0x10]
push 2
push 0x4ebbb0
push ecx
push 0
mov ecx, esi
call fcn.00407190
test eax, eax
je 0x460e7e
mov edx, dword [esi + 0x10]
push 2
push 0x4ebba8
push edx
push 0
mov ecx, esi
call fcn.00407190
test eax, eax
jne 0x460f8f
inc ebx
add edi, 0x1c
cmp ebx, dword [ebp - 0xd8]
je 0x460f8f
mov eax, dword [ebp - 0xe8]
add eax, edi
push eax
call fcn.0045f540
jmp 0x460e9d
inc ebx
add edi, 0x1c
cmp ebx, dword [ebp - 0xd8]
je 0x460f8f
mov ecx, dword [ebp - 0xe8]
lea eax, [edi + ecx]
push eax
call fcn.0045f4a0
add esp, 4
test al, al
je 0x460f8f
mov esi, dword [ebp - 0xe8]
inc ebx
add edi, 0x1c
cmp ebx, dword [ebp - 0xd8]
jb 0x460df3
xor ebx, ebx
mov edi, 8
mov byte [ebp - 0xd1], 1
cmp dword [ebp - 0x44], edi
jb 0x460ee3
mov edx, dword [ebp - 0x58]
push edx
call fcn.00406ca9
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 0x460f21
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xdc]
push edx
push eax
push esi
call fcn.00406cc0
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.00406ca9
add esp, 0x14
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
call fcn.00435650
cmp dword [ebp - 0xc], edi
jb 0x460f4f
mov edx, dword [ebp - 0x20]
push edx
call fcn.00406ca9
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 0x460f71
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00406ca9
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 0x461097
mov eax, dword [ebp - 0x74]
push eax
jmp 0x46108f
mov edi, 8
cmp dword [ebp - 0x44], edi
jb 0x460fa5
mov edx, dword [ebp - 0x58]
push edx
call fcn.00406ca9
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 0x460fec
mov ecx, dword [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0xe4]
lea edx, [ebp - 0xdc]
push edx
push ecx
push eax
call fcn.00406cc0
mov edx, dword [ebp - 0xe8]
push edx
call fcn.00406ca9
add esp, 0x14
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe0], esi
call fcn.00435650
cmp dword [ebp - 0xc], edi
jb 0x46101a
mov eax, dword [ebp - 0x20]
push eax
call fcn.00406ca9
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 0x461037
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00406ca9
add esp, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esi
jmp 0x460dd1
mov edi, 8
cmp dword [ebp - 0xc], edi
jb 0x461058
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406ca9
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 0x46107a
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406ca9
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 0x461097
mov edx, dword [ebp - 0x74]
push edx
call fcn.00406ca9
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