Function at 0x50bbfa
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x34], 0x10000
mov dword [ebp - 0x44], 0
push 0x10000
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x50bc3c
mov eax, 0x2714
jmp 0x50bf12
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov byte [eax], 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x2541
mov eax, dword [0x533640]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x50bc7a
mov dword [ebp - 0x44], 0x2711
jmp 0x50bef4
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], 0
jmp 0x50bc96
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp dword [ebp + 0xc], eax
jbe 0x50be78
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], 0
jmp 0x50bcc0
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp dword [ebp + 0x14], eax
jle 0x50be51
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0050b891
add esp, 0x14
test eax, eax
je 0x50bcfa
mov eax, 0x2714
jmp 0x50bf12
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1f
jne 0x50be13
lea eax, [ebp - 0x20]
push eax
push 0
push 0x75
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x20]
push eax
call fcn.004fe2fe
add esp, 0x18
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x40], 1
jmp 0x50bd63
lea eax, [ebp - 0x20]
push eax
push 0
push 0x68
push 1
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0x20]
push eax
call fcn.004fe2fe
add esp, 0x18
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
call fcn.004fb600
add esp, 4
test eax, eax
jne 0x50be0e
cmp dword [ebp - 0x24], 0
jne 0x50be0e
cmp dword [ebp - 0x40], 0
je 0x50bd97
mov dword [ebp - 0x40], 0
jmp 0x50bde2
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x3c]
add dword [ebp - 0xc], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0050b891
add esp, 0x14
test eax, eax
je 0x50bdd9
mov eax, 0x2714
jmp 0x50bf12
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 0x18]
push eax
push 0x7d
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0x20]
push eax
call fcn.004feb0f
add esp, 0x14
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add dword [ebp - 0xc], eax
jmp 0x50bd46
jmp 0x50be3a
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0x7d
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x20]
push eax
call fcn.004feb0f
add esp, 0x14
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add dword [ebp - 0xc], eax
inc dword [ebp - 0xc]
push 0x533d78
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x50bcbd
cmp dword [ebp - 0xc], 0
je 0x50be70
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x38]
mov byte [eax + ecx - 1], 0xd
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x38]
mov byte [eax + ecx], 0xa
inc dword [ebp - 0xc]
jmp 0x50bc93
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 2
mov eax, dword [ebp - 0xc]
add eax, 2
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x50beac
mov eax, 0x2714
jmp 0x50bf12
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x50bece
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 0x2af8
jmp 0x50bf12
mov eax, dword [ebp - 0x14]
push eax
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x50beec
mov eax, 0x2af8
jmp 0x50bf12
mov eax, dword [ebp - 0x44]
jmp 0x50bf12
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x14]
push eax
call fcn.005181f8
add esp, 4
mov eax, dword [ebp - 0x44]
jmp 0x50bf12
pop edi
pop esi
pop ebx
leave
ret