Function at 0x14004cc30
Capabilities:
Check if file exists

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rsi, rcx
mov r14, rdx
mov qword [rsp + 0x20], rdx
xor r15d, r15d
lea rbx, [rcx + 0x40]
mov qword [rsp + 0x20], rbx
mov rax, qword [0x14017f468]
test rax, rax
je 0x14004cc91
call qword [case.0x1400a96cf.0]
test al, al
jne 0x14004cc9a
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
nop
cmp qword [rsi + 0x30], 0
jne 0x14004cccb
mov rax, qword [rsi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x1400a96cf.0]
lea rcx, [rsi + 0x20]
mov rdx, rax
call fcn.140025ba0
lea rcx, [rsp + 0x40]
call fcn.14000c080
lea r12, vtable.std::_Ref_count_class_asw::ini::IniFile_.0
cmp qword [rsi + 0x10], 0
je 0x14004cd2b
cmp qword [rsi + 0x30], 0
je 0x14004cd2b
lea rcx, [rsi + 0x20]
cmp qword [rcx + 0x18], 7
jbe 0x14004ccee
mov rcx, qword [rcx]
lea r8, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14004ce49
lea rdx, [rsi + 8]
lea rcx, [rsp + 0x84]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov rax, qword [rsp + 0x84]
mov qword [rsi + 8], rax
test ecx, ecx
jle 0x14004ce49
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov ecx, 0x28
call fcn.1400b8a40
mov rdi, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
mov qword [rdi + 0x20], rax
mov rcx, rdi
call fcn.140050a30
mov rcx, rdi
call fcn.140050b70
nop
mov qword [rsp + 0x38], rdi
mov ecx, 0x18
call fcn.1400b8a40
mov rbx, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r12
mov qword [rax + 0x10], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rax
lea rdx, [rsi + 0x20]
mov rcx, rdi
call fcn.14009a2d0
mov ebp, 0xffffffff
test al, al
jne 0x14004cdc2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14004ce0f
lock inc dword [rbx + 8]
mov qword [rsi + 0x10], rdi
mov rdi, qword [rsi + 0x18]
mov qword [rsi + 0x18], rbx
test rdi, rdi
je 0x14004ce0f
mov eax, ebp
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14004ce0f
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x1400a96cf.0]
mov eax, ebp
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14004ce0f
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x1400a96cf.0]
nop
mov eax, ebp
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004ce44
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400a96cf.0]
lock xadd dword [rbx + 0xc], ebp
cmp ebp, 1
jne 0x14004ce44
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400a96cf.0]
mov rbx, qword [rsp + 0x20]
cmp qword [rsi + 0x10], 0
je 0x14004ce7a
mov qword [r14], r15
mov qword [r14 + 8], r15
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14004ce69
lock inc dword [rax + 8]
mov rbx, qword [rsp + 0x20]
mov rax, qword [rsi + 0x10]
mov qword [r14], rax
mov rax, qword [rsi + 0x18]
mov qword [r14 + 8], rax
jmp 0x14004ceea
mov ecx, 0x28
call fcn.1400b8a40
mov rdi, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
mov qword [rdi + 0x20], rax
mov rcx, rdi
call fcn.140050a30
mov rcx, rdi
call fcn.140050b70
nop
mov qword [r14], r15
mov qword [r14 + 8], r15
mov qword [rsp + 0x28], rdi
mov ecx, 0x18
call fcn.1400b8a40
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r12
mov qword [rax + 0x10], rdi
mov qword [r14], rdi
mov qword [r14 + 8], rax
mov rax, qword [0x14017f468]
test rax, rax
je 0x14004cf00
call qword [case.0x1400a96cf.0]
test al, al
jne 0x14004cf09
mov rcx, rbx
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
nop
mov rax, r14
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400b89f0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret