Function at 0x140015c30
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 0x1400163cd
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x1400163cd
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 0x140015cc8
mov dil, 1
jmp 0x1400163d0
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.140132648
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, [0x1401c3038]
lea edx, [r9 - 0x49]
mov rcx, qword [rsp + 0x58]
call sym.winvnc.exe_inflateInit2_
test eax, eax
jne 0x140016408
movsxd rcx, dword [rsp + 0x50]
call fcn.14013268c
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 0x140015f83
lea rax, [r10 + 4]
cmp rax, r10
jbe 0x140015dbe
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 0x140015f83
movsxd rdi, r15d
mov rcx, rdi
call fcn.14013268c
mov r12, rax
mov rsi, rax
lea r14, [rdi + rax]
cmp rax, r14
jae 0x140015e9a
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 0x140015e74
lea rax, [r9 + 1]
cmp rax, r8
jbe 0x140015e6c
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 0x140015e74
mov edx, dword [rsp + 0x40]
sub edx, dword [rsp + 0x38]
movsxd rdi, edx
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call fcn.140134960
mov r9, qword [rsp + 0x38]
add r9, rdi
mov qword [rsp + 0x38], r9
add rsi, rdi
cmp rsi, r14
jb 0x140015e30
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 0x140015f69
mov rdx, r14
add rdx, rdx
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140015f69
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140015f60
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 0x140015f60
mov rdx, rsi
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x140015f5d
lea eax, [r14 + r14]
mov r13, qword [rsp + 0x78]
mov dword [r13 + 4], eax
mov rcx, r12
call fcn.140132640
mov r10, qword [rsp + 0x38]
mov r14, qword [rbp - 0x80]
jmp 0x140015f88
mov r13b, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, r12
call fcn.140132640
test r13b, r13b
jne 0x1400162e8
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 0x1400160e8
lea rax, [r10 + 4]
cmp rax, qword [rsp + 0x40]
jbe 0x140015fbf
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 0x1400160e8
movsxd rdi, r15d
mov rdx, rdi
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
je 0x1400162e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x1400160da
lea r14, [rdi + rax]
cmp rax, r14
jae 0x1400160b7
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 0x140016094
lea rax, [rdx + 1]
cmp rax, r8
jbe 0x14001608c
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 0x140016094
mov ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x38]
movsxd rdi, ecx
mov r8, rdi
mov rcx, rsi
call fcn.140134960
mov rdx, qword [rsp + 0x38]
add rdx, rdi
mov qword [rsp + 0x38], rdx
add rsi, rdi
cmp rsi, r14
jb 0x140016050
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r12
mov ecx, dword [0x1401fdf54]
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x1400160da
mov dword [r13 + 8], r15d
jmp 0x1400160e3
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 0x140016248
lea rax, [r10 + 4]
cmp rax, qword [rsp + 0x40]
jbe 0x140016123
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 0x140016248
movsxd rdi, r14d
mov rdx, rdi
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
je 0x1400162e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x14001623a
lea r15, [rdi + rax]
cmp rax, r15
jae 0x140016217
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 0x1400161f4
lea rax, [rdx + 1]
cmp rax, r8
jbe 0x1400161ec
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 0x1400161f4
mov ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x38]
movsxd rdi, ecx
mov r8, rdi
mov rcx, rsi
call fcn.140134960
mov rdx, qword [rsp + 0x38]
add rdx, rdi
mov qword [rsp + 0x38], rdx
add rsi, rdi
cmp rsi, r15
jb 0x1400161b0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r12
mov ecx, dword [0x1401fdf50]
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x14001623a
mov dword [r13 + 0xc], r14d
jmp 0x140016243
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 0x1400163b2
lea rax, [r10 + 4]
cmp rax, qword [rsp + 0x40]
jbe 0x140016283
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 0x1400163b2
movsxd rdi, r14d
mov rdx, rdi
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
jne 0x1400162f0
xor dil, dil
jmp 0x1400163b5
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x1400163a9
lea r15, [rdi + rax]
cmp rax, r15
jae 0x140016387
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 0x140016364
lea rax, [rdx + 1]
cmp rax, r8
jbe 0x14001635c
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 0x140016364
mov ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x38]
movsxd rdi, ecx
mov r8, rdi
mov rcx, rsi
call fcn.140134960
mov rdx, qword [rsp + 0x38]
add rdx, rdi
mov qword [rsp + 0x38], rdx
add rsi, rdi
cmp rsi, r15
jb 0x140016320
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 0x1400163a9
mov dword [r13 + 0x10], r14d
jmp 0x1400163b2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.1400ab330
nop
lea rax, vtable.rdr::InStream.0
mov qword [rbp - 0x78], rax
jmp 0x1400163d0
xor dil, dil
test bl, bl
je 0x1400163da
call qword [sym.imp.USER32.dll_CloseClipboard]
movzx eax, dil
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140132620
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.140132684
lea r8, str.rdr::Exception
lea rdx, str.ZlibInStream:_inflateInit_failed
lea rcx, [rbp - 0x50]
call fcn.140015020
lea rdx, [0x1401eab78]
lea rcx, [rbp - 0x50]
call fcn.1401352a0
int3