Function at 0x100a8fe0
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101eb15b
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x102683e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x290], edi
movdqu xmm0, xmmword [str.User_Choice_set_via_Windows_User_Experience]
push 0x500000
mov dword [ebp - 0x298], 0
movdqu xmmword [ebp - 0x68], xmm0
movdqu xmm0, xmmword [0x102326d0]
movdqu xmmword [ebp - 0x58], xmm0
movdqu xmm0, xmmword [0x102326e0]
movdqu xmmword [ebp - 0x48], xmm0
movdqu xmm0, xmmword [0x102326f0]
movdqu xmmword [ebp - 0x38], xmm0
movdqu xmm0, xmmword [0x10232700]
movdqu xmmword [ebp - 0x28], xmm0
movq xmm0, qword [0x10232710]
movq qword [ebp - 0x18], xmm0
call fcn.101875f8
push 0x500000
mov ebx, eax
push 0
push ebx
call fcn.101a01b0
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x274], ax
lea eax, [ebp - 0x272]
push eax
call fcn.101a01b0
add esp, 0x1c
lea eax, [ebp - 0x274]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xor eax, eax
mov dword [ebp - 0x278], 7
mov dword [ebp - 0x27c], 0
mov word [ebp - 0x28c], ax
cmp word [ebp - 0x274], ax
jne 0x100a90ee
xor ecx, ecx
jmp 0x100a9106
lea ecx, [ebp - 0x274]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a90f7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x28c]
call fcn.10003c10
push 0xb
push str.shell32.dll
lea ecx, [ebp - 0x28c]
mov dword [ebp - 4], 0
call fcn.10003b30
cmp dword [ebp - 0x278], 8
lea eax, [ebp - 0x28c]
push 0
cmovae eax, dword [ebp - 0x28c]
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x294], eax
cmp eax, 0xffffffff
je 0x100a91e1
push 0
lea ecx, [ebp - 0x298]
push ecx
push 0x500000
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100a91e1
xor edi, edi
jmp 0x100a9190
lea edx, [edi + ebx]
mov esi, 0x52
lea eax, [ebp - 0x68]
jmp 0x100a91a0
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x100a91b9
add edx, 4
add eax, 4
sub esi, 4
jae 0x100a91a0
mov cx, word [edx]
cmp cx, word [eax]
je 0x100a91d9
inc edi
cmp edi, 0x4fffaa
jb 0x100a9190
or eax, 0xffffffff
mov edi, dword [ebp - 0x290]
cmp word [eax + ebx], 0
lea edx, [eax + ebx]
jne 0x100a91e6
xor ecx, ecx
jmp 0x100a91ff
mov eax, edi
test edi, edi
jne 0x100a91c5
jmp 0x100a9208
or eax, 0xffffffff
jmp 0x100a91cb
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x100a91f0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a91f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10003c10
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x100a9219
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x100a9226
push ebx
call fcn.101a1ad1
add esp, 4
cmp dword [ebp - 0x278], 8
jb 0x100a923d
push dword [ebp - 0x28c]
call fcn.101a02f0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101a0193
mov esp, ebp
pop ebp
ret