Function at 0x464bb1
Capabilities:
Check if file exists
Get common file path
Get file size
Read file on windows

Disassembly:
push 0x65c
mov eax, 0x4d55e6
call fcn.004b6799
mov esi, ecx
lea edi, [esi + 0x60]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x640], esi
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x648], edi
call fcn.00466674
push 0x104
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.ASOROSet.bin
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
push ebx
push 3
push ebx
push ebx
push SysReAllocStringLen
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x630], eax
cmp eax, 0xffffffff
jne 0x464c2e
or eax, eax
jmp 0x464e98
push ebx
lea ecx, [ebp - 0x638]
push ecx
lea edi, [esi + 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0xc
push edi
push eax
mov dword [edi], ebx
call esi
mov ecx, dword [ebp - 0x640]
cmp dword [ecx + 0x5c], 2
mov dword [ebp - 0x634], eax
jne 0x464c6f
xor esi, esi
inc esi
push dword [ebp - 0x630]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x464e98
cmp eax, ebx
jne 0x464c78
push 0xfffffffffffffffe
pop esi
jmp 0x464c5c
mov dword [ebp - 0x63c], ebx
cmp dword [edi], ebx
ja 0x464ca8
push dword [ebp - 0x630]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x634], ebx
jne 0x464e85
push 0xfffffffffffffffd
pop eax
jmp 0x464e98
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea eax, [ebp - 0x638]
push eax
push 0x10
lea eax, [ebp - 0x65c]
push eax
push dword [ebp - 0x630]
call esi
mov dword [ebp - 0x634], eax
cmp eax, ebx
je 0x464c82
push ebx
lea eax, [ebp - 0x638]
push eax
mov eax, dword [ebp - 0x658]
add eax, eax
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x630]
call esi
mov dword [ebp - 0x634], eax
cmp eax, ebx
je 0x464c82
mov ecx, dword [ebp - 0x658]
xor eax, eax
mov word [ebp + ecx*2 - 0x218], ax
push ebx
lea eax, [ebp - 0x638]
push eax
mov eax, dword [ebp - 0x65c]
add eax, eax
push eax
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x630]
call esi
mov dword [ebp - 0x634], eax
cmp eax, ebx
je 0x464c82
mov ecx, dword [ebp - 0x65c]
xor eax, eax
mov word [ebp + ecx*2 - 0x628], ax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464d60
lea eax, [ebp - 0x218]
push eax
call fcn.00466147
push ebx
push ebx
push 3
push ebx
push 7
push ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x464d93
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [ebp - 0x62c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x464d99
mov dword [ebp - 0x62c], ebx
mov eax, dword [ebp - 0x654]
cmp dword [ebp - 0x62c], ebx
je 0x464daf
cmp eax, dword [ebp - 0x62c]
jbe 0x464db5
mov dword [ebp - 0x62c], eax
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x644]
call fcn.0040254f
mov esi, dword [ebp - 0x654]
mov dword [ebp - 0x64c], esi
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x668]
mov dword [ebp - 4], ebx
call fcn.004022fa
mov ecx, dword [ebp - 0x644]
mov eax, dword [ebp - 0x62c]
add ecx, 0xfffffff0
mov dword [ebp - 0x664], esi
mov dword [ebp - 0x660], eax
call fcn.00402845
mov edi, dword [ebp - 0x648]
mov dword [ebp - 4], 1
mov esi, dword [edi + 8]
cmp esi, ebx
jl 0x464e80
lea eax, [esi + 1]
call fcn.00466674
imul esi, esi, 0xc
mov eax, edi
add esi, dword [eax + 4]
lea eax, [ebp - 0x668]
push eax
mov ecx, esi
call fcn.004025ee
mov eax, dword [ebp - 0x64c]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x668]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x62c]
add ecx, 0xfffffff0
mov dword [esi + 8], eax
call fcn.00402845
inc dword [ebp - 0x63c]
mov eax, dword [ebp - 0x640]
mov ecx, dword [ebp - 0x63c]
add eax, 0x54
cmp ecx, dword [eax]
jb 0x464ca2
jmp 0x464c82
call fcn.004920bc
mov eax, dword [ebp - 0x640]
mov eax, dword [eax + 0x5c]
sub eax, 8
neg eax
sbb eax, eax
and eax, 2
call fcn.004b681c
ret