Function at 0x140004fd0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x140092060]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov rdi, r8
movzx r14d, dl
mov rsi, rcx
add rcx, 8
cmp qword [rsi + 0x20], 8
jb 0x140005015
mov rcx, qword [rsi + 8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140005408
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x40]
call fcn.140045200
movzx eax, word [rsp + 0x76]
movzx ecx, word [rsp + 0x72]
movzx r9d, word [rsp + 0x70]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea r8, [0x140084340]
lea rdx, str._hs__4d_02d_02d.log
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [0x140084378]
lea rdx, [rsi + 8]
lea rcx, [rsp + 0x50]
call fcn.140008480
nop
lea rcx, [rbp + 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rcx + r8*2], 0
jne 0x140005093
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.1400082f0
xor r15d, r15d
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14000511a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005115
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005434
call fcn.140042ba4
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x250]
call fcn.140045200
movzx eax, word [rsp + 0x7e]
movzx ecx, word [rsp + 0x7c]
movzx edx, word [rsp + 0x7a]
movzx r10d, word [rsp + 0x78]
movzx r11d, word [rsp + 0x76]
movzx r9d, word [rsp + 0x72]
movzx r8d, word [rsp + 0x70]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea rdx, str.__4d__02d__02d__02d:_02d:_02d._03d_
lea rcx, [rbp + 0x250]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
lea rax, [rbp + 0x250]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x1400051b2
lea rdx, [rbp + 0x250]
lea rcx, [rbp - 0x80]
call fcn.140002770
nop
mov ecx, r14d
test r14b, r14b
je 0x140005240
sub ecx, 1
je 0x14000522a
sub ecx, 1
je 0x14000521b
sub ecx, 1
je 0x14000520c
cmp ecx, 1
lea rcx, [rbp - 0x80]
je 0x1400051fd
mov r8d, 0x16
lea rdx, str._TRACE_LEVEL_VERBOSE_
jmp 0x14000523b
mov r8d, 0x1a
lea rdx, str._TRACE_LEVEL_INFORMATION_
jmp 0x14000523b
mov r8d, 0x16
lea rdx, str._TRACE_LEVEL_WARNING_
jmp 0x140005237
mov r8d, 0x14
lea rdx, str._TRACE_LEVEL_ERROR_
jmp 0x140005237
mov r8d, 0x17
lea rdx, str._TRACE_LEVEL_CRITICAL_
lea rcx, [rbp - 0x80]
call fcn.1400082f0
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140005240
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400082f0
lea rcx, [0x140095d60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
lea rbx, [rsi + 0x28]
mov rcx, rbx
call fcn.1400070b0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
lea rcx, [rbp - 0x40]
call fcn.140005fa0
nop
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r8, qword [rbp - 0x80]
mov rax, qword [rbp - 0x70]
lea r9, [r8 + rax*2]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.140007890
nop
lea rcx, [rbp - 0x40]
call fcn.140005eb0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140008600
mov rcx, rax
call fcn.1400088c0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14000533d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005338
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000543a
call fcn.140042ba4
cmp qword [rsi + 0xb0], 0
je 0x14000536d
lea rcx, [rbx + 8]
call fcn.140007de0
test rax, rax
jne 0x14000536d
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov edx, dword [rcx + 0x10]
or edx, 2
xor r8d, r8d
call fcn.140007f10
lea rcx, [0x140095d60]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400053bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400053b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005440
call fcn.140042ba4
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140005408
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005403
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000542e
call fcn.140042ba4
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.140042660
mov rbx, qword [rsp + 0x5a8]
add rsp, 0x570
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400494f8
nop
call fcn.1400494f8
nop
call fcn.1400494f8
nop
call fcn.1400494f8
int3