Function at 0x1400c4f90
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 [0x1402a6808]
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 0x1400c4feb
mov rax, qword [rcx + 0x8d0]
mov rdi, qword [rax + 0x38]
call fcn.14004a480
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.1400f16a0
lea rcx, [rdi + 0xb0]
cmp qword [rcx + 0x18], 8
jb 0x1400c5033
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400c5133
mov rax, qword [rsi]
mov rdx, qword [rax + 0x18]
lea rcx, [rsp + 0x48]
call fcn.14002d260
nop
lea r8, [0x1401e32d4]
lea rdx, str.All_types
lea rcx, [rsp + 0x48]
call fcn.14002ff00
mov r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.1400c82d0
mov rdx, qword [rdi + 0xd0]
lea rcx, [rsp + 0x48]
call fcn.14002fef0
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.14002e540
nop
cmp qword [rbp + 0x30], 0
je 0x1400c50d0
lea rbx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rbx, qword [rbp + 0x20]
call fcn.14004a480
mov rcx, rax
mov r8, rbx
mov rdx, rdi
call fcn.14001ff00
movzx r12d, al
jmp 0x1400c50d3
xor r12b, r12b
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1400c5113
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c510e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c5899
call fcn.14017f5e4
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r14w
lea rcx, [rsp + 0x48]
call fcn.14002d4d0
jmp 0x1400c5849
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqu xmmword [rbp + 0x30], xmm1
mov word [rbp + 0x20], r14w
mov r8d, 9
lea rdx, str.__:___
lea rcx, [rbp + 0x20]
call fcn.140006d60
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x1401e3030]
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.140006d60
nop
lea r9, [rbp + 0x60]
lea r8, str.tabrename_title
lea rdx, [rbp + 0xa0]
lea rcx, [rsi + 0x478]
call fcn.14007a460
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x1400c51f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c51ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c589f
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r14w
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqu xmmword [rbp + 0x10], xmm1
mov word [rbp], r14w
mov r8d, 0xa
lea rdx, str.New_Name:
lea rcx, [rbp]
call fcn.140006d60
nop
lea r9, [rbp]
lea r8, str.tabrename_newname
lea rdx, [rbp + 0x80]
lea rcx, [rsi + 0x478]
call fcn.14007a460
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1400c5296
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5291
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c58a5
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
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 [0x1401e3030]
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 0x1400c53d0
lea rcx, [rbp + 0xf0]
call fcn.140006d60
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [r15 + r8*2], 0
jne 0x1400c53f0
mov rdx, r15
lea rcx, [rbp + 0x130]
call fcn.140006d60
mov r8, rbx
nop dword [rax]
inc r8
cmp word [r12 + r8*2], 0
jne 0x1400c5410
mov rdx, r12
lea rcx, [rbp + 0x110]
call fcn.140006d60
xor r15d, r15d
mov dword [rbp + 0x170], r15d
mov byte [rbp + 0x174], 1
test r14, r14
je 0x1400c5465
inc rbx
cmp word [r14 + rbx*2], r15w
jne 0x1400c5440
test rbx, rbx
je 0x1400c5465
mov r8, rbx
mov rdx, r14
lea rcx, [rbp + 0x150]
call fcn.140006d60
mov r13, qword [rbp + 0x20]
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [0x140129a60]
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 0x1400c56fc
mov rdx, rax
mov rcx, qword [rsi + 0x640]
call fcn.14004a290
test rax, rax
jne 0x1400c56bd
mov rdx, rbx
mov rcx, qword [rsi + 0x648]
call fcn.14004a290
test rax, rax
jne 0x1400c56bd
mov r12b, 1
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.140020ba0
call fcn.14000c980
cmp byte [rax + 0x835], r15b
je 0x1400c56ff
cmp byte [rax + 0xd6], r15b
je 0x1400c56ff
cmp byte [rax + 0xd7], r15b
jne 0x1400c56ff
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 0x1400c552a
mov r15, qword [rsi]
cmp r14, 8
jae 0x1400c5542
movups xmm0, xmmword [r15]
movups xmmword [rbp], xmm0
mov qword [rbp + 0x18], 7
jmp 0x1400c5582
mov rbx, r14
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp]
call fcn.140006990
mov qword [rbp], rax
lea r8, [r14*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.14019dbf0
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 [0x1401e3030]
movdqu xmmword [rbp + 0x50], xmm1
xor r15d, r15d
mov word [rbp + 0x40], r15w
xor r8d, r8d
lea rdx, [0x1401e4278]
lea rcx, [rbp + 0x40]
call fcn.140006d60
nop
lea rax, [rbp + 0x40]
cmp rsi, rax
je 0x1400c55e4
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x50]
mov rcx, rsi
call fcn.140006d60
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x1400c5624
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c561f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c58ab
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r15w
mov byte [rdi + 0x100], 1
call fcn.14004a480
mov rcx, rax
call fcn.14001d2a0
test al, al
je 0x1400c5662
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 0x1400c56a9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c56a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c58b1
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r15w
jmp 0x1400c56ff
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.14007aff0
xor r12b, r12b
lea rcx, [rbp + 0x150]
call fcn.1400068c0
nop
lea rcx, [rbp + 0x130]
call fcn.1400068c0
nop
lea rcx, [rbp + 0x110]
call fcn.1400068c0
nop
lea rcx, [rbp + 0xf0]
call fcn.1400068c0
nop
lea rcx, [rbp + 0xc0]
call fcn.140129340
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x1400c5786
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5781
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c58b7
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r15w
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x1400c57e4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c57df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c58bd
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp + 0xb0], xmm0
mov word [rbp + 0xa0], r15w
mov rax, qword [rbp + 0x38]
cmp rax, 8
jb 0x1400c5837
lea rdx, [rax*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400c582f
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c5893
mov rcx, r13
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
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.1400f16a0
movzx eax, r12b
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14017f700
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.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
int3