Function at 0x1400454d0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
movaps xmmword [rsp + 0x280], xmm6
mov rax, qword [0x1400de1e0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x60], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea rax, vtable.RegistryService.0
mov qword [rbp + 0x28], rax
mov rdx, rcx
lea rcx, [rbp + 0x28]
call fcn.14003fce0
mov edi, 1
mov dword [rsp + 0x30], edi
cmp qword [r14 + 0x10], r12
je 0x14004555c
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x14004554e
mov rcx, qword [r14]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140045a48
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov rsi, r12
mov qword [rbp + 0x40], r12
mov r15d, 7
mov qword [rbp + 0x48], r15
mov word [rbp + 0x30], r12w
test rbx, rbx
jne 0x140045603
lea rcx, [rsp + 0x40]
call fcn.140044e00
nop
lea r8d, [r15 - 1]
lea rdx, str.logs_
mov rcx, rax
call fcn.140010810
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r15
mov word [rax], r12w
mov edi, 0x41
mov dword [rsp + 0x30], edi
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm6
movdqa xmm0, xmmword [0x1400bebf0]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r12w
lea rcx, [rbp + 8]
call fcn.14000ad20
nop
lea rcx, [rsp + 0x40]
call fcn.14000ad20
movdqa xmm0, xmm6
psrldq xmm0, 8
movq r15, xmm0
movq rsi, xmm6
jmp 0x14004562e
lea rax, [rbp + 0x30]
cmp rax, rbx
je 0x14004562e
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14004561a
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.140010cf0
mov r15, qword [rbp + 0x48]
mov rsi, qword [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400b6e78]
mov qword [rbp + 0x70], rax
lea rax, [0x1400b6d40]
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
or edi, 2
mov dword [rsp + 0x30], edi
xor r8d, r8d
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x70], rax
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x6c], edx
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea r13, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x88], r13
mov qword [rbp + 0xf0], r12
mov dword [rbp + 0xf8], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
movdqa xmm1, xmmword [0x1400bebf0]
movdqu xmmword [rbp + 0x18], xmm1
mov word [rbp + 8], r12w
lea rcx, [rbp + 0x88]
call fcn.1400461a0
and dword [rbp + 0xf8], 0xffffffdf
mov qword [rbp + 0xf0], r12
lea rcx, [rbp + 8]
call fcn.14000ad20
lea rdx, str.arcc_
lea rcx, [rbp + 0x80]
call fcn.140046280
mov edx, dword [rbp - 0xc]
add edx, 0x76c
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400bc068]
call fcn.140046280
mov edx, dword [rbp - 0x10]
inc edx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400bc068]
call fcn.140046280
mov edx, dword [rbp - 0x14]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400bc080]
call fcn.140046280
mov edx, dword [rbp - 0x18]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400bc068]
call fcn.140046280
mov edx, dword [rbp - 0x1c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400bc068]
call fcn.140046280
mov edx, dword [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
mov rcx, rax
lea rdx, str..log
call fcn.140046280
nop
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
movdqa xmm1, xmmword [0x1400bebf0]
movdqu xmmword [rbp + 0x18], xmm1
mov word [rbp + 8], r12w
or edi, 8
mov dword [rsp + 0x30], edi
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
mov ecx, dword [rbp + 0xf8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14004584d
mov rax, qword [rbp + 0xc8]
mov r8, qword [rax]
test r8, r8
je 0x14004584d
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xf0]
cmovb r8, qword [rbp + 0xf0]
sub r8, rdx
sar r8, 1
jmp 0x140045889
test cl, 4
jne 0x140045881
mov rax, qword [rbp + 0xc0]
mov r8, qword [rax]
test r8, r8
je 0x140045881
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xd8]
movsxd rcx, dword [rax]
lea r8, [r8 + rcx*2]
sub r8, rdx
sar r8, 1
jmp 0x140045889
mov r8, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
test rdx, rdx
je 0x140045897
lea rcx, [rbp + 8]
call fcn.140010cf0
and edi, 0xfffffff7
or edi, 4
mov dword [rsp + 0x30], edi
lea r8, [rbp + 0x30]
cmp r15, 8
cmovae r8, qword [rbp + 0x30]
mov r9, rsi
lea rcx, [rbp + 8]
call fcn.140044130
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
or edi, 0x10
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140010890
lea rcx, [rsp + 0x40]
call fcn.14000ad20
nop
lea rcx, [rbp + 8]
call fcn.14000ad20
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140010930
mov rsi, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
mov r8d, 0x13
lea rdx, str.SoftwareIntelIGN_
lea rcx, [rbp + 0x50]
call fcn.140012c90
or edi, 0x20
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
mov r8d, 0xa
lea rdx, str.CurrentLog
lea rcx, [rbp + 8]
call fcn.140012c90
nop
lea rax, [rbp - 0x80]
mov qword [rsp + 0x68], rax
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140010930
mov rdi, rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x70], rax
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x60]
call fcn.140010930
mov rbx, rax
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.140010930
nop
mov qword [rsp + 0x20], 0xffffffff80000001
mov r9, rdi
mov r8, rbx
mov rdx, rax
call fcn.14003fb80
nop
lea rcx, [rbp + 8]
call fcn.14000ad20
nop
lea rcx, [rbp + 0x50]
call fcn.14000ad20
nop
mov rcx, rsi
call fcn.14000ad20
nop
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x70], rax
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x6c], edx
mov qword [rbp + 0x88], r13
lea rcx, [rbp + 0x88]
call fcn.1400461a0
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x90]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x30]
call fcn.14000ad20
mov rax, r14
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400a4d30
mov rbx, qword [rsp + 0x2e0]
movaps xmm6, xmmword [rsp + 0x280]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret