Function at 0x140001310
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x370
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140027008]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r13, rcx
mov qword [rbp + 0x28], 7
xor r14d, r14d
mov qword [rbp + 0x20], r14
mov word [rbp + 0x10], r14w
lea r8d, [r14 + 0x3e]
lea rdx, str._WndProc__HWND_hwnd__UINT_msg__WPARAM_wParam__LPARAM_lParam__r_n
lea rcx, [rbp + 0x10]
call fcn.1400028d0
nop
mov qword [rbp + 8], 7
mov qword [rbp], r14
mov word [rbp - 0x10], r14w
lea r8d, [r14 + 0x41]
lea rdx, str._DlgProc__HWND_hwndDlg__UINT_msg__WPARAM_wParam__LPARAM_lParam__r_n
lea rcx, [rbp - 0x10]
call fcn.1400028d0
nop
mov edx, 0x3f1
mov rcx, r13
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [rax + 1]
mov edx, 0x3fe
mov rcx, r13
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [rax + 1]
xor eax, eax
mov qword [rbp - 0x18], rax
movsxd rdx, esi
lea rcx, [rbp - 0x18]
call fcn.140002f20
nop
xor eax, eax
mov qword [rbp - 0x20], rax
movsxd rdx, ebx
lea rcx, [rbp - 0x20]
call fcn.140002f20
nop
mov r9d, esi
mov rdi, qword [rbp - 0x18]
mov r8, rdi
mov edx, 0x3f1
mov rcx, r13
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
mov r9d, ebx
mov rsi, qword [rbp - 0x20]
mov r8, rsi
mov edx, 0x3fe
mov rcx, r13
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0x3e9
mov r9d, 0x8c
mov r8d, 0x191
mov rcx, r13
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rbx, rax
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
mov edx, 0x3f3
mov rcx, r13
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x140001c46
mov edx, 0x3fa
mov rcx, r13
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov rcx, r13
cmp eax, 1
jne 0x140001869
mov edx, 0x40b
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
or r15, 0xffffffffffffffff
test eax, eax
jne 0x140001580
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
cmp word [rdi], ax
jne 0x1400014c8
mov r8d, r14d
jmp 0x1400014db
mov r8, r15
nop dword [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400014d0
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400028d0
nop
lea r8, [rsp + 0x30]
lea rdx, str.___r_n__
lea rcx, [rsp + 0x50]
call fcn.140002fa0
nop
lea r8, str.__Window_Procedure_r_n___r_n
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140003060
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140002620
nop
cmp qword [rbp - 0x58], 8
jb 0x140001537
mov rcx, qword [rbp - 0x70]
call fcn.140007494
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
cmp qword [rsp + 0x68], 8
jb 0x14000155a
mov rcx, qword [rsp + 0x50]
call fcn.140007494
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
cmp qword [rsp + 0x48], 8
jb 0x140001580
mov rcx, qword [rsp + 0x30]
call fcn.140007494
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
cmp word [rdi], 0
jne 0x14000159f
mov r8, r14
jmp 0x1400015ad
mov r8, r15
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400015a2
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400028d0
nop
lea r8, [rsp + 0x30]
lea rdx, str.LRESULT_CALLBACK
lea rcx, [rsp + 0x70]
call fcn.140002fa0
nop
lea r8, [rbp + 0x10]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140003120
nop
lea r8, str._r_n_tswitch_msg__r_n_t_r_n
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140003060
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140002620
nop
cmp qword [rsp + 0x68], 8
jb 0x14000161d
mov rcx, qword [rsp + 0x50]
call fcn.140007494
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
cmp qword [rbp - 0x58], 8
jb 0x140001641
mov rcx, qword [rbp - 0x70]
call fcn.140007494
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
cmp qword [rbp - 0x78], 8
jb 0x140001663
mov rcx, qword [rsp + 0x70]
call fcn.140007494
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r14
mov word [rsp + 0x70], r14w
cmp qword [rsp + 0x48], 8
jb 0x140001687
mov rcx, qword [rsp + 0x30]
call fcn.140007494
test ebx, ebx
jle 0x140001831
xor edi, edi
mov r12d, edi
mov esi, ebx
nop word [rax + rax]
mov edx, 0x3fe
mov rcx, r13
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor r9d, r9d
mov r8, r12
mov edx, 0xbb
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r9, eax
mov qword [rsp + 0x20], rdi
mov edx, 0x3fe
mov r8d, 0xc1
mov rcx, r13
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov r14, rax
xor eax, eax
mov qword [rbp - 0x28], rax
lea ecx, [r14 + 1]
movsxd rbx, ecx
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140002f20
nop
lea r8, [rbx + rbx]
xor edx, edx
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call fcn.14000a000
inc r14w
add r14w, r14w
mov word [rbx], r14w
mov qword [rsp + 0x20], rbx
mov r9, r12
mov edx, 0x3fe
mov r8d, 0xc4
mov rcx, r13
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
cmp word [rbx], 0
jne 0x140001753
mov r8, rdi
jmp 0x14000176b
mov r8, r15
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140001760
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400028d0
nop
lea r8, [rsp + 0x30]
lea rdx, [0x14001d7ec]
lea rcx, [rsp + 0x50]
call fcn.140002fa0
nop
lea r8, [0x14001d7e4]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140003060
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140002620
nop
cmp qword [rbp - 0x78], 8
jb 0x1400017c9
mov rcx, qword [rsp + 0x70]
call fcn.140007494
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x70], di
cmp qword [rsp + 0x68], 8
jb 0x1400017ec
mov rcx, qword [rsp + 0x50]
call fcn.140007494
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
cmp qword [rsp + 0x48], 8
jb 0x140001812
mov rcx, qword [rsp + 0x30]
call fcn.140007494
nop
mov rcx, rbx
call fcn.140007460
inc r12
dec rsi
jne 0x1400016a0
mov rdi, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x20]
xor r14d, r14d
mov edx, 0x40c
mov rcx, r13
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
jne 0x140001857
lea r8d, [rax + 0x34]
lea rdx, [0x14001d7f0]
lea rcx, [rbp - 0x48]
call fcn.140002760
mov r8d, 0x44
lea rdx, str._r_n_tdefault:_return_DefWindowProc__hwnd__msg__wParam__lParam___r_n_t_r_n
jmp 0x140001c66
mov edx, 0x3fb
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x140001c6f
mov edx, 0x40b
mov rcx, r13
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
or r15, 0xffffffffffffffff
test eax, eax
jne 0x140001973
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
cmp word [rdi], ax
jne 0x1400018b5
mov r8, r14
jmp 0x1400018cb
mov r8, r15
nop dword [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400018c0
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400028d0
nop
lea r8, [rsp + 0x30]
lea rdx, str.___r_n__
lea rcx, [rsp + 0x50]
call fcn.140002fa0
nop
lea r8, str.__Dialog_Procedure_r_n___r_n
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140003060
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140002620
nop
cmp qword [rbp - 0x78], 8
jb 0x140001929
mov rcx, qword [rsp + 0x70]
call fcn.140007494
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r14
mov word [rsp + 0x70], r14w
cmp qword [rsp + 0x68], 8
jb 0x14000194d
mov rcx, qword [rsp + 0x50]
call fcn.140007494
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
cmp qword [rsp + 0x48], 8
jb 0x140001973
mov rcx, qword [rsp + 0x30]
call fcn.140007494
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
cmp word [rdi], 0
jne 0x140001992
mov r8, r14
jmp 0x1400019a0
mov r8, r15
inc r8
cmp word [rdi + r8*2], 0
jne 0x140001995
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400028d0
nop
lea r8, [rsp + 0x30]
lea rdx, str.BOOL_CALLBACK
lea rcx, [rbp - 0x70]
call fcn.140002fa0
nop
lea r8, [rbp - 0x10]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140003120
nop
lea r8, str._r_n_tswitch_msg__r_n_t_r_n
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140003060
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140002620
nop
cmp qword [rbp - 0x78], 8
jb 0x140001a0f
mov rcx, qword [rsp + 0x70]
call fcn.140007494
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r14
mov word [rsp + 0x70], r14w
cmp qword [rsp + 0x68], 8
jb 0x140001a33
mov rcx, qword [rsp + 0x50]
call fcn.140007494
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
cmp qword [rbp - 0x58], 8
jb 0x140001a57
mov rcx, qword [rbp - 0x70]
call fcn.140007494
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
cmp qword [rsp + 0x48], 8
jb 0x140001a7a
mov rcx, qword [rsp + 0x30]
call fcn.140007494
test ebx, ebx
jle 0x140001c11
xor edi, edi
mov r12d, edi
mov esi, ebx
nop dword [rax]
mov edx, 0x3fe
mov rcx, r13
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor r9d, r9d
mov r8, r12
mov edx, 0xbb
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r9, eax
mov qword [rsp + 0x20], rdi
mov edx, 0x3fe
mov r8d, 0xc1
mov rcx, r13
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov r14, rax
xor eax, eax
mov qword [rbp - 0x28], rax
lea ecx, [r14 + 1]
movsxd rbx, ecx
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140002f20
nop
lea r8, [rbx + rbx]
xor edx, edx
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call fcn.14000a000
mov word [rbx], r14w
mov qword [rsp + 0x20], rbx
mov r9, r12
mov edx, 0x3fe
mov r8d, 0xc4
mov rcx, r13
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
cmp word [rbx], 0
jne 0x140001b3b
mov r8, rdi
jmp 0x140001b4b
mov r8, r15
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x140001b40
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400028d0
nop
lea r8, [rsp + 0x30]
lea rdx, [0x14001d7ec]
lea rcx, [rsp + 0x50]
call fcn.140002fa0
nop
lea r8, [0x14001d7e4]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140003060
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140002620
nop
cmp qword [rbp - 0x78], 8
jb 0x140001ba9
mov rcx, qword [rsp + 0x70]
call fcn.140007494
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x70], di
cmp qword [rsp + 0x68], 8
jb 0x140001bcc
mov rcx, qword [rsp + 0x50]
call fcn.140007494
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
cmp qword [rsp + 0x48], 8
jb 0x140001bf2
mov rcx, qword [rsp + 0x30]
call fcn.140007494
nop
mov rcx, rbx
call fcn.140007460
inc r12
dec rsi
jne 0x140001a90
mov rdi, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x20]
xor r14d, r14d
mov edx, 0x40c
mov rcx, r13
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
jne 0x140001c37
lea r8d, [rax + 0x34]
lea rdx, str._r_n_t_t_____TODO:_Add_dialog_message_crackers_here..._r_n
lea rcx, [rbp - 0x48]
call fcn.140002760
mov r8d, 0x20
lea rdx, str._r_n_tdefault:_return_FALSE__r_n_t_r_n
jmp 0x140001c66
cmp word [rsi], 0
jne 0x140001c51
mov r15, r14
jmp 0x140001c60
or r15, 0xffffffffffffffff
inc r15
cmp word [rsi + r15*2], 0
jne 0x140001c55
mov r8, r15
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.140002760
mov rdx, qword [rbp - 0x38]
lea rdx, [rdx*2 + 2]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x140001ce8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140001d05
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r8, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x38]
add rdx, 2
mov rcx, rax
call fcn.140001030
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r13
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rbx
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x140001d05
mov r9d, InitCommonControls
lea r8, str.Error
lea rdx, str.Cannot_allocate_memory_for_clipboard_text
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
cmp qword [rbp - 0x30], 8
jb 0x140001d15
mov rcx, qword [rbp - 0x48]
call fcn.140007494
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
test rsi, rsi
je 0x140001d34
mov rcx, rsi
call fcn.140007460
nop
test rdi, rdi
je 0x140001d42
mov rcx, rdi
call fcn.140007460
nop
cmp qword [rbp + 8], 8
jb 0x140001d52
mov rcx, qword [rbp - 0x10]
call fcn.140007494
mov qword [rbp + 8], 7
mov qword [rbp], r14
mov word [rbp - 0x10], r14w
cmp qword [rbp + 0x28], 8
jb 0x140001d73
mov rcx, qword [rbp + 0x10]
call fcn.140007494
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140006d60
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret