Function at 0x1400201a0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14009d2d0]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, rcx
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x40], r14d
lea r8, str.GlobalF39BC509_1D1D_42ce_9DAE_0A703B648AB9
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov qword [rbx], rax
test rax, rax
jne 0x140020358
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140020358
mov qword [rsp + 0x48], r14
xor r9d, r9d
lea r8, [rsp + 0x48]
lea edx, [rax - 1]
lea rcx, [0x14008dbac]
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x140020358
mov dword [rbp - 0x70], 0x18
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x68], rax
xor eax, eax
mov qword [rbp - 0x60], rax
lea r9, str.GlobalF39BC509_1D1D_42ce_9DAE_0A703B648AB9
xor r8d, r8d
lea edx, [rax + 1]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140020358
mov qword [rsp + 0x60], r14
mov byte [rsp + 0x68], dil
mov dword [rsp + 0x6c], 2
lea rax, vtable.ATL::CDacl.0
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov dword [rbp - 0x78], r14d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea edx, [r14 + 6]
lea r8d, [r14 + 4]
call qword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
test eax, eax
je 0x140020382
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov sil, 1
test dil, 2
je 0x1400202fc
and edi, 0xfffffffd
lea rcx, [rbp - 0x50]
call fcn.14001eca0
nop
test dil, 1
je 0x14002030b
lea rcx, [rbp + 0x30]
call fcn.14001eca0
test sil, sil
jne 0x14002034e
mov rdi, qword [rbx]
test rdi, rdi
je 0x14002034e
lea rcx, [rsp + 0x58]
call fcn.14001edb0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea edx, [r9 + 6]
lea r8d, [r9 + 4]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
lea rcx, [rsp + 0x58]
call fcn.14001f000
mov rax, rbx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140043760
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x1400203ad
mov rax, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
mov rax, qword [rax + 0x10]
call qword [case.0x1400408d8.0]
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.14001f360
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0x40], 0
je 0x1400202e6
mov dword [rsp + 0x20], 0x220
mov r9d, 0x20
lea r8d, [r9 - 0x1e]
lea rdx, [0x14008e908]
lea rcx, [rbp + 0x30]
call fcn.14001ea80
nop
mov edi, 5
mov dword [rsp + 0x40], edi
mov r8d, 0x100000
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14001f0c0
test al, al
je 0x1400202e6
lea r9d, [rdi + 0xd]
lea r8d, [rdi - 4]
lea rdx, [0x14008e908]
lea rcx, [rbp - 0x50]
call fcn.14001ea80
nop
mov edi, 0xf
mov dword [rsp + 0x40], edi
lea r8d, [rdi - 0xd]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x58]
call fcn.14001f0c0
test al, al
je 0x1400202e6
xor sil, sil
jmp 0x1400202e9