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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b02e6
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x4d9164]
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.00483710
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 0x46c109
cmp esi, 0xc8
jae 0x46c109
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 0x46c097
sub ecx, edx
lea eax, [ebp - 0x1a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00437950
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 0x46c496
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x46c221
cmp eax, 8
jne 0x46c44e
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
push 0x4b4c98
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00481123
add esp, 8
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 4], 0
test eax, eax
jne 0x46c18b
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.00455e80
jmp 0x46c49b
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 0x46c1ec
mov esi, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1e0]
push esi
call fcn.0041e9e0
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 0x1c4], 0
push ecx
push eax
mov ecx, edi
call fcn.00455e80
lea ecx, [ebp - 0x1e0]
call fcn.00405c30
push esi
call fcn.0048112c
add esp, 4
jmp 0x46c4a6
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.0048112c
mov eax, dword [ebp - 0x1c4]
add esp, 4
cmp dword [ebp - 0x1a4], 0
jne 0x46c44e
test eax, eax
je 0x46c44e
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.00437950
mov dword [ebp - 4], 1
mov esi, 0xc8
mov ecx, 0xfffe
add esi, esi
cmp esi, 0xfffe
push 0x4b4c98
cmova esi, ecx
push esi
call fcn.00481123
add esp, 8
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x46c404
push esi
push 0
push eax
call fcn.00483710
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 0x46c350
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1a4], eax
cmp eax, 0xea
jne 0x46c2ff
push dword [ebp - 0x1a8]
mov byte [ebp - 4], 1
call fcn.0048112c
add esp, 4
mov ecx, 0xfffe
cmp esi, 0xfffe
jb 0x46c273
jmp 0x46c372
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.00455e80
lea ecx, [ebp - 0x1e0]
call fcn.00405c30
push dword [ebp - 0x1a8]
call fcn.0048112c
add esp, 4
jmp 0x46c49b
mov esi, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1c0]
lea eax, [esi + 4]
push eax
call fcn.0041e840
push esi
mov byte [ebp - 4], 1
call fcn.0048112c
add esp, 4
cmp dword [ebp - 0x1b0], 7
jbe 0x46c3ea
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 0x46c3ea
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.00455e80
lea ecx, [ebp - 0x1e0]
call fcn.00405c30
jmp 0x46c49b
lea eax, [ebp - 0x1c0]
mov dword [edi], 0
lea ecx, [edi + 4]
push eax
call fcn.0041ea30
jmp 0x46c49b
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.00455e80
lea ecx, [ebp - 0x1e0]
call fcn.00405c30
jmp 0x46c49b
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.00405c30
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.004810ea
mov esp, ebp
pop ebp
ret