Function at 0x41b4c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56901d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x5d7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0
test al, al
je 0x41b7de
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x41b7de
mov ebx, dword [ebp + 0xc]
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov esi, dword [ebx + 0xc]
add esi, dword [ebx + 4]
sub esi, dword [ebx + 8]
mov dword [edi], 0
jne 0x41b54f
mov bl, 1
jmp 0x41b7e0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
add eax, esi
mov dword [ebp - 0x2c], 0x584ff4
mov dword [ebp - 0x24], eax
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.004a1690
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx]
mov dword [ebp - 0x34], esi
mov byte [ebp + 0xb], 0
test byte [eax + 3], 1
je 0x41b67e
lea ecx, [ebp - 0x50]
call fcn.0041ab10
mov dword [ebp + 0xc], eax
test eax, eax
jle 0x41b67e
push eax
call fcn.0053d681
add esp, 4
lea ecx, [ebp - 0x50]
mov esi, eax
mov dword [ebp - 0x14], esi
push dword [ebp + 0xc]
push esi
call fcn.0041ab70
push dword [ebp + 0xc]
push esi
push dword [edi]
call sym.winvnc.exe_crc32_z
add esp, 0xc
mov dword [edi], eax
push 0
push 0
push dword [ebp + 0xc]
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x41b66b
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
add eax, eax
push eax
push 0x2002
call ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41b66b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b662
push dword [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
jle 0x41b65f
push dword [ebp - 0x18]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41b65b
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x14]
lea eax, [ecx + ecx]
mov dword [edi + 4], eax
call fcn.0053d63e
add esp, 4
jmp 0x41b67e
mov byte [ebp + 0xb], 1
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call fcn.0053d63e
add esp, 4
cmp byte [ebp + 0xb], 0
jne 0x41b783
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x19
test al, 1
je 0x41b6ec
lea ecx, [ebp - 0x50]
call fcn.0041ab10
mov dword [ebp + 8], eax
test eax, eax
jle 0x41b6ec
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41b783
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b6e5
push dword [ebp + 8]
lea ecx, [ebp - 0x50]
push eax
call fcn.0041ab70
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push dword [0x5e8cd0]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41b6e5
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
jmp 0x41b6ec
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x1a
test al, 1
je 0x41b758
lea ecx, [ebp - 0x50]
call fcn.0041ab10
mov dword [ebp + 8], eax
test eax, eax
jle 0x41b758
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x2002
call ecx
mov esi, eax
test esi, esi
je 0x41b783
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b751
push dword [ebp + 8]
lea ecx, [ebp - 0x50]
push eax
call fcn.0041ab70
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push dword [0x5e8ccc]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x41b751
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], eax
jmp 0x41b758
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x1b
test al, 1
je 0x41b7cb
lea ecx, [ebp - 0x50]
call fcn.0041ab10
mov ebx, eax
test ebx, ebx
jle 0x41b7cb
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x41b796
lea ecx, [ebp - 0x50]
xor bl, bl
call fcn.004a1870
mov dword [ebp - 0x2c], vtable.rdr::InStream.0
jmp 0x41b7e6
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b7c4
push ebx
push eax
lea ecx, [ebp - 0x50]
call fcn.0041ab70
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0x11
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x41b7c4
mov dword [edi + 0x10], ebx
jmp 0x41b7cb
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x50]
mov bl, 1
call fcn.004a1870
mov dword [ebp - 0x2c], vtable.rdr::InStream.0
jmp 0x41b7e6
xor bl, bl
cmp byte [ebp - 0xd], 0
je 0x41b7ec
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8