Function at 0x140034df0
Capabilities:
Get graphical window text
Open clipboard
Write clipboard data

Disassembly:
push rbp
lea rbp, [rsp - 0xde0]
sub rsp, 0xee0
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rbp + 0xdd0], rax
mov rcx, qword [0x1400c0ca8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jg 0x140034e34
lea rcx, str.You_must_specify_a_server_r_n
call fcn.140020ee0
jmp 0x140035197
cmp eax, 0x100
jl 0x140034e4c
lea rcx, str.Server_name_too_long_r_n
call fcn.140020ee0
jmp 0x140035197
mov rcx, qword [0x1400c0ca8]
lea r8d, [rax + 1]
mov qword [rsp + 0xef0], rbx
lea rdx, [rbp + 0x5d0]
mov qword [rsp + 0xef8], rsi
mov qword [rsp + 0xf00], rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor edi, edi
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x38], rdi
lea r8, [rbp + 0x5d0]
mov qword [rsp + 0x30], rdi
xor edx, edx
mov dword [rsp + 0x28], 0x40
mov ecx, 0xfde9
lea r9d, [rdi - 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x140034efe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140034edb
lea r8, [rbp + 0x5d0]
lea edx, [rdi + 0x40]
lea rcx, str.String_too_long:__.S_r_n
call fcn.140020ee0
jmp 0x140034efe
mov r8d, 0x100
lea rdx, [rbp + 0x4d0]
mov ecx, eax
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c2b40]
call fcn.140020ee0
mov rcx, qword [0x1400c0d48]
lea rdx, [rbp - 0x50]
mov r8d, 0x20
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x1400d22c8]
lea rcx, [rbp - 0x60]
call fcn.1400498e0
mov esi, 0x400
lea r9, [rbp + 0x3d0]
mov edx, esi
lea r8, str.expedat:___s_
lea rcx, [rbp - 0x30]
call fcn.140044c10
movsxd rbx, eax
call fcn.140032dd0
test eax, eax
js 0x14003517f
mov r8d, esi
lea rcx, [rbp - 0x30]
sub r8d, ebx
lea rdx, [0x1400d22f0]
add rcx, rbx
call fcn.1400498e0
mov rcx, qword [0x1400c12e8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1032
add ebx, eax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jbe 0x140034fa2
lea rcx, str.You_may_only_select_one_item_at_a_time_for_a_URL_r_n
call fcn.140020ee0
jmp 0x14003517f
jne 0x14003504a
mov rcx, qword [0x1400c12e8]
mov r9d, 2
mov edx, 0x100c
lea r8, [r9 - 3]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1400c12e8]
lea r9, [rsp + 0x40]
xorps xmm0, xmm0
mov dword [rsp + 0x40], 4
xor r8d, r8d
mov dword [rsp + 0x44], eax
mov edx, 0x104b
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rax, dword [rsp + 0x68]
mov r8d, esi
mov rdx, qword [0x1400d3080]
sub r8d, ebx
imul rcx, rax, 0x148
add rdx, 0x48
movsxd rax, ebx
add rdx, rcx
lea rcx, [rbp - 0x30]
add rcx, rax
call fcn.1400498e0
add ebx, eax
cmp ebx, 0x3ff
jl 0x14003504a
lea rcx, [0x1400c3d90]
jmp 0x140035176
movzx eax, byte [rbp - 0x50]
test al, al
je 0x140035089
mov eax, esi
lea rcx, [rbp - 0x30]
sub eax, ebx
lea r8, str._up
movsxd rdx, eax
movsxd rax, ebx
add rcx, rax
call fcn.140044c10
add ebx, eax
cmp ebx, 0x3ff
jl 0x140035085
lea rcx, [0x1400c3da8]
jmp 0x140035176
movzx eax, byte [rbp - 0x50]
cmp byte [rbp - 0x60], dil
je 0x1400350da
test al, al
lea r8, str._ch_s
mov ecx, 0x26
movsxd rax, ebx
mov r9d, 0x3f
cmovne r9d, ecx
lea rcx, [rbp - 0x30]
add rcx, rax
sub esi, ebx
lea rax, [rbp - 0x60]
movsxd rdx, esi
mov qword [rsp + 0x20], rax
call fcn.140044c10
add ebx, eax
cmp ebx, 0x3ff
jl 0x1400350da
lea rcx, str.URL_too_long:__s_r_n
jmp 0x140035176
mov rcx, qword [0x1400c0a30]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14003516f
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x140035160
lea eax, [rbx + 1]
mov ecx, 0x42
movsxd rsi, eax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x140035160
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140035160
mov r8, rsi
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.14006ffd0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x140035160
lea rdx, [rbp - 0x30]
lea rcx, str.Copied_to_clipboard:__s_r_n
call fcn.140020ee0
jmp 0x140035165
mov edi, 1
call qword [sym.imp.USER32.dll_CloseClipboard]
test edi, edi
je 0x14003517f
lea rcx, [0x1400c3854]
lea rdx, [rbp - 0x30]
call fcn.140020ee0
mov rsi, qword [rsp + 0xef8]
mov rbx, qword [rsp + 0xef0]
mov rdi, qword [rsp + 0xf00]
mov rcx, qword [rbp + 0xdd0]
xor rcx, rsp
call fcn.14006f1f0
add rsp, 0xee0
pop rbp
ret