Function at 0x1400e90f9
Capabilities:
Check if file exists

Disassembly:
test rdx, rdx
je 0x1400e940e
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rdx
mov r14, rcx
lea rdx, str.__set_log_lev0
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1400e9159
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400e93e8
lea rdx, str.__set_log_lev1
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1400e9181
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400e93e8
lea rdx, str.__set_log_lev2
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1400e91a9
mov rax, qword [r14]
mov edx, 2
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400e93e8
lea rdx, str.__set_log_lev3
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1400e91d1
mov rax, qword [r14]
mov edx, 3
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400e93e8
lea rdx, str.__reload_log_switch
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1400e93e8
lea rbx, [r14 + 8]
mov qword [rbp - 0x11], rbx
test rbx, rbx
je 0x1400e9201
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov dword [r14 + 0x30], 3
lea rdi, [r14 + 0x48]
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
mov r15, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x1400e9223
mov rdi, qword [rdi]
cmp r15, 8
jae 0x1400e9238
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 9], xmm0
mov r13d, 7
jmp 0x1400e9274
mov r13, r15
or r13, 7
movabs rax, 0x7ffffffffffffffe
cmp r13, rax
cmova r13, rax
lea rdx, [r13 + 1]
lea rcx, [rbp - 9]
call fcn.140013040
mov qword [rbp - 9], rax
lea r8, [r15*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.140289020
mov qword [rbp + 0xf], r13
mov qword [rbp + 7], r15
mov rax, r13
sub rax, r15
xor r12d, r12d
cmp rax, 3
jb 0x1400e92bc
lea rsi, [r15 + 3]
mov qword [rbp + 7], rsi
lea rdi, [rbp - 9]
cmp r13, 8
cmovae rdi, qword [rbp - 9]
lea rcx, [rdi + r15*2]
lea r8d, [r12 + 6]
lea rdx, [0x14030c938]
call fcn.140289020
mov word [rdi + rsi*2], r12w
jmp 0x1400e92dc
mov qword [rsp + 0x20], 3
lea r9, [0x14030c938]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rbp - 9]
call fcn.1400e8540
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400e92f8
mov dword [r14 + 0x30], r12d
cmp qword [r14 + 0x40], r12
je 0x1400e938c
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax + InitCommonControls]
test al, al
je 0x1400e938c
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], r12w
mov r8d, SafeArrayCopy
lea rdx, str._______log_reload_switch
lea rcx, [rbp - 0x39]
call fcn.1400810d0
nop
mov rcx, qword [r14 + 0x40]
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
call qword [rax]
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x1400e938c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e9386
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e9415
call fcn.140171af0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x1400e93c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e93c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e940f
call fcn.140171af0
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], r12w
test rbx, rbx
je 0x1400e93e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140172190
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14028c66c
nop
call fcn.14028c66c
int3