Function at 0x140018d50
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x350], rbx
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rdx
xor r15d, r15d
mov dword [rsp + 0x24], r15d
lea rcx, [rsp + 0x28]
call fcn.14000abf0
nop
lea rcx, [rbx + 8]
call fcn.140002e40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140018f72
shr eax, 4
and al, 1
je 0x140018f72
lea r8, [0x14013e098]
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x70]
call fcn.140009ea0
nop
lea rcx, [rbp - 0x70]
call fcn.140002e40
mov rcx, rax
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
nop dword [rax + rax]
test byte [rbp - 0x50], 0x10
je 0x140018edc
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x50]
call fcn.140002e90
nop
lea rdx, [0x14013e0a0]
lea rcx, [rsp + 0x50]
call fcn.140014de0
test al, al
jne 0x140018ed2
lea rdx, [0x14013e0a8]
lea rcx, [rsp + 0x50]
call fcn.140014de0
test al, al
jne 0x140018ed2
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x70]
call fcn.140002e90
nop
lea rcx, [rsp + 0x70]
call sym.OverwolfLauncher.exe_public:_class_Json::CharReader____ptr64___cdecl_Json::CharReader::operator_class_Json::CharReader_const____ptr64____ptr64
mov rdi, rax
lea rcx, [rsp + 0x28]
call fcn.140007130
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140006d40
mov rcx, qword [rax]
cmp qword [rdx], rcx
lea rcx, [rsp + 0x28]
je 0x140018eb1
call fcn.140006d40
mov rbx, rax
mov rdx, qword [rax]
mov ecx, 0x20
call fcn.140001150
mov rdx, rdi
mov rcx, rax
call fcn.140002e60
add qword [rbx], 0x20
jmp 0x140018ec7
call fcn.140006d40
mov r8, rdi
mov rdx, qword [rax]
lea rcx, [rsp + 0x28]
call fcn.140019250
nop
lea rcx, [rsp + 0x70]
call fcn.140002e50
nop
lea rcx, [rsp + 0x50]
call fcn.140002e50
lea rdx, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140018e00
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
lea rcx, [rsp + 0x28]
call sym.OverwolfLauncher.exe_public:_class_Json::CharReader____ptr64___cdecl_Json::CharReader::operator_class_Json::CharReader_const____ptr64____ptr64
mov r9, rax
mov rcx, rsi
call sym.OverwolfLauncher.exe_public:_class_Json::CharReader____ptr64___cdecl_Json::CharReader::operator_class_Json::CharReader_const____ptr64____ptr64
mov rcx, qword [r9]
mov qword [rax], rcx
lea rcx, [rsp + 0x28]
call fcn.140006d40
mov r8, rax
mov rcx, rsi
call fcn.140006d40
mov rcx, qword [r8]
mov qword [rax], rcx
lea rcx, [rsp + 0x28]
call fcn.140007130
mov rdx, rax
mov rcx, rsi
call fcn.140007130
mov rcx, qword [rdx]
mov qword [rax], rcx
mov qword [r9], r15
mov qword [r8], r15
mov qword [rdx], r15
mov dword [rsp + 0x24], 1
lea rcx, [rbp - 0x70]
call fcn.140002e50
jmp 0x140018fdf
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
lea rcx, [rsp + 0x28]
call sym.OverwolfLauncher.exe_public:_class_Json::CharReader____ptr64___cdecl_Json::CharReader::operator_class_Json::CharReader_const____ptr64____ptr64
mov r9, rax
mov rcx, rsi
call sym.OverwolfLauncher.exe_public:_class_Json::CharReader____ptr64___cdecl_Json::CharReader::operator_class_Json::CharReader_const____ptr64____ptr64
mov rcx, qword [r9]
mov qword [rax], rcx
lea rcx, [rsp + 0x28]
call fcn.140006d40
mov r8, rax
mov rcx, rsi
call fcn.140006d40
mov rcx, qword [r8]
mov qword [rax], rcx
lea rcx, [rsp + 0x28]
call fcn.140007130
mov rdx, rax
mov rcx, rsi
call fcn.140007130
mov rcx, qword [rdx]
mov qword [rax], rcx
mov qword [r9], r15
mov qword [r8], r15
mov qword [rdx], r15
mov dword [rsp + 0x24], 1
lea rcx, [rsp + 0x28]
call fcn.14000f240
mov rax, rsi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400dd420
mov rbx, qword [rsp + 0x350]
add rsp, 0x310
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret