Function at 0x140015e90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r14, r8
mov qword [rbp - 0x80], r8
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov rcx, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne bl
mov byte [rsp + 0x70], bl
test bl, bl
je 0x14001662d
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x14001662d
xor r15d, r15d
mov qword [rsi + 0xc], r15
mov qword [rsi + 4], r15
mov edi, dword [r14 + 0x18]
add edi, dword [r14 + 8]
sub edi, dword [r14 + 0x10]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sym.winvnc.exe_crc32_z
mov dword [rsi], eax
test edi, edi
jne 0x140015f28
mov dil, 1
jmp 0x140016630
mov rcx, qword [r14 + 0x10]
lea rax, vtable.rdr::MemInStream.0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x70], rcx
movsxd rax, edi
add rax, rcx
mov qword [rbp - 0x68], rax
lea rax, vtable.rdr::ZlibInStream.0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 0x4000
mov dword [rsp + 0x60], r15d
mov ecx, 0x58
call fcn.1401312e8
mov qword [rsp + 0x58], rax
mov qword [rax + 0x30], r15
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x38], r15
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x40], r15
mov rax, qword [rsp + 0x58]
mov qword [rax], r15
mov rax, qword [rsp + 0x58]
mov dword [rax + 8], r15d
mov r9d, 0x58
lea r8, [0x1401c3018]
lea edx, [r9 - 0x49]
mov rcx, qword [rsp + 0x58]
call sym.winvnc.exe_inflateInit2_
test eax, eax
jne 0x140016668
movsxd rcx, dword [rsp + 0x50]
call fcn.14013132c
mov r10, rax
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x38], r10
xor r13b, r13b
mov rcx, qword [r14]
test byte [rcx + 3], 1
je 0x1400161e3
lea rax, [r10 + 4]
cmp rax, r10
jbe 0x14001601e
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x18]
mov r10, qword [rsp + 0x38]
movzx r15d, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
movzx eax, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
movzx ecx, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
movzx edx, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
shl r15d, 8
or r15d, eax
shl r15d, 8
or r15d, ecx
shl r15d, 8
or r15d, edx
jle 0x1400161e3
movsxd rdi, r15d
mov rcx, rdi
call fcn.14013132c
mov r12, rax
mov rsi, rax
lea r14, [rdi + rax]
cmp rax, r14
jae 0x1400160fa
mov r9, qword [rsp + 0x38]
nop dword [rax + rax]
mov edx, r14d
sub edx, esi
movsxd rcx, edx
add rcx, r9
mov r8, qword [rsp + 0x40]
cmp rcx, r8
jbe 0x1400160d4
lea rax, [r9 + 1]
cmp rax, r8
jbe 0x1400160cc
mov r8d, edx
mov edx, 1
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x18]
mov edx, eax
mov r9, qword [rsp + 0x38]
jmp 0x1400160d4
mov edx, dword [rsp + 0x40]
sub edx, dword [rsp + 0x38]
movsxd rdi, edx
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call fcn.140133600
mov r9, qword [rsp + 0x38]
add r9, rdi
mov qword [rsp + 0x38], r9
add rsi, rdi
cmp rsi, r14
jb 0x140016090
mov r8d, r15d
mov rdx, r12
mov rdi, qword [rsp + 0x78]
mov ecx, dword [rdi]
call sym.winvnc.exe_crc32_z
mov dword [rdi], eax
xor eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
mov r9d, r15d
mov r8, r12
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd r14, eax
test eax, eax
jle 0x1400161c9
mov rdx, r14
add rdx, rdx
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x1400161c9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400161c0
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov r9d, r15d
mov r8, r12
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test edi, edi
jle 0x1400161c0
mov rdx, rsi
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x1400161bd
lea eax, [r14 + r14]
mov r13, qword [rsp + 0x78]
mov dword [r13 + 4], eax
mov rcx, r12
call fcn.1401312e0
mov r10, qword [rsp + 0x38]
mov r14, qword [rbp - 0x80]
jmp 0x1400161e8
mov r13b, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, r12
call fcn.1401312e0
test r13b, r13b
jne 0x140016548
mov r10, qword [rsp + 0x38]
mov r14, qword [rbp - 0x80]
mov r13, qword [rsp + 0x78]
mov rax, qword [r14]
mov ecx, dword [rax]
shr ecx, 0x19
test cl, 1
je 0x140016348
lea rax, [r10 + 4]
cmp rax, qword [rsp + 0x40]
jbe 0x14001621f
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x18]
mov r10, qword [rsp + 0x38]
movzx r15d, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
movzx eax, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
movzx ecx, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
movzx edx, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
shl r15d, 8
or r15d, eax
shl r15d, 8
or r15d, ecx
shl r15d, 8
or r15d, edx
jle 0x140016348
movsxd rdi, r15d
mov rdx, rdi
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
je 0x140016548
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x14001633a
lea r14, [rdi + rax]
cmp rax, r14
jae 0x140016317
mov rdx, qword [rsp + 0x38]
nop word [rax + rax]
mov ecx, r14d
sub ecx, esi
movsxd rax, ecx
add rax, rdx
mov r8, qword [rsp + 0x40]
cmp rax, r8
jbe 0x1400162f4
lea rax, [rdx + 1]
cmp rax, r8
jbe 0x1400162ec
mov r8d, ecx
mov edx, 1
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x18]
mov ecx, eax
mov rdx, qword [rsp + 0x38]
jmp 0x1400162f4
mov ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x38]
movsxd rdi, ecx
mov r8, rdi
mov rcx, rsi
call fcn.140133600
mov rdx, qword [rsp + 0x38]
add rdx, rdi
mov qword [rsp + 0x38], rdx
add rsi, rdi
cmp rsi, r14
jb 0x1400162b0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r12
mov ecx, dword [0x1401fdf30]
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x14001633a
mov dword [r13 + 8], r15d
jmp 0x140016343
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r10, qword [rsp + 0x38]
mov rax, qword [rbp - 0x80]
mov rax, qword [rax]
mov ecx, dword [rax]
shr ecx, 0x1a
test cl, 1
je 0x1400164a8
lea rax, [r10 + 4]
cmp rax, qword [rsp + 0x40]
jbe 0x140016383
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x18]
mov r10, qword [rsp + 0x38]
movzx r14d, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
movzx eax, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
movzx ecx, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
movzx edx, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
shl r14d, 8
or r14d, eax
shl r14d, 8
or r14d, ecx
shl r14d, 8
or r14d, edx
jle 0x1400164a8
movsxd rdi, r14d
mov rdx, rdi
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
je 0x140016548
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x14001649a
lea r15, [rdi + rax]
cmp rax, r15
jae 0x140016477
mov rdx, qword [rsp + 0x38]
nop
mov ecx, r15d
sub ecx, esi
movsxd rax, ecx
add rax, rdx
mov r8, qword [rsp + 0x40]
cmp rax, r8
jbe 0x140016454
lea rax, [rdx + 1]
cmp rax, r8
jbe 0x14001644c
mov r8d, ecx
mov edx, 1
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x18]
mov ecx, eax
mov rdx, qword [rsp + 0x38]
jmp 0x140016454
mov ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x38]
movsxd rdi, ecx
mov r8, rdi
mov rcx, rsi
call fcn.140133600
mov rdx, qword [rsp + 0x38]
add rdx, rdi
mov qword [rsp + 0x38], rdx
add rsi, rdi
cmp rsi, r15
jb 0x140016410
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r12
mov ecx, dword [0x1401fdf2c]
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x14001649a
mov dword [r13 + 0xc], r14d
jmp 0x1400164a3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r10, qword [rsp + 0x38]
mov rax, qword [rbp - 0x80]
mov rax, qword [rax]
mov ecx, dword [rax]
shr ecx, 0x1b
test cl, 1
je 0x140016612
lea rax, [r10 + 4]
cmp rax, qword [rsp + 0x40]
jbe 0x1400164e3
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x18]
mov r10, qword [rsp + 0x38]
movzx r14d, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
movzx edx, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
movzx r8d, byte [r10]
inc r10
mov qword [rsp + 0x38], r10
movzx r9d, byte [r10]
lea rax, [r10 + 1]
mov qword [rsp + 0x38], rax
shl r14d, 8
or r14d, edx
shl r14d, 8
or r14d, r8d
shl r14d, 8
or r14d, r9d
jle 0x140016612
movsxd rdi, r14d
mov rdx, rdi
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
jne 0x140016550
xor dil, dil
jmp 0x140016615
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x140016609
lea r15, [rdi + rax]
cmp rax, r15
jae 0x1400165e7
mov rdx, qword [rsp + 0x38]
nop dword [rax]
nop word [rax + rax]
mov ecx, r15d
sub ecx, esi
movsxd rax, ecx
add rax, rdx
mov r8, qword [rsp + 0x40]
cmp rax, r8
jbe 0x1400165c4
lea rax, [rdx + 1]
cmp rax, r8
jbe 0x1400165bc
mov r8d, ecx
mov edx, 1
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x18]
mov ecx, eax
mov rdx, qword [rsp + 0x38]
jmp 0x1400165c4
mov ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x38]
movsxd rdi, ecx
mov r8, rdi
mov rcx, rsi
call fcn.140133600
mov rdx, qword [rsp + 0x38]
add rdx, rdi
mov qword [rsp + 0x38], rdx
add rsi, rdi
cmp rsi, r15
jb 0x140016580
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r12
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x140016609
mov dword [r13 + 0x10], r14d
jmp 0x140016612
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.1400a9f10
nop
lea rax, vtable.rdr::InStream.0
mov qword [rbp - 0x78], rax
jmp 0x140016630
xor dil, dil
test bl, bl
je 0x14001663a
call qword [sym.imp.USER32.dll_CloseClipboard]
movzx eax, dil
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1401312c0
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edx, 0x58
mov rcx, qword [rsp + 0x58]
call fcn.140131324
lea r8, str.rdr::Exception
lea rdx, str.ZlibInStream:_inflateInit_failed
lea rcx, [rbp - 0x50]
call fcn.140015280
lea rdx, [0x1401eb3d8]
lea rcx, [rbp - 0x50]
call fcn.140133f40
int3