Function at 0x1400024f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003d080]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r14, rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x140037a80]
movdqu xmmword [rsp + 0x78], xmm1
xor r15d, r15d
mov word [rsp + 0x68], r15w
call fcn.140005be0
test eax, eax
je 0x140002791
mov r8d, eax
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
lea rsi, [r15 - 1]
test rax, rax
je 0x1400025c2
mov r9d, 0x104
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x1400025b9
lea rax, [rbp - 0x70]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400025a0
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.1400042b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.140005900
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140005810
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0x68
cmp qword [rdx + 0x18], 8
jb 0x14000260d
mov rdx, qword [rdx]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140037a80]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], r15w
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140002630
lea rcx, [rsp + 0x38]
call fcn.1400042b0
nop
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 0x14
jb 0x140002691
lea rdi, [rcx + 0x14]
mov qword [rsp + 0x48], rdi
lea rbx, [rsp + 0x38]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x38]
lea rcx, [rbx + rcx*2]
mov r8d, 0x28
lea rdx, str.OverwolfLauncher.exe
call fcn.140009570
mov word [rbx + rdi*2], r15w
jmp 0x1400026b0
mov qword [rsp + 0x20], 0x14
lea r9, str.OverwolfLauncher.exe
mov edx, 0x14
lea rcx, [rsp + 0x38]
call fcn.1400053e0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400026fd
test al, 0x10
jne 0x1400026fd
lea rax, [rsp + 0x38]
cmp r14, rax
je 0x1400026f8
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
mov rcx, r14
call fcn.1400042b0
mov dil, 1
jmp 0x140002700
xor dil, dil
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140002742
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000273d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000281b
call fcn.140007ac4
movdqa xmm0, xmmword [0x140037a80]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000278f
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000278f
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14000278f
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x140002794
xor dil, dil
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400027d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002815
call fcn.140007ac4
movdqa xmm0, xmmword [0x140037a80]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r15w
movzx eax, dil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140007aa0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14000eb84
nop
call fcn.14000eb84
int3