Function at 0x47ee50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff668
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x53000c]
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, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x2c], esi
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x30]
cmp dword [0x53bd50], 8
mov eax, 0x53bd3c
push 0x20019
cmovae eax, dword [0x53bd3c]
xorps xmm0, xmm0
push eax
push 0x80000002
movlpd qword [ebp - 0x30], xmm0
call fcn.004a4860
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 0
je 0x47f0da
lea eax, [ebp - 0x28]
push eax
push str.DisplayIcon
lea ecx, [ebp - 0x30]
call fcn.004a4a70
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x47f026
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax], 0x22
jne 0x47ef87
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041a060
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x47ef4a
mov ecx, eax
call fcn.0041a210
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x47ef84
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ef7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47f155
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x47f026
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x22
jne 0x47f026
lea eax, [ecx - 1]
push eax
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041a060
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x47efec
mov ecx, eax
call fcn.0041a210
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x47f026
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47f01c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47f15a
push edx
push ecx
call fcn.0048e9ad
add esp, 8
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
je 0x47f0da
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
push str.DisplayVersion
lea ecx, [ebp - 0x30]
call fcn.004a4a70
movups xmm0, xmmword [ebp - 0x48]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x30]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x48], ax
movq xmm0, qword [ebp - 0x38]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
call fcn.004a4a40
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x47f138
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47f12e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47f15f
jmp 0x47f12e
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x51c79c
mov word [esi], ax
call fcn.0041a5b0
lea ecx, [ebp - 0x30]
call fcn.004a4a40
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x47f138
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47f12e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47f164
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov eax, esi
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.0048e99c
mov esp, ebp
pop ebp
ret
call fcn.004c5929
call fcn.004c5929
call fcn.004c5929
call fcn.004c5929
int3