Function at 0x41b270
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565ba1
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x5d60c4]
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 al
mov byte [ebp - 0x11d], al
mov dword [ebp - 4], 0
test al, al
je 0x41b6e7
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x41b6e7
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]
push 0
push 0
push 0
call fcn.004d15d0
add esp, 0xc
mov dword [edi], eax
test esi, esi
jne 0x41b315
mov bl, 1
jmp 0x41b6e9
mov eax, dword [ebx + 8]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x15c], eax
add eax, esi
mov dword [ebp - 0x160], 0x5b9654
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 - 0x144], 0
mov dword [ebp - 0x140], 0x4000
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x134], 0
call fcn.0052b79c
mov dword [ebp - 0x138], eax
push 0x38
push str.1.3.0
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0x138]
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 0x138]
mov dword [eax + 0x28], 0
mov eax, dword [ebp - 0x138]
mov dword [eax], 0
mov eax, dword [ebp - 0x138]
mov dword [eax + 4], 0
push dword [ebp - 0x138]
call fcn.004d3340
add esp, 0x10
test eax, eax
jne 0x41b718
push dword [ebp - 0x140]
call fcn.0052b7da
add esp, 4
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], eax
mov eax, dword [ebx]
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x134], esi
mov byte [ebp - 0x115], 0
test byte [eax + 3], 1
je 0x41b53d
lea ecx, [ebp - 0x150]
call fcn.0041a950
mov dword [ebp - 0x124], eax
test eax, eax
jle 0x41b53d
push eax
call fcn.0052b7da
add esp, 4
lea ecx, [ebp - 0x150]
mov esi, eax
mov dword [ebp - 0x128], esi
push dword [ebp - 0x124]
push esi
call fcn.0041a9b0
push dword [ebp - 0x124]
push esi
push dword [edi]
call fcn.004d15d0
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 0x41b527
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
add eax, eax
push eax
push 0x2002
call ecx
mov dword [ebp - 0x12c], eax
test eax, eax
je 0x41b527
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b51b
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 - 0x12c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
jle 0x41b515
push dword [ebp - 0x12c]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41b50e
mov ecx, dword [ebp - 0x11c]
push dword [ebp - 0x128]
lea eax, [ecx + ecx]
mov dword [edi + 4], eax
call fcn.0052b797
add esp, 4
jmp 0x41b53d
mov byte [ebp - 0x115], 1
mov esi, dword [ebp - 0x128]
push dword [ebp - 0x12c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call fcn.0052b797
add esp, 4
cmp byte [ebp - 0x115], 0
jne 0x41b663
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x19
test al, 1
je 0x41b5ba
lea ecx, [ebp - 0x150]
call fcn.0041a950
mov dword [ebp - 0x11c], eax
test eax, eax
jle 0x41b5ba
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41b663
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b5b3
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x150]
push eax
call fcn.0041a9b0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push dword [0x5e44b4]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41b5b3
mov eax, dword [ebp - 0x11c]
mov dword [edi + 8], eax
jmp 0x41b5ba
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x1a
test al, 1
je 0x41b635
lea ecx, [ebp - 0x150]
call fcn.0041a950
mov dword [ebp - 0x11c], eax
test eax, eax
jle 0x41b635
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x2002
call ecx
mov esi, eax
test esi, esi
je 0x41b663
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b62e
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x150]
push eax
call fcn.0041a9b0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push dword [0x5e44b0]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x41b62e
mov eax, dword [ebp - 0x11c]
mov dword [edi + 0xc], eax
jmp 0x41b635
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx]
mov eax, dword [eax]
shr eax, 0x1b
test al, 1
je 0x41b69f
lea ecx, [ebp - 0x150]
call fcn.0041a950
mov ebx, eax
test ebx, ebx
jle 0x41b69f
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x41b667
xor bl, bl
jmp 0x41b6a1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b698
push ebx
push eax
lea ecx, [ebp - 0x150]
call fcn.0041a9b0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0x11
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x41b698
mov dword [edi + 0x10], ebx
jmp 0x41b69f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov bl, 1
push dword [ebp - 0x130]
mov dword [ebp - method.rdr::ZlibInStream.virtual_0], vtable.rdr::ZlibInStream.0
call fcn.0052b797
push dword [ebp - 0x138]
call fcn.004d3180
push 0x38
push dword [ebp - 0x138]
call fcn.0052b7cc
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 0x41b6f2
xor bl, bl
cmp byte [ebp - 0x11d], 0
je 0x41b6f8
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.0052b789
mov esp, ebp
pop ebp
ret 8
push 0x38
push dword [ebp - 0x138]
call fcn.0052b7cc
add esp, 8
lea ecx, [ebp - 0x114]
push str.rdr::Exception
push str.ZlibInStream:_inflateInit_failed
call fcn.0041aa50
push 0x5d2eb8
lea eax, [ebp - 0x114]
push eax
call fcn.0052e096
int3