Function at 0x14013e880
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb8
mov qword [rbp + 7], 0xfffffffffffffffe
mov r15, rcx
xor r12d, r12d
mov dword [rbp + 0x67], r12d
mov rax, qword [rcx + 0x168]
mov rax, qword [rax + 0xc8]
mov rax, qword [rax + 0x130]
mov qword [rbp - 0x69], rax
lea rdx, [rax - 0x10]
lea r13, [0x1402901c8]
lea r14d, [r12 + 1]
cmp rdx, r13
je 0x14013e4b0
mov eax, r14d
lock xadd dword [rdx], eax
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0xf]
call fcn.140040d80
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
or esi, 0xffffffff
test al, 0x10
je 0x14013e715
cmp eax, 0xffffffff
je 0x14013e715
mov ecx, 0x250
call fcn.1400bd614
mov rdi, rax
mov qword [rbp - 0x61], rax
lea rdx, str.Please_enter_the_name_for_the_folder
lea rcx, [rbp - 0x21]
call fcn.14018d430
mov rbx, rax
mov dword [rbp + 0x67], r14d
lea rdx, [0x14028be88]
lea rcx, [rbp - 0x29]
call fcn.14018d430
nop
mov dword [rbp + 0x67], 3
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.1400f32b0
mov rdi, rax
mov rcx, qword [rbp - 0x29]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14013e551
mov edx, esi
lock xadd dword [rcx], edx
test edx, edx
jne 0x14013e551
call fcn.1400bd658
nop
mov rcx, qword [rbp - 0x21]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14013e56d
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14013e56d
call fcn.1400bd658
lea rax, str.Folder_Name
mov qword [rbp - 0x19], rax
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x7f]
call fcn.1400461b0
nop
lea rax, [0x1402901d8]
mov qword [rbp - 0x11], rax
lea rax, [r13 + 0x10]
mov qword [rbp + 0x77], rax
lea r9, [rbp - 0x11]
lea r8, [rbp + 0x77]
lea rdx, [rbp + 0x7f]
mov rcx, rdi
call fcn.1400f2980
nop
mov rcx, qword [rbp + 0x77]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14013e5cb
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14013e5cb
call fcn.1400bd658
nop
mov rcx, qword [rbp + 0x7f]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14013e5e7
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14013e5e7
call fcn.1400bd658
lea rdx, str.Create_Folder
lea rcx, [rbp - 9]
call fcn.14018d430
nop
mov qword [rbp - 0x59], r12
mov dword [rbp - 0x51], r12d
mov qword [rbp - 0x4d], SafeArrayGetDim
mov dword [rbp - 0x45], r12d
lea rcx, [rbp - 0x59]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x4d]
mov r8d, r14d
mov rdx, rax
mov rcx, rdi
call fcn.1400f2bf0
nop
mov rcx, qword [rbp - 9]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14013e644
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14013e644
call fcn.1400bd658
lea rdx, [0x14028bd44]
lea rcx, [rbp - 1]
call fcn.14018d430
nop
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
mov qword [rbp - 0x35], 0x1b
mov dword [rbp - 0x2d], r12d
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x35]
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.1400f2bf0
nop
mov rcx, qword [rbp - 1]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14013e6a1
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14013e6a1
call fcn.1400bd658
mov rcx, rdi
call fcn.140006d60
mov qword [rbp + 0x6f], rax
test rax, rax
je 0x14013e6b8
lock xadd dword [rax + 8], r14d
lea r8, [rbp + 0x6f]
mov rdx, r15
call fcn.140033350
mov r14, rax
xor edx, edx
mov rcx, rdi
call fcn.14015c820
test al, al
jne 0x14013e715
call fcn.140002d40
mov rbx, rax
mov r8b, 1
mov rdx, rdi
mov rcx, rax
call fcn.140156c00
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call fcn.140156b80
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + 0x50]
mov r8b, 1
mov edx, 2
mov rcx, rdi
call fcn.1401590a0
nop
mov rcx, qword [rbp - 0x69]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14013e72f
lock xadd dword [rcx], esi
test esi, esi
jne 0x14013e72f
call fcn.1400bd658
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov qword [rbp + 7], 0xfffffffffffffffe
mov r13, rcx
xor ebx, ebx
mov dword [rbp + 0x67], ebx
cmp byte [rcx + 0x170], bl
je 0x14013e904
mov rax, qword [rcx + 0x168]
mov rcx, qword [rax + 0xc8]
mov eax, dword [rcx + 0x128]
shr eax, 1
and al, 1
je 0x14013e904
xor r8d, r8d
lea rdx, [rbp + 0x67]
call fcn.140141730
mov ebx, 1
mov rcx, qword [rax]
cmp byte [rcx], 0
je 0x14013e904
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.140040d80
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x14013e904
movzx edi, bl
jmp 0x14013e907
xor dil, dil
or r15d, 0xffffffff
lea r12, [0x1402901c8]
test bl, 1
je 0x14013e934
mov rcx, qword [rbp + 0x67]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x14013e934
mov eax, r15d
lock xadd dword [rcx], eax
test eax, eax
jne 0x14013e934
call fcn.1400bd658
test dil, dil
je 0x14013eaff
lea rdx, [0x14028bd24]
lea rcx, [rbp - 1]
call fcn.14018d430
mov r14, rax
lea rdx, [0x14028bdd0]
lea rcx, [rbp - 9]
call fcn.14018d430
mov rsi, rax
lea rdx, [0x14028bde0]
lea rcx, [rbp - 0x11]
call fcn.14018d430
mov rdi, rax
mov rcx, qword [r13 + 0x168]
xor r8d, r8d
lea rdx, [rbp - 0x19]
mov rcx, qword [rcx + 0xc8]
call fcn.140141730
mov rbx, rax
lea rdx, [0x14028be08]
lea rcx, [rbp - 0x21]
call fcn.14018d430
nop
mov rcx, qword [rbx]
mov qword [rbp + 0x6f], rcx
lea rcx, [0x14028be2c]
mov qword [rbp + 0x77], rcx
lea r9, [rbp + 0x6f]
lea r8, [rbp + 0x77]
lea rdx, [rbp + 0x7f]
mov rcx, rax
call fcn.140189f10
lea r8, [0x14028bbac]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140185a50
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1401859c0
mov rdi, rax
lea rdx, [0x14028be38]
lea rcx, [rbp - 0x31]
call fcn.14018d430
mov rbx, rax
mov rdx, r13
call fcn.1400332d0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov r9, rsi
mov r8, rdi
mov rdx, rbx
mov ecx, 2
call fcn.1400f12d0
nop
mov rcx, qword [rbp - 0x31]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x14013ea4b
mov eax, r15d
lock xadd dword [rcx], eax
test eax, eax
jne 0x14013ea4b
call fcn.1400bd658
nop
mov rcx, qword [rbp - 0x29]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x14013ea69
mov eax, r15d
lock xadd dword [rcx], eax
test eax, eax
jne 0x14013ea69
call fcn.1400bd658
nop
mov rcx, qword [rbp - 0x21]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x14013ea87
mov eax, r15d
lock xadd dword [rcx], eax
test eax, eax
jne 0x14013ea87
call fcn.1400bd658
nop
mov rcx, qword [rbp - 0x19]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x14013eaa5
mov eax, r15d
lock xadd dword [rcx], eax
test eax, eax
jne 0x14013eaa5
call fcn.1400bd658
nop
mov rcx, qword [rbp - 0x11]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x14013eac3
mov eax, r15d
lock xadd dword [rcx], eax
test eax, eax
jne 0x14013eac3
call fcn.1400bd658
nop
mov rcx, qword [rbp - 9]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x14013eae1
mov eax, r15d
lock xadd dword [rcx], eax
test eax, eax
jne 0x14013eae1
call fcn.1400bd658
nop
mov rcx, qword [rbp - 1]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x14013eb0c
lock xadd dword [rcx], r15d
test r15d, r15d
jne 0x14013eb0c
call fcn.1400bd658
jmp 0x14013eb0c
mov edx, 1
mov rcx, r13
call fcn.14015c960
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r8, qword [rcx + 0x10]
lea rax, [r8 + 0xd0]
cmp rdx, rax
jne 0x14013ec6c
add rcx, 0xfffffffffffffea8
jmp 0x14013e880
lea rax, [r8 + 0x248]
cmp rdx, rax
jne 0x14013ec88
add rcx, 0xfffffffffffffea8
xor edx, edx
mov rax, qword [rcx]
jmp qword [rax + 0x50]
lea rax, [r8 + 0x3c0]
cmp rdx, rax
jne 0x14013eca0
add rcx, 0xfffffffffffffea8
jmp 0x14013e450
ret