Function at 0x14008eab0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r14, rcx
call fcn.140010fb4
mov rcx, rax
test rax, rax
jne 0x14008eaeb
mov ecx, 0x80004005
call fcn.140010d40
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
call fcn.14008edc8
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.140008b54
lea rdi, [r14 + 8]
lea r9, [r14 + 0x30]
mov r8, qword [r14]
lea rdx, str._s_sProfiles
mov rcx, rdi
call fcn.14000da78
call fcn.140010fb4
mov rcx, rax
test rax, rax
jne 0x14008eb43
mov ecx, 0x80004005
call fcn.140010d40
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
mov rsi, rax
lea rcx, [rax + 0x18]
mov qword [rsp + 0x38], rcx
call fcn.140010fb4
mov rcx, rax
test rax, rax
jne 0x14008eb6d
mov ecx, 0x80004005
call fcn.140010d40
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rbp + 0xd0], rax
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
or r12, 0xffffffffffffffff
test eax, eax
je 0x14008ed4e
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140010a98
nop
lea rcx, str..
call fcn.140051300
mov r8d, eax
lea rdx, str..
lea rcx, [rsp + 0x20]
call fcn.14000a930
lea rdx, [rsp + 0x40]
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r15, rax
cmp rax, r12
jne 0x14008ebe5
lea rdx, [rbx - 0x18]
jmp 0x14008ed35
mov eax, dword [rsp + 0x40]
shr eax, 4
and al, 1
cmp byte [rsp + 0x6c], 0x2e
je 0x14008eca6
test al, al
je 0x14008eca6
call fcn.140010fb4
test rax, rax
je 0x14008ed17
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + Ordinal_26]
add rax, 0x18
mov qword [rbp + 0xd8], rax
lea r9, [rsp + 0x6c]
mov r8, qword [rdi]
lea rdx, [0x1400bd11c]
lea rcx, [rbp + 0xd8]
call fcn.14000da78
mov rbx, qword [rbp + 0xd8]
cmp dword [rbx - 0x10], 0
jl 0x14008ec8a
lea rdx, str..default
mov rcx, rbx
call fcn.140060390
test rax, rax
je 0x14008ec8a
cmp eax, ebx
js 0x14008ec8a
mov r8, rbx
lea rdx, str._sprefs.js
lea rcx, [rbp + 0xd0]
call fcn.14000da78
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x14008ecbd
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14008eca6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x14008ed22
jmp 0x14008ebe5
lea rcx, [rsp + 0x6c]
call fcn.140051300
mov r8d, eax
lea rdx, [rsp + 0x6c]
lea rcx, [r14 + 0x20]
call fcn.140010888
lea rcx, [r14 + 0x10]
lea rdx, [rbp + 0xd0]
call fcn.140008b54
lea rcx, [r14 + 0x18]
lea rdx, [rbp + 0xd8]
call fcn.140008b54
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14008ed22
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14008ed22
mov ecx, 0x80004005
call fcn.140010d40
int3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14008ed4e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp + 0xd0]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14008ed72
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov eax, r12d
lock xadd dword [rsi + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14008ed8e
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14008edaf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
add rsp, 0x180
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret