Function at 0x140061b10
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov qword [rbp + 0x100], 0xfffffffffffffffe
mov qword [rsp + 0x3f0], rbx
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov r10, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x208]
mov rdx, qword [rax]
mov rbx, qword [rdx + 0x40]
mov rsi, qword [rbx + 0xd0]
xor r12d, r12d
mov qword [rbp + 0x240], r12
mov qword [rbp + 0x248], r12
mov qword [rbp + 0x248], 7
mov qword [rbp + 0x240], r12
mov word [rbp + 0x230], r12w
cmp qword [r10 + 0x10], r12
jne 0x140061c35
add rbx, 0xb0
cmp qword [rbx + 0x18], 8
jb 0x140061bb0
mov rbx, qword [rbx]
call fcn.14000cdd0
cmp byte [rax + 0x32f88], 0
je 0x140061c2e
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140061c2e
cmp word [rbx], 0
jne 0x140061bd6
mov r8, r12
jmp 0x140061beb
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140061be0
mov rdx, rbx
lea rcx, [rbp + 0x230]
call fcn.140006f10
mov r8d, 7
lea rdx, str..result
lea rcx, [rbp + 0x230]
call fcn.140006a00
mov r8d, 5
lea rdx, [0x1401e6fc0]
lea rcx, [rbp + 0x230]
call fcn.140006a00
jmp 0x140061c57
xor bl, bl
jmp 0x1400625f2
lea rax, [rbp + 0x230]
cmp rax, r10
je 0x140061c57
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r10
lea rcx, [rbp + 0x230]
call fcn.140006dd0
lea r15, str.leaves
mov qword [rbp - 0x50], r15
lea rax, str.name
mov qword [rbp - 0x18], rax
call fcn.14000cd40
mov r14, rax
mov qword [rbp + 0x48], rax
mov byte [rbp - 0x28], 0
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140031050
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], r12
or r9d, 0xffffffff
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.14002d430
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x60], 0
xor eax, eax
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.14005b060
nop
lea rdx, [0x1401e6fcc]
lea rcx, [rbp - 0x28]
call fcn.14005a380
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.140032000
mov rbx, qword [rdi + 0x1d8]
mov rdi, qword [rdi + 0x1e0]
cmp rbx, rdi
je 0x140062518
cmp qword [rbx + 0x18], 8
jb 0x140061d0b
mov rdx, qword [rbx]
jmp 0x140061d0e
mov rdx, rbx
mov qword [rsp + 0x20], r12
or r9d, 0xffffffff
xor r8d, r8d
mov rcx, r14
call fcn.14002d430
mov qword [rbp + 0x260], r12
mov qword [rbp + 0x268], r12
mov qword [rbp + 0x268], InitCommonControls
mov qword [rbp + 0x260], r12
mov byte [rbp + 0x250], 0
cmp byte [rax], 0
jne 0x140061d53
mov r8, r12
jmp 0x140061d6a
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140061d60
mov rdx, rax
lea rcx, [rbp + 0x250]
call fcn.140006ca0
nop
cmp qword [rbx + 0x30], 0
je 0x1400623d0
xor sil, sil
mov byte [rsp + 0x30], sil
cmp qword [rbx + 0x38], 8
jb 0x140061d9a
mov rdx, qword [rbx + 0x20]
jmp 0x140061d9e
lea rdx, [rbx + 0x20]
mov qword [rsp + 0x20], r12
or r9d, 0xffffffff
xor r8d, r8d
mov rcx, r14
call fcn.14002d430
mov qword [rbp + 0x280], r12
mov qword [rbp + 0x288], r12
mov qword [rbp + 0x288], InitCommonControls
mov qword [rbp + 0x280], r12
mov byte [rbp + 0x270], 0
cmp byte [rax], 0
jne 0x140061de3
mov r8, r12
jmp 0x140061dfa
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140061df0
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.140006ca0
nop
lea rdx, str.nodes
lea rcx, [rbp - 0x28]
call fcn.14005a380
mov r13, rax
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov r15, r12
mov qword [rbp - 0x58], r12
movzx edx, byte [rax]
mov eax, edx
sub eax, 1
je 0x140061e4b
cmp eax, 1
je 0x140061e45
mov qword [rbp - 0x58], r12
jmp 0x140061e4f
mov qword [rbp - 0x60], r12
jmp 0x140061e53
mov qword [rbp - 0x68], r12
mov r12, qword [rbp - 0x60]
test edx, edx
je 0x140061e83
sub edx, 1
je 0x140061e73
cmp edx, 1
je 0x140061e66
xor r15d, r15d
jmp 0x140061e89
mov rax, qword [r13 + 8]
mov r12, qword [rax]
mov qword [rbp - 0x60], r12
jmp 0x140061e8d
mov rax, qword [r13 + 8]
mov rcx, qword [rax]
mov rax, qword [rcx]
mov qword [rbp - 0x68], rax
jmp 0x140061e8d
mov r15d, 1
mov qword [rbp - 0x58], r15
mov r9, r13
mov qword [rsp + 0x48], r13
movdqu xmmword [rbp + 0xc8], xmm0
xor eax, eax
xor r10d, r10d
mov qword [rsp + 0x70], r10
movzx ecx, byte [r13]
mov edx, ecx
sub edx, 1
je 0x140061ecf
mov r8, qword [rbp + 0xc8]
mov qword [rsp + 0x58], r8
cmp edx, 1
je 0x140061ecb
mov qword [rsp + 0x70], r10
jmp 0x140061ed7
xor edx, edx
jmp 0x140061ede
xor r8d, r8d
mov qword [rsp + 0x58], r8
mov rdx, qword [rbp + 0xd0]
mov qword [rsp + 0x50], rdx
sub ecx, 1
je 0x140061f09
cmp ecx, 1
je 0x140061efa
mov r10d, 1
mov qword [rsp + 0x70], r10
jmp 0x140061f15
mov rax, qword [r13 + 8]
mov rdx, qword [rax + 8]
mov qword [rsp + 0x50], rdx
jmp 0x140061f15
mov rax, qword [r13 + 8]
mov r8, qword [rax]
mov qword [rsp + 0x58], r8
cmp r13, r9
jne 0x1400624bf
movzx ecx, byte [r13]
sub ecx, 1
je 0x140061f37
cmp ecx, 1
je 0x140061f32
cmp r15, r10
jmp 0x140061f3b
cmp r12, rdx
jmp 0x140061f3b
cmp qword [rbp - 0x68], r8
sete al
test al, al
jne 0x14006213b
lea rcx, [rbp - 0x70]
call fcn.140032260
mov r14, rax
mov qword [rsp + 0x38], rax
mov byte [rbp], 0
xor eax, eax
mov qword [rbp + 8], rax
mov byte [rbp], 3
lea ecx, [rax + 0x20]
call fcn.140167f20
mov rsi, rax
test rax, rax
je 0x1400624b9
lea rax, [rsp + 0x40]
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x108], rsi
mov qword [rbp - 0x80], rsi
mov qword [rsi + 0x18], InitCommonControls
mov qword [rsi + 0x10], 0
mov byte [rsi], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x270]
mov rcx, rsi
call fcn.140006b70
nop
mov qword [rbp + 0x90], 0
mov qword [rbp + 8], rsi
mov rdx, qword [rbp - 0x18]
mov rcx, r14
call fcn.14005a380
mov rdx, rax
lea rcx, [rbp]
call fcn.14005cd80
movzx r14d, al
mov rcx, rsi
call fcn.140003760
mov edx, 1
lea r8d, [rdx + 0x1f]
mov rcx, rsi
call fcn.140032620
test r14b, r14b
jne 0x140062063
movzx ecx, byte [r13]
sub ecx, 1
je 0x14006202c
cmp ecx, 1
je 0x140062022
inc r15
mov qword [rbp - 0x58], r15
jmp 0x14006204a
add r12, 0x10
mov qword [rbp - 0x60], r12
jmp 0x14006204a
xor eax, eax
movzx r8d, al
lea edx, [rax + 1]
lea rcx, [rbp - 0x68]
call fcn.14002e550
mov r15, qword [rbp - 0x58]
mov r12, qword [rbp - 0x60]
mov r13, qword [rbp - 0x70]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x70]
jmp 0x140061f15
lea rax, [rbp + 0x250]
cmp qword [rbp + 0x268], 0x10
cmovae rax, qword [rbp + 0x250]
mov qword [rsp + 0x48], rax
mov byte [rbp - 0x48], 0
xor eax, eax
mov qword [rbp - 0x40], rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x48]
call fcn.14005b060
nop
mov r15, qword [rbp - 0x50]
mov rdx, r15
mov rcx, qword [rsp + 0x38]
call fcn.14005a380
mov rcx, rax
lea rdx, [rbp - 0x48]
call fcn.140037fa0
nop
movzx ecx, byte [rbp - 0x48]
sub ecx, 1
je 0x1400620f1
sub ecx, 1
je 0x1400620dd
cmp ecx, 1
jne 0x140062136
mov rsi, qword [rbp - 0x40]
mov rcx, rsi
call fcn.140003760
mov r8d, 0x20
jmp 0x140062129
mov rsi, qword [rbp - 0x40]
mov rcx, rsi
call fcn.140032df0
mov r8d, 0x18
jmp 0x140062129
mov rsi, qword [rbp - 0x40]
mov qword [rbp - 0x80], rsi
mov r8, qword [rsi]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x110]
mov rcx, rsi
call fcn.140033e90
nop
mov edx, 1
lea r8d, [rdx + 0x4f]
mov rcx, qword [rsi]
call fcn.140032620
mov r8d, InitCommonControls
mov edx, 1
mov rcx, rsi
call fcn.140032620
mov sil, 1
jmp 0x140062144
movzx esi, byte [rsp + 0x30]
mov r15, qword [rbp - 0x50]
test sil, sil
jne 0x1400623b8
mov byte [rbp + 0x68], sil
xor eax, eax
mov qword [rbp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x68]
call fcn.14005b060
nop
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x78]
call fcn.14005e450
nop
lea rax, [rbp + 0x68]
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0x88]
mov qword [rbp + 0xa8], rax
movaps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp - 0x80], xmm0
mov r9b, 2
mov r8b, 1
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xe0]
call fcn.14005b580
nop
lea r9, [fcn.140031330]
mov edx, InitCommonControls
lea r8d, [rdx - 0xe]
lea rcx, [rbp + 0x68]
call fcn.1401689b0
mov byte [rbp + 0x28], sil
xor eax, eax
mov qword [rbp + 0x30], rax
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x28]
call fcn.14005b060
nop
lea rax, [rbp + 0x270]
cmp qword [rbp + 0x288], 0x10
cmovae rax, qword [rbp + 0x270]
mov qword [rsp + 0x38], rax
mov byte [rbp + 0x38], sil
xor eax, eax
mov qword [rbp + 0x40], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x38]
call fcn.14005b060
nop
lea rax, [rbp + 0x28]
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0x48]
mov qword [rbp + 0xb8], rax
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp - 0x80], xmm0
mov r9b, 2
mov r8b, 1
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xf0]
call fcn.14005b580
nop
lea r9, [fcn.140031330]
mov edx, InitCommonControls
lea r8d, [rdx - 0xe]
lea rcx, [rbp + 0x28]
call fcn.1401689b0
nop
lea rax, [rbp + 0xe0]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x100]
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x80], xmm0
mov r9b, 2
mov r8b, 1
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x58]
call fcn.14005b580
nop
lea r9, [fcn.140031330]
mov edx, InitCommonControls
lea r8d, [rdx - 0xe]
lea rcx, [rbp + 0xe0]
call fcn.1401689b0
lea rax, [rbp + 0x250]
cmp qword [rbp + 0x268], 0x10
cmovae rax, qword [rbp + 0x250]
mov qword [rsp + 0x38], rax
mov byte [rbp - 0x38], sil
xor eax, eax
mov qword [rbp - 0x30], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x38]
call fcn.14005b060
nop
mov r15, qword [rbp - 0x50]
mov rdx, r15
lea rcx, [rbp + 0x58]
call fcn.14005a380
mov rcx, rax
lea rdx, [rbp - 0x38]
call fcn.140037fa0
nop
movzx ecx, byte [rbp - 0x38]
sub ecx, 1
je 0x14006234c
sub ecx, 1
je 0x140062338
cmp ecx, 1
jne 0x140062391
mov rsi, qword [rbp - 0x30]
mov rcx, rsi
call fcn.140003760
mov r8d, 0x20
jmp 0x140062384
mov rsi, qword [rbp - 0x30]
mov rcx, rsi
call fcn.140032df0
mov r8d, 0x18
jmp 0x140062384
mov rsi, qword [rbp - 0x30]
mov qword [rbp - 0x80], rsi
mov r8, qword [rsi]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x118]
mov rcx, rsi
call fcn.140033e90
nop
mov edx, 1
lea r8d, [rdx + 0x4f]
mov rcx, qword [rsi]
call fcn.140032620
mov r8d, InitCommonControls
mov edx, 1
mov rcx, rsi
call fcn.140032620
lea rdx, str.nodes
lea rcx, [rbp - 0x28]
call fcn.14005a380
mov rcx, rax
lea rdx, [rbp + 0x58]
call fcn.140060300
nop
lea rcx, [rbp + 0x58]
call fcn.140031330
nop
lea rcx, [rbp + 0x270]
call fcn.140003760
mov r14, qword [rbp + 0x48]
xor r12d, r12d
jmp 0x1400624a4
lea rax, [rbp + 0x250]
cmp qword [rbp + 0x268], 0x10
cmovae rax, qword [rbp + 0x250]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x60], 0
xor eax, eax
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14005b060
nop
mov rdx, r15
lea rcx, [rbp - 0x28]
call fcn.14005a380
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.140037fa0
nop
movzx ecx, byte [rsp + 0x60]
sub ecx, 1
je 0x140062460
sub ecx, 1
je 0x14006244b
cmp ecx, 1
jne 0x1400624a4
mov rsi, qword [rsp + 0x68]
mov rcx, rsi
call fcn.140003760
mov r8d, 0x20
jmp 0x140062496
mov rsi, qword [rsp + 0x68]
mov rcx, rsi
call fcn.140032df0
mov r8d, 0x18
jmp 0x140062496
mov rsi, qword [rsp + 0x68]
mov qword [rbp - 0x80], rsi
mov r8, qword [rsi]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.140033e90
nop
mov r8d, 1
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.14005e7f0
mov r8d, InitCommonControls
mov edx, 1
mov rcx, rsi
call fcn.140032620
nop
lea rcx, [rbp + 0x250]
call fcn.140003760
add rbx, 0x48
jmp 0x140061cf6
call fcn.14018acfc
int3
lea rax, vtable.std::exception.0
mov qword [rbp + 0x10], rax
xor eax, eax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
lea rax, str.cannot_compare_iterators_of_different_containers
mov qword [rbp - 0x10], rax
mov byte [rbp - 8], 1
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x10]
call fcn.140187648
nop
lea rax, vtable.std::logic_error.0
mov qword [rbp + 0x10], rax
lea rax, vtable.std::domain_error.0
mov qword [rbp + 0x10], rax
lea rdx, [0x140285138]
lea rcx, [rbp + 0x10]
call fcn.140187700
nop
lea rdx, [rbp + 0x230]
cmp qword [rbp + 0x248], 8
cmovae rdx, qword [rbp + 0x230]
mov qword [rsp + 0x20], r12
or r9d, 0xffffffff
xor r8d, r8d
mov rcx, r14
call fcn.14002d430
mov rdx, rax
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rcx, [rbp + 0x120]
call fcn.14005b6d0
nop
mov rax, qword [rbp + 0x120]
movsxd rdx, dword [rax + 4]
mov rax, qword [rbp + rdx + 0x148]
test rax, rax
setg r8b
mov r9, r12
test rax, rax
cmovg r9, rax
mov qword [rbp + rdx + 0x148], r12
mov dword [rsp + 0x20], r12d
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x28]
call fcn.14005e980
mov bl, 1
lea rcx, [rbp + 0x1c8]
call fcn.14005be90
lea rax, [rbp + 0x1c8]
mov qword [rbp + 0x50], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x1c8], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x1c8], rax
lea rcx, [rbp + 0x1c8]
call fcn.1401465a4
nop
lea rcx, [rbp - 0x28]
call fcn.140031330
nop
mov r8, qword [rbp + 0x248]
cmp r8, 8
jb 0x140062615
inc r8
mov rdx, qword [rbp + 0x230]
lea rcx, [rbp + 0x230]
call fcn.140007680
mov qword [rbp + 0x248], 7
mov qword [rbp + 0x240], r12
mov word [rbp + 0x230], r12w
movzx eax, bl
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140168660
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret