Function at 0x465330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f699
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x80]
push 0
push str._verclsid.exe
push 0x25
push eax
mov byte [ebp - 0xcd], 0
call fcn.00447330
push 0
push str._verclsid.exe
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push 0x29
push eax
call fcn.00447330
add esp, 0x20
push 0xc
xor eax, eax
mov byte [ebp - 4], 1
push str.verclsid.exe
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.00409db0
cmp dword [esi + 0x10], 0
mov byte [ebp - 4], 2
je 0x465c1c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4653d4
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465c1c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4653ed
mov eax, dword [esi]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x465c1c
lea eax, [ebp - 0x80]
push eax
push esi
call fcn.00461390
add esp, 8
test al, al
jne 0x4654a1
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.00461390
add esp, 8
test al, al
jne 0x4654a1
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x46543b
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 7
cmp eax, 8
jb 0x465468
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], 8
cmp eax, 8
jb 0x465d04
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0040a5e0
jmp 0x465d04
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0
lea eax, [edi + 0x10]
mov dword [ebp - 0xd4], eax
jne 0x465532
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x4654cc
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x4654f9
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], 0xb
cmp eax, 8
jb 0x465d04
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0040a5e0
jmp 0x465d04
push 0x30
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea ecx, [ebp - 0xcc]
push 0
call fcn.004091d0
sub esp, 8
mov byte [ebp - 4], 0xc
cmp dword [edi + 0x14], 8
mov ecx, esp
jb 0x465563
mov edi, dword [edi]
mov eax, dword [ebp - 0xd4]
mov dword [ecx], edi
mov eax, dword [eax]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0xcc]
call fcn.00409450
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0xcc]
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.0040d4f0
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0xcc]
call fcn.00419dc0
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xe
call fcn.0040b170
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x10
call fcn.0040a580
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.00461390
add esp, 8
test al, al
jne 0x46573e
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00461390
add esp, 8
test al, al
jne 0x46573e
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xd4], eax
cmp esi, dword [ebp - 0x14]
je 0x465731
cmp eax, esi
jne 0x465625
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.0040b170
add dword [ebp - 0x18], 0x18
jmp 0x46573e
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x68]
push eax
call fcn.0040b170
movups xmm0, xmmword [esi - 0x18]
mov edx, dword [ebp - 0xd4]
lea eax, [esi - 0x18]
xor ecx, ecx
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [ebp - 0x18], 0x18
cmp edx, eax
je 0x4656fb
add esi, 0xfffffffc
nop dword [eax]
lea esi, [esi - 0x18]
lea eax, [esi - 0x14]
lea edi, [esi + 4]
cmp edi, eax
je 0x4656f7
mov ecx, dword [esi + 0x18]
cmp ecx, 8
jb 0x4656d3
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
mov byte [ebp - 4], 0x11
cmp ecx, 0x1000
jb 0x4656c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465d25
mov eax, edx
push ecx
push eax
call fcn.0040a1a2
mov edx, dword [ebp - 0xd4]
lea eax, [esi - 0x14]
add esp, 8
movups xmm0, xmmword [esi - 0x14]
xor ecx, ecx
movups xmmword [edi], xmm0
movq xmm0, qword [esi - 4]
movq qword [edi + 0x10], xmm0
mov dword [esi - 4], 0
mov dword [esi], 7
mov word [esi - 0x14], cx
cmp edx, eax
jne 0x465680
lea eax, [ebp - 0x98]
mov ecx, edx
push eax
call fcn.00410e40
mov eax, dword [ebp - 0x84]
mov byte [ebp - 4], 0x12
cmp eax, 8
jb 0x46572b
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.0040a5e0
mov byte [ebp - 4], 0x10
jmp 0x46573e
lea ecx, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040b080
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x1c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xd4], eax
jne 0x465820
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0x13
cmp eax, 8
jb 0x46577a
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
call fcn.00432af0
lea ecx, [ebp - 0xcc]
call fcn.0045be30
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x14
cmp eax, 8
jb 0x4657ba
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x15
cmp eax, 8
jb 0x4657e7
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], 0x16
cmp eax, 8
jb 0x465d04
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0040a5e0
jmp 0x465d04
xor esi, esi
test eax, eax
je 0x4659f6
xor edi, edi
nop dword [eax]
mov eax, dword [ebp - 0x1c]
add eax, edi
push 0x5c9b58
push eax
mov dword [ebp - 0x20], eax
call fcn.0042e1d0
add esp, 8
test al, al
jne 0x4659e6
push 0x5c9b60
push dword [ebp - 0x20]
call fcn.0042e1d0
add esp, 8
test al, al
jne 0x46599f
push 0x5c9b68
push dword [ebp - 0x20]
call fcn.0042e1d0
add esp, 8
test al, al
jne 0x46599f
push 0x5c9b70
push dword [ebp - 0x20]
call fcn.0042e1d0
add esp, 8
test al, al
je 0x465b12
inc esi
add edi, 0x18
cmp esi, dword [ebp - 0xd4]
je 0x465b12
mov eax, dword [ebp - 0x1c]
add eax, edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xd8], eax
cmp dword [eax + 0x10], 0
je 0x465b12
sub esp, 8
mov ecx, eax
cmp dword [eax + 0x14], 8
mov edx, esp
jb 0x4658d1
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
call fcn.0040c2b0
add esp, 8
test al, al
je 0x465b12
push dword [ebp - 0xd8]
lea eax, [ebp - 0x98]
push eax
call fcn.0049f530
add esp, 8
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x17
push eax
sub esp, 8
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
mov ecx, esp
cmovae eax, dword [ebp - 0x98]
mov dword [ecx], eax
mov eax, dword [ebp - 0x88]
mov dword [ecx + 4], eax
call fcn.0049df00
add esp, 0xc
test al, al
je 0x465b07
mov eax, dword [ebp - 0x20]
test eax, 0x400
je 0x465b07
test eax, 0x7fe02bc0
jne 0x465b07
mov edx, dword [ebp - 0x84]
mov byte [ebp - 4], 0x10
cmp edx, 0x10
jb 0x4659e6
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0x18
cmp edx, 0x1000
jb 0x46598f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465d25
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov byte [ebp - 4], 0x10
jmp 0x4659e6
inc esi
add edi, 0x18
cmp esi, dword [ebp - 0xd4]
je 0x465b12
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
add eax, edi
movups xmmword [ebp - 0x90], xmm0
cmp dword [eax + 0x10], 0
je 0x465b12
cmp dword [eax + 0x14], 8
jb 0x4659d0
mov eax, dword [eax]
lea ecx, [ebp - 0x90]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x465b12
inc esi
add edi, 0x18
cmp esi, dword [ebp - 0xd4]
jb 0x465830
mov byte [ebp - 0xcd], 1
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0x1e
cmp eax, 8
jb 0x465a16
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x465a7d
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.00409390
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x1c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a130
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0xcc]
call fcn.0045be30
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x20
cmp eax, 8
jb 0x465aa1
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x21
cmp eax, 8
jb 0x465ace
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], 0x22
cmp eax, 8
jb 0x465d04
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0040a5e0
jmp 0x465d04
lea ecx, [ebp - 0x98]
call fcn.004138c0
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0x19
cmp eax, 8
jb 0x465b2b
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x465b92
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.00409390
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x1c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a130
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0xcc]
call fcn.0045be30
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1b
cmp eax, 8
jb 0x465bb6
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x1c
cmp eax, 8
jb 0x465be3
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], 0x1d
cmp eax, 8
jb 0x465d04
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0040a5e0
jmp 0x465d04
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x465c5a
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x465c50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465d25
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
cmp edx, 8
jb 0x465cac
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x465ca2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465d25
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x465d04
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 5
cmp edx, 0x1000
jb 0x465cfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465d25
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov al, byte [ebp - 0xcd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
call fcn.0056e2db
int3