Function at 0x4578c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a1dc
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x5c7cec]
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 - 0xc8]
mov edi, dword [ebp + 0xc]
push 0
push str._verclsid.exe
push 0x25
push eax
mov byte [ebp - 0xca], 0
call fcn.0043d270
push 0
push str._verclsid.exe
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 0
push 0x29
push eax
call fcn.0043d270
add esp, 0x20
push 0xc
xor eax, eax
mov byte [ebp - 4], 1
push str.verclsid.exe
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
call fcn.00408740
cmp dword [esi + 0x10], 0
mov byte [ebp - 4], 2
je 0x457b3a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45796d
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457b3a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x457986
mov eax, dword [esi]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x457b3a
lea eax, [ebp - 0xc8]
push eax
push esi
call fcn.00456680
add esp, 8
test al, al
jne 0x4579c1
lea eax, [ebp - 0xb0]
push eax
push esi
call fcn.00456680
add esp, 8
test al, al
je 0x457b3a
cmp dword [edi + 0x10], 0
je 0x457b3a
push 0x30
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea ecx, [ebp - 0x98]
push 0
call fcn.004085b0
push edi
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.00408890
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x98]
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.0040b1f0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x98]
call fcn.00417420
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00409a20
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 7
call fcn.00409b10
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.00456680
add esp, 8
test al, al
jne 0x457a86
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00456680
add esp, 8
test al, al
jne 0x457a86
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0049dfe0
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x1c]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xd8], eax
jne 0x457b79
lea ecx, [ebp - 0x50]
call fcn.00408e50
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
test esi, esi
je 0x457b2f
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x457ad6
mov ecx, esi
call fcn.00408e50
add esi, 0x18
cmp esi, edi
jne 0x457ac5
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x457b10
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457e7f
push ecx
push esi
call fcn.004097e6
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x98]
call fcn.0044fbd0
lea ecx, [ebp - 0x68]
call fcn.00408e50
lea ecx, [ebp - 0xb0]
call fcn.00408e50
lea ecx, [ebp - 0xc8]
call fcn.00408e50
mov al, byte [ebp - 0xca]
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 fcn.0040154f
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0xc9], 0
mov dword [ebp - 0xd4], 0
test eax, eax
je 0x457dd1
xor esi, esi
mov dword [ebp - 0xd0], esi
nop word [eax + eax]
mov eax, dword [edi + esi + 0x14]
lea edx, [edi + esi]
mov edi, edx
cmp eax, 8
jb 0x457bb0
mov edi, dword [edx]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x20], ecx
cmp ecx, 2
jne 0x457be6
mov esi, ecx
mov ecx, 0x57581c
sub edi, ecx
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x457be0
add ecx, 2
sub esi, 1
jne 0x457bc4
mov edi, dword [ebp - 0xd4]
jmp 0x457d9c
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x20]
mov edi, edx
cmp eax, 8
jb 0x457bef
mov edi, dword [edx]
cmp ecx, 2
jne 0x457c19
mov esi, ecx
mov ecx, 0x575824
sub edi, ecx
nop dword [eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x457c13
add ecx, 2
sub esi, 1
jne 0x457c00
jmp 0x457c41
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x20]
mov edi, edx
cmp eax, 8
jb 0x457c22
mov edi, dword [edx]
cmp ecx, 2
jne 0x457c99
mov esi, ecx
mov ecx, 0x57582c
sub edi, ecx
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x457c93
add ecx, 2
sub esi, 1
jne 0x457c30
mov edi, dword [ebp - 0xd4]
mov esi, dword [ebp - 0xd0]
inc edi
add esi, 0x18
cmp edi, dword [ebp - 0xd8]
je 0x457dca
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
add eax, esi
movups xmmword [ebp - 0x30], xmm0
cmp dword [eax + 0x10], 0
je 0x457dca
cmp dword [eax + 0x14], 8
jb 0x457c7b
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x457dca
jmp 0x457da2
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x20]
cmp eax, 8
jb 0x457ca0
mov edx, dword [edx]
cmp ecx, 2
jne 0x457dca
mov esi, ecx
mov ecx, 0x575834
sub edx, ecx
mov ax, word [ecx + edx]
cmp ax, word [ecx]
jne 0x457dca
add ecx, 2
sub esi, 1
jne 0x457cb2
mov edi, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd0]
inc edi
add eax, 0x18
mov dword [ebp - 0xd0], eax
cmp edi, dword [ebp - 0xd8]
je 0x457dca
mov esi, dword [ebp - 0x1c]
add esi, eax
mov dword [ebp - 0x20], 0
cmp dword [esi + 0x10], 0
je 0x457dca
push esi
call fcn.0040adb0
add esp, 4
test al, al
je 0x457dca
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.0040adf0
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 9
cmovae eax, dword [ebp - 0x38]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00490000
add esp, 0x10
test al, al
je 0x457dc2
mov eax, dword [ebp - 0x20]
test eax, 0x400
je 0x457dc2
test eax, 0x7fe02bc0
jne 0x457dc2
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x457d98
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x457d8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457e7f
push edx
push ecx
call fcn.004097e6
add esp, 8
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0xd0]
inc edi
add esi, 0x18
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd0], esi
cmp edi, dword [ebp - 0xd8]
jae 0x457dd1
mov edi, dword [ebp - 0x1c]
jmp 0x457ba0
lea ecx, [ebp - 0x38]
call fcn.0040ad30
mov byte [ebp - 0xc9], 1
lea ecx, [ebp - 0x50]
call fcn.00408e50
cmp byte [ebp - 0xc9], 0
je 0x457e13
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xb
test esi, esi
je 0x457b2f
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x457ad6
nop dword [eax]
mov ecx, esi
call fcn.00408e50
add esi, 0x18
cmp esi, edi
jne 0x457e00
jmp 0x457ad3
mov byte [ebp - 0xca], 1
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xc
test esi, esi
je 0x457b2f
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x457e41
mov ecx, esi
call fcn.00408e50
add esi, 0x18
cmp esi, edi
jne 0x457e30
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x457b10
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x457b10
call fcn.0052cae1
int3