Function at 0x140066fa0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x38], rcx
mov qword [rbp + 0x90], rdx
mov qword [rbp + 0x98], r8
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov rdx, r8
mov rcx, rsi
call fcn.140066674
test eax, eax
je 0x140067016
mov rcx, rsi
call fcn.140011278
nop
mov rcx, rdi
call fcn.140011278
mov al, 1
jmp 0x1400677dd
test byte [0x1400d3b01], 8
je 0x140067033
mov r9, qword [rdi + 8]
mov r8, qword [rsi + 8]
lea rdx, [0x1400b18b8]
call fcn.1400682fc
mov dword [rsp + 0x34], 0xa
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.14002e8f4
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.140066738
nop
mov dword [rsp + 0x40], 1
mov rcx, qword [rax + 8]
call fcn.14002d5d8
test al, al
je 0x140067096
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.14002e8f4
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.140066738
mov rdx, rax
call fcn.1400678b4
test al, al
mov bl, 1
jne 0x140067099
mov bl, r12b
lea rcx, [rbp + 0xa0]
call fcn.140011278
test bl, bl
je 0x1400670d2
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.140066738
mov rdx, rax
mov rcx, r14
call fcn.140066b74
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.14002d954
mov rcx, qword [rax + 8]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
nop dword [rax + rax]
mov ebx, eax
lea rcx, [rbp + 0x140]
call fcn.140011278
test ebx, ebx
je 0x14006715a
mov r14d, 0x800700b7
mov rax, qword [rdi + 8]
mov qword [rsp + 0x28], rax
lea rax, str.NewDir:__ls
mov r9d, r14d
mov edx, 0x1d2
mov rcx, qword [rbp + 0x238]
mov qword [rsp + 0x20], rax
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutillindexmove.cxx
call fcn.14005acfc
mov r15b, r12b
mov byte [rsp + 0x30], r12b
mov byte [rsp + 0x31], r12b
jmp 0x140067470
mov dword [rsp + 0x34], SafeArrayPutElement
mov r9d, dword [rsi + 0x14]
cmp dword [rdi + 0x14], r9d
jb 0x1400671d5
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400127e0
mov dword [rbp + 0x1e0], r12d
mov eax, dword [rsi + 0x14]
mov dword [rbp + 0x1e4], eax
mov qword [rbp + 0x1e8], rsi
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x40]
call fcn.140018478
test eax, eax
je 0x1400671d5
mov rdx, qword [rdi + 8]
mov eax, dword [rsi + 0x14]
cmp word [rdx + rax*2], 0x5c
jne 0x1400671d5
mov r9d, 0x8007007b
mov r14d, r9d
mov qword [rsp + 0x28], rdx
lea rax, str.NewDirChild:__ls
mov edx, 0x1de
jmp 0x140067130
mov r9d, dword [rdi + 0x14]
cmp dword [rsi + 0x14], r9d
jb 0x14006724c
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400127e0
mov dword [rbp + 0x1e0], r12d
mov eax, dword [rdi + 0x14]
mov dword [rbp + 0x1e4], eax
mov qword [rbp + 0x1e8], rdi
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x40]
call fcn.140018478
test eax, eax
je 0x14006724c
mov ecx, dword [rdi + 0x14]
mov rax, qword [rsi + 8]
cmp word [rax + rcx*2], 0x5c
jne 0x14006724c
mov r9d, 0x8007007b
mov r14d, r9d
mov rax, qword [rdi + 8]
mov qword [rsp + 0x28], rax
lea rax, str.NewDirParent:__ls
mov edx, 0x1e5
jmp 0x140067130
mov dword [rsp + 0x34], 0x1e
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.14002d4fc
test byte [0x1400d3b01], 8
je 0x14006728e
mov r9, qword [rdi + 8]
mov r8, qword [rsi + 8]
lea rdx, [0x1400b18a8]
call fcn.1400682fc
lea rax, [rbp + 0x140]
mov qword [rbp + 0x1e0], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.14002d954
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.14002e8f4
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14002d954
nop
mov r8, rbx
mov rdx, rax
mov rcx, r14
call fcn.140066858
mov r14d, eax
mov rcx, qword [rbp + 0x238]
test eax, eax
jns 0x140067307
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutillindexmove.cxx
mov edx, 0x1f5
call fcn.14002889c
mov r15b, 1
test r14d, r14d
js 0x140067381
mov dword [rsp + 0x34], 0x28
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x1e0], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x140]
call fcn.14002e8f4
nop
mov r8, rbx
mov rdx, rax
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140067b1c
mov r14d, eax
mov rcx, qword [rbp + 0x238]
test eax, eax
jns 0x14006737c
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutillindexmove.cxx
mov edx, 0x1fe
call fcn.14002889c
mov r12b, 1
jmp 0x140067386
mov rbx, qword [rsp + 0x38]
mov byte [rsp + 0x33], r15b
mov byte [rsp + 0x30], 0
test r14d, r14d
js 0x140067466
mov dword [rsp + 0x34], 0x32
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rdx, rax
call fcn.1400679ac
mov r14d, eax
mov rcx, qword [rbp + 0x238]
test eax, eax
jns 0x1400673df
mov edx, 0x207
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutillindexmove.cxx
mov r9d, eax
call fcn.14002889c
jmp 0x14006746b
mov byte [rsp + 0x30], 1
mov r15b, byte [rsp + 0x33]
mov dword [rsp + 0x34], 0x3c
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rdx, rax
mov rcx, rbx
call fcn.140068164
mov r14d, eax
mov rcx, qword [rbp + 0x238]
test eax, eax
jns 0x140067420
mov edx, 0x214
jmp 0x1400673cb
mov byte [rsp + 0x31], r15b
test byte [0x1400d3b01], 8
je 0x140067445
mov r8, qword [rsi + 8]
lea rdx, [0x1400b1898]
lea rcx, [0x1400d0680]
call fcn.14005ccd8
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rdx, rax
mov rcx, rbx
call fcn.140066a6c
mov byte [rsp + 0x30], r15b
jmp 0x140067470
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x31], 0
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x1e0], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x140]
call fcn.14002e8f4
nop
mov dword [rsp + 0x20], r14d
mov r9d, dword [rsp + 0x34]
mov r8, rbx
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.140067ef4
test r14d, r14d
jns 0x1400677c1
test byte [0x1400d3b01], 8
je 0x1400674f1
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, [0x1400b18d8]
lea rcx, [0x1400d0680]
call fcn.14005cb7c
lea rbx, str.Rollback:__ls
test r12b, r12b
je 0x1400677ff
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x1e0], rax
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rbx, rax
mov rdx, rdi
lea rcx, [rbp + 0x140]
call fcn.14002e8f4
nop
mov r8, rbx
mov rdx, rax
mov r12, qword [rsp + 0x38]
mov rcx, r12
call fcn.140067b1c
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x1400675c8
mov rdx, qword [rdi + 8]
mov rcx, qword [rbp + 0x238]
mov qword [rsp + 0x28], rdx
lea rdx, str.Rollback:__ls
mov qword [rsp + 0x20], rdx
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutillindexmove.cxx
mov edx, 0x22d
call fcn.14005acfc
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x1e0], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x140]
call fcn.14002e8f4
nop
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x20], ecx
mov r9d, 0xc8
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.140068040
lea rbx, str.Rollback:__ls
test r15b, r15b
je 0x14006768b
test byte [0x1400d3b01], 8
je 0x1400675f8
mov r8, qword [rdi + 8]
lea rdx, [0x1400b18c8]
lea rcx, [0x1400d0680]
call fcn.14005ccd8
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rdx, rax
mov rcx, r12
call fcn.140066a6c
mov r15d, eax
test eax, eax
jns 0x14006768b
mov rdx, qword [rdi + 8]
mov rcx, qword [rbp + 0x238]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutillindexmove.cxx
mov edx, 0x237
call fcn.14005acfc
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x1e0], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x140]
call fcn.14002e8f4
nop
mov dword [rsp + 0x20], r15d
mov r9d, 0xd2
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.140068040
cmp byte [rsp + 0x30], 0
je 0x14006771b
call fcn.140067a80
mov r15d, eax
test eax, eax
jns 0x14006771b
mov rdx, qword [rsi + 8]
mov rcx, qword [rbp + 0x238]
mov qword [rsp + 0x28], rdx
lea rdx, str.Rollback:__ls
mov qword [rsp + 0x20], rdx
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutillindexmove.cxx
mov edx, 0x240
call fcn.14005acfc
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x1e0], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x140]
call fcn.14002e8f4
nop
mov dword [rsp + 0x20], r15d
mov r9d, 0xdc
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.140068040
cmp byte [rsp + 0x31], 0
je 0x1400677c1
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rdx, rax
mov rcx, r12
call fcn.140068164
mov r15d, eax
test eax, eax
jns 0x1400677c1
mov rdx, qword [rsi + 8]
mov rcx, qword [rbp + 0x238]
mov qword [rsp + 0x28], rdx
lea rax, str.Rollback:__ls
mov qword [rsp + 0x20], rax
mov r9d, r15d
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutillindexmove.cxx
mov edx, 0x249
call fcn.14005acfc
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x1e0], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x140]
call fcn.14002e8f4
nop
mov dword [rsp + 0x20], r15d
mov r9d, 0xe6
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.140068040
nop
shr r14d, 0x1f
xor r14b, 1
mov rcx, rsi
call fcn.140011278
nop
mov rcx, rdi
call fcn.140011278
mov al, r14b
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140036b80
add rsp, 0x300
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r12, qword [rsp + 0x38]
jmp 0x1400675cf