Function at 0x41b430
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f48ac
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne byte [ebp - 0x11d]
mov dword [ebp - 4], 0
test eax, eax
je 0x41b88d
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x41b88d
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]
sub esi, dword [ebx + 8]
add esi, dword [ebx + 4]
mov dword [edi], 0
jne 0x41b4c7
mov bl, 1
jmp 0x41b88f
mov eax, dword [ebx + 8]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x15c], eax
add eax, esi
mov dword [ebp - 0x160], 0x51820c
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 2
push 0x38
mov dword [ebp - method.rdr::ZlibInStream.virtual_0], vtable.rdr::ZlibInStream.0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0x4000
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x130], 0
call fcn.004cbf3d
mov dword [ebp - 0x134], eax
push 0x38
push str.1.2.11
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0x134]
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 0x134]
mov dword [eax + 0x28], 0
mov eax, dword [ebp - 0x134]
mov dword [eax], 0
mov eax, dword [ebp - 0x134]
mov dword [eax + 4], 0
push dword [ebp - 0x134]
call fcn.004c9290
add esp, 0x10
test eax, eax
jne 0x41b8be
push dword [ebp - 0x13c]
call fcn.004cbf7b
add esp, 4
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], eax
mov eax, dword [ebx]
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x130], esi
mov byte [ebp - 0x115], 0
test byte [eax + 3], 1
je 0x41b6e4
lea ecx, [ebp - 0x14c]
call fcn.0041ab20
mov dword [ebp - 0x124], eax
test eax, eax
jle 0x41b6e4
push eax
call fcn.004cbf7b
add esp, 4
lea ecx, [ebp - 0x14c]
mov esi, eax
mov dword [ebp - 0x150], esi
push dword [ebp - 0x124]
push esi
call fcn.0041ab80
push dword [ebp - 0x124]
push esi
push dword [edi]
call fcn.0049e270
add esp, 0xc
mov dword [edi], eax
push 0
push 0
push dword [ebp - 0x124]
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x11c], eax
test eax, eax
jle 0x41b6c4
add eax, eax
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x2002
call eax
mov dword [ebp - 0x128], eax
test eax, eax
je 0x41b6c4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b6b8
push dword [ebp - 0x11c]
push eax
push dword [ebp - 0x124]
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp - 0x128]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
jle 0x41b6b8
push dword [ebp - 0x128]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41b6b1
mov ecx, dword [ebp - 0x11c]
lea eax, [ecx + ecx]
mov dword [edi + 4], eax
jmp 0x41b6c4
mov byte [ebp - 0x115], 1
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x41b6d7
push eax
call fcn.004cbf38
add esp, 4
cmp byte [ebp - 0x115], 0
jne 0x41b809
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x19
test al, 1
je 0x41b761
lea ecx, [ebp - 0x14c]
call fcn.0041ab20
mov dword [ebp - 0x11c], eax
test eax, eax
jle 0x41b761
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41b809
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b75a
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x14c]
push eax
call fcn.0041ab80
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push dword [0x569b90]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41b75a
mov eax, dword [ebp - 0x11c]
mov dword [edi + 8], eax
jmp 0x41b761
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x1a
test al, 1
je 0x41b7db
lea ecx, [ebp - 0x14c]
call fcn.0041ab20
mov dword [ebp - 0x11c], eax
test eax, eax
jle 0x41b7db
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x2002
call eax
mov esi, eax
test esi, esi
je 0x41b809
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b7d4
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x14c]
push eax
call fcn.0041ab80
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push dword [0x569b88]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x41b7d4
mov eax, dword [ebp - 0x11c]
mov dword [edi + 0xc], eax
jmp 0x41b7db
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x1b
test al, 1
je 0x41b845
lea ecx, [ebp - 0x14c]
call fcn.0041ab20
mov ebx, eax
test ebx, ebx
jle 0x41b845
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x41b80d
xor bl, bl
jmp 0x41b847
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b83e
push ebx
push eax
lea ecx, [ebp - 0x14c]
call fcn.0041ab80
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0x11
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x41b83e
mov dword [edi + 0x10], ebx
jmp 0x41b845
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov bl, 1
push dword [ebp - 0x12c]
mov dword [ebp - method.rdr::ZlibInStream.virtual_0], vtable.rdr::ZlibInStream.0
call fcn.004cbf38
push dword [ebp - 0x134]
call fcn.004c9170
push 0x38
push dword [ebp - 0x134]
call fcn.004cbf6d
add esp, 0x10
mov dword [ebp - method.rdr::InStream.virtual_0], vtable.rdr::InStream.0
mov dword [ebp - method.rdr::InStream.virtual_0], vtable.rdr::InStream.0
jmp 0x41b88f
xor bl, bl
cmp byte [ebp - 0x11d], 0
je 0x41b89e
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret 8
push 0x38
push dword [ebp - 0x134]
call fcn.004cbf6d
add esp, 8
lea ecx, [ebp - 0x114]
push str.rdr::Exception
push str.ZlibInStream:_inflateInit_failed
call fcn.0041ac20
push 0x55493c
lea eax, [ebp - 0x114]
push eax
call fcn.004ce518
int3