Function at 0x140114d00
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140148058]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, qword [rbp + 0x1d8]
xor ebx, ebx
mov rdi, rcx
mov r14d, r8d
mov dword [rsp + 0x30], edx
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0x206
mov r13, r9
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], rbx
mov word [rsp + 0x60], bx
call sub.msvcrt.dll_memset
lea r15d, [rbx + 0x57]
test r13, r13
jne 0x140114daa
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x140115163
test byte [rcx + 0x1c], 1
je 0x140115163
lea edx, [rbx + 0x44]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400015b8]
call fcn.14000fcb0
jmp 0x140115163
cmp dword [rbp + 0x1d0], ebx
jne 0x140114dda
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x140115163
test byte [rcx + 0x1c], 1
je 0x140115163
mov edx, 0x45
jmp 0x140114d95
test r14b, 0x10
je 0x140114eb9
lea rdx, [rsp + 0x60]
lea rcx, [0x140115198]
xor r9d, r9d
xor r8d, r8d
call fcn.140113520
mov r9d, eax
test eax, eax
jns 0x140114e3b
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x140114e30
test byte [rcx + 0x1c], 1
je 0x140114e30
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400015b8]
mov edx, 0x46
call fcn.14000fd64
mov r15d, 3
jmp 0x140115163
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test rax, rax
jne 0x140114e74
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x140115163
test byte [rcx + 0x1c], 1
je 0x140115163
mov edx, 0x47
jmp 0x140114d95
lea rcx, [rsp + 0x60]
mov r8, rax
mov edx, 0x104
call fcn.140105170
test eax, eax
jns 0x14011505c
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x140115163
test byte [rcx + 0x1c], 1
je 0x140115163
mov edx, 0x48
jmp 0x140114d95
test r14b, 0x20
je 0x140115008
test rsi, rsi
je 0x140114fdd
cmp qword [rsi], rbx
je 0x140114fdd
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsrchr]
mov rbx, rax
test rax, rax
jne 0x140114ef0
mov rbx, rdi
jmp 0x140114ef4
add rbx, 2
or rax, 0xffffffffffffffff
xor edi, edi
inc rax
cmp word [rbx + rax*2], di
jne 0x140114efa
cmp rax, 4
jb 0x140114fb2
add rax, 0xfffffffffffffffc
lea rdx, [0x1401151d8]
lea rcx, [rbx + rax*2]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140114fb2
mov rdx, qword [rsi]
lea r8, [rsp + 0x60]
lea rcx, [0x1401151e8]
call fcn.14011f6ac
test eax, eax
jns 0x140114f6d
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x140115163
test byte [rcx + 0x1c], 1
je 0x140115163
mov edx, 0x4b
jmp 0x140114d95
lea rcx, [rsp + 0x60]
mov r8, rbx
mov edx, 0x104
call fcn.140105170
xor ebx, ebx
test eax, eax
jns 0x14011505c
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x140115163
test byte [rcx + 0x1c], 1
je 0x140115163
lea edx, [rbx + 0x4c]
jmp 0x140114d95
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x140115163
test byte [rcx + 0x1c], 1
je 0x140115163
mov edx, 0x4a
jmp 0x140114d95
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x140115163
test byte [rcx + 0x1c], 1
je 0x140115163
mov edx, 0x49
jmp 0x140114d95
lea rcx, [rsp + 0x60]
mov r8, rdi
mov edx, 0x104
call fcn.140044bb0
mov r9d, eax
test eax, eax
jns 0x14011505c
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x140115163
test byte [rcx + 0x1c], 1
je 0x140115163
mov edx, 0x4d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400015b8]
call fcn.14000fd64
jmp 0x140115163
mov esi, dword [rsp + 0x30]
test esi, esi
je 0x1401150ed
mov edi, dword [rbp + 0x1d0]
lea r8, [rsp + 0x60]
mov r9d, ebx
mov rdx, rdi
mov rcx, r13
call fcn.1400780b0
mov r9d, eax
test eax, eax
js 0x14011513d
mov rcx, r13
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
je 0x140115138
test r14b, 1
jne 0x140115138
test r14b, 2
je 0x1401150e7
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, r13
call sub.KERNEL32.dll_GetFileAttributesExW
test eax, eax
je 0x1401150e7
test ebx, ebx
je 0x1401150d9
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x28]
call sub.KERNEL32.dll_CompareFileTime
test eax, eax
jle 0x1401150e7
mov rax, qword [rsp + 0x4c]
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], rax
inc ebx
cmp ebx, esi
jb 0x14011506e
test r14b, 2
je 0x140115163
mov edx, dword [rbp + 0x1d0]
mov r9d, dword [rsp + 0x20]
lea r8, [rsp + 0x60]
mov rcx, r13
call fcn.1400780b0
mov r9d, eax
xor eax, eax
test r9d, r9d
jns 0x140115160
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x140115163
test byte [rcx + 0x1c], 1
je 0x140115163
mov edx, 0x4f
jmp 0x140115047
mov r15d, ecx
jmp 0x140115163
mov rcx, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp rcx, rax
je 0x140115163
test byte [rcx + 0x1c], 1
je 0x140115163
mov edx, 0x4e
jmp 0x140115047
mov r15d, eax
mov eax, r15d
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140001000
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret