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

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x12a0]
mov eax, 0x13a0
call fcn.1401686c0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x13e0], rbx
mov qword [rsp + 0x13e8], rsi
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x1290], rax
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x1400b3d2e
mov rax, qword [rcx + 0x890]
mov rdi, qword [rax + 0x38]
call fcn.1400417e0
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 r12, [rsi + 0x97a20]
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400dfd00
xor r14b, r14b
lea rcx, [rdi + 0xb0]
cmp qword [rcx + 0x18], 8
jb 0x1400b3d74
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
xor ebx, ebx
test al, al
je 0x1400b3e28
mov rax, qword [rsi]
mov r8, qword [rax + 8]
mov rdx, qword [rax + 0x18]
lea rcx, [rbp + 0x160]
call fcn.140042e60
nop
xor r9d, r9d
lea r8, [0x1401d25b4]
lea rdx, str.All_types
lea rcx, [rbp + 0x160]
call fcn.140044750
or r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp + 0x160]
mov rcx, rsi
call fcn.1400b6780
mov r8, qword [rdi + 0xd0]
mov edx, 0x820
lea rcx, [rbp + 0x160]
call fcn.14018fc10
lea rcx, [rbp + 0x160]
call fcn.140043cb0
mov rsi, rax
test rax, rax
je 0x1400b3e17
call fcn.1400417e0
mov rcx, rax
mov r8, rsi
mov rdx, rdi
call fcn.14001ffd0
movzx r14d, al
lea rcx, [rbp + 0x160]
call fcn.140042fb0
jmp 0x1400b4283
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], rbx
mov word [rbp + 0x40], bx
mov r8d, 9
lea rdx, str.__:___
lea rcx, [rbp + 0x40]
call fcn.140006f10
nop
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], rbx
mov word [rbp], bx
mov r8d, 0x12
lea rdx, str.Rename_Current_Tab
lea rcx, [rbp]
call fcn.140006f10
nop
lea r9, [rbp]
lea r8, str.tabrename_title
lea rdx, [rbp + 0x80]
lea rcx, [rsi + 0x478]
call fcn.140070300
nop
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x1400b3ebf
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.140007680
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], rbx
mov word [rbp], bx
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], rbx
mov word [rbp + 0x20], bx
mov r8d, 0xa
lea rdx, str.New_Name:
lea rcx, [rbp + 0x20]
call fcn.140006f10
nop
lea r9, [rbp + 0x20]
lea r8, str.tabrename_newname
lea rdx, [rbp + 0x60]
lea rcx, [rsi + 0x478]
call fcn.140070300
nop
mov r8, qword [rbp + 0x38]
cmp r8, 8
jb 0x1400b3f34
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140007680
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], rbx
mov word [rbp + 0x20], bx
lea rax, vtable.Window.0
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xb0], xmm0
lea rax, vtable.StaticDialog.0
mov qword [rbp + 0xa0], rax
lea rax, vtable.StringDlg.0
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xe0], rbx
mov qword [rbp + 0xe8], rbx
mov qword [rbp + 0xe8], 7
mov qword [rbp + 0xe0], rbx
mov word [rbp + 0xd0], bx
mov qword [rbp + 0x100], rbx
mov qword [rbp + 0x108], rbx
mov qword [rbp + 0x108], 7
mov qword [rbp + 0x100], rbx
mov word [rbp + 0xf0], bx
mov qword [rbp + 0x120], rbx
mov qword [rbp + 0x128], rbx
mov qword [rbp + 0x128], 7
mov qword [rbp + 0x120], rbx
mov word [rbp + 0x110], bx
mov qword [rbp + 0x140], rbx
mov qword [rbp + 0x148], rbx
mov qword [rbp + 0x148], 7
mov qword [rbp + 0x140], rbx
mov word [rbp + 0x130], bx
mov dword [rbp + 0x150], ebx
mov byte [rbp + 0x154], 0
mov qword [rbp + 0x158], rbx
lea r8, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae r8, qword [rbp + 0x40]
mov rcx, qword [rdi + 0xd0]
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rdx, qword [rbp + 0x60]
lea r9, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r9, qword [rbp + 0x80]
mov rax, qword [rsi]
mov byte [rsp + 0x40], 1
mov qword [rsp + 0x38], r8
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
mov r8, qword [rax + 0x18]
mov rdx, qword [rax + 8]
lea rcx, [rbp + 0xa0]
call fcn.1400b4f20
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [0x1401103c0]
mov r8, qword [rbp + 0xb0]
mov edx, 0x6590
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
test rax, rax
je 0x1400b41e6
mov r14b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.140020f30
call fcn.14000cdd0
cmp byte [rax + 0x815], 0
je 0x1400b41e6
cmp byte [rax + 0xde], 0
je 0x1400b41e6
cmp byte [rax + 0xdf], 0
jne 0x1400b41e6
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.14001ef50
nop
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], rbx
mov word [rbp], bx
xor r8d, r8d
lea rdx, [0x1401d3618]
lea rcx, [rbp]
call fcn.140006f10
nop
lea rcx, [rdi + 0xe0]
lea rax, [rbp]
cmp rcx, rax
je 0x1400b4165
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp]
call fcn.140006dd0
nop
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x1400b417f
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.140007680
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], rbx
mov word [rbp], bx
mov byte [rdi + 0x100], 1
call fcn.1400417e0
mov rcx, rax
call fcn.14001d3d0
test al, al
je 0x1400b41bc
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov r8, qword [rbp + 0x38]
cmp r8, 8
jb 0x1400b41d6
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140007680
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], rbx
mov word [rbp + 0x20], bx
lea rcx, [rbp + 0xa0]
call fcn.1400ae9c0
nop
mov r8, qword [rbp + 0x78]
cmp r8, 8
jb 0x1400b420d
inc r8
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x60]
call fcn.140007680
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rbx
mov word [rbp + 0x60], bx
mov r8, qword [rbp + 0x98]
cmp r8, 8
jb 0x1400b4240
inc r8
mov rdx, qword [rbp + 0x80]
lea rcx, [rbp + 0x80]
call fcn.140007680
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], rbx
mov word [rbp + 0x80], bx
mov r8, qword [rbp + 0x58]
cmp r8, 8
jb 0x1400b4273
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.140007680
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], rbx
mov word [rbp + 0x40], bx
test r14b, r14b
setne bl
add ebx, 0x3fe
mov dword [rsp + 0x70], ebx
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400dfd00
movzx eax, r14b
mov rcx, qword [rbp + 0x1290]
xor rcx, rsp
call fcn.140168660
lea r11, [rsp + 0x13a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret