Function at 0x41b830
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54795d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x5b0008]
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 0x41bb4e
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x41bb4e
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 0x41b8bf
mov bl, 1
jmp 0x41bb50
mov eax, dword [ebx + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
add eax, esi
mov dword [ebp - 0x2c], 0x569fc4
mov dword [ebp - 0x24], eax
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.004a08a0
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 0x41b9ee
lea ecx, [ebp - 0x50]
call fcn.0041ab10
mov dword [ebp + 0xc], eax
test eax, eax
jle 0x41b9ee
push eax
call fcn.005187ea
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 0x41b9db
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 0x41b9db
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b9d2
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 0x41b9cf
push dword [ebp - 0x18]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41b9cb
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x14]
lea eax, [ecx + ecx]
mov dword [edi + 4], eax
call fcn.005187a7
add esp, 4
jmp 0x41b9ee
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.005187a7
add esp, 4
cmp byte [ebp + 0xb], 0
jne 0x41baf3
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x19
test al, 1
je 0x41ba5c
lea ecx, [ebp - 0x50]
call fcn.0041ab10
mov dword [ebp + 8], eax
test eax, eax
jle 0x41ba5c
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41baf3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41ba55
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 [0x5bdfc4]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41ba55
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
jmp 0x41ba5c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x1a
test al, 1
je 0x41bac8
lea ecx, [ebp - 0x50]
call fcn.0041ab10
mov dword [ebp + 8], eax
test eax, eax
jle 0x41bac8
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x2002
call ecx
mov esi, eax
test esi, esi
je 0x41baf3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41bac1
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 [0x5bdfc0]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x41bac1
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], eax
jmp 0x41bac8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x1b
test al, 1
je 0x41bb3b
lea ecx, [ebp - 0x50]
call fcn.0041ab10
mov ebx, eax
test ebx, ebx
jle 0x41bb3b
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x41bb06
lea ecx, [ebp - 0x50]
xor bl, bl
call fcn.004a0a80
mov dword [ebp - 0x2c], vtable.rdr::InStream.0
jmp 0x41bb56
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41bb34
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 0x41bb34
mov dword [edi + 0x10], ebx
jmp 0x41bb3b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x50]
mov bl, 1
call fcn.004a0a80
mov dword [ebp - 0x2c], vtable.rdr::InStream.0
jmp 0x41bb56
xor bl, bl
cmp byte [ebp - 0xd], 0
je 0x41bb5c
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