Function at 0x1400976d0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov qword [rbp + 8], 0xfffffffffffffffe
mov rsi, rcx
mov rcx, qword [rcx + 0x610]
test rcx, rcx
je 0x14009812d
test edx, edx
jne 0x140097a61
lea edi, [rdx - 1]
cmp byte [0x1403d5361], dl
jne 0x140097815
call fcn.1400666d0
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.140079930
nop
cmp qword [rsi + 0x508], 0
je 0x140097758
mov rcx, qword [rsp + 0x28]
cmp dword [rcx - 0x10], 0
je 0x140097758
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140097758
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsi + 0x508]
call fcn.140103380
call fcn.1400666d0
mov rcx, rax
lea rdx, [rbp - 0x68]
call fcn.14007a1b0
nop
mov rcx, qword [rsi + 0x510]
test rcx, rcx
je 0x140097786
mov rdx, qword [rbp - 0x68]
cmp dword [rdx - 0x10], 0
je 0x140097786
mov rax, qword [rcx]
call qword [rax + 0x60]
call fcn.1400666d0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140079d70
nop
mov rcx, qword [rsi + 0x518]
mov rax, qword [rsp + 0x20]
test rcx, rcx
je 0x1400977bf
cmp dword [rax - 0x10], 0
je 0x1400977bf
mov r8, qword [rcx]
mov rdx, rax
call qword [r8 + 0x60]
mov rax, qword [rsp + 0x20]
lea rdx, [rax - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400977d9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400977f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097815
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [0x1403d5362], 0
jne 0x140097922
call fcn.1400666d0
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140079a40
nop
cmp qword [rsi + 0x528], 0
je 0x140097865
mov rcx, qword [rsp + 0x38]
cmp dword [rcx - 0x10], 0
je 0x140097865
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140097865
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsi + 0x528]
call fcn.140103380
call fcn.1400666d0
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.14007a2c0
nop
mov rcx, qword [rsi + 0x530]
test rcx, rcx
je 0x140097893
mov rdx, qword [rbp - 0x60]
cmp dword [rdx - 0x10], 0
je 0x140097893
mov rax, qword [rcx]
call qword [rax + 0x60]
call fcn.1400666d0
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140079e80
nop
mov rcx, qword [rsi + 0x538]
mov rax, qword [rsp + 0x30]
test rcx, rcx
je 0x1400978cc
cmp dword [rax - 0x10], 0
je 0x1400978cc
mov r8, qword [rcx]
mov rdx, rax
call qword [r8 + 0x60]
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400978e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097904
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097922
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [0x1403d5363], 0
jne 0x140097a2f
call fcn.1400666d0
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.140079820
nop
cmp qword [rsi + 0x548], 0
je 0x140097972
mov rcx, qword [rsp + 0x48]
cmp dword [rcx - 0x10], 0
je 0x140097972
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140097972
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsi + 0x548]
call fcn.140103380
call fcn.1400666d0
mov rcx, rax
lea rdx, [rbp - 0x58]
call fcn.14007a0a0
nop
mov rcx, qword [rsi + 0x550]
test rcx, rcx
je 0x1400979a0
mov rdx, qword [rbp - 0x58]
cmp dword [rdx - 0x10], 0
je 0x1400979a0
mov rax, qword [rcx]
call qword [rax + 0x60]
call fcn.1400666d0
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140079c60
nop
mov rcx, qword [rsi + 0x558]
mov rax, qword [rsp + 0x40]
test rcx, rcx
je 0x1400979d9
cmp dword [rax - 0x10], 0
je 0x1400979d9
mov r8, qword [rcx]
mov rdx, rax
call qword [r8 + 0x60]
mov rax, qword [rsp + 0x40]
lea rdx, [rax - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400979f3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097a11
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097a2f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400666d0
mov rcx, rax
lea rdx, [rbp - 0x50]
call fcn.140078930
nop
mov rcx, qword [rsi + 0x500]
test rcx, rcx
je 0x140097a58
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x50]
call qword [rax + 0x60]
nop
mov rdx, qword [rbp - 0x50]
jmp 0x140098116
lea rdx, [rsp + 0x60]
call fcn.1400d4fd0
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, 0xffffffff
test eax, eax
je 0x140097ae7
mov byte [0x1403d5361], 1
mov rcx, qword [rsp + 0x60]
add rcx, 0xffffffffffffffe8
call fcn.14000ae30
add rax, 0x18
mov qword [rbp - 0x48], rax
lea r9, [rbp - 0x48]
mov r8, qword [rsi + 0x508]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.140098190
nop
mov rbx, qword [rbp - 0x40]
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007c1d0
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097ae7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsi + 0x610]
call fcn.1400d5790
nop
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 0x610]
call fcn.1400d56d0
nop
mov rbx, qword [rsp + 0x58]
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007c2d0
mov rbx, qword [rsp + 0x50]
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007c250
mov rcx, qword [rsi + 0x510]
test rcx, rcx
je 0x140097b4c
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x58]
call qword [rax + 0x60]
mov rcx, qword [rsi + 0x518]
test rcx, rcx
je 0x140097b64
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x50]
call qword [rax + 0x60]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097b83
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097ba2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097bc0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsi + 0x610]
call fcn.1400d5220
nop
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140097c48
mov byte [0x1403d5362], 1
mov rcx, qword [rsp + 0x78]
add rcx, 0xffffffffffffffe8
call fcn.14000ae30
add rax, 0x18
mov qword [rbp - 0x38], rax
lea r9, [rbp - 0x38]
mov r8, qword [rsi + 0x528]
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.140098190
nop
mov rbx, qword [rbp - 0x30]
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007c1f0
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097c48
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 0x610]
call fcn.1400d57c0
nop
lea rdx, [rsp + 0x68]
mov rcx, qword [rsi + 0x610]
call fcn.1400d5700
nop
mov rbx, qword [rsp + 0x70]
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007c2f0
mov rbx, qword [rsp + 0x68]
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007c270
mov rcx, qword [rsi + 0x530]
test rcx, rcx
je 0x140097cad
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x70]
call qword [rax + 0x60]
mov rcx, qword [rsi + 0x538]
test rcx, rcx
je 0x140097cc5
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x68]
call qword [rax + 0x60]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097ce4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097d03
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097d21
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp - 0x70]
mov rcx, qword [rsi + 0x610]
call fcn.1400d4d70
nop
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140097da6
mov byte [0x1403d5363], 1
mov rcx, qword [rbp - 0x70]
add rcx, 0xffffffffffffffe8
call fcn.14000ae30
add rax, 0x18
mov qword [rbp - 0x28], rax
lea r9, [rbp - 0x28]
mov r8, qword [rsi + 0x548]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140098190
nop
mov rbx, qword [rbp - 0x20]
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007c1b0
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097da6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp - 0x78]
mov rcx, qword [rsi + 0x610]
call fcn.1400d5760
nop
lea rdx, [rbp - 0x80]
mov rcx, qword [rsi + 0x610]
call fcn.1400d56a0
nop
mov rbx, qword [rbp - 0x78]
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007c2b0
mov rbx, qword [rbp - 0x80]
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007c230
mov rcx, qword [rsi + 0x550]
test rcx, rcx
je 0x140097e06
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x78]
call qword [rax + 0x60]
mov rcx, qword [rsi + 0x558]
test rcx, rcx
je 0x140097e1d
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x80]
call qword [rax + 0x60]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097e3b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097e59
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097e76
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400666d0
mov rcx, rax
lea rdx, [rbp + 0x58]
call fcn.140078ea0
nop
call fcn.1400666d0
mov rcx, rax
lea rdx, [rbp + 0x40]
call fcn.140078930
nop
call fcn.1400666d0
mov rcx, rax
lea rdx, [rbp + 0x50]
call fcn.140079580
nop
mov rax, qword [rbp + 0x58]
cmp dword [rax - 0x10], 0
je 0x140097ece
mov rax, qword [rbp + 0x40]
cmp dword [rax - 0x10], 0
je 0x140097ece
mov rax, qword [rbp + 0x50]
cmp dword [rax - 0x10], 0
jne 0x1400980bf
lea rdx, [rbp - 0x10]
mov rcx, qword [rsi + 0x610]
call fcn.1400d5640
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp + 0x58]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140097f3a
cmp dword [rbx + 0x10], 0
jl 0x140097f2c
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140097f2c
call fcn.14000ae30
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140097f22
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r14 + 0x18]
mov qword [rbp + 0x58], rax
jmp 0x140097f3a
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x58]
call fcn.140010860
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097f57
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp - 8]
mov rcx, qword [rsi + 0x610]
call fcn.14009d1f0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp + 0x40]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140097fc3
cmp dword [rbx + 0x10], 0
jl 0x140097fb5
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140097fb5
call fcn.14000ae30
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140097fab
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r14 + 0x18]
mov qword [rbp + 0x40], rax
jmp 0x140097fc3
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x40]
call fcn.140010860
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140097fe0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp - 0x18]
mov rcx, qword [rsi + 0x610]
call fcn.14000b2a0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp + 0x50]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14009804c
cmp dword [rbx + 0x10], 0
jl 0x14009803e
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14009803e
call fcn.14000ae30
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140098034
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r14 + 0x18]
mov qword [rbp + 0x50], rax
jmp 0x14009804c
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x50]
call fcn.140010860
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140098069
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp + 0x58]
cmp dword [rbx - 0x10], 0
je 0x1400980bf
mov rax, qword [rbp + 0x40]
cmp dword [rax - 0x10], 0
je 0x1400980bf
mov rax, qword [rbp + 0x50]
cmp dword [rax - 0x10], 0
je 0x1400980bf
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007b410
mov rbx, qword [rbp + 0x40]
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007a790
mov rbx, qword [rbp + 0x50]
call fcn.1400666d0
mov rcx, rax
mov rdx, rbx
call fcn.14007be50
mov rcx, qword [rsi + 0x500]
test rcx, rcx
je 0x1400980d6
mov rax, qword [rcx]
mov rdx, qword [rbp + 0x40]
call qword [rax + 0x60]
nop
mov rdx, qword [rbp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400980f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140098112
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14009812d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret