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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, qword [rbp + 0x30]
mov rdi, qword [rbx + 0xc8]
mov r12, qword [rbx + 0xd0]
cmp rdi, r12
je 0x1400454fb
mov r15d, 0x200
xor r13d, r13d
nop dword [rax]
mov eax, r15d
cmp byte [rbx + 0x278], 0
cmovne eax, r13d
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400452fb
mov rdx, qword [rdi]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x30], r13d
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x28]
lea r8, str.ProgramFolder
mov rcx, 0xffffffff80000002
call fcn.14008f850
test al, al
je 0x14004534e
lea rsi, [rbx + 0x158]
mov r9b, 1
mov r8, rsi
mov edx, dword [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.14008fa30
jmp 0x14004535b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rsi, [rbx + 0x158]
mov r14d, eax
lea rcx, [rbp - 0x28]
call fcn.140025210
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp qword [rbx + 0x168], 0
je 0x1400453b5
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140045387
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140045396
test al, 0x10
jne 0x1400453ab
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400453a3
mov rax, qword [rsi]
mov qword [rsi + 0x10], r13
mov word [rax], r13w
cmp qword [rbx + 0x168], 0
jne 0x1400453c7
add rdi, 0x20
cmp rdi, r12
jne 0x1400452e0
jmp 0x1400454fb
cmp byte [rbx + 0x278], 0
cmovne r15d, r13d
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400453df
mov rdx, qword [rdi]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x30], r13d
mov dword [rsp + 0x28], r15d
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x28]
lea r8, str.DataFolder
mov rcx, 0xffffffff80000002
call fcn.14008f850
test al, al
je 0x140045430
lea r8, [rbx + 0x178]
mov r9b, 1
mov edx, dword [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.14008fa30
jmp 0x140045436
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rcx, [rbp - 0x28]
call fcn.140025210
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp qword [rbx + 0x188], 0
je 0x140045495
lea rsi, [rbx + 0x178]
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140045467
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140045476
test al, 0x10
jne 0x14004548b
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140045483
mov rax, qword [rsi]
mov qword [rsi + 0x10], r13
mov word [rax], r13w
cmp qword [rbx + 0x188], 0
jne 0x1400454d9
mov edx, 0x23
lea rcx, [rbp - 0x50]
call fcn.14008dcc0
nop
lea r8, [rbx + 0x100]
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14004d4e0
lea rcx, [rbx + 0x178]
mov rdx, rax
call fcn.140029ff0
lea rcx, [rbp - 0x28]
call fcn.140025e80
nop
lea rcx, [rbp - 0x50]
call fcn.140025e80
lea rcx, [rbx + 0x138]
cmp rcx, rdi
je 0x1400454fb
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x1400454f3
mov rdi, qword [rdi]
mov rdx, rdi
call fcn.140025d30
cmp qword [rbx + 0x188], 0
je 0x140045534
lea r8, [rbx + 0xa8]
lea rdx, [rbx + 0x178]
lea rcx, [rbp - 0x50]
call fcn.14004d4e0
lea rcx, [rbx + 0x198]
mov rdx, rax
call fcn.140029ff0
lea rcx, [rbp - 0x50]
call fcn.140025e80
cmp qword [rbx + 0x168], 0
je 0x14004556d
lea r8, [rbx + 0x88]
lea rdx, [rbx + 0x158]
lea rcx, [rbp - 0x50]
call fcn.14004d4e0
lea rcx, [rbx + 0x1b8]
mov rdx, rax
call fcn.140029ff0
lea rcx, [rbp - 0x50]
call fcn.140025e80
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140133600
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret