Function at 0x471e90
Capabilities:
Check if file exists
Get file attributes
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x508]
sub esp, 0x508
push 0xffffffffffffffff
push 0x63bc20
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6eed24]
xor eax, ebp
mov dword [ebp + 0x504], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x514]
mov ebx, eax
mov esi, dword [ebp + 0x510]
mov dword [ebp - 0x10], eax
test esi, esi
jne 0x471ee5
xor eax, eax
jmp 0x47227c
movzx edi, word [esi]
mov eax, edi
test ax, ax
je 0x471f46
mov edx, 0xfffffffe
lea ecx, [esi + 2]
sub edx, esi
lea esp, [esp]
movzx eax, ax
add eax, 0xffffffde
cmp eax, 0x5a
ja case.0x471f12.35
movzx eax, byte [eax + 0x4722b0]
jmp dword [eax*4 + 0x4722a0]
movzx eax, word [ecx]
test ax, ax
je case.0x471f12.35
jmp 0x471f31
lea eax, [edx + ecx]
and eax, 0xfffffffe
cmp eax, 4
jne case.0x471f12.34
movzx eax, word [ecx]
cmp eax, 0x5c
je case.0x471f12.35
cmp eax, 0x2f
jne case.0x471f12.34
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471f00
push 0x250
lea eax, [ebp]
push 0
push eax
call fcn.004b40a0
add esp, 0xc
test ebx, ebx
jne 0x471f60
lea ebx, [ebp]
cmp edi, 0x41
jb 0x471f6a
cmp edi, 0x5a
jbe 0x471f73
lea eax, [edi - 0x61]
cmp ax, 0x19
ja 0x471fd1
cmp word [esi + 2], 0x3a
jne 0x471fd1
movzx eax, word [esi + 4]
test ax, ax
je 0x471f8f
cmp eax, 0x5c
jne 0x471fd1
cmp word [esi + 6], 0
jne 0x471fd1
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
je case.0x471f12.34
push 0x24c
lea eax, [ebx + 4]
push 0
push eax
call fcn.004b40a0
mov dword [ebx], edi
add esp, 0xc
movzx eax, word [esi]
mov word [ebx + 0x2c], ax
movzx eax, word [esi]
mov word [ebx + 0x234], ax
mov eax, 1
jmp 0x47227c
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov ecx, esi
mov dword [ebp - 4], edx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471fe4
sub ecx, edx
sar ecx, 1
je 0x472261
mov eax, ecx
test ecx, ecx
jle 0x472040
lea edx, [esi - 2]
lea edx, [edx + ecx*2]
movzx edi, word [edx]
cmp edi, 0x2f
je 0x472012
cmp edi, 0x5c
jne 0x47201a
dec eax
sub edx, 2
test eax, eax
jg 0x472005
cmp eax, ecx
jge 0x472040
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004031a0
cmp dword [ebp - 0x24], 0
je 0x472261
mov edx, dword [ebp - 0x28]
mov esi, 0x649aa0
test edx, edx
je 0x472040
mov esi, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
test esi, esi
je 0x4720f5
cmp word [esi], 0
je 0x4720f5
cmp esi, 0x649aa0
je 0x4720f5
mov edi, esi
lea ecx, [edi + 2]
lea esp, [esp]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x472080
sub edi, ecx
sar edi, 1
cmp edi, 0xf8
jl 0x4720f5
push 4
push 0x65ba0c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
call fcn.004031a0
movzx eax, word [esi]
cmp eax, 0x2f
je 0x4720ba
cmp eax, 0x5c
jne 0x4720df
push 4
push str.UNC_
lea ecx, [ebp - 0x1c]
call fcn.004031a0
movzx eax, word [esi + 2]
add esi, 2
dec edi
cmp eax, 0x2f
je 0x4720db
cmp eax, 0x5c
jne 0x4720df
add esi, 2
dec edi
push edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.004031a0
mov esi, dword [ebp - 0x1c]
test esi, esi
jne 0x4720f5
mov esi, 0x649aa0
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push ebx
push esi
call edi
cmp eax, 0xffffffff
je 0x47211d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x1c]
mov esi, 1
call fcn.00403130
jmp 0x472263
cmp word [esi], 0x5c
jne 0x472255
cmp word [esi + 2], 0x5c
jne 0x472255
push 0x2b4
lea eax, [ebp + 0x250]
push 0
push eax
call fcn.004b40a0
add esp, 0xc
lea eax, [ebp + 0x250]
push 0x800
push 0x2b4
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x472255
cmp dword [ebp - 0x10], 0
je 0x47223e
push 0x250
push 0
push ebx
call fcn.004b40a0
add esp, 0xc
push ebx
push esi
call edi
cmp eax, 0xffffffff
je 0x472199
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x47223e
mov eax, dword [ebp + 0x258]
test eax, 0x20000000
je 0x4721a9
or dword [ebx], 0x10
test eax, 0x80000
je 0x4721b3
or dword [ebx], 2
test eax, 0x40000
je 0x4721bd
or dword [ebx], 1
test eax, 0x1000
je 0x4721c7
or dword [ebx], 4
test eax, 0x4000000
je 0x4721d4
or dword [ebx], 0x800
push esi
call fcn.00472f30
add eax, eax
lea edi, [esi - 2]
add edi, eax
mov dword [ebp - 0x10], eax
add esp, 4
cmp edi, esi
jbe 0x47223e
jmp 0x4721f0
movzx eax, word [edi]
push eax
call fcn.00472b90
add esp, 4
test eax, eax
jne 0x472209
sub edi, 2
cmp edi, esi
ja 0x4721f0
jmp 0x47223e
lea ecx, [edi + 2]
mov edi, dword [ebp - 0x10]
sub edi, ecx
add edi, esi
sar edi, 1
test edi, edi
jle 0x47223e
cmp edi, 0x103
jle 0x472226
mov edi, 0x103
lea eax, [edi + edi]
push eax
push ecx
lea eax, [ebx + 0x2c]
push eax
call fcn.004b3b20
add esp, 0xc
xor eax, eax
mov word [ebx + edi*2 + 0x2c], ax
lea ecx, [ebp - 0x1c]
call fcn.00403130
lea ecx, [ebp - 0x28]
call fcn.00403130
mov eax, 1
jmp 0x47227c
lea ecx, [ebp - 0x1c]
xor esi, esi
call fcn.00403130
jmp 0x472263
xor esi, esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 2
test eax, eax
je 0x47227a
push eax
call fcn.00446420
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x504]
xor ecx, ebp
call fcn.004b2558
lea esp, [ebp + 0x508]
pop ebp
ret