Function at 0x1400c64b0
Capabilities:
Check if file exists
Delete file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x2e0], rbx
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
test rdx, rdx
jne 0x1400c650b
mov rax, qword [rcx + 0x8d0]
mov rdi, qword [rax + 0x38]
call fcn.14004a380
mov dword [rsp + 0x70], 0x3fd
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdi
lea rax, [rsi + 0x97b18]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400f2e40
lea rcx, [rdi + 0xb0]
cmp qword [rcx + 0x18], 8
jb 0x1400c6553
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400c6653
mov rax, qword [rsi]
mov rdx, qword [rax + 0x18]
lea rcx, [rsp + 0x48]
call fcn.14002d200
nop
lea r8, [0x1401e52d4]
lea rdx, str.All_types
lea rcx, [rsp + 0x48]
call fcn.140030020
mov r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.1400c97f0
mov rdx, qword [rdi + 0xd0]
lea rcx, [rsp + 0x48]
call fcn.14002ffc0
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.14002e4f0
nop
cmp qword [rbp + 0x30], 0
je 0x1400c65f0
lea rbx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rbx, qword [rbp + 0x20]
call fcn.14004a380
mov rcx, rax
mov r8, rbx
mov rdx, rdi
call fcn.14001ff60
movzx r12d, al
jmp 0x1400c65f3
xor r12b, r12b
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1400c6633
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c662e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6db9
call fcn.1401812c4
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r14w
lea rcx, [rsp + 0x48]
call fcn.14002d530
jmp 0x1400c6d69
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1401e5030]
movdqu xmmword [rbp + 0x30], xmm1
mov word [rbp + 0x20], r14w
mov r8d, 9
lea rdx, str.__:___
lea rcx, [rbp + 0x20]
call fcn.140006d70
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x1401e5030]
movdqu xmmword [rbp + 0x70], xmm1
mov word [rbp + 0x60], r14w
mov r8d, 0x12
lea rdx, str.Rename_Current_Tab
lea rcx, [rbp + 0x60]
call fcn.140006d70
nop
lea r9, [rbp + 0x60]
lea r8, str.tabrename_title
lea rdx, [rbp + 0xa0]
lea rcx, [rsi + 0x478]
call fcn.14007b5d0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x1400c6714
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c670f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6dbf
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r14w
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1401e5030]
movdqu xmmword [rbp + 0x10], xmm1
mov word [rbp], r14w
mov r8d, 0xa
lea rdx, str.New_Name:
lea rcx, [rbp]
call fcn.140006d70
nop
lea r9, [rbp]
lea r8, str.tabrename_newname
lea rdx, [rbp + 0x80]
lea rcx, [rsi + 0x478]
call fcn.14007b5d0
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1400c67b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c67b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6dc5
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r14w
lea rax, vtable.Window.0
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
lea rax, vtable.StaticDialog.0
mov qword [rbp + 0xc0], rax
lea rax, vtable.StringDlg.0
mov qword [rbp + 0xc0], rax
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1401e5030]
movdqa xmmword [rbp + 0x100], xmm1
mov word [rbp + 0xf0], r14w
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmmword [rbp + 0x120], xmm1
mov word [rbp + 0x110], r14w
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmmword [rbp + 0x140], xmm1
mov word [rbp + 0x130], r14w
movdqa xmmword [rbp + 0x160], xmm0
movdqa xmmword [rbp + 0x160], xmm1
mov word [rbp + 0x150], r14w
mov dword [rbp + 0x170], r14d
mov byte [rbp + 0x174], 0
mov qword [rbp + 0x178], r14
lea r14, [rbp + 0x20]
mov r13, qword [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae r14, r13
mov r12, qword [rdi + 0xd0]
lea r15, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r15, qword [rbp + 0x80]
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rdx, qword [rbp + 0xa0]
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
mov rax, qword [rax + 8]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rcx
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400c68f0
lea rcx, [rbp + 0xf0]
call fcn.140006d70
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [r15 + r8*2], 0
jne 0x1400c6910
mov rdx, r15
lea rcx, [rbp + 0x130]
call fcn.140006d70
mov r8, rbx
nop dword [rax]
inc r8
cmp word [r12 + r8*2], 0
jne 0x1400c6930
mov rdx, r12
lea rcx, [rbp + 0x110]
call fcn.140006d70
xor r15d, r15d
mov dword [rbp + 0x170], r15d
mov byte [rbp + 0x174], 1
test r14, r14
je 0x1400c6985
inc rbx
cmp word [r14 + rbx*2], r15w
jne 0x1400c6960
test rbx, rbx
je 0x1400c6985
mov r8, rbx
mov rdx, r14
lea rcx, [rbp + 0x150]
call fcn.140006d70
mov r13, qword [rbp + 0x20]
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [0x14012b730]
mov r8, qword [rbp + 0xd0]
mov edx, 0x6590
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov rbx, rax
test rax, rax
je 0x1400c6c1c
mov rdx, rax
mov rcx, qword [rsi + 0x640]
call fcn.14004a190
test rax, rax
jne 0x1400c6bdd
mov rdx, rbx
mov rcx, qword [rsi + 0x648]
call fcn.14004a190
test rax, rax
jne 0x1400c6bdd
mov r12b, 1
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.140020c00
call fcn.14000c990
cmp byte [rax + 0x835], r15b
je 0x1400c6c1f
cmp byte [rax + 0xd6], r15b
je 0x1400c6c1f
cmp byte [rax + 0xd7], r15b
jne 0x1400c6c1f
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
lea rsi, [rdi + 0xe0]
mov r14, qword [rsi + 0x10]
mov r15, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400c6a4a
mov r15, qword [rsi]
cmp r14, 8
jae 0x1400c6a62
movups xmm0, xmmword [r15]
movups xmmword [rbp], xmm0
mov qword [rbp + 0x18], 7
jmp 0x1400c6aa2
mov rbx, r14
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp]
call fcn.1400069a0
mov qword [rbp], rax
lea r8, [r14*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.14019f8d0
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x10], r14
mov ebx, 1
mov dword [rsp + 0x40], ebx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x1401e5030]
movdqu xmmword [rbp + 0x50], xmm1
xor r15d, r15d
mov word [rbp + 0x40], r15w
xor r8d, r8d
lea rdx, [0x1401e6278]
lea rcx, [rbp + 0x40]
call fcn.140006d70
nop
lea rax, [rbp + 0x40]
cmp rsi, rax
je 0x1400c6b04
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x50]
mov rcx, rsi
call fcn.140006d70
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x1400c6b44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6b3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6dcb
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r15w
mov byte [rdi + 0x100], 1
call fcn.14004a380
mov rcx, rax
call fcn.14001d2e0
test al, al
je 0x1400c6b82
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
and ebx, 0xfffffffe
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1400c6bc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6bc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6dd1
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r15w
jmp 0x1400c6c1f
mov rax, qword [rsi]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], InitCommonControls
lea rcx, str.Rename_failed
mov qword [rsp + 0x20], rcx
lea r9, str.The_specified_name_is_already_in_use_on_another_tab.
mov r8, qword [rax + 0x18]
lea rdx, str.RenameTabTemporaryNameAlreadyInUse
lea rcx, [rsi + 0x478]
call fcn.14007c160
xor r12b, r12b
lea rcx, [rbp + 0x150]
call fcn.1400068d0
nop
lea rcx, [rbp + 0x130]
call fcn.1400068d0
nop
lea rcx, [rbp + 0x110]
call fcn.1400068d0
nop
lea rcx, [rbp + 0xf0]
call fcn.1400068d0
nop
lea rcx, [rbp + 0xc0]
call fcn.14012b010
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x1400c6ca6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6ca1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6dd7
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r15w
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x1400c6d04
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6cff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6ddd
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp + 0xb0], xmm0
mov word [rbp + 0xa0], r15w
mov rax, qword [rbp + 0x38]
cmp rax, 8
jb 0x1400c6d57
lea rdx, [rax*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400c6d4f
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6db3
mov rcx, r13
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r15w
movzx eax, r12b
add eax, 0x3fe
mov dword [rsp + 0x70], eax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.1400f2e40
movzx eax, r12b
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1401813e0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
int3