Function at 0x14006aa6c
Capabilities:
Delete file
Get common file path
Open clipboard

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140096008]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor esi, esi
lea rcx, str.MSOB32
mov edi, esi
mov dword [0x1400b8b48], esi
call qword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x140096f14], ax
test ax, ax
je 0x14006ada7
lea rcx, str.MSOL32
call qword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x140096f1c], ax
test ax, ax
je 0x14006ada7
lea rcx, str.MSOD32
call qword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x140096f10], ax
test ax, ax
je 0x14006ada7
lea rcx, str.OrgPlus.4
call qword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x1400b88c6], ax
test ax, ax
je 0x14006ada7
lea rcx, str.Embed_Source
call qword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x1400b88c8], ax
test ax, ax
je 0x14006ada7
lea rcx, str.Object_Descriptor
call qword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x1400b88ca], ax
test ax, ax
je 0x14006ada7
lea rcx, str.Link_Source
call qword [sym.imp.USER32.dll_RegisterClipboardFormatA]
cmp word [0x1400b88ca], si
mov word [0x1400b88cc], ax
je 0x14006ada7
lea rcx, str.Link_Source_Descriptor
call qword [sym.imp.USER32.dll_RegisterClipboardFormatA]
cmp word [0x1400b88ca], si
mov word [0x1400b88ce], ax
je 0x14006ada7
lea rcx, str.StdScale
call qword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x1400b88d0], ax
test ax, ax
je 0x14006ada7
mov ebx, 0x106
lea rdx, [rsp + 0x40]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r8, str.OrgChartClip.dat
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1400205fc
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14006ac33
movzx ecx, word [0x140096f14]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14006ac24
movzx ecx, word [0x140096f1c]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14006ac24
movzx ecx, word [0x140096f18]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14006ac24
movzx ecx, word [0x140096f10]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
lea ebx, [rsi + 1]
test eax, eax
je 0x14006ac26
mov ebx, esi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov edi, ebx
xor edi, 1
jmp 0x14006ac38
mov ebx, 1
test ebx, ebx
jne 0x14006ac7d
lea rax, [rsp + 0x30]
xor edx, edx
lea r8, [0x1400b8b40]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
call fcn.140045e2c
test eax, eax
jne 0x14006ac7d
mov ecx, dword [0x1400b8b40]
call fcn.14004590c
mov ebx, eax
test eax, eax
je 0x14006ad93
mov ecx, dword [0x1400b8b40]
call fcn.1400461a8
test edi, edi
je 0x14006ac87
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rsp + 0x40]
call fcn.140046028
mov ebx, eax
test eax, eax
jne 0x14006ada3
lea rax, [rsp + 0x30]
xor edx, edx
lea r8, [0x1400b8b40]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
call fcn.140045e2c
mov ebx, eax
test eax, eax
jne 0x14006ada3
mov ecx, dword [0x1400b8b40]
lea edx, [rax + 0x65]
call fcn.1400445ec
mov ecx, dword [0x1400b8b40]
lea edx, [rbx + 0x66]
call fcn.1400445ec
mov ecx, dword [0x1400b8b40]
lea edx, [rbx + 0x67]
call fcn.1400445ec
mov ecx, dword [0x1400b8b40]
lea edx, [rbx + 0x68]
call fcn.1400445ec
mov ecx, dword [0x1400b8b40]
lea edx, [rbx + 0x64]
call fcn.1400445ec
mov ecx, dword [0x1400b8b40]
lea edx, [rbx + 0x69]
call fcn.1400445ec
mov ecx, dword [0x1400b8b40]
lea edx, [rbx + 0x6a]
call fcn.1400445ec
mov ecx, dword [0x1400b8b40]
lea edx, [rbx + 0x6b]
call fcn.1400445ec
mov ecx, dword [0x1400b8b40]
lea edx, [rbx + 0x6c]
call fcn.1400445ec
mov ecx, dword [0x1400b8b40]
lea edx, [rbx + 0x6d]
call fcn.1400445ec
mov ecx, dword [0x1400b8b40]
lea edx, [rbx + 0x6e]
call fcn.1400445ec
mov ecx, dword [0x1400b8b40]
lea edx, [rbx + 0x6f]
call fcn.1400445ec
mov ebx, eax
test eax, eax
je 0x14006ad93
mov ecx, dword [0x1400b8b40]
call fcn.1400461a8
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x14006ada3
mov dword [0x1400b8b48], 1
mov dword [0x1400b8b44], esi
mov eax, ebx
jmp 0x14006adac
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14008a940
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret