Function at 0x140047200
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 [0x140241cc0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, qword [rbp + 0x30]
mov rbx, qword [rdi + 0xc8]
mov r12, qword [rdi + 0xd0]
cmp rbx, r12
je 0x14004747b
mov r15d, 0x200
xor r13d, r13d
nop dword [rax]
mov eax, r15d
cmp byte [rdi + 0x260], 0
cmovne eax, r13d
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14004727b
mov rdx, qword [rbx]
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.14009ff50
test al, al
je 0x1400472ce
lea rsi, [rdi + 0x158]
mov r9b, 1
mov r8, rsi
mov edx, dword [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.1400a0130
jmp 0x1400472db
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rsi, [rdi + 0x158]
mov r14d, eax
lea rcx, [rbp - 0x28]
call fcn.140025240
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp qword [rdi + 0x168], 0
je 0x140047335
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140047307
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140047316
test al, 0x10
jne 0x14004732b
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140047323
mov rax, qword [rsi]
mov qword [rsi + 0x10], r13
mov word [rax], r13w
cmp qword [rdi + 0x168], 0
jne 0x140047347
add rbx, 0x20
cmp rbx, r12
jne 0x140047260
jmp 0x14004747b
cmp byte [rdi + 0x260], 0
cmovne r15d, r13d
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14004735f
mov rdx, qword [rbx]
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.14009ff50
test al, al
je 0x1400473b0
lea r8, [rdi + 0x178]
mov r9b, 1
mov edx, dword [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.1400a0130
jmp 0x1400473b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rcx, [rbp - 0x28]
call fcn.140025240
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp qword [rdi + 0x188], 0
je 0x140047415
lea rsi, [rdi + 0x178]
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400473e7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400473f6
test al, 0x10
jne 0x14004740b
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140047403
mov rax, qword [rsi]
mov qword [rsi + 0x10], r13
mov word [rax], r13w
cmp qword [rdi + 0x188], 0
jne 0x140047459
mov edx, 0x23
lea rcx, [rbp - 0x50]
call fcn.14009e3c0
nop
lea r8, [rdi + 0x100]
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140050490
lea rcx, [rdi + 0x178]
mov rdx, rax
call fcn.14002a100
lea rcx, [rbp - 0x28]
call fcn.140025f00
nop
lea rcx, [rbp - 0x50]
call fcn.140025f00
lea rcx, [rdi + 0x138]
cmp rcx, rbx
je 0x14004747b
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x140047473
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.140025db0
cmp qword [rdi + 0x168], 0
je 0x1400474b4
lea r8, [rdi + 0x88]
lea rdx, [rdi + 0x158]
lea rcx, [rbp - 0x50]
call fcn.140050490
lea rcx, [rdi + 0x198]
mov rdx, rax
call fcn.14002a100
lea rcx, [rbp - 0x50]
call fcn.140025f00
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140144310
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