Function at 0x1400672c0
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.140066994
test eax, eax
je 0x140067336
mov rcx, rsi
call fcn.140011278
nop
mov rcx, rdi
call fcn.140011278
mov al, 1
jmp 0x140067afd
test byte [0x1400d3b41], 8
je 0x140067353
mov r9, qword [rdi + 8]
mov r8, qword [rsi + 8]
lea rdx, [0x1400b18b8]
call fcn.14006861c
mov dword [rsp + 0x34], 0xa
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.14002e904
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.140066a58
nop
mov dword [rsp + 0x40], 1
mov rcx, qword [rax + 8]
call fcn.14002d5e8
test al, al
je 0x1400673b6
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.14002e904
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.140066a58
mov rdx, rax
call fcn.140067bd4
test al, al
mov bl, 1
jne 0x1400673b9
mov bl, r12b
lea rcx, [rbp + 0xa0]
call fcn.140011278
test bl, bl
je 0x1400673f2
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.140066a58
mov rdx, rax
mov rcx, r14
call fcn.140066e94
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.14002d964
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 0x14006747a
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.14005b01c
mov r15b, r12b
mov byte [rsp + 0x30], r12b
mov byte [rsp + 0x31], r12b
jmp 0x140067790
mov dword [rsp + 0x34], SafeArrayPutElement
mov r9d, dword [rsi + 0x14]
cmp dword [rdi + 0x14], r9d
jb 0x1400674f5
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 0x1400674f5
mov rdx, qword [rdi + 8]
mov eax, dword [rsi + 0x14]
cmp word [rdx + rax*2], 0x5c
jne 0x1400674f5
mov r9d, 0x8007007b
mov r14d, r9d
mov qword [rsp + 0x28], rdx
lea rax, str.NewDirChild:__ls
mov edx, 0x1de
jmp 0x140067450
mov r9d, dword [rdi + 0x14]
cmp dword [rsi + 0x14], r9d
jb 0x14006756c
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 0x14006756c
mov ecx, dword [rdi + 0x14]
mov rax, qword [rsi + 8]
cmp word [rax + rcx*2], 0x5c
jne 0x14006756c
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 0x140067450
mov dword [rsp + 0x34], 0x1e
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.14002d50c
test byte [0x1400d3b41], 8
je 0x1400675ae
mov r9, qword [rdi + 8]
mov r8, qword [rsi + 8]
lea rdx, [0x1400b18a8]
call fcn.14006861c
lea rax, [rbp + 0x140]
mov qword [rbp + 0x1e0], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.14002d964
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.14002e904
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14002d964
nop
mov r8, rbx
mov rdx, rax
mov rcx, r14
call fcn.140066b78
mov r14d, eax
mov rcx, qword [rbp + 0x238]
test eax, eax
jns 0x140067627
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutillindexmove.cxx
mov edx, 0x1f5
call fcn.14002889c
mov r15b, 1
test r14d, r14d
js 0x1400676a1
mov dword [rsp + 0x34], 0x28
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x1e0], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x140]
call fcn.14002e904
nop
mov r8, rbx
mov rdx, rax
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140067e3c
mov r14d, eax
mov rcx, qword [rbp + 0x238]
test eax, eax
jns 0x14006769c
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutillindexmove.cxx
mov edx, 0x1fe
call fcn.14002889c
mov r12b, 1
jmp 0x1400676a6
mov rbx, qword [rsp + 0x38]
mov byte [rsp + 0x33], r15b
mov byte [rsp + 0x30], 0
test r14d, r14d
js 0x140067786
mov dword [rsp + 0x34], 0x32
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rdx, rax
call fcn.140067ccc
mov r14d, eax
mov rcx, qword [rbp + 0x238]
test eax, eax
jns 0x1400676ff
mov edx, 0x207
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutillindexmove.cxx
mov r9d, eax
call fcn.14002889c
jmp 0x14006778b
mov byte [rsp + 0x30], 1
mov r15b, byte [rsp + 0x33]
mov dword [rsp + 0x34], 0x3c
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rdx, rax
mov rcx, rbx
call fcn.140068484
mov r14d, eax
mov rcx, qword [rbp + 0x238]
test eax, eax
jns 0x140067740
mov edx, 0x214
jmp 0x1400676eb
mov byte [rsp + 0x31], r15b
test byte [0x1400d3b41], 8
je 0x140067765
mov r8, qword [rsi + 8]
lea rdx, [0x1400b1898]
lea rcx, [0x1400d0680]
call fcn.14005cff8
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rdx, rax
mov rcx, rbx
call fcn.140066d8c
mov byte [rsp + 0x30], r15b
jmp 0x140067790
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.14002e904
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x140]
call fcn.14002e904
nop
mov dword [rsp + 0x20], r14d
mov r9d, dword [rsp + 0x34]
mov r8, rbx
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.140068214
test r14d, r14d
jns 0x140067ae1
test byte [0x1400d3b41], 8
je 0x140067811
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, [0x1400b18d8]
lea rcx, [0x1400d0680]
call fcn.14005ce9c
lea rbx, str.Rollback:__ls
test r12b, r12b
je 0x140067b1f
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x1e0], rax
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rbx, rax
mov rdx, rdi
lea rcx, [rbp + 0x140]
call fcn.14002e904
nop
mov r8, rbx
mov rdx, rax
mov r12, qword [rsp + 0x38]
mov rcx, r12
call fcn.140067e3c
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x1400678e8
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.14005b01c
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x1e0], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x140]
call fcn.14002e904
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.140068360
lea rbx, str.Rollback:__ls
test r15b, r15b
je 0x1400679ab
test byte [0x1400d3b41], 8
je 0x140067918
mov r8, qword [rdi + 8]
lea rdx, [0x1400b18c8]
lea rcx, [0x1400d0680]
call fcn.14005cff8
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rdx, rax
mov rcx, r12
call fcn.140066d8c
mov r15d, eax
test eax, eax
jns 0x1400679ab
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.14005b01c
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x1e0], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x140]
call fcn.14002e904
nop
mov dword [rsp + 0x20], r15d
mov r9d, 0xd2
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.140068360
cmp byte [rsp + 0x30], 0
je 0x140067a3b
call fcn.140067da0
mov r15d, eax
test eax, eax
jns 0x140067a3b
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.14005b01c
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x1e0], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x140]
call fcn.14002e904
nop
mov dword [rsp + 0x20], r15d
mov r9d, 0xdc
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.140068360
cmp byte [rsp + 0x31], 0
je 0x140067ae1
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rdx, rax
mov rcx, r12
call fcn.140068484
mov r15d, eax
test eax, eax
jns 0x140067ae1
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.14005b01c
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x1e0], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.14002e904
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x140]
call fcn.14002e904
nop
mov dword [rsp + 0x20], r15d
mov r9d, 0xe6
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.140068360
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.140036b90
add rsp, 0x300
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r12, qword [rsp + 0x38]
jmp 0x1400678ef