Function at 0x1400b7950
Capabilities:
Check if file exists
Delete file
Delete registry key

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, qword [rax + 0x3e0]
add rcx, 0x5c0
mov rax, qword [rcx]
call qword [rax]
mov rdx, qword [rbx]
mov rcx, qword [rdx + 0x3e0]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x250]
movsxd rdx, eax
call r8
mov rdi, rax
test rax, rax
je 0x1400b7c8f
mov rcx, qword [rax]
mov r8, qword [rcx + 0xc8]
lea rdx, [rsp + 0x40]
mov rcx, rax
call r8
nop
mov rcx, qword [rbx]
mov rcx, qword [rcx + 0x3e0]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x280]
mov rdx, rdi
call r8
call fcn.1400a3380
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
call fcn.1400af940
nop
mov rsi, qword [rax]
lea r11, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r11, qword [rsp + 0x40]
mov r10, qword [rsi]
mov rbx, qword [r10]
cmp rbx, r10
je 0x1400b7adc
nop word [rax + rax]
lea rcx, [rbx + 0x10]
mov rdx, r11
call fcn.14007eba0
test al, al
jne 0x1400b7a52
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r10
cmp rbx, r10
jne 0x1400b7a30
jmp 0x1400b7adc
lea r9, [rbx + 0x10]
cmp qword [rbx + 0x28], 8
jb 0x1400b7a61
mov r9, qword [rbx + 0x10]
lea r8, [rsi + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x1400b7a6f
mov r8, qword [r8]
lea rdx, [0x1403fea10]
lea rcx, [rbp - 0x40]
call fcn.1401349c0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rcx, [rbp - 0x40]
call fcn.14007ec70
mov rdx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
dec qword [rsi + 8]
lea rcx, [rbx + 0x30]
call fcn.14007ec70
lea rcx, [rbx + 0x10]
call fcn.14007ec70
mov edx, reloc.SHELL32.dll_SHDoDragDrop
mov rcx, rbx
call fcn.1401aed44
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1400b7b13
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b7b13
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400b7b13
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
lea rdx, str._s.png
lea rcx, [rbp - 0x20]
call fcn.1401349c0
nop
cmp qword [rax + 0x18], 8
jb 0x1400b7b3f
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1400ac220
nop
lea rcx, [rbp - 0x20]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400b7b82
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
lea rdx, str._s_thumb.png
lea rcx, [rbp]
call fcn.1401349c0
nop
cmp qword [rax + 0x18], 8
jb 0x1400b7bae
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400ac220
nop
lea rcx, [rbp]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400b7bf1
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
lea rdx, str._s.backup
lea rcx, [rbp + 0x20]
call fcn.1401349c0
nop
cmp qword [rax + 0x18], 8
jb 0x1400b7c1d
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400ac220
nop
lea rcx, [rbp + 0x20]
call fcn.14007ec70
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400b7c66
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x60]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x80]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x60]
call fcn.14007ec70
nop
lea rcx, [rsp + 0x40]
call fcn.14007ec70
mov al, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1401aed20
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
add rcx, 8
jmp 0x1400b7950