Function at 0x14000d3e0
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1401cb558]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x1d0]
xor esi, esi
mov ebx, ecx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rbx
mov r15d, esi
mov r12d, esi
mov qword [rbp - 0x70], rsi
mov r14d, esi
mov dword [r8], esi
mov edi, esi
mov dword [rsp + 0x48], r9d
mov r13d, r9d
mov qword [rbp - 0x68], r8
mov dword [rsp + 0x40], edx
call qword [sym.imp.USER32.dll_GetClipboardOwner]
mov rcx, qword [0x1401d7af8]
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x14000d493
test r13d, r13d
je 0x14000d485
mov rcx, qword [rsp + 0x58]
lea r9d, [rsi + 0x10]
lea r8, [0x1400eb388]
lea rdx, str.Cannot_open_clipboard
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rbp - 0x48]
call fcn.1400173f0
jmp 0x14000d68a
lea rcx, [rbp - 0x48]
call fcn.1400173b0
lea rcx, [rbp - 0x60]
call fcn.1400173d0
mov eax, dword [0x1401d7ae0]
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x54], eax
mov eax, dword [0x1401d7ae4]
mov dword [rbp - 0x58], eax
mov eax, dword [0x1401d7ae8]
mov dword [rbp - 0x50], eax
call fcn.1400173f0
cmp dword [0x1401d7adc], esi
jne 0x14000d50a
mov rax, qword [rsp + 0x58]
mov r9d, r13d
mov r8, qword [rbp - 0x68]
mov ecx, ebx
mov edx, dword [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.14000da90
test eax, eax
je 0x14000d50a
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rcx, [rbp - 0x48]
call fcn.1400173f0
mov eax, 1
jmp 0x14000d68c
mov rax, qword [rsp + 0x60]
mov r13d, 1
cmp rax, qword [0x1401d7af8]
mov dword [rsp + 0x68], esi
jne 0x14000d5a9
mov ecx, dword [0x1401c5de0]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r15, rax
test rax, rax
je 0x14000d5a9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, r15
mov qword [rsp + 0x60], rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14, rax
test rax, rax
je 0x14000d5b2
movsxd rax, ebx
cmp ebx, 0xc
jb 0x14000d598
movsd xmm0, qword [rax + r14 - 0xc]
mov ecx, 0xf1e3
mov eax, dword [rax + r14 - 4]
movsd qword [rsp + 0x78], xmm0
mov dword [rbp - 0x80], eax
cmp ax, cx
jne 0x14000d598
mov rbx, qword [rsp + 0x78]
shr rbx, 0x20
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x68], r13d
jmp 0x14000d5b7
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r14, rsi
mov r15, rsi
jmp 0x14000d5b2
mov ebx, dword [rsp + 0x70]
mov qword [rsp + 0x60], rbx
mov rbx, qword [rsp + 0x50]
mov edx, dword [rsp + 0x40]
mov eax, 0xd
test edx, 0xfffffffb
mov dword [rsp + 0x6c], eax
mov ecx, eax
cmovne ecx, r13d
mov dword [rsp + 0x70], ecx
cmp dword [rsp + 0x68], esi
jne 0x14000d736
mov ecx, eax
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x14000d600
cmp ebx, 0x16
ja 0x14000d600
mov eax, 0x500011
bt eax, ebx
jae 0x14000d600
mov eax, 0xd
jmp 0x14000d607
mov eax, r13d
mov dword [rsp + 0x6c], eax
mov ecx, eax
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r15, rax
test rax, rax
jne 0x14000d6b6
cmp dword [rsp + 0x48], esi
je 0x14000d63e
lea r9d, [rax + 0x10]
lea r8, [0x1400eb388]
lea rdx, str.Cannot_read_clipboard
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rbp - 0x48]
call fcn.1400173f0
test r14, r14
je 0x14000d667
test rdi, rdi
je 0x14000d65e
cmp rdi, r14
je 0x14000d65e
mov rcx, rdi
call fcn.14002af44
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp qword [rbp - 0x70], rsi
je 0x14000d676
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test r12, r12
je 0x14000d684
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14002a970
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, r15
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14, rax
test rax, rax
je 0x14000d72d
test dword [rsp + 0x50], 0xfffffffb
je 0x14000d72d
cmp dword [rsp + 0x6c], 0xd
jne 0x14000d72d
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov qword [rsp + 0x60], rbx
inc ebx
movsxd rcx, ebx
call fcn.14002af3c
mov qword [rsp + 0x38], rsi
mov r9d, 0xffffffff
mov qword [rsp + 0x30], rsi
mov r8, r14
mov dword [rsp + 0x28], ebx
xor edx, edx
mov ecx, 0x4e4
mov qword [rsp + 0x20], rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [rsp + 0x40]
jmp 0x14000d739
mov edx, dword [rsp + 0x40]
mov rdi, r14
jmp 0x14000d73e
mov rdi, r14
mov rbx, qword [rsp + 0x60]
test rdi, rdi
je 0x14000d63e
test ebx, ebx
jle 0x14000d63e
mov r8d, ebx
mov rbx, qword [rsp + 0x50]
mov ecx, ebx
call fcn.14000de90
add eax, 0xc
mov ecx, 2
movsxd rdx, eax
mov dword [rsp + 0x44], eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
jne 0x14000d79c
cmp dword [rsp + 0x48], esi
je 0x14000d63e
lea r9d, [rax + 0x10]
lea r8, [0x1400eb388]
lea rdx, str.Could_not_allocate_enough_memory_to_do_the_conversion
jmp 0x14000d633
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14000d63e
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x28], rcx
mov r9, rax
lea rcx, [rbp - 0x78]
mov dword [rbp - 0x78], 0xffffffff
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov ecx, ebx
call fcn.140016500
mov rcx, qword [rbp - 0x68]
mov dword [rcx], eax
test eax, eax
je 0x14000d81a
cmp dword [rsp + 0x48], esi
je 0x14000d63e
mov r8d, eax
lea rdx, str.Error__d_
lea rcx, [rbp - 0x30]
call fcn.1400080e0
mov r9d, 0x30
lea r8, str.Result
lea rdx, [rbp - 0x30]
jmp 0x14000d633
mov rcx, qword [rbp - 0x70]
mov eax, 0xf1e3
mov ebx, dword [rsp + 0x40]
mov word [rbp - 0x80], ax
movsxd rax, dword [rsp + 0x44]
add rcx, rax
mov word [rsp + 0x78], si
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x7c], ebx
movsd xmm0, qword [rsp + 0x78]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
add dword [rsp + 0x44], 0xc
cmp rdi, r14
je 0x14000d85e
mov rcx, rdi
call fcn.14002af44
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
movsxd rdx, dword [rsp + 0x44]
mov r8d, 2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalReAlloc]
test rax, rax
cmovne r12, rax
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov r14d, dword [rsp + 0x70]
mov rdx, r12
mov ecx, r14d
call qword [sym.imp.USER32.dll_SetClipboardData]
mov qword [0x1401da538], rsi
cmp r14d, 0xd
jne 0x14000d8ff
lea edx, [r14 - 9]
lea ecx, [rdx - 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
lea rbx, [0x140182bec]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
sub rcx, rbx
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x14000d8e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, r13d
jmp 0x14000d93d
cmp r14d, r13d
jne 0x14000d943
cmp ebx, 5
jne 0x14000d943
lea edx, [rbx - 1]
lea ecx, [rbx - 3]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000d935
mov rcx, rbx
mov dword [rax], 0x42a
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 0x10
call qword [sym.imp.USER32.dll_SetClipboardData]
cmp dword [rsp + 0x48], esi
je 0x14000d968
mov rcx, qword [rsp + 0x58]
lea r8, str.Result
mov r9d, 0x40
lea rdx, str.Successfully_converted
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rbp - 0x48]
mov dword [0x1401c5de0], r14d
mov esi, r13d
call fcn.1400173f0
jmp 0x14000d684