Function at 0x4b6ee0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503b26
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1a0]
mov esi, dword [ebp + 0xc]
push 0x190
push 0
push eax
mov dword [ebp - 0x1a4], edi
mov dword [ebp - 0x1c8], esi
call fcn.004cdf10
add esp, 0xc
lea eax, [ebp - 0x1a0]
push 0
push 0xc8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleW]
mov esi, eax
test esi, esi
je 0x4b6ff9
cmp esi, 0xc8
jae 0x4b6ff9
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1b0], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x1ac], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b6f87
sub ecx, edx
lea eax, [ebp - 0x1a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004034d0
movups xmm0, xmmword [ebp - 0x1c0]
mov dword [edi], 0
xor eax, eax
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
movups xmmword [edi + 4], xmm0
mov word [ebp - 0x1c0], ax
movq xmm0, qword [ebp - 0x1b0]
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 7
jmp 0x4b7386
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x4b7111
cmp eax, 8
jne 0x4b733e
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
push 0x5079f0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00498a01
add esp, 8
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 4], 0
test eax, eax
jne 0x4b707b
mov dword [ebp - 0x1c0], eax
mov ecx, edi
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x1ac], 7
push eax
mov dword [ebp - 0x1c4], 8
call fcn.00499e90
jmp 0x4b738b
push 0
push esi
push eax
push dword [ebp - 0x1c8]
call dword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleW]
lea ecx, [esi - 1]
mov dword [ebp - 0x1a4], eax
cmp eax, ecx
jne 0x4b70dc
mov esi, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1e0]
push esi
call fcn.0040bc50
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 0x1c4], 0
push ecx
push eax
mov ecx, edi
call fcn.00499e90
lea ecx, [ebp - 0x1e0]
call fcn.00403400
push esi
call fcn.004987f3
add esp, 4
jmp 0x4b7396
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x1a8]
push esi
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004987f3
mov eax, dword [ebp - 0x1c4]
add esp, 4
cmp dword [ebp - 0x1a4], 0
jne 0x4b733e
test eax, eax
je 0x4b733e
push 7
xor eax, eax
mov dword [ebp - 0x1c0], 0
push str._UNC
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 7
mov word [ebp - 0x1c0], ax
call fcn.004034d0
mov dword [ebp - 4], 1
mov esi, 0xc8
mov ecx, 0xfffe
add esi, esi
cmp esi, 0xfffe
push 0x5079f0
cmova esi, ecx
push esi
call fcn.00498a01
add esp, 8
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4b72f4
push esi
push 0
push eax
call fcn.004cdf10
add esp, 0xc
push esi
push dword [ebp - 0x1a8]
push 2
push dword [ebp - 0x1c8]
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
jne 0x4b7240
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1a4], eax
cmp eax, 0xea
jne 0x4b71ef
push dword [ebp - 0x1a8]
mov byte [ebp - 4], 1
call fcn.004987f3
add esp, 4
mov ecx, 0xfffe
cmp esi, 0xfffe
jb 0x4b7163
jmp 0x4b7262
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1e0], 0
push eax
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x1d0], 0
push eax
mov ecx, edi
mov dword [ebp - 0x1cc], 7
call fcn.00499e90
lea ecx, [ebp - 0x1e0]
call fcn.00403400
push dword [ebp - 0x1a8]
call fcn.004987f3
add esp, 4
jmp 0x4b738b
mov esi, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1c0]
lea eax, [esi + 4]
push eax
call fcn.0045ef30
push esi
mov byte [ebp - 4], 1
call fcn.004987f3
add esp, 4
cmp dword [ebp - 0x1b0], 7
jbe 0x4b72da
cmp dword [ebp - 0x1ac], 8
lea eax, [ebp - 0x1c0]
cmovae eax, dword [ebp - 0x1c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4b72da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1a4], eax
mov ecx, edi
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1e0], 0
push eax
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x1d0], 0
push eax
mov dword [ebp - 0x1cc], 7
call fcn.00499e90
lea ecx, [ebp - 0x1e0]
call fcn.00403400
jmp 0x4b738b
lea eax, [ebp - 0x1c0]
mov dword [edi], 0
lea ecx, [edi + 4]
push eax
call fcn.0040bca0
jmp 0x4b738b
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1e0], 0
push eax
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x1d0], 0
push eax
mov ecx, edi
mov dword [ebp - 0x1cc], 7
mov dword [ebp - 0x1a4], 8
call fcn.00499e90
lea ecx, [ebp - 0x1e0]
call fcn.00403400
jmp 0x4b738b
mov dword [ebp - 0x1c0], 0
movups xmm0, xmmword [ebp - 0x1c0]
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 7
movups xmmword [edi + 4], xmm0
movq xmm0, qword [ebp - 0x1b0]
movq qword [edi + 0x14], xmm0
lea ecx, [ebp - 0x1c0]
call fcn.00403400
mov eax, edi
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.0049852a
mov esp, ebp
pop ebp
ret