Function at 0x41b870
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ecfd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x5a6008]
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 0x41bb8e
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x41bb8e
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 0x41b8ff
mov bl, 1
jmp 0x41bb90
mov eax, dword [ebx + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
add eax, esi
mov dword [ebp - 0x2c], 0x560f44
mov dword [ebp - 0x24], eax
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00499460
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 0x41ba2e
lea ecx, [ebp - 0x50]
call fcn.0041ab50
mov dword [ebp + 0xc], eax
test eax, eax
jle 0x41ba2e
push eax
call fcn.0051138a
add esp, 4
lea ecx, [ebp - 0x50]
mov esi, eax
mov dword [ebp - 0x14], esi
push dword [ebp + 0xc]
push esi
call fcn.0041abb0
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 0x41ba1b
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 0x41ba1b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41ba12
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 0x41ba0f
push dword [ebp - 0x18]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41ba0b
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x14]
lea eax, [ecx + ecx]
mov dword [edi + 4], eax
call fcn.00511347
add esp, 4
jmp 0x41ba2e
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.00511347
add esp, 4
cmp byte [ebp + 0xb], 0
jne 0x41bb33
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x19
test al, 1
je 0x41ba9c
lea ecx, [ebp - 0x50]
call fcn.0041ab50
mov dword [ebp + 8], eax
test eax, eax
jle 0x41ba9c
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41bb33
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41ba95
push dword [ebp + 8]
lea ecx, [ebp - 0x50]
push eax
call fcn.0041abb0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push dword [0x5b6e3c]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41ba95
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
jmp 0x41ba9c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x1a
test al, 1
je 0x41bb08
lea ecx, [ebp - 0x50]
call fcn.0041ab50
mov dword [ebp + 8], eax
test eax, eax
jle 0x41bb08
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x2002
call ecx
mov esi, eax
test esi, esi
je 0x41bb33
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41bb01
push dword [ebp + 8]
lea ecx, [ebp - 0x50]
push eax
call fcn.0041abb0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push dword [0x5b6e38]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x41bb01
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], eax
jmp 0x41bb08
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x1b
test al, 1
je 0x41bb7b
lea ecx, [ebp - 0x50]
call fcn.0041ab50
mov ebx, eax
test ebx, ebx
jle 0x41bb7b
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x41bb46
lea ecx, [ebp - 0x50]
xor bl, bl
call fcn.00499640
mov dword [ebp - 0x2c], vtable.rdr::InStream.0
jmp 0x41bb96
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41bb74
push ebx
push eax
lea ecx, [ebp - 0x50]
call fcn.0041abb0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0x11
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x41bb74
mov dword [edi + 0x10], ebx
jmp 0x41bb7b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x50]
mov bl, 1
call fcn.00499640
mov dword [ebp - 0x2c], vtable.rdr::InStream.0
jmp 0x41bb96
xor bl, bl
cmp byte [ebp - 0xd], 0
je 0x41bb9c
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